Function at 0x401000
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x268
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x2c], eax
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
lea eax, [esp + 0xa4]
not eax
mov dword [esp + 0x54], eax
mov eax, ecx
mov dword [esp + 0x50], 0
mov esi, edi
jmp 0x40104f
mov edi, eax
mov eax, ebx
movzx eax, byte [ebx]
mov esi, edi
mov byte [edi], al
inc edi
mov eax, ebx
inc eax
test al, 3
mov dword [esp + 0x24], esi
mov ebx, eax
je 0x401070
movzx eax, byte [eax]
jmp 0x4010f0
mov eax, dword [eax]
mov ecx, eax
xor ecx, 0xdadadada
add ecx, 0x1010101
or ecx, eax
not ecx
test ecx, 0x80808080
jne 0x4010f0
mov ecx, esi
sub ecx, edi
add ecx, 0x200
jmp 0x4010c8
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx + 4]
add ebx, 4
mov edx, eax
xor edx, 0xdadadada
add edx, 0x1010101
or edx, eax
not edx
add ecx, 0xfffffffc
test edx, 0x80808080
jne 0x4010f0
mov edx, eax
not edx
lea esi, [eax - 0x1010101]
and esi, edx
test esi, 0x80808080
jne 0x4010f4
cmp dword [ebp + 8], 0
je 0x4010a0
cmp ecx, 4
jge 0x4010a0
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp al, 0x25
je 0x401136
test al, al
mov esi, dword [esp + 0x24]
je 0x403704
cmp dword [ebp + 8], 0
je 0x401049
mov ecx, edi
sub ecx, esi
cmp ecx, 0x1ff
jl 0x401049
add dword [esp + 0x50], ecx
push ecx
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x401040
jmp 0x403727
add ebx, 2
mov dword [esp + 4], 0
jmp 0x401150
or dword [esp + 4], 1
inc ebx
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ebx - 1]
lea edx, [eax - 0x20]
cmp edx, 0x3f
ja case.0x401160.33
jmp dword [edx*4 + 0x446564]
or dword [esp + 4], 4
inc ebx
jmp 0x401150
or dword [esp + 4], 8
inc ebx
jmp 0x401150
or dword [esp + 4], 0x400
inc ebx
jmp 0x401150
mov edx, dword [esp + 4]
mov eax, edx
xor eax, 0x40
add eax, edx
and edx, 0xffffffbf
jmp 0x4011b5
test dword [esp + 4], 0x100
jne 0x4011be
or dword [esp + 4], 0x100
inc ebx
jmp 0x401150
mov edx, dword [esp + 4]
mov eax, edx
xor eax, 2
add eax, edx
and edx, 0xfffffffd
sub eax, edx
inc ebx
mov dword [esp + 4], eax
jmp 0x401150
test dword [esp + 4], 0x800
jne 0x4011d6
or dword [esp + 4], 0x800
inc ebx
jmp 0x401150
or dword [esp + 4], 0x1900
inc ebx
jmp 0x401150
or dword [esp + 4], 0x10
movzx eax, byte [ebx]
jmp 0x4011ef
dec ebx
cmp al, 0x2a
mov esi, dword [esp + 0x24]
jne 0x40120f
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov dword [esp + 0x48], edx
add eax, 4
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + 1]
inc ebx
jmp 0x401253
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x48], 0
cmp dl, 9
ja 0x401253
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, al
lea edx, [esi + esi*4]
lea esi, [eax + edx*2]
add esi, 0xffffffd0
movzx eax, byte [ebx + 1]
inc ebx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x401230
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
cmp al, 0x2e
jne 0x4012c3
movzx eax, byte [ebx + 1]
cmp al, 0x2a
jne 0x401281
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov dword [esp + 0x18], edx
add eax, 4
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + 2]
add ebx, 2
jmp 0x4012c3
inc ebx
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x18], 0
cmp dl, 9
ja 0x4012c3
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, al
lea edx, [esi + esi*4]
lea esi, [eax + edx*2]
add esi, 0xffffffd0
movzx eax, byte [ebx + 1]
inc ebx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x4012a0
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x24]
movzx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
ja case.0x4012ce.74
jmp dword [eax*4 + 0x446664]
inc ebx
jmp case.0x4012ce.74
movzx edx, byte [ebx + 1]
cmp dl, 0x6c
jne 0x401316
or dword [esp + 4], 0x20
add ebx, 2
jmp case.0x4012ce.74
lea eax, [ebx + 1]
movzx edx, byte [ebx + 1]
cmp edx, 0x33
je 0x401337
cmp edx, 0x36
jne 0x401b7e
cmp byte [ebx + 2], 0x34
jne 0x40133d
or dword [esp + 4], 0x20
jmp 0x401341
cmp byte [ebx + 1], 0x68
je 0x401319
inc ebx
jmp 0x40131c
inc ebx
jmp 0x401347
add ebx, 2
mov edx, dword [esp + 4]
mov eax, edx
not eax
or eax, 0xfffffdff
add edx, eax
add edx, 0x201
mov dword [esp + 4], edx
jmp case.0x4012ce.74
cmp byte [ebx + 2], 0x32
je 0x401341
mov ebx, eax
jmp case.0x4012ce.74
add ebx, 3
movzx edx, byte [ebx]
mov dword [esp + 0x4c], ebx
movzx eax, dl
add eax, 0xffffffbf
cmp eax, 0x37
ja case.0x40135e.67
mov dword [esp + 0x30], edi
jmp dword [eax*4 + 0x44672c]
test byte [esp + 4], 0x20
jne 0x401783
mov eax, dword [esp + 0x2c]
mov ebx, dword [eax]
add eax, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], 0
cmp dl, 0x75
je 0x401cda
test ebx, ebx
jns 0x401cda
neg ebx
or dword [esp + 4], 0x80
jmp 0x401cda
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x45
je 0x4013b4
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
fld qword [eax]
mov ecx, 6
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x4013ce
mov ecx, eax
mov eax, ecx
and eax, 0x7fffffff
mov dword [esp + 0x14], ecx
add ecx, ecx
sub ecx, eax
add ecx, 0x80000000
sub esp, 0x18
fstp qword [esp + 8]
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x28]
lea edx, [esp + 0x40]
call fcn.00403740
add esp, 0x18
test eax, eax
je 0x401419
or dword [esp + 4], 0x80
add dword [esp + 0x2c], 8
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
cmp byte [esp + 4], 0
js 0x401443
mov al, 0x20
test byte [esp + 4], 4
jne 0x401443
mov al, 0x2b
test byte [esp + 4], 2
je 0x40144c
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x10]
cmp ebx, 0x7000
mov dword [esp + 0xc], ecx
je 0x402a7f
movzx ecx, byte [ecx]
mov byte [esp + 0xa4], cl
lea ecx, [esp + 0xa5]
cmp dword [esp + 0x14], 0
je 0x4014a5
movzx ecx, byte [section..data]
mov edx, ecx
add dl, cl
and dl, 0xee
sub cl, dl
add cl, 0xf7
mov byte [esp + 0xa5], cl
lea ecx, [esp + 0xa6]
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x28]
lea edx, [eax - 1]
cmp edx, dword [esp + 0x14]
jbe 0x4014c1
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
cmp eax, 2
mov dword [esp + 0x18], eax
jb 0x401584
mov esi, dword [esp + 0x14]
mov ecx, esi
cmp esi, edx
jb 0x4014da
mov ecx, edx
lea esi, [ecx - 1]
mov edx, 1
cmp esi, 7
jb 0x401559
mov dword [esp + 0x1c], ebx
mov esi, ecx
and esi, 0xfffffff8
xor edx, edx
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 8]
nop
nop
nop
nop
nop
nop
movzx ebx, byte [edi + edx + 1]
mov byte [eax + edx], bl
movzx ebx, byte [edi + edx + 2]
mov byte [eax + edx + 1], bl
movzx ebx, byte [edi + edx + 3]
mov byte [eax + edx + 2], bl
movzx ebx, byte [edi + edx + 4]
mov byte [eax + edx + 3], bl
movzx ebx, byte [edi + edx + 5]
mov byte [eax + edx + 4], bl
movzx ebx, byte [edi + edx + 6]
mov byte [eax + edx + 5], bl
movzx ebx, byte [edi + edx + 7]
mov byte [eax + edx + 6], bl
movzx ebx, byte [edi + edx + 8]
mov byte [eax + edx + 7], bl
add edx, 8
cmp esi, edx
jne 0x401500
add eax, edx
mov dword [esp + 8], eax
inc edx
mov ebx, dword [esp + 0x1c]
and ecx, 7
je 0x401584
mov edi, ebx
mov esi, dword [esp + 0xc]
add esi, edx
xor edx, edx
mov eax, dword [esp + 8]
nop
nop
nop
nop
movzx ebx, byte [esi + edx]
mov byte [eax + edx], bl
inc edx
cmp ecx, edx
jne 0x401570
add eax, edx
mov dword [esp + 8], eax
mov ebx, edi
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + 0xe]
mov byte [esp + 0x35], cl
test ebx, ebx
jle 0x401fa6
dec ebx
mov byte [esp + 0x36], 0x2b
mov esi, ebx
jmp 0x401fb2
mov edi, str.0123456789ABCDEFXP
cmp dl, 0x41
je 0x4015b4
mov edi, str.0123456789abcdefxp
mov esi, 6
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x4015c4
mov esi, eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x4015d7
or dword [esp + 4], 0x80
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x2c]
mov esi, dword [eax]
mov al, 0x2d
cmp byte [esp + 4], 0
js 0x40173c
mov al, 0x20
test byte [esp + 4], 4
jne 0x40173c
mov al, 0x2b
test byte [esp + 4], 2
jne 0x40173c
xor ebx, ebx
jmp 0x401742
mov dword [esp + 0xc], str.0123456789ABCDEFXP
cmp dl, 0x42
je 0x401624
mov dword [esp + 0xc], str.0123456789abcdefxp
mov byte [esp + 0x40], 0
test byte [esp + 4], 8
je 0x401646
cmp dl, 0x42
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x42
mov byte [esp + 0x42], al
mov dword [esp + 0x28], 0x180
mov ecx, 1
test byte [esp + 4], 0x20
je 0x401832
mov edx, dword [esp + 0x2c]
mov ebx, dword [edx]
mov esi, dword [edx + 4]
add edx, 8
mov dword [esp + 0x2c], edx
jmp 0x401841
mov eax, str.0123456789ABCDEFXP
cmp dl, 0x47
je 0x401682
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
fld qword [eax]
mov ecx, dword [esp + 0x18]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov ebx, 6
cmp ecx, 0xffffffff
je 0x4016a4
mov ebx, eax
lea eax, [ebx - 1]
or eax, 0x80000000
sub esp, 0x18
fstp qword [esp + 8]
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x7c]
mov dword [esp], ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x28]
lea edx, [esp + 0x40]
call fcn.00403740
add esp, 0x18
test eax, eax
je 0x4016e2
or dword [esp + 4], 0x80
mov eax, dword [esp + 0x28]
cmp eax, ebx
jb 0x4016ec
mov eax, ebx
mov ecx, eax
mov dword [esp + 0x14], eax
cmp eax, 2
jb 0x4017c2
mov edx, dword [esp + 0x10]
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x14]
cmp byte [edx + esi - 1], 0x30
jne 0x402084
lea eax, [ecx - 1]
dec esi
mov dword [esp + 0x14], esi
cmp esi, 2
jb 0x402086
cmp ecx, 1
mov ecx, eax
jne 0x401710
jmp 0x402086
mov byte [esp + 0x41], al
mov bl, 1
mov dword [esp + 0x1c], edx
mov eax, ecx
and eax, 0xfffff
shr ecx, 0x14
and ecx, 0x7ff
mov dword [esp + 0xc], edi
je 0x401bb5
add ecx, 0xfffffc01
mov dword [esp + 0x18], ecx
mov ecx, 0xffffffff
add esi, ecx
mov ecx, 0xfffff
adc eax, ecx
add esi, 1
adc eax, 0
jmp 0x401bca
mov ecx, dword [esp + 0x2c]
lea ebx, [ecx + 8]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp dl, 0x75
je 0x401cd0
test ecx, ecx
jns 0x401cd0
neg eax
mov edx, 0
sbb edx, ecx
or dword [esp + 4], 0x80
mov dword [esp + 0x20], edx
mov ecx, ebx
mov ebx, eax
mov dword [esp + 0x2c], ecx
jmp 0x401cda
mov eax, ebx
jmp 0x402086
mov ecx, dword [esp + 4]
mov eax, ecx
not eax
or eax, 0xffffffef
add ecx, eax
inc ecx
mov dword [esp + 4], ecx
mov dword [esp + 0x18], 8
mov dword [esp + 0xc], str.0123456789ABCDEFXP
cmp dl, 0x58
je 0x4017f8
mov dword [esp + 0xc], str.0123456789abcdefxp
mov dword [esp + 0x28], 0x440
mov byte [esp + 0x40], 0
mov ecx, 4
test byte [esp + 4], 8
je 0x401827
cmp dl, 0x58
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x42], al
test byte [esp + 4], 0x20
jne 0x40165e
mov edx, dword [esp + 0x2c]
mov ebx, dword [edx]
add edx, 4
mov dword [esp + 0x2c], edx
xor esi, esi
mov dword [esp + 0x3c], 0
mov byte [esp + 0x34], 0
mov edx, ebx
or edx, esi
jne 0x401864
mov byte [esp + 0x40], 0
cmp dword [esp + 0x18], 0
je 0x401b87
mov edi, 0xffffffff
shl edi, cl
not edi
and edi, ebx
mov eax, dword [esp + 0x28]
mov cl, ah
shrd ebx, esi, cl
mov ecx, dword [esp + 0xc]
movzx ecx, byte [ecx + edi]
mov byte [esp + 0x263], cl
mov cl, ah
shr esi, cl
mov dword [esp + 0x1c], eax
test ah, 0x20
je 0x401898
mov ebx, esi
xor esi, esi
mov dword [esp + 8], ebx
mov ecx, ebx
or ecx, esi
jne 0x4018ba
mov ebx, 1
cmp dword [esp + 0x18], 2
jge 0x4018ba
lea edx, [esp + 0x263]
jmp 0x40197e
lea edx, [esp + 0x263]
lea ecx, [esp + 0x264]
nop
nop
nop
nop
nop
nop
nop
nop
test byte [esp + 4], 0x40
jne 0x4018e0
mov ebx, dword [esp + 0x1c]
mov edi, edx
jmp 0x401920
mov eax, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov dword [esp + 0x28], ebx
mov edi, edx
mov edx, ebx
shr edx, 4
xor edx, ebx
test dl, 0xf
jne 0x401920
mov edx, 0xfffffffe
sub edx, eax
not edx
and edx, 0xfffffff0
mov dword [esp + 0x28], edx
movzx edx, byte [0x449001]
xor dl, 0x45
mov byte [ecx - 2], dl
add ecx, 0xfffffffe
mov ebx, dword [esp + 0x28]
mov edi, ecx
nop
mov edx, 0xffffffff
mov cl, bh
shl edx, cl
not edx
mov ebx, dword [esp + 8]
and edx, ebx
mov eax, dword [esp + 0x28]
mov cl, ah
shrd ebx, esi, cl
mov ecx, dword [esp + 0xc]
movzx ecx, byte [ecx + edx]
mov byte [edi - 1], cl
mov cl, ah
shr esi, cl
mov dword [esp + 0x1c], eax
test ah, 0x20
je 0x401956
mov ebx, esi
xor esi, esi
lea edx, [edi - 1]
mov dword [esp + 8], ebx
mov ecx, ebx
or ecx, esi
mov ecx, edi
jne 0x4018d0
lea ebx, [esp + 0x264]
sub ebx, edx
mov ecx, edi
cmp ebx, dword [esp + 0x18]
jl 0x4018d0
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x1c]
shl eax, 0x14
and eax, 0xf000000
add eax, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0x30]
jmp 0x401f9d
mov byte [esp + 0x40], 0
test byte [esp + 4], 8
je 0x4019bc
mov word [esp + 0x40], 0x3001
mov dword [esp + 0x28], 0x330
mov dword [esp + 0xc], str.0123456789ABCDEFXP
mov ecx, 3
test byte [esp + 4], 0x20
je 0x401832
jmp 0x40165e
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov edx, str.null
test eax, eax
je 0x4019f2
mov edx, eax
mov eax, dword [esp + 0x18]
mov ecx, eax
test eax, eax
jns 0x401a01
mov ecx, 0xffffffff
test dl, 3
mov dword [esp + 0xc], edx
je 0x4027cd
mov esi, edx
add edx, ecx
cmp dword [esp + 0x18], 0
je 0x401a9f
cmp byte [esi], 0
je 0x40298b
lea ebx, [esi + 1]
lea esi, [ecx - 1]
test bl, 3
je 0x4029e9
test esi, esi
je 0x401a9f
cmp byte [ebx], 0
je 0x4036e8
mov esi, dword [esp + 0xc]
lea ebx, [esi + 2]
lea esi, [ecx - 2]
test bl, 3
je 0x4029e9
test esi, esi
je 0x401a9f
cmp byte [ebx], 0
je 0x4036e8
mov esi, dword [esp + 0xc]
lea ebx, [esi + 3]
lea esi, [ecx - 3]
test bl, 3
je 0x4029e9
test esi, esi
je 0x401a9f
cmp byte [ebx], 0
je 0x4036e8
mov eax, dword [esp + 0xc]
lea ebx, [eax + 4]
add ecx, 0xfffffffc
test bl, 3
je 0x4029eb
test ecx, ecx
je 0x401a9b
mov edx, ebx
mov edi, dword [esp + 0x30]
sub edx, dword [esp + 0xc]
jmp 0x402a5c
mov byte [esp + 0x263], dl
mov dword [esp + 0x28], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x263]
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp + 0x14], 0
xor edx, edx
mov dword [esp + 0x48], 0
jmp 0x402a89
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ecx]
add ecx, 4
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x263], al
mov dword [esp + 0x28], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x263]
mov dword [esp + 0xc], eax
jmp 0x402a7f
mov eax, dword [esp + 0x2c]
fld qword [eax]
add eax, 8
mov dword [esp + 0x2c], eax
test dword [esp + 4], 0x100
jne 0x401ebb
jmp 0x402170
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x50]
sub ecx, esi
add ecx, edi
mov dword [eax], ecx
add edx, 4
mov dword [esp + 0x2c], edx
jmp 0x4036de
mov dword [esp + 0x4c], eax
jmp 0x40134b
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x264]
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], 0
xor edx, edx
mov edi, dword [esp + 0x30]
jmp 0x402a89
xor edx, edx
mov ecx, esi
or ecx, eax
je 0x401bc2
mov edx, 0xfffffc02
mov dword [esp + 0x18], edx
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x20]
lea ecx, [ecx*4]
xor edi, edi
mov edx, 0x8000000
shrd edi, edx, cl
shr edx, cl
test cl, 0x20
je 0x401bea
mov edi, edx
xor edx, edx
cmp dword [esp + 0x20], 0xf
jl 0x401bf5
xor edi, edi
xor edx, edx
shld eax, esi, 8
shl esi, 8
add esi, edi
adc eax, edx
movzx ecx, bl
lea edx, [esp + 0x40]
mov word [ecx + edx + 1], 0x7830
or bl, 2
mov byte [esp + 0x40], bl
mov ecx, eax
shr ecx, 0x1c
mov edx, dword [esp + 0xc]
movzx ecx, byte [edx + ecx]
mov byte [esp + 0xa4], cl
mov edx, dword [esp + 0x20]
test edx, edx
je 0x401cb4
movzx ecx, byte [section..data]
xor cl, 0xf7
mov byte [esp + 0xa5], cl
lea ecx, [esp + 0xa6]
mov dword [esp + 0x10], ecx
mov ecx, edx
cmp edx, 0xd
jb 0x401c5d
mov ecx, 0xd
sub edx, ecx
jg 0x401c63
xor edx, edx
mov dword [esp + 0x14], edx
mov edi, ecx
and edi, 3
je 0x4021c3
mov dword [esp + 8], ecx
xor edx, edx
mov ecx, dword [esp + 0xc]
nop
nop
nop
nop
mov ebx, eax
shr ebx, 0x18
and ebx, 0xf
movzx ebx, byte [ecx + ebx]
shld eax, esi, 4
mov byte [esp + edx + 0xa6], bl
shl esi, 4
inc edx
cmp edi, edx
jne 0x401c80
lea edi, [esp + 0xa6]
lea ebx, [edi + edx]
mov ecx, dword [esp + 8]
sub ecx, edx
jmp 0x4021ca
lea ebx, [esp + 0xa5]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], ebx
jmp 0x402241
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], ebx
mov ebx, eax
test dword [esp + 4], 0x100
jne 0x401e80
movzx edx, byte [0x449001]
mov eax, edx
add al, dl
and al, 0x8a
sub dl, al
add dl, 0x45
mov byte [esp + 0xc], dl
mov esi, 0x200
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0x1c], edx
cmp ebx, 0x5f5e100
mov edx, dword [esp + 0x20]
mov eax, edx
sbb eax, 0
jb 0x401d50
push 0
push 0x5f5e100
push edx
push ebx
call fcn.0040c9a0
mov dword [esp + 0x20], edx
imul ecx, eax, 0x5f5e100
sub ebx, ecx
mov dword [esp + 0x14], eax
jmp 0x401d60
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 0
lea eax, [esp + 0x5c]
lea ecx, [eax + esi]
test byte [esp + 4], 0x40
jne 0x401dc0
mov dword [esp + 8], ecx
mov ecx, 0x51eb851f
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ebx
mul ecx
shr edx, 5
imul eax, edx, 0x64
mov edi, ebx
sub edi, eax
movzx eax, word [edi + edi + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov word [esp + esi + 0x62], ax
add esi, 0xfffffffe
cmp ebx, 0x64
mov ebx, edx
jae 0x401d80
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 8]
jmp 0x401e30
test ebx, ebx
mov edx, dword [esp + 0x1c]
jne 0x401dfe
jmp 0x401e30
mov dword [esp + 8], ecx
mov ecx, edx
mov eax, ebx
mov edx, 0xcccccccd
mul edx
shr edx, 3
lea eax, [edx + edx]
lea eax, [eax + eax*4]
sub ebx, eax
or bl, 0x30
mov byte [esp + esi + 0x63], bl
dec esi
mov ebx, edx
mov edx, ecx
mov ecx, dword [esp + 8]
test ebx, ebx
je 0x401e30
test byte [esp + 4], 0x40
je 0x401dd0
cmp edx, 3
je 0x401e11
mov dword [esp + 8], ecx
inc edx
jmp 0x401dd4
movzx eax, byte [esp + 0xc]
mov byte [esp + esi + 0x63], al
dec esi
dec ecx
xor edx, edx
test ebx, ebx
jne 0x401dfe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, dword [esp + 0x14]
mov eax, ebx
or eax, dword [esp + 0x20]
jne 0x401e57
jmp 0x401f02
inc edx
mov byte [esp + esi + 0x63], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x64
cmp eax, ecx
je 0x401d10
test byte [esp + 4], 0x40
je 0x401e51
cmp edx, 3
jne 0x401e50
movzx eax, byte [esp + 0xc]
mov byte [esp + esi + 0x63], al
dec esi
dec ecx
xor edx, edx
jmp 0x401e57
mov eax, 1
mov ecx, dword [esp + 0x18]
cmp ecx, 0xffffffff
je 0x401e90
mov eax, ecx
mov dword [esp + 0x18], 0
cmp ebx, 0x400
mov ecx, dword [esp + 0x20]
sbb ecx, 0
jb 0x401eab
mov dword [esp + 0x18], eax
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x5c], eax
fild qword [esp + 0x58]
xor eax, eax
mov ecx, dword [esp + 4]
test ecx, 0x800
sete al
fld qword [eax*8 + 0x446550]
cmp ecx, 0x3ffffff
ja 0x401efb
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x4020eb
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x4020eb
fstp st(0)
fstp st(0)
jmp 0x402170
cmp byte [esp + esi + 0x64], 0x30
sete ch
cmp esi, 0x200
setne cl
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov dl, 0x2d
cmp byte [esp + 4], 0
js 0x401f38
mov dl, 0x20
test byte [esp + 4], 4
jne 0x401f38
mov dl, 0x2b
test byte [esp + 4], 2
je 0x401f41
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], dl
and cl, ch
movzx eax, cl
add esi, eax
lea eax, [esp + esi]
add eax, 0x64
lea edx, [esi - 0x200]
neg edx
mov dword [esp + 0x28], edx
cmp esi, 0x200
jne 0x401f76
mov byte [eax - 1], 0x30
dec eax
mov dword [esp + 0x28], 1
mov ecx, 1
jmp 0x401f78
mov ecx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], 0
cmp dword [esp + 0x18], 0
jg 0x401f93
mov dword [esp + 0x18], 0
add ecx, 0x3000000
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x18]
jmp 0x402a89
mov byte [esp + 0x36], 0x2d
mov esi, 1
sub esi, ebx
cmp esi, 0x64
mov edi, 4
sbb edi, 0xffffffff
mov eax, esi
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea eax, [edx + edx*4]
mov dword [esp + 0xc], eax
mov ebx, esi
mov eax, esi
mov ecx, 0x66666667
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
sub ebx, dword [esp + 0xc]
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
or bl, 0x30
mov edx, edi
mov byte [esp + 0x34], dl
mov byte [esp + edi + 0x34], bl
add al, 0x30
mov byte [esp + edi + 0x33], al
cmp esi, 0x64
jb 0x40205e
mov eax, esi
mov ecx, 0x51eb851f
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 5
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
shr edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
mov edx, ecx
sub edx, eax
add dl, 0x30
lea eax, [esp + 0x34]
mov byte [edi + eax - 2], dl
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x1c], 0x3000001
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 8]
jmp 0x402969
mov eax, ecx
add dword [esp + 0x2c], 8
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xfffffffd
jl 0x4020bf
cmp ecx, ebx
jg 0x4020bf
test ecx, ecx
jle 0x4023ba
sub dword [esp + 0x14], ecx
jg 0x4023ca
mov dword [esp + 0x14], 0
jmp 0x4023ca
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jle 0x4020d1
dec ecx
mov dword [esp + 0x14], ecx
jmp 0x40141e
mov dword [esp + 0x14], 0
sub eax, 1
jb 0x40141e
mov dword [esp + 0x14], eax
jmp 0x40141e
fdiv st(2), st(0)
mov eax, dword [esp + 4]
lea ecx, [eax + 0x1000000]
cmp eax, 0x2ffffff
ja 0x402168
fucom st(2)
fnstsw ax
sahf
jbe 0x402110
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x402168
fdiv st(2), st(0)
mov eax, dword [esp + 4]
lea ecx, [eax + 0x2000000]
cmp eax, 0x1ffffff
ja 0x402168
fucom st(2)
fnstsw ax
sahf
jbe 0x402135
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x402168
fdiv st(2), st(0)
mov eax, dword [esp + 4]
lea ecx, [eax + 0x3000000]
cmp eax, 0xffffff
ja 0x402168
fucom st(2)
fnstsw ax
sahf
jbe 0x4036f3
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x4036f3
fstp st(0)
fstp st(0)
mov dword [esp + 4], ecx
mov ecx, 6
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x402180
mov ecx, eax
sub esp, 0x18
fstp qword [esp + 8]
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x28]
lea edx, [esp + 0x40]
call fcn.00403740
add esp, 0x18
test eax, eax
je 0x4023ca
or dword [esp + 4], 0x80
jmp 0x4023ca
lea ebx, [esp + 0xa6]
cmp dword [esp + 0x20], 4
jb 0x402236
mov edi, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 8], ecx
mov edx, eax
shr edx, 0x18
and edx, 0xf
mov ecx, dword [esp + 0xc]
movzx edx, byte [ecx + edx]
mov byte [ebx], dl
mov edx, eax
shr edx, 0x14
and edx, 0xf
movzx edx, byte [ecx + edx]
mov byte [ebx + 1], dl
mov edx, eax
shr edx, 0x10
and edx, 0xf
movzx edx, byte [ecx + edx]
mov byte [ebx + 2], dl
shld edi, esi, 0x10
shl esi, 0x10
shr eax, 0xc
and eax, 0xf
movzx eax, byte [ecx + eax]
mov ecx, dword [esp + 8]
mov byte [ebx + 3], al
add ebx, 4
mov eax, edi
add ecx, 0xfffffffc
jne 0x4021e0
lea esi, [esp + 0xa6]
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp cl, 0x41
setne cl
shl cl, 5
or cl, 0x50
mov byte [esp + 0x35], cl
test eax, eax
js 0x402280
mov byte [esp + 0x36], 0x2b
cmp eax, 0x3e7
ja 0x40228e
cmp eax, 0x63
jbe 0x40239a
mov dword [esp + 0x18], ebx
mov dword [esp + 8], 5
jmp 0x40229a
mov byte [esp + 0x36], 0x2d
neg eax
cmp eax, 0x3e7
jbe 0x402269
mov dword [esp + 0x18], ebx
mov dword [esp + 8], 6
mov dword [esp + 0x20], 0
mov ecx, 0xcccccccd
mov esi, eax
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea edi, [edx + edx*4]
mov eax, esi
mov ebx, 0x66666667
imul ebx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
mov eax, ecx
imul ebx
mov ebx, esi
sub ebx, edi
mov edi, dword [esp + 8]
mov eax, edi
mov byte [esp + 0x34], al
or bl, 0x30
mov byte [esp + edi + 0x34], bl
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea edx, [edx + edx*4]
sub ecx, edx
add cl, 0x30
mov byte [esp + edi + 0x33], cl
cmp byte [esp + 0x20], 0
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x18]
jne 0x402822
mov eax, esi
mov ecx, 0x51eb851f
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 5
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
sar edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x34]
mov edx, dword [esp + 8]
mov byte [edx + eax - 2], cl
cmp esi, 0x3e8
jb 0x402822
mov eax, esi
mov ecx, 0x10624dd3
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 6
add ecx, eax
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, edx
shr eax, 0x1f
shr edx, 2
add edx, eax
add edx, edx
lea eax, [edx + edx*4]
sub ecx, eax
add cl, 0x30
lea eax, [esp + 0x34]
mov edx, dword [esp + 8]
mov byte [edx + eax - 3], cl
jmp 0x402822
cmp eax, 9
jbe 0x402813
mov dword [esp + 0x18], ebx
mov dword [esp + 8], 4
mov cl, 1
mov dword [esp + 0x20], ecx
jmp 0x4022a2
mov edx, dword [esp + 0x14]
cmp eax, edx
jl 0x4023c4
mov eax, edx
sub eax, ecx
mov dword [esp + 0x14], eax
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
cmp byte [esp + 4], 0
js 0x4023ef
mov al, 0x20
test byte [esp + 4], 4
jne 0x4023ef
mov al, 0x2b
test byte [esp + 4], 2
je 0x4023f8
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x7000
jne 0x402419
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], eax
jmp 0x402a7f
test ecx, ecx
jle 0x4024d3
mov dword [esp + 8], 0
test byte [esp + 4], 0x40
je 0x40244b
mov ebx, 0x258
sub ebx, ecx
mov eax, ebx
mov edx, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
sub ebx, eax
mov dword [esp + 8], ebx
cmp ecx, dword [esp + 0x28]
jae 0x40261d
xor eax, eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0x1c], ecx
jmp 0x402492
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
movzx edx, byte [edx + eax]
lea ecx, [ebx + 1]
mov dword [esp + 0x1c], ecx
mov byte [ebx], dl
inc eax
mov edx, dword [esp + 0x3c]
cmp eax, edx
jae 0x402680
test byte [esp + 4], 0x40
je 0x402470
mov ecx, dword [esp + 8]
inc ecx
mov dword [esp + 8], ecx
cmp ecx, 4
jne 0x402470
mov ecx, dword [esp + 4]
and ecx, 0x40
shr ecx, 6
mov dword [esp + 8], ecx
movzx ecx, byte [0x449001]
mov edx, ecx
add dl, cl
and dl, 0x8a
sub cl, dl
add cl, 0x45
mov edx, dword [esp + 0x1c]
mov byte [edx], cl
inc edx
mov ebx, edx
jmp 0x402474
mov byte [esp + 0xa4], 0x30
lea edx, [esp + 0xa5]
mov esi, dword [esp + 0x14]
test esi, esi
je 0x40250a
movzx eax, byte [section..data]
mov edx, eax
add dl, al
and dl, 0xee
sub al, dl
add al, 0xf7
mov byte [esp + 0xa5], al
lea edx, [esp + 0xa6]
neg ecx
mov eax, esi
cmp esi, ecx
jl 0x402514
mov esi, ecx
test esi, esi
mov dword [esp + 8], esi
je 0x40254e
mov eax, edx
and eax, 3
je 0x40254e
mov edi, edx
not edi
and edi, 3
dec esi
cmp edi, esi
jb 0x402531
mov edi, esi
lea eax, [edi + 1]
push eax
push 0x30
push edx
mov ebx, edx
call fcn.0040ca90
mov edx, ebx
add esp, 0xc
lea edx, [edi + ebx]
inc edx
sub esi, edi
mov edi, dword [esp + 0x30]
cmp esi, 4
jl 0x40258c
mov eax, esi
cmp esi, 7
jl 0x40255f
mov eax, 7
neg eax
lea edi, [esi + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x30
push edx
mov ebx, edx
call fcn.0040ca90
mov edx, ebx
add esp, 0xc
lea edx, [edi + ebx]
add edx, 4
sub esi, edi
add esi, 0xfffffffc
mov edi, dword [esp + 0x30]
test esi, esi
je 0x4025a2
push esi
push 0x30
push edx
mov ebx, edx
call fcn.0040ca90
mov edx, ebx
add esp, 0xc
add edx, esi
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 8]
lea ecx, [eax + esi]
cmp ecx, dword [esp + 0x14]
jle 0x4025bd
mov eax, dword [esp + 0x14]
sub eax, esi
mov dword [esp + 0x28], eax
test eax, eax
je 0x4028b9
mov ebx, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0xc], edx
cmp edx, ecx
jl 0x4025d7
mov dword [esp + 0xc], ecx
mov ecx, eax
and ecx, 3
je 0x40285b
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, dword [esp + 0x10]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
movzx edx, byte [edi]
mov byte [ebx + esi], dl
inc esi
cmp ecx, esi
jne 0x4025f0
mov edx, ebx
add edx, esi
mov ebx, edx
mov ecx, eax
sub ecx, esi
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 8]
jmp 0x40285d
xor ecx, ecx
mov esi, 0xffffffff
mov ebx, 1
lea edx, [esp + 0xa4]
mov edi, dword [esp + 8]
jmp 0x40265b
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + ebx - 1]
mov byte [edx], al
mov eax, edx
inc edx
inc ecx
dec esi
inc ebx
cmp ecx, dword [esp + 0x28]
jae 0x402720
test byte [esp + 4], 0x40
je 0x402640
inc edi
cmp edi, 4
jne 0x402640
mov edi, dword [esp + 4]
and edi, 0x40
shr edi, 6
movzx eax, byte [0x449001]
xor al, 0x45
mov byte [edx], al
inc edx
jmp 0x402640
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
cmp dword [esp + 0x14], 0
je 0x4026b0
movzx edx, byte [section..data]
mov dh, dl
add dh, dl
and dh, 0xee
sub dl, dh
add dl, 0xf7
mov byte [ebx + 1], dl
add ebx, 2
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
mov ecx, dword [esp + 0x28]
mov esi, ecx
sub esi, edx
cmp esi, dword [esp + 0x14]
jbe 0x4026c8
mov ecx, dword [esp + 0x14]
add ecx, edx
mov dword [esp + 0x28], ecx
cmp eax, ecx
jae 0x4026ec
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx + eax]
mov byte [edx], cl
inc edx
inc eax
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jb 0x4026d0
mov dword [esp + 8], edx
mov edx, dword [esp + 0x3c]
sub ecx, edx
lea eax, [esp + 0xa4]
mov ebx, dword [esp + 0x1c]
sub ebx, eax
add ebx, 0x3000000
mov edx, dword [esp + 0x14]
mov eax, edx
not eax
and eax, ecx
not ecx
and ecx, edx
sub ecx, eax
mov eax, ebx
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 8]
jmp 0x4028c8
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov edi, dword [esp + 0x3c]
mov eax, edi
sub eax, ecx
jbe 0x4027d4
test byte [esp + 4], 0x40
jne 0x402996
cmp edi, ecx
je 0x4027a1
mov ecx, edx
and ecx, 3
je 0x4027a1
mov ecx, 2
sub ecx, dword [esp + 0xc]
and ecx, 3
mov eax, edi
sub eax, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], ecx
cmp ecx, eax
mov ecx, dword [esp + 0x20]
jb 0x40276e
mov ecx, eax
mov dword [esp + 0x20], ecx
lea eax, [ecx + 1]
push eax
push 0x30
push edx
call fcn.0040ca90
add esp, 0xc
add esi, edi
mov eax, dword [esp + 0x18]
cmp esi, eax
jb 0x40278d
mov esi, eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
lea edx, [eax + ecx]
add edx, 2
sub edi, esi
sub edi, ebx
mov eax, edi
cmp eax, 4
mov edi, dword [esp + 0x30]
jb 0x4029ae
mov dword [edx], 0x30303030
add edx, 4
mov ecx, eax
not ecx
and ecx, 4
and eax, 0xfffffffb
sub eax, ecx
cmp eax, 3
ja 0x4027ae
jmp 0x4029ae
mov ebx, edx
jmp 0x4029eb
mov edi, dword [esp + 0x30]
mov ecx, edx
lea eax, [esp + 0xa4]
sub ecx, eax
mov eax, ecx
add eax, 0x3000000
cmp dword [esp + 0x14], 0
je 0x402851
mov dword [esp + 0x1c], eax
movzx eax, byte [section..data]
mov ecx, eax
add cl, al
and cl, 0xee
sub al, cl
add al, 0xf7
mov byte [edx], al
mov eax, dword [esp + 0x1c]
inc edx
jmp 0x4028c8
mov byte [esp + 0x34], 3
or al, 0x30
mov byte [esp + 0x37], al
mov edi, dword [esp + 0x30]
add dword [esp + 0x2c], 8
mov eax, ebx
sub eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xa4]
sub ebx, eax
mov dword [esp + 0x28], ebx
xor edx, edx
mov dword [esp + 0x1c], 0x3000001
mov dword [esp + 0xc], eax
jmp 0x402a89
mov dword [esp + 0x14], 0
jmp 0x4028c8
mov ecx, eax
mov edx, esi
sub edx, dword [esp + 0xc]
cmp edx, 0xfffffffc
mov edx, ebx
ja 0x4028b9
mov ebx, edx
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [ebx], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [ebx + 1], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [ebx + 2], dl
mov edx, dword [esp + 0x10]
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
movzx edx, byte [edx]
mov byte [ebx + 3], dl
mov edx, ebx
add edx, 4
add ecx, 0xfffffffc
jne 0x40286a
mov ecx, dword [esp + 8]
add ecx, eax
sub dword [esp + 0x14], ecx
mov eax, 0x3000001
test dword [esp + 4], 0x100
mov dword [esp + 0x1c], eax
je 0x402969
mov ecx, dword [esp + 4]
mov eax, ecx
and eax, 0x400
sete byte [esp + 0x34]
mov byte [esp + 0x35], 0x20
cmp ecx, 0x1000000
jb 0x402969
mov dword [esp + 8], edx
mov ebx, dword [esp + 4]
mov edx, ebx
shr edx, 0x18
mov ecx, eax
shr ecx, 0xa
mov esi, 2
sub esi, ecx
cmp eax, 1
mov ecx, 0
adc cl, 1
test ebx, 0x800
jne 0x402930
movzx eax, byte [edx + str._kMGT]
mov byte [esp + esi + 0x34], al
jmp 0x402961
movzx edx, byte [edx + str._KMGT]
mov byte [esp + esi + 0x34], dl
mov edx, dword [esp + 4]
and edx, 0x1800
cmp edx, 0x800
jne 0x402961
test eax, eax
movzx eax, cl
sete cl
lea edx, [esp + 0x34]
mov byte [eax + edx + 1], 0x69
or cl, 2
mov edx, dword [esp + 8]
mov byte [esp + 0x34], cl
mov eax, edx
lea ecx, [esp + 0xa4]
xor eax, ecx
and edx, dword [esp + 0x54]
add edx, edx
sub edx, eax
mov dword [esp + 0x28], edx
xor edx, edx
mov dword [esp + 0xc], ecx
jmp 0x402a89
mov edx, esi
sub edx, dword [esp + 0xc]
jmp 0x402a5c
mov edi, dword [esp + 0x30]
test eax, eax
jne 0x4029b6
jmp 0x4027d8
mov byte [edx], 0x30
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
inc edx
test eax, eax
je 0x4027d8
test byte [esp + 4], 0x40
je 0x4029a3
mov ecx, dword [esp + 8]
inc ecx
mov dword [esp + 8], ecx
cmp ecx, 4
jne 0x4029a3
movzx ecx, byte [0x449001]
xor cl, 0x45
mov byte [edx], cl
mov dword [esp + 8], 0
inc edx
test eax, eax
jne 0x4029b6
jmp 0x4027d8
mov ecx, esi
mov edi, ecx
mov dword [esp + 8], ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, ebx
mov edx, edi
cmp edi, 4
jb 0x402a25
mov eax, dword [esi]
mov edi, eax
not edi
add eax, 0xfefefeff
and eax, edi
lea ebx, [esi + 4]
lea edi, [edx - 4]
test eax, 0x80808080
je 0x402a00
jmp 0x402a29
test edx, edx
je 0x402a48
mov eax, dword [esp + 8]
add eax, ecx
xor ecx, ecx
mov edi, dword [esp + 0x30]
cmp byte [esi + ecx], 0
je 0x402a44
inc ecx
cmp edx, ecx
jne 0x402a35
mov esi, eax
jmp 0x402a4c
add esi, ecx
jmp 0x402a4c
mov edi, dword [esp + 0x30]
mov eax, esi
mov edx, dword [esp + 0xc]
xor eax, edx
not edx
and edx, esi
add edx, edx
sub edx, eax
add dword [esp + 0x2c], 4
mov dword [esp + 0x28], edx
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
xor edx, edx
mov ebx, dword [esp + 0x28]
cmp edx, ebx
mov ecx, edx
jg 0x402a95
mov ecx, ebx
movsx eax, byte [esp + 0x40]
movsx esi, byte [esp + 0x34]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
add edx, ecx
add edx, eax
add edx, esi
mov esi, dword [esp + 0x48]
cmp esi, edx
jg 0x402ab7
mov esi, edx
sub esi, edx
sub dword [esp + 0x18], ebx
test byte [esp + 4], 1
jne 0x402aee
mov edx, dword [esp + 4]
mov ecx, edx
xor ecx, 0xffffffef
or edx, 0x10
test edx, ecx
je 0x402ae6
mov ecx, dword [esp + 0x18]
cmp esi, ecx
mov edx, dword [esp + 0xc]
jg 0x402ae2
mov esi, ecx
xor ecx, ecx
jmp 0x402af8
mov dword [esp + 4], 0
mov ecx, esi
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x18], esi
add ecx, esi
mov esi, dword [esp + 0x24]
je 0x40301c
test byte [esp + 4], 1
jne 0x402c9a
mov ecx, dword [esp + 0x48]
test ecx, ecx
jg 0x402b3a
jmp 0x402c9a
sub ecx, ebx
test ecx, ecx
jle 0x402c91
mov eax, esi
sub eax, edi
add eax, 0x200
mov ebx, ecx
cmp ecx, eax
jl 0x402b60
mov ebx, eax
cmp dword [ebp + 8], 0
je 0x402b66
test ebx, ebx
jne 0x402b6c
jmp 0x402bb9
cmp dword [ebp + 8], 0
jne 0x402b51
mov ebx, ecx
test ebx, ebx
je 0x402bb9
mov dword [esp + 0x48], ecx
mov dword [esp + 0x24], esi
mov eax, edi
lea ecx, [ebx + 3]
xor esi, esi
mov dword [esp + 0x20], ebx
nop
mov dword [esp + 8], ecx
mov edi, eax
add eax, esi
mov edx, eax
xor edx, 0xfffffffc
mov ecx, eax
or ecx, 3
test ecx, edx
je 0x402bd0
mov eax, edi
mov byte [edi + esi], 0x20
dec ebx
inc esi
mov ecx, dword [esp + 8]
dec ecx
cmp dword [esp + 0x20], esi
jne 0x402b80
add eax, esi
mov edi, eax
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x20]
cmp dword [ebp + 8], 0
jne 0x402c5c
jmp 0x402b30
mov ecx, eax
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x20]
sub eax, esi
cmp eax, 4
jl 0x402c30
cmp ebx, 7
jl 0x402beb
mov ebx, 7
mov edi, dword [esp + 0x20]
mov eax, edi
sub eax, ebx
sub eax, esi
add eax, 3
and eax, 0xfffffffc
add eax, 4
push eax
push 0x20
push ecx
call fcn.0040ca90
add esp, 0xc
mov edx, dword [esp + 8]
sub edx, ebx
mov ebx, edi
and edx, 0xfffffffc
mov eax, dword [esp + 0x30]
add eax, edx
lea edi, [esi + eax]
add edi, 4
mov eax, ebx
sub eax, edx
sub eax, esi
add eax, 0xfffffffc
test eax, eax
jne 0x402c3a
jmp 0x402c4a
mov ebx, dword [esp + 0x20]
mov edi, ecx
test eax, eax
je 0x402c4a
push eax
push 0x20
push edi
mov esi, eax
call fcn.0040ca90
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
cmp dword [ebp + 8], 0
je 0x402b30
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x402b30
mov edx, esi
mov esi, ecx
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403727
mov edi, eax
mov ecx, esi
mov esi, edi
jmp 0x402b30
mov dword [esp + 0x48], ecx
movzx eax, byte [esp + 0x40]
lea ecx, [esp + 0x41]
mov dword [esp + 0x10], ecx
jmp 0x402cb9
mov edi, eax
mov esi, eax
movzx eax, byte [esp + 0x40]
test al, al
je 0x402dbd
movsx edx, al
mov ecx, esi
sub ecx, edi
add ecx, 0x200
cmp ecx, edx
jl 0x402cd4
mov ecx, edx
cmp dword [ebp + 8], 0
jne 0x402cdc
mov ecx, edx
sub al, cl
mov byte [esp + 0x40], al
test ecx, ecx
je 0x402d7b
mov eax, ecx
and eax, 3
je 0x402db0
mov dword [esp + 0x24], esi
xor edx, edx
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x10]
mov ebx, edi
lea edi, [esi + 1]
mov dword [esp + 0x10], edi
mov edi, ebx
movzx ebx, byte [esi]
mov byte [edi + edx], bl
inc edx
cmp eax, edx
jne 0x402d00
add edi, edx
mov eax, ecx
sub eax, edx
mov esi, dword [esp + 0x24]
cmp ecx, 4
jb 0x402d7b
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi + 1], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi + 2], cl
mov ecx, dword [esp + 0x10]
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
movzx ecx, byte [ecx]
mov byte [edi + 3], cl
add edi, 4
add eax, 0xfffffffc
jne 0x402d30
cmp dword [ebp + 8], 0
je 0x402cb4
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x402cb4
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402cb0
jmp 0x403727
mov eax, ecx
cmp ecx, 4
jae 0x402d30
jmp 0x402d7b
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x1c]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 8], ecx
xor esi, esi
test byte [esp + 4], 0x40
je 0x402df7
mov ecx, eax
or ecx, 0xffffff
xor eax, 0xff000000
and eax, ecx
add eax, dword [esp + 0x18]
mov esi, dword [esp + 8]
lea ecx, [esi + 1]
xor edx, edx
div ecx
sub esi, edx
cmp dword [esp + 0x18], 0
jle 0x4036cd
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
jmp 0x402e20
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x20]
test eax, eax
jle 0x403013
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
cmp dword [ebp + 8], 0
je 0x402e4b
mov eax, dword [esp + 0x24]
sub eax, edi
add eax, 0x200
mov ebx, dword [esp + 0x18]
mov ecx, ebx
mov dword [esp + 0x20], ebx
cmp ebx, eax
jl 0x402e4b
mov dword [esp + 0x20], eax
test byte [esp + 4], 0x40
jne 0x402eb0
cmp dword [esp + 0x20], 0
je 0x402ec0
mov eax, edi
and eax, 3
je 0x402ec0
mov ecx, edi
not edi
and edi, 3
mov eax, dword [esp + 0x20]
lea edx, [eax - 1]
cmp edi, edx
jb 0x402e74
mov edi, edx
lea eax, [edi + 1]
push eax
push 0x30
mov dword [esp + 0x24], edx
mov ebx, ecx
push ecx
call fcn.0040ca90
add esp, 0xc
add ebx, edi
inc ebx
sub dword [esp + 0x1c], edi
mov edi, ebx
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
cmp ebx, 4
jge 0x402ec9
jmp 0x402f0d
mov ebx, dword [esp + 0x20]
jmp 0x402f0d
mov ebx, dword [esp + 0x20]
cmp ebx, 4
jl 0x402f0d
mov ecx, edi
mov eax, ebx
cmp ebx, 7
jl 0x402ed7
mov eax, 7
neg eax
lea edi, [ebx + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x30
mov dword [esp + 0x24], ebx
mov ebx, ecx
push ecx
call fcn.0040ca90
add esp, 0xc
add ebx, edi
add ebx, 4
sub dword [esp + 0x1c], edi
mov edi, ebx
mov ebx, dword [esp + 0x1c]
add ebx, 0xfffffffc
mov edx, dword [esp + 0xc]
test ebx, ebx
je 0x402f60
test bl, 1
jne 0x402f30
mov eax, ebx
cmp ebx, 1
jne 0x402fbf
jmp 0x402f60
mov al, 0x30
test byte [esp + 4], 0x40
je 0x402f4d
cmp esi, dword [esp + 8]
jne 0x402f4c
movzx eax, byte [0x449001]
xor al, 0x45
xor esi, esi
jmp 0x402f4d
inc esi
mov byte [edi], al
inc edi
lea eax, [ebx - 1]
cmp ebx, 1
jne 0x402fbf
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + 8], 0
je 0x402e10
mov eax, edi
mov ecx, dword [esp + 0x24]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402e10
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403727
mov edi, eax
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0xc]
jmp 0x402e10
mov edx, dword [esp + 0xc]
mov byte [edi + 1], cl
add edi, 2
add eax, 0xfffffffe
je 0x402f60
mov cl, 0x30
test byte [esp + 4], 0x40
je 0x402fe1
cmp esi, dword [esp + 8]
jne 0x402fe0
movzx edx, byte [0x449001]
xor dl, 0x45
xor esi, esi
jmp 0x402fe3
inc esi
mov dl, 0x30
mov byte [edi], dl
test byte [esp + 4], 0x40
je 0x402fb0
cmp esi, dword [esp + 8]
mov edx, dword [esp + 0xc]
jne 0x403010
movzx ecx, byte [0x449001]
xor cl, 0x45
xor esi, esi
jmp 0x402fb4
inc esi
jmp 0x402fb4
movzx eax, byte [esp + 0x40]
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x41]
mov dword [esp + 0x10], ecx
jmp 0x40303d
mov edi, eax
mov esi, eax
mov edx, dword [esp + 0xc]
movzx eax, byte [esp + 0x40]
test al, al
je 0x40314d
movsx ecx, al
mov eax, ecx
cmp dword [ebp + 8], 0
je 0x403069
mov eax, edi
not eax
and eax, esi
mov edx, esi
not edx
and edx, edi
sub eax, edx
add eax, 0x200
cmp eax, ecx
jl 0x403069
mov eax, ecx
sub cl, al
mov byte [esp + 0x40], cl
test eax, eax
je 0x40310b
mov ecx, eax
and ecx, 3
je 0x403140
mov dword [esp + 0x24], esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x10]
mov ebx, edi
lea edi, [esi + 1]
mov dword [esp + 0x10], edi
mov edi, ebx
movzx ebx, byte [esi]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x403090
add edi, edx
mov ecx, eax
sub ecx, edx
mov esi, dword [esp + 0x24]
cmp eax, 4
jb 0x40310b
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 1], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 2], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 3], al
add edi, 4
add ecx, 0xfffffffc
jne 0x4030c0
cmp dword [ebp + 8], 0
je 0x403034
mov eax, edi
sub eax, esi
cmp eax, 0x1ff
jl 0x403034
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x403030
jmp 0x403727
mov ecx, eax
cmp eax, 4
jae 0x4030c0
jmp 0x40310b
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x4032aa
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov esi, dword [esp + 0x24]
jne 0x403464
lea eax, [esp + 0x35]
mov dword [esp + 0x10], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + 0x34]
test cl, cl
je 0x403561
movsx edx, cl
mov eax, esi
sub eax, edi
add eax, 0x200
cmp eax, edx
jl 0x40319f
mov eax, edx
cmp dword [ebp + 8], 0
jne 0x4031a7
mov eax, edx
sub cl, al
mov byte [esp + 0x34], cl
test eax, eax
je 0x40324b
mov ecx, eax
and ecx, 3
je 0x403290
mov dword [esp + 0x24], esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x10]
mov ebx, edi
lea edi, [esi + 1]
mov dword [esp + 0x10], edi
mov edi, ebx
movzx ebx, byte [esi]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x4031d0
add edi, edx
mov ecx, eax
sub ecx, edx
mov esi, dword [esp + 0x24]
cmp eax, 4
jb 0x40324b
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 1], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 2], al
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
mov byte [edi + 3], al
add edi, 4
add ecx, 0xfffffffc
jne 0x403200
cmp dword [ebp + 8], 0
je 0x403180
mov ecx, edi
not ecx
and ecx, esi
mov eax, esi
not eax
and eax, edi
sub eax, ecx
cmp eax, 0x1ff
jl 0x403180
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403727
mov edi, eax
mov esi, eax
jmp 0x403180
mov ecx, eax
cmp eax, 4
jae 0x403200
jmp 0x40324b
sub esi, dword [esp + 8]
je 0x40315d
mov ecx, esi
cmp dword [ebp + 8], 0
je 0x4032c5
mov eax, dword [esp + 0x24]
sub eax, edi
add eax, 0x200
mov ecx, esi
cmp esi, eax
jl 0x4032c5
mov ecx, eax
cmp ecx, 4
mov dword [esp + 8], ecx
jl 0x403320
lea ebx, [ecx - 4]
mov eax, ebx
shr eax, 2
inc eax
and eax, 7
je 0x403324
mov dword [esp + 0xc], ebx
shl eax, 2
mov ebx, edi
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [edx + edi]
mov dword [ebx + edi], ecx
add edi, 4
cmp eax, edi
jne 0x4032f0
add ebx, edi
mov ecx, dword [esp + 8]
sub ecx, edi
add edx, edi
mov eax, ecx
mov edi, ebx
mov ebx, dword [esp + 0xc]
cmp ebx, 0x1c
jae 0x403330
jmp 0x403371
mov eax, ecx
jmp 0x403371
cmp ebx, 0x1c
jb 0x403371
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [edx]
mov dword [edi], eax
mov eax, dword [edx + 4]
mov dword [edi + 4], eax
mov eax, dword [edx + 8]
mov dword [edi + 8], eax
mov eax, dword [edx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [edx + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [edx + 0x1c]
mov dword [edi + 0x1c], eax
lea eax, [ecx - 0x20]
add edx, 0x20
add edi, 0x20
add ecx, 0xffffffdc
cmp ecx, 0xfffffff8
mov ecx, eax
jb 0x403330
test eax, eax
je 0x4033f1
mov ecx, eax
and ecx, 7
je 0x403440
mov dword [esp + 0xc], esi
mov esi, edx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esi + edx]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x403390
add edi, edx
mov ecx, eax
sub ecx, edx
add esi, edx
mov edx, esi
mov esi, dword [esp + 0xc]
cmp eax, 8
jb 0x4033f1
nop
movzx eax, byte [edx]
mov byte [edi], al
movzx eax, byte [edx + 1]
mov byte [edi + 1], al
movzx eax, byte [edx + 2]
mov byte [edi + 2], al
movzx eax, byte [edx + 3]
mov byte [edi + 3], al
movzx eax, byte [edx + 4]
mov byte [edi + 4], al
movzx eax, byte [edx + 5]
mov byte [edi + 5], al
movzx eax, byte [edx + 6]
mov byte [edi + 6], al
movzx eax, byte [edx + 7]
add edx, 8
mov byte [edi + 7], al
add edi, 8
add ecx, 0xfffffff8
jne 0x4033b0
cmp dword [ebp + 8], 0
je 0x4032a0
mov eax, edi
mov ecx, dword [esp + 0x24]
sub eax, ecx
cmp eax, 0x1ff
jl 0x4032a0
mov ebx, esi
mov esi, edx
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403727
mov edi, eax
mov dword [esp + 0x24], eax
mov edx, esi
mov esi, ebx
jmp 0x4032a0
mov ecx, eax
cmp eax, 8
jae 0x4033b0
jmp 0x4033f1
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0x14]
sub ecx, ebx
je 0x40316d
mov eax, esi
sub eax, edi
add eax, 0x200
mov edx, ecx
cmp ecx, eax
jl 0x403475
mov edx, eax
cmp dword [ebp + 8], 0
jne 0x40347d
mov edx, ecx
test edx, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 8], edx
je 0x4034e0
mov eax, edi
and eax, 3
je 0x4034e0
mov esi, edi
not edi
and edi, 3
lea ebx, [edx - 1]
cmp edi, ebx
jb 0x4034a4
mov edi, ebx
lea eax, [edi + 1]
push eax
push 0x30
push esi
call fcn.0040ca90
add esp, 0xc
add esi, edi
inc esi
sub ebx, edi
cmp ebx, 4
jge 0x4034e9
test ebx, ebx
je 0x40351d
push ebx
push 0x30
mov edi, esi
push esi
call fcn.0040ca90
add esp, 0xc
add edi, ebx
jmp 0x40351f
mov esi, edi
mov ebx, edx
cmp ebx, 4
jl 0x4034bd
mov eax, ebx
cmp ebx, 7
jl 0x4034f5
mov eax, 7
neg eax
lea edi, [ebx + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x30
push esi
call fcn.0040ca90
add esp, 0xc
add esi, edi
add esi, 4
sub ebx, edi
add ebx, 0xfffffffc
test ebx, ebx
jne 0x4034c1
mov edi, esi
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x403450
mov eax, edi
mov esi, dword [esp + 0x24]
sub eax, esi
cmp eax, 0x1ff
mov ebx, dword [esp + 8]
jl 0x403458
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403727
mov edi, eax
mov esi, eax
jmp 0x403458
test byte [esp + 4], 1
je 0x4036de
mov ecx, dword [esp + 0x48]
test ecx, ecx
mov eax, dword [esp + 0x4c]
jle 0x4036e2
jne 0x4035a0
jmp 0x4036e2
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
sub ecx, ebx
je 0x4036e2
mov edx, ecx
cmp dword [ebp + 8], 0
je 0x4035bd
mov eax, esi
sub eax, edi
add eax, 0x200
mov edx, ecx
cmp ecx, eax
jl 0x4035b9
mov edx, eax
mov eax, dword [esp + 0x4c]
test edx, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x48], ecx
mov dword [esp + 4], edx
je 0x403650
mov eax, edi
and eax, 3
je 0x403600
mov esi, edi
not edi
and edi, 3
lea ebx, [edx - 1]
cmp edi, ebx
jb 0x4035e8
mov edi, ebx
lea eax, [edi + 1]
push eax
push 0x20
push esi
call fcn.0040ca90
add esp, 0xc
add esi, edi
inc esi
sub ebx, edi
jmp 0x403604
mov esi, edi
mov ebx, edx
mov eax, dword [esp + 0x4c]
cmp ebx, 4
jl 0x403660
mov eax, ebx
cmp ebx, 7
jl 0x403619
mov eax, 7
neg eax
lea edi, [ebx + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x20
push esi
call fcn.0040ca90
add esp, 0xc
add esi, edi
add esi, 4
sub ebx, edi
add ebx, 0xfffffffc
mov eax, dword [esp + 0x4c]
test ebx, ebx
jne 0x403664
mov edi, esi
jmp 0x403678
mov esi, edi
mov ebx, edx
cmp ebx, 4
jge 0x40360d
nop
nop
nop
nop
nop
nop
nop
test ebx, ebx
je 0x403645
push ebx
push 0x20
mov edi, esi
push esi
call fcn.0040ca90
mov eax, dword [esp + 0x58]
add esp, 0xc
add edi, ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4036c0
mov eax, edi
mov esi, dword [esp + 0x24]
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, 0x200
mov ebx, dword [esp + 4]
jl 0x403590
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403727
mov edi, eax
mov esi, eax
jmp 0x403590
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 4]
jmp 0x403594
lea eax, [esp + 0x41]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0xc]
jmp 0x403151
mov eax, dword [esp + 0x4c]
inc eax
jmp 0x40104f
mov edx, ebx
sub edx, dword [esp + 0xc]
jmp 0x402a5c
fstp st(1)
fdivp st(1)
or dword [esp + 4], 0x4000000
jmp 0x402170
cmp dword [ebp + 8], 0
je 0x40372d
mov eax, edi
sub eax, esi
test eax, eax
jle 0x403730
add dword [esp + 0x50], eax
push eax
push dword [ebp + 0xc]
push esi
call dword [ebp + 8]
add esp, 0xc
mov edi, eax
mov esi, eax
jmp 0x403730
xor edi, edi
xor esi, esi
jmp 0x403730
mov byte [edi], 0
mov eax, dword [esp + 0x50]
add eax, edi
sub eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret