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 + 0x28], eax
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x1c], 0
mov edx, esi
jmp 0x40103f
mov esi, eax
mov eax, edi
movzx eax, byte [edi]
mov edx, esi
mov byte [esi], al
inc esi
mov eax, edi
inc eax
mov dword [esp + 0x20], edx
test al, 3
mov dword [esp + 0x2c], esi
mov edi, eax
je 0x401060
movzx eax, byte [eax]
jmp 0x40107e
mov eax, dword [eax]
mov edx, eax
not edx
and edx, 0x80808080
mov ecx, eax
xor ecx, 0x25252525
add ecx, 0xfefefeff
test ecx, edx
je 0x4010c4
cmp al, 0x25
je 0x401134
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
test al, al
je 0x4035e3
cmp dword [ebp + 8], 0
je 0x401039
mov ecx, esi
sub ecx, edx
cmp ecx, 0x1ff
jl 0x401039
add dword [esp + 0x1c], ecx
push ecx
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x401030
jmp 0x403613
mov ecx, dword [esp + 0x20]
sub ecx, esi
add ecx, 0x200
jmp 0x401112
mov dword [edx], eax
add edx, 4
mov dword [esp + 0x2c], edx
mov eax, dword [edi + 4]
add edi, 4
mov edx, eax
not edx
and edx, 0x80808080
mov esi, eax
xor esi, 0x25252525
add esi, 0xfefefeff
add ecx, 0xfffffffc
test esi, edx
jne 0x40107e
lea esi, [eax - 0x1010101]
test edx, esi
jne 0x401086
cmp dword [ebp + 8], 0
mov edx, dword [esp + 0x2c]
je 0x4010e0
cmp ecx, 4
jge 0x4010e0
jmp 0x40107e
add edi, 2
xor ebx, ebx
mov ecx, edi
mov edi, dword [esp + 0x1c]
jmp 0x401153
mov edx, 1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
or ebx, edx
inc ecx
movzx eax, byte [ecx - 1]
lea esi, [eax - 0x20]
cmp esi, 0x3f
ja case.0x401164.33
mov edx, 2
jmp dword [esi*4 + 0x448564]
mov edx, 4
jmp case.0x401164.43
mov edx, 0x400
jmp case.0x401164.43
mov edx, 0x100
mov eax, ebx
test ebx, 0x100
je case.0x401164.43
mov edx, ebx
and edx, 0x800
add edx, 0x800
jmp case.0x401164.43
mov edx, 8
jmp case.0x401164.43
mov edx, 0x40
jmp case.0x401164.43
or ebx, 0x10
movzx eax, byte [ecx]
jmp 0x4011af
dec ecx
cmp al, 0x2a
mov esi, dword [esp + 0x2c]
jne 0x4011cf
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp + 0x48], edx
add eax, 4
mov dword [esp + 0x28], eax
movzx eax, byte [ecx + 1]
inc ecx
jmp 0x401213
mov edx, eax
add dl, 0xd0
mov dword [esp + 0x48], 0
cmp dl, 9
ja 0x401213
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, al
lea edx, [edi + edi*4]
lea edi, [eax + edx*2]
add edi, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x4011f0
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x1c]
cmp al, 0x2e
mov dword [esp + 0x1c], edi
jne 0x401241
movzx eax, byte [ecx + 1]
cmp al, 0x2a
jne 0x4012b7
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp + 4], edx
add eax, 4
mov dword [esp + 0x28], eax
movzx eax, byte [ecx + 2]
add ecx, 2
jmp 0x401249
mov dword [esp + 4], 0xffffffff
mov edx, ebx
movzx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
ja case.0x401256.74
jmp dword [eax*4 + 0x448664]
inc ecx
movzx eax, byte [ecx]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0xc], eax
movzx eax, al
add eax, 0xffffffbf
cmp eax, 0x37
ja case.0x401278.67
jmp dword [eax*4 + 0x44872c]
test dl, 0x20
jne 0x401713
mov eax, dword [esp + 0x28]
mov esi, dword [eax]
add eax, 4
mov dword [esp + 0x28], eax
xor ecx, ecx
cmp byte [esp + 0xc], 0x75
je 0x401743
test esi, esi
jns 0x401743
neg esi
or edx, 0x80
jmp 0x401743
inc ecx
mov edx, eax
add dl, 0xd0
mov dword [esp + 4], 0
cmp dl, 9
ja 0x401249
xor edi, edi
movzx eax, al
lea edx, [edi + edi*4]
lea edi, [eax + edx*2]
add edi, 0xffffffd0
movzx eax, byte [ecx + 1]
inc ecx
mov edx, eax
add dl, 0xd0
cmp dl, 0xa
jb 0x4012d0
mov dword [esp + 4], edi
mov edx, ebx
mov edi, dword [esp + 0x1c]
jmp 0x40124b
movzx eax, byte [ecx + 1]
cmp al, 0x6c
jne 0x401969
or edx, 0x20
add ecx, 2
jmp case.0x401256.74
lea eax, [ecx + 1]
movzx edi, byte [ecx + 1]
cmp edi, 0x33
je 0x401d71
mov dword [esp + 0xc], edi
cmp edi, 0x36
jne 0x401d87
cmp byte [ecx + 2], 0x34
jne 0x401d77
or edx, 0x20
jmp 0x401d7b
cmp byte [ecx + 1], 0x68
je 0x40196f
inc ecx
or edx, 0x200
jmp case.0x401256.74
mov ebx, str.0123456789ABCDEFXP
cmp byte [esp + 0xc], 0x45
je 0x401367
mov ebx, str.0123456789abcdefxp
mov esi, edx
mov eax, dword [esp + 0x28]
fld qword [eax]
mov eax, 6
mov ecx, dword [esp + 4]
cmp ecx, 0xffffffff
je 0x40137f
mov eax, ecx
mov dword [esp + 8], eax
or eax, 0x80000000
sub esp, 0x18
mov dword [esp + 0x10], eax
fstp qword [esp + 8]
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp], eax
lea ecx, [esp + 0x30]
lea edx, [esp + 0x3c]
call fcn.00403630
add esp, 0x18
mov edx, esi
test eax, eax
je 0x4013be
or edx, 0x80
add dword [esp + 0x28], 8
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
test dl, dl
js 0x4013e1
mov al, 0x20
test dl, 4
jne 0x4013e1
mov al, 0x2b
test dl, 2
je 0x4013ea
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
cmp edi, 0x7000
jne 0x4015e0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], esi
jmp 0x4028d5
mov eax, str.0123456789ABCDEFXP
cmp byte [esp + 0xc], 0x41
je 0x401420
mov eax, str.0123456789abcdefxp
mov dword [esp + 0x30], eax
mov esi, 6
mov eax, dword [esp + 4]
cmp eax, 0xffffffff
je 0x401434
mov esi, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x401445
or edx, 0x80
mov eax, dword [esp + 0x28]
mov edi, dword [eax]
mov al, 0x2d
test dl, dl
mov dword [esp + 4], esi
mov dword [esp + 0x14], edx
js 0x40158c
mov al, 0x20
test dl, 4
jne 0x40158c
mov al, 0x2b
test dl, 2
jne 0x40158c
mov dword [esp + 0x10], 0
jmp 0x401596
mov dword [esp + 8], str.0123456789ABCDEFXP
mov eax, dword [esp + 0xc]
cmp al, 0x42
je 0x401498
mov dword [esp + 8], str.0123456789abcdefxp
mov byte [esp + 0x40], 0
test dl, 8
je 0x4014b7
cmp al, 0x42
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x42
mov byte [esp + 0x42], al
mov dword [esp + 0x24], 0x180
mov ecx, 1
jmp 0x4019fb
mov ebx, str.0123456789ABCDEFXP
cmp byte [esp + 0xc], 0x47
je 0x4014da
mov ebx, str.0123456789abcdefxp
mov edi, edx
mov eax, dword [esp + 0x28]
fld qword [eax]
mov ecx, dword [esp + 4]
cmp ecx, 1
mov eax, ecx
adc eax, 0
mov esi, 6
cmp ecx, 0xffffffff
je 0x4014fa
mov esi, eax
lea eax, [esi - 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 + 0x30]
lea edx, [esp + 0x3c]
call fcn.00403630
add esp, 0x18
test eax, eax
je 0x401536
or edi, 0x80
mov eax, dword [esp + 0x24]
cmp eax, esi
jb 0x401540
mov eax, esi
mov dword [esp + 0x14], edi
mov ecx, eax
mov dword [esp + 8], eax
cmp eax, 2
jb 0x40197d
mov edx, dword [esp + 0x18]
mov ecx, esi
nop
nop
nop
nop
nop
nop
nop
mov edi, dword [esp + 8]
cmp byte [edx + edi - 1], 0x30
jne 0x401fff
lea eax, [ecx - 1]
dec edi
mov dword [esp + 8], edi
cmp edi, 2
jb 0x402001
cmp ecx, 1
mov ecx, eax
jne 0x401560
jmp 0x402001
mov byte [esp + 0x41], al
mov al, 1
mov dword [esp + 0x10], eax
mov esi, ecx
and esi, 0xfffff
sar ecx, 0x14
mov edx, ecx
not edx
or edx, 0x7ff
lea ebx, [ecx + edx]
inc ebx
test ebx, ebx
je 0x401dc6
mov eax, 0xffffffff
add edi, eax
mov eax, 0xfffff
adc esi, eax
lea eax, [ecx + edx]
add eax, 0xfffffc02
mov dword [esp + 0x54], eax
add edi, 1
adc esi, 0
mov ecx, dword [esp + 4]
jmp 0x401ddf
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
movzx ecx, byte [esi]
mov byte [esp + 0xa4], cl
lea eax, [esp + 0xa5]
mov dword [esp + 4], eax
cmp dword [esp + 8], 0
mov ebx, esi
je 0x401622
movzx ecx, byte [section..data]
xor cl, 0xd2
mov byte [esp + 0xa5], cl
lea eax, [esp + 0xa6]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
lea edx, [eax - 1]
cmp edx, dword [esp + 8]
jbe 0x401638
mov eax, dword [esp + 8]
inc eax
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], eax
cmp eax, 2
jb 0x4016f2
mov eax, dword [esp + 8]
mov ecx, eax
cmp eax, edx
jb 0x401651
mov ecx, edx
lea esi, [ecx - 1]
mov edx, 1
cmp esi, 7
jb 0x4016c9
mov dword [esp + 0x30], edi
mov esi, ecx
and esi, 0xfffffff8
xor edx, edx
mov edi, dword [esp + 4]
nop
nop
nop
movzx eax, byte [ebx + edx + 1]
mov byte [edi + edx], al
movzx eax, byte [ebx + edx + 2]
mov byte [edi + edx + 1], al
movzx eax, byte [ebx + edx + 3]
mov byte [edi + edx + 2], al
movzx eax, byte [ebx + edx + 4]
mov byte [edi + edx + 3], al
movzx eax, byte [ebx + edx + 5]
mov byte [edi + edx + 4], al
movzx eax, byte [ebx + edx + 6]
mov byte [edi + edx + 5], al
movzx eax, byte [ebx + edx + 7]
mov byte [edi + edx + 6], al
movzx eax, byte [ebx + edx + 8]
mov byte [edi + edx + 7], al
add edx, 8
cmp esi, edx
jne 0x401670
add edi, edx
mov dword [esp + 4], edi
inc edx
mov edi, dword [esp + 0x30]
and ecx, 7
je 0x4016f2
add ebx, edx
xor edx, edx
mov esi, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ebx + edx]
mov byte [esi + edx], al
inc edx
cmp ecx, edx
jne 0x4016e0
add esi, edx
mov dword [esp + 4], esi
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 0xe]
mov byte [esp + 0x35], al
test edi, edi
jle 0x401f25
dec edi
mov byte [esp + 0x36], 0x2b
mov esi, edi
jmp 0x401f31
mov ecx, dword [esp + 0x28]
lea eax, [ecx + 8]
mov esi, dword [ecx]
mov ecx, dword [ecx + 4]
cmp byte [esp + 0xc], 0x75
je 0x40173f
test ecx, ecx
jns 0x40173f
neg esi
mov ebx, esi
mov esi, ecx
mov ecx, 0
sbb ecx, esi
mov esi, ebx
or edx, 0x80
mov dword [esp + 0x28], eax
mov dword [esp + 8], ecx
test edx, 0x100
jne 0x4018a7
mov dword [esp + 0xc], esi
mov esi, 0x200
xor edi, edi
movzx eax, byte [0x44b001]
mov byte [esp + 0x10], al
mov dword [esp + 0x14], edx
nop
nop
nop
mov ebx, dword [esp + 0xc]
cmp ebx, 0x5f5e100
mov ecx, dword [esp + 8]
mov eax, ecx
sbb eax, 0
jb 0x4017b0
push 0
push 0x5f5e100
push ecx
push ebx
call fcn.0040c780
mov dword [esp + 8], edx
mov edx, dword [esp + 0x14]
imul ecx, eax, 0x5f5e100
sub ebx, ecx
mov dword [esp + 0xc], eax
jmp 0x4017c0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
lea eax, [esp + 0x5c]
lea ecx, [eax + esi]
test dl, 0x40
jne 0x401883
mov dword [esp + 0x30], ecx
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
mov edx, 0x51eb851f
mul edx
shr edx, 5
imul eax, edx, 0x64
mov ebx, ecx
sub ebx, eax
movzx eax, word [ebx + ebx + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov word [esp + esi + 0x62], ax
add esi, 0xfffffffe
cmp ecx, 0x64
mov ecx, edx
jae 0x4017e0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0xc]
or eax, dword [esp + 8]
jne 0x401837
jmp 0x4018e7
inc edi
mov byte [esp + esi + 0x63], 0x30
dec esi
lea eax, [esp + esi]
add eax, 0x64
cmp eax, ecx
je 0x401770
test dl, 0x40
je 0x401831
cmp edi, 3
jne 0x401830
movzx eax, byte [esp + 0x10]
mov byte [esp + esi + 0x63], al
dec esi
dec ecx
xor edi, edi
jmp 0x401837
inc edi
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, dword [esp + 0x14]
test ebx, ebx
je 0x401812
test dl, 0x40
je 0x401861
cmp edi, 3
jne 0x401860
movzx eax, byte [esp + 0x10]
mov byte [esp + esi + 0x63], al
dec esi
dec ecx
xor edi, edi
test ebx, ebx
jne 0x401887
jmp 0x401812
mov eax, 1
mov ecx, dword [esp + 4]
cmp ecx, 0xffffffff
je 0x4018b7
mov eax, ecx
mov dword [esp + 4], 0
cmp esi, 0x400
mov ecx, dword [esp + 8]
sbb ecx, 0
jb 0x4018d2
mov dword [esp + 4], eax
mov dword [esp + 0x58], esi
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
fild qword [esp + 0x58]
jmp 0x401d06
cmp byte [esp + esi + 0x64], 0x30
sete al
cmp esi, 0x200
setne cl
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov ebx, edx
mov dl, 0x2d
test bl, bl
js 0x40191c
mov dl, 0x20
test byte [esp + 0x14], 4
jne 0x40191c
mov dl, 0x2b
test byte [esp + 0x14], 2
je 0x401925
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], dl
and cl, al
movzx eax, cl
add esi, eax
lea eax, [esp + esi]
add eax, 0x64
lea edx, [esi - 0x200]
neg edx
mov dword [esp + 0x24], edx
cmp esi, 0x200
jne 0x401ef0
mov byte [eax - 1], 0x30
dec eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], 1
mov eax, 1
mov edx, dword [esp + 0x14]
jmp 0x401efc
inc ecx
jmp 0x401261
add ecx, 2
or edx, 0x200
jmp case.0x401256.74
mov eax, esi
jmp 0x402001
and edx, 0xffffffef
mov dword [esp + 4], 8
mov dword [esp + 8], str.0123456789ABCDEFXP
mov eax, dword [esp + 0xc]
cmp al, 0x58
je 0x4019a7
mov dword [esp + 8], str.0123456789abcdefxp
mov dword [esp + 0x24], 0x440
mov byte [esp + 0x40], 0
mov ecx, 4
test dl, 8
je 0x4019fb
cmp al, 0x58
setne al
mov word [esp + 0x40], 0x3002
shl al, 5
or al, 0x58
mov byte [esp + 0x42], al
jmp 0x4019fb
mov byte [esp + 0x40], 0
test dl, 8
je 0x4019e6
mov word [esp + 0x40], 0x3001
mov dword [esp + 0x24], 0x330
mov dword [esp + 8], str.0123456789ABCDEFXP
mov ecx, 3
mov dword [esp + 0x14], edx
test dl, 0x20
jne 0x401a15
mov edx, dword [esp + 0x28]
mov edi, dword [edx]
add edx, 4
mov dword [esp + 0x28], edx
xor esi, esi
jmp 0x401a25
mov edx, dword [esp + 0x28]
mov edi, dword [edx]
mov esi, dword [edx + 4]
add edx, 8
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], 0
mov byte [esp + 0x34], 0
mov edx, edi
or edx, esi
jne 0x401a48
mov byte [esp + 0x40], 0
cmp dword [esp + 4], 0
je 0x401d98
mov edx, 0xffffffff
shl edx, cl
not edx
and edx, edi
mov ebx, dword [esp + 0x24]
mov cl, bh
shrd edi, esi, cl
mov eax, dword [esp + 8]
movzx ecx, byte [eax + edx]
mov byte [esp + 0x263], cl
mov cl, bh
shr esi, cl
mov dword [esp + 0xc], ebx
test bh, 0x20
je 0x401a7c
mov edi, esi
xor esi, esi
mov ecx, edi
or ecx, esi
mov edx, dword [esp + 4]
jne 0x401aa0
mov ecx, 1
cmp edx, 2
jge 0x401aa0
lea eax, [esp + 0x263]
mov dword [esp + 0x10], eax
jmp 0x401b6c
lea ecx, [esp + 0x263]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x264]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
test byte [esp + 0x14], 0x40
jne 0x401ad0
mov edx, dword [esp + 0x10]
jmp 0x401b10
mov ebx, dword [esp + 0xc]
inc ebx
mov dword [esp + 0x24], ebx
mov ecx, ebx
shr ecx, 4
xor ecx, ebx
test cl, 0xf
mov ecx, dword [esp + 0x10]
je 0x401af1
mov dword [esp + 0xc], ebx
mov edx, ecx
jmp 0x401b10
and ebx, 0xfffffff0
mov dword [esp + 0x24], ebx
movzx ecx, byte [0x44b001]
mov byte [edx - 2], cl
add edx, 0xfffffffe
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
nop
nop
nop
mov ebx, 0xffffffff
mov eax, dword [esp + 0xc]
mov cl, ah
shl ebx, cl
not ebx
and ebx, edi
mov eax, dword [esp + 0x24]
mov cl, ah
shrd edi, esi, cl
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + ebx]
mov byte [edx - 1], cl
mov cl, ah
shr esi, cl
mov dword [esp + 0xc], eax
test ah, 0x20
je 0x401b46
mov edi, esi
xor esi, esi
lea ecx, [edx - 1]
mov dword [esp + 0x10], ecx
mov ecx, edi
or ecx, esi
jne 0x401ac0
lea ecx, [esp + 0x264]
sub ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 4]
jl 0x401ac0
mov eax, dword [esp + 0xc]
shl eax, 0x14
and eax, 0xf000000
add eax, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 8], 0
mov edx, dword [esp + 0x14]
jmp 0x401f1c
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov dword [esp + 0x10], str.null
test eax, eax
je 0x401ba9
mov dword [esp + 0x10], eax
mov eax, dword [esp + 4]
mov esi, eax
test eax, eax
jns 0x401bb8
mov esi, 0xffffffff
mov eax, dword [esp + 0x10]
test al, 3
je 0x4026a2
lea ebx, [esi + eax]
cmp dword [esp + 4], 0
je 0x4028ae
cmp byte [eax], 0
je 0x40283e
lea ecx, [eax + 1]
lea eax, [esi - 1]
test cl, 3
je 0x402851
test eax, eax
je 0x4028ae
cmp byte [ecx], 0
je 0x401c52
mov eax, dword [esp + 0x10]
lea ecx, [eax + 2]
lea eax, [esi - 2]
test cl, 3
je 0x402851
test eax, eax
je 0x4028ae
cmp byte [ecx], 0
je 0x401c52
mov eax, dword [esp + 0x10]
lea ecx, [eax + 3]
lea eax, [esi - 3]
test cl, 3
je 0x402851
test eax, eax
je 0x4028ae
cmp byte [ecx], 0
je 0x401c52
mov eax, dword [esp + 0x10]
lea ecx, [eax + 4]
add esi, 0xfffffffc
test cl, 3
je 0x402853
test esi, esi
je 0x4028ae
mov ebx, ecx
jmp 0x4028ae
mov eax, dword [esp + 0xc]
mov byte [esp + 0x263], al
mov dword [esp + 0x24], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0xc], 0
lea eax, [esp + 0x263]
mov dword [esp + 0x10], eax
xor edx, edx
mov dword [esp + 8], 0
xor esi, esi
mov dword [esp + 0x48], 0
jmp 0x4028df
mov ecx, dword [esp + 0x28]
movzx eax, byte [ecx]
add ecx, 4
mov dword [esp + 0x28], ecx
mov byte [esp + 0x263], al
mov dword [esp + 0x24], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0xc], 0
lea eax, [esp + 0x263]
jmp 0x40236d
mov eax, dword [esp + 0x28]
fld qword [eax]
add eax, 8
mov dword [esp + 0x28], eax
test edx, 0x100
je 0x4020e4
xor eax, eax
test edx, 0x800
sete al
fld qword [eax*8 + 0x448550]
cmp edx, 0x3ffffff
ja 0x401d42
fld st(0)
fchs
fxch st(1)
fucom st(2)
fnstsw ax
sahf
jbe 0x40206a
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
jbe 0x40206a
fstp st(0)
fstp st(0)
jmp 0x4020e4
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov ecx, edi
mov ebx, edi
mov edi, dword [esp + 0x20]
sub ecx, edi
add ecx, esi
mov dword [eax], ecx
add edx, 4
mov dword [esp + 0x28], edx
mov edx, edi
mov edi, ebx
mov eax, dword [esp + 0x4c]
jmp 0x403568
cmp byte [ecx + 2], 0x32
je 0x401d7b
mov ecx, eax
jmp 0x401d7e
add ecx, 3
mov edi, dword [esp + 0x1c]
jmp case.0x401256.74
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
jmp 0x401265
mov dword [esp + 0x24], 0
mov dword [esp + 0xc], 0
lea eax, [esp + 0x264]
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
xor esi, esi
mov edx, dword [esp + 0x14]
jmp 0x4028df
xor eax, eax
mov ecx, edi
or ecx, esi
mov ecx, dword [esp + 4]
je 0x401dd7
mov eax, 0xfffffc02
mov dword [esp + 0x54], eax
mov dword [esp + 0x3c], eax
lea ecx, [ecx*4]
xor ebx, ebx
mov eax, 0x8000000
shrd ebx, eax, cl
mov edx, 0x8000000
shr edx, cl
test cl, 0x20
je 0x401e00
mov ebx, edx
xor edx, edx
cmp dword [esp + 4], 0xf
jl 0x401e0b
xor ebx, ebx
xor edx, edx
shld esi, edi, 8
shl edi, 8
add edi, ebx
mov dword [esp + 0x50], edi
adc esi, edx
mov edx, dword [esp + 0x10]
movzx ecx, dl
lea eax, [esp + 0x40]
mov word [ecx + eax + 1], 0x7830
or dl, 2
mov byte [esp + 0x40], dl
mov ecx, esi
shr ecx, 0x1c
mov eax, dword [esp + 0x30]
movzx ecx, byte [eax + ecx]
mov byte [esp + 0xa4], cl
mov edi, dword [esp + 4]
test edi, edi
je 0x401edc
movzx ecx, byte [section..data]
xor cl, 0xd2
mov byte [esp + 0xa5], cl
lea eax, [esp + 0xa6]
mov dword [esp + 0x18], eax
mov ecx, edi
cmp edi, 0xd
jb 0x401e7b
mov ecx, 0xd
mov eax, edi
sub eax, ecx
jg 0x401e83
xor eax, eax
mov dword [esp + 8], eax
mov edx, ecx
and edx, 3
je 0x402139
mov dword [esp + 0x10], ecx
xor ebx, ebx
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x50]
mov eax, esi
shr eax, 0x18
and eax, 0xf
movzx eax, byte [ecx + eax]
shld esi, edi, 4
mov byte [esp + ebx + 0xa6], al
shl edi, 4
inc ebx
cmp edx, ebx
jne 0x401ea0
mov dword [esp + 0x50], edi
lea eax, [esp + 0xa6]
lea edx, [eax + ebx]
mov ecx, dword [esp + 0x10]
sub ecx, ebx
mov edi, dword [esp + 4]
jmp 0x402140
lea edx, [esp + 0xa5]
mov dword [esp + 0x18], edx
xor edi, edi
mov esi, edx
jmp 0x4021b1
mov ecx, edx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x14]
mov eax, ecx
mov dword [esp + 8], 0
cmp dword [esp + 4], 0
jg 0x401f13
mov dword [esp + 4], 0
add eax, 0x3000000
mov dword [esp + 0xc], eax
mov esi, dword [esp + 4]
jmp 0x4028df
mov byte [esp + 0x36], 0x2d
mov esi, 1
sub esi, edi
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 + 0x10], 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 + 0x10]
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 0x401fdd
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 edi, dword [esp + 8]
sub edi, dword [esp + 0xc]
inc edi
mov dword [esp + 8], edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0xc], 0x3000001
mov edx, dword [esp + 0x14]
jmp 0x402822
mov eax, ecx
add dword [esp + 0x28], 8
mov ecx, dword [esp + 8]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xfffffffd
mov edx, dword [esp + 0x14]
jl 0x40203e
cmp ecx, esi
jg 0x40203e
test ecx, ecx
jle 0x40231e
sub dword [esp + 8], ecx
jg 0x40232e
mov dword [esp + 8], 0
jmp 0x40232e
mov ecx, dword [esp + 8]
cmp eax, ecx
jle 0x402050
dec ecx
mov dword [esp + 8], ecx
jmp 0x4013c3
mov dword [esp + 8], 0
sub eax, 1
jb 0x4013c3
mov dword [esp + 8], eax
jmp 0x4013c3
fdiv st(2), st(0)
lea ecx, [edx + 0x1000000]
cmp edx, 0x2ffffff
ja 0x4020de
fucom st(2)
fnstsw ax
sahf
jbe 0x40208c
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x4020de
fdiv st(2), st(0)
lea ecx, [edx + 0x2000000]
cmp edx, 0x1ffffff
ja 0x4020de
fucom st(2)
fnstsw ax
sahf
jbe 0x4020ae
fxch st(2)
fucom st(1)
fnstsw ax
sahf
fxch st(2)
ja 0x4020de
fdiv st(2), st(0)
lea ecx, [edx + 0x3000000]
cmp edx, 0xffffff
ja 0x4020de
fucom st(2)
fnstsw ax
sahf
jbe 0x4035d4
fxch st(2)
fucom st(1)
fstp st(1)
fnstsw ax
sahf
fldz
fxch st(1)
fxch st(2)
jbe 0x4035d4
fstp st(0)
fstp st(0)
mov edx, ecx
mov esi, edx
mov ecx, 6
mov eax, dword [esp + 4]
cmp eax, 0xffffffff
je 0x4020f6
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 + 0x20], ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x30]
lea edx, [esp + 0x3c]
call fcn.00403630
add esp, 0x18
mov edx, esi
test eax, eax
je 0x40232e
or edx, 0x80
jmp 0x40232e
lea edx, [esp + 0xa6]
cmp edi, 4
jb 0x4021a6
mov ebx, esi
mov edi, dword [esp + 0x50]
nop
nop
nop
nop
nop
mov dword [esp + 0x10], ecx
mov eax, esi
shr eax, 0x18
and eax, 0xf
mov ecx, dword [esp + 0x30]
movzx eax, byte [ecx + eax]
mov byte [edx], al
mov eax, esi
shr eax, 0x14
and eax, 0xf
movzx eax, byte [ecx + eax]
mov byte [edx + 1], al
mov eax, esi
shr eax, 0x10
and eax, 0xf
movzx eax, byte [ecx + eax]
mov byte [edx + 2], al
shld ebx, edi, 0x10
shl edi, 0x10
shr esi, 0xc
and esi, 0xf
movzx eax, byte [ecx + esi]
mov ecx, dword [esp + 0x10]
mov byte [edx + 3], al
add edx, 4
mov esi, ebx
add ecx, 0xfffffffc
jne 0x402150
lea esi, [esp + 0xa6]
mov edi, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x54]
cmp cl, 0x41
setne cl
shl cl, 5
or cl, 0x50
mov byte [esp + 0x35], cl
test eax, eax
js 0x4021d4
mov byte [esp + 0x36], 0x2b
jmp 0x4021db
mov byte [esp + 0x36], 0x2d
neg eax
cmp eax, 0x3e7
mov dword [esp + 8], edi
mov dword [esp + 0x10], edx
ja 0x402201
cmp eax, 0x63
jbe 0x4022fe
mov dword [esp + 0xc], esi
mov dword [esp + 4], 5
jmp 0x40220d
mov dword [esp + 0xc], esi
mov dword [esp + 4], 6
mov dword [esp + 0x30], 0
mov ecx, 0xcccccccd
mov edi, eax
mul ecx
shr edx, 2
and edx, 0xfffffffe
lea ebx, [edx + edx*4]
mov eax, edi
mov esi, 0x66666667
imul esi
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 2
add ecx, eax
mov eax, ecx
imul esi
mov eax, edi
sub eax, ebx
mov ebx, dword [esp + 4]
mov byte [esp + 0x34], bl
or al, 0x30
mov byte [esp + ebx + 0x34], al
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 + ebx + 0x33], cl
cmp byte [esp + 0x30], 0
mov ecx, 0x51eb851f
mov esi, dword [esp + 0xc]
jne 0x4026f6
mov eax, edi
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 byte [ebx + eax - 2], cl
cmp edi, 0x3e8
jb 0x4026f6
mov eax, edi
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 byte [ebx + eax - 3], cl
jmp 0x4026f6
cmp eax, 9
jbe 0x4026eb
mov dword [esp + 0xc], esi
mov dword [esp + 4], 4
mov cl, 1
mov dword [esp + 0x30], ecx
jmp 0x402215
mov esi, dword [esp + 8]
cmp eax, esi
jl 0x402328
mov eax, esi
sub eax, ecx
mov dword [esp + 8], eax
mov byte [esp + 0x34], 0
mov byte [esp + 0x40], 0
mov al, 0x2d
test dl, dl
js 0x40234c
mov al, 0x20
test dl, 4
jne 0x40234c
mov al, 0x2b
test dl, 2
je 0x402355
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], al
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x7000
jne 0x402376
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
jmp 0x4028d5
test ecx, ecx
mov dword [esp + 0x14], edx
jle 0x4023fd
xor esi, esi
test dl, 0x40
je 0x4023a0
mov esi, 0x258
sub esi, ecx
mov eax, esi
mov edx, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, dword [esp + 0x14]
sub esi, eax
cmp ecx, dword [esp + 0x24]
jae 0x402525
xor eax, eax
lea edi, [esp + 0xa4]
jmp 0x4023da
mov edx, edi
mov ecx, dword [esp + 0x18]
movzx ecx, byte [ecx + eax]
inc edi
mov byte [edx], cl
inc eax
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jae 0x402586
mov ecx, dword [esp + 0x14]
test cl, 0x40
je 0x4023c0
inc esi
cmp esi, 4
jne 0x4023c0
mov esi, ecx
and esi, 0x40
shr esi, 6
movzx ecx, byte [0x44b001]
mov byte [edi], cl
inc edi
jmp 0x4023c0
mov byte [esp + 0xa4], 0x30
lea edi, [esp + 0xa5]
mov edx, dword [esp + 8]
test edx, edx
je 0x40242b
movzx eax, byte [section..data]
xor al, 0xd2
mov byte [esp + 0xa5], al
lea edi, [esp + 0xa6]
neg ecx
mov ebx, edx
cmp edx, ecx
jl 0x402435
mov ebx, ecx
test ebx, ebx
mov dword [esp + 0x10], ebx
je 0x40246a
mov eax, edi
and eax, 3
je 0x40246a
mov esi, edi
not esi
and esi, 3
dec ebx
cmp esi, ebx
jb 0x402452
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x30
push edi
call fcn.0040c870
add esp, 0xc
add edi, esi
inc edi
sub ebx, esi
mov edx, dword [esp + 8]
cmp ebx, 4
jl 0x4024a3
mov eax, ebx
cmp ebx, 7
jl 0x40247b
mov eax, 7
neg eax
lea esi, [ebx + eax]
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x30
push edi
call fcn.0040c870
add esp, 0xc
add edi, esi
add edi, 4
sub ebx, esi
add ebx, 0xfffffffc
mov edx, dword [esp + 8]
test ebx, ebx
je 0x4024b9
push ebx
push 0x30
push edi
call fcn.0040c870
mov edx, dword [esp + 0x14]
add esp, 0xc
add edi, ebx
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x10]
lea ecx, [eax + ebx]
cmp ecx, edx
jle 0x4024d2
mov eax, dword [esp + 8]
sub eax, ebx
mov dword [esp + 0x24], eax
test eax, eax
je 0x40278d
mov esi, dword [esp + 8]
mov dword [esp + 0xc], esi
cmp esi, ecx
jl 0x4024ea
mov dword [esp + 0xc], ecx
mov ecx, eax
and ecx, 3
je 0x402735
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, dword [esp + 0x18]
lea edx, [ebx + 1]
mov dword [esp + 0x18], edx
movzx edx, byte [ebx]
mov byte [edi + esi], dl
inc esi
cmp ecx, esi
jne 0x402500
add edi, esi
mov ecx, eax
sub ecx, esi
mov ebx, dword [esp + 0x10]
jmp 0x402737
mov dword [esp + 0x10], esi
xor eax, eax
mov esi, 0xffffffff
mov ebx, 1
lea edi, [esp + 0xa4]
jmp 0x40255b
mov ecx, dword [esp + 0x18]
movzx ecx, byte [ecx + ebx - 1]
mov byte [edi], cl
mov ecx, edi
inc edi
inc eax
dec esi
inc ebx
cmp eax, dword [esp + 0x24]
jae 0x402610
test dl, 0x40
je 0x402540
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 4
jne 0x402540
mov ecx, edx
and ecx, 0x40
shr ecx, 6
mov dword [esp + 0x10], ecx
movzx ecx, byte [0x44b001]
mov byte [edi], cl
inc edi
jmp 0x402540
mov esi, edi
mov dword [esp + 4], edi
cmp dword [esp + 8], 0
je 0x4025ab
movzx ecx, byte [section..data]
xor cl, 0xd2
mov byte [edx + 1], cl
add edx, 2
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x24]
mov esi, edx
sub esi, ecx
cmp esi, dword [esp + 8]
jbe 0x4025c3
mov edx, dword [esp + 8]
add edx, ecx
mov dword [esp + 0x24], edx
cmp eax, edx
jae 0x4025ec
mov esi, dword [esp + 4]
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x18]
movzx ecx, byte [ecx + eax]
mov byte [esi], cl
inc esi
inc eax
mov edx, dword [esp + 0x24]
cmp eax, edx
jb 0x4025d0
mov dword [esp + 4], esi
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0xa4]
sub edi, eax
add edi, 0x3000000
mov dword [esp + 0xc], edi
mov eax, dword [esp + 8]
sub eax, edx
add eax, ecx
mov dword [esp + 8], eax
jmp 0x40279f
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], ecx
sub ecx, eax
jbe 0x4026a9
test dl, 0x40
jne 0x402842
cmp dword [esp + 0xc], eax
je 0x403572
mov eax, edi
and eax, 3
je 0x403572
mov ecx, 2
sub ecx, dword [esp + 4]
and ecx, 3
mov eax, dword [esp + 0xc]
sub eax, ebx
mov edx, ecx
mov dword [esp + 0x30], ecx
cmp ecx, eax
jb 0x402660
mov edx, eax
mov dword [esp + 0x50], edx
lea eax, [edx + 1]
push eax
push 0x30
push edi
call fcn.0040c870
add esp, 0xc
add esi, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
cmp esi, eax
jb 0x402681
mov esi, eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x50]
lea edi, [eax + ecx]
add edi, 2
mov eax, dword [esp + 0xc]
sub eax, esi
sub eax, ebx
mov ebx, eax
mov edx, dword [esp + 0x14]
jmp 0x403574
mov ecx, eax
jmp 0x402853
mov dword [esp + 4], edi
mov esi, dword [esp + 4]
mov ecx, esi
lea eax, [esp + 0xa4]
sub ecx, eax
add ecx, 0x3000000
mov dword [esp + 0xc], ecx
cmp dword [esp + 8], 0
je 0x40272b
movzx eax, byte [section..data]
mov ecx, eax
add cl, al
and cl, 0xa4
sub al, cl
add al, 0xd2
mov byte [esi], al
inc esi
mov dword [esp + 4], esi
jmp 0x4027a3
mov byte [esp + 0x34], 3
or al, 0x30
mov byte [esp + 0x37], al
add dword [esp + 0x28], 8
mov ecx, dword [esp + 0x10]
mov eax, ecx
sub eax, esi
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xa4]
sub ecx, eax
mov dword [esp + 0x24], ecx
xor esi, esi
mov dword [esp + 0xc], 0x3000001
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x14]
jmp 0x4028df
mov dword [esp + 8], 0
jmp 0x4027a3
mov ecx, eax
mov edx, ebx
sub edx, dword [esp + 0xc]
cmp edx, 0xfffffffc
ja 0x40278d
mov edx, dword [esp + 0x18]
lea esi, [edx + 1]
mov dword [esp + 0x18], esi
movzx edx, byte [edx]
mov byte [edi], dl
mov edx, dword [esp + 0x18]
lea esi, [edx + 1]
mov dword [esp + 0x18], esi
movzx edx, byte [edx]
mov byte [edi + 1], dl
mov edx, dword [esp + 0x18]
lea esi, [edx + 1]
mov dword [esp + 0x18], esi
movzx edx, byte [edx]
mov byte [edi + 2], dl
mov edx, dword [esp + 0x18]
lea esi, [edx + 1]
mov dword [esp + 0x18], esi
movzx edx, byte [edx]
mov byte [edi + 3], dl
add edi, 4
add ecx, 0xfffffffc
jne 0x402742
mov dword [esp + 4], edi
add ebx, eax
sub dword [esp + 8], ebx
mov dword [esp + 0xc], 0x3000001
mov edx, dword [esp + 0x14]
test edx, 0x100
je 0x402822
mov eax, edx
and eax, 0x400
sete byte [esp + 0x34]
mov byte [esp + 0x35], 0x20
cmp edx, 0x1000000
jb 0x402822
mov ecx, edx
shr ecx, 0x18
mov ebx, eax
shr ebx, 0xa
mov esi, edx
mov edx, 2
sub edx, ebx
cmp eax, 1
mov eax, 0
adc al, 1
test esi, 0x800
jne 0x4027f8
movzx ecx, byte [ecx + str._kMGT]
mov byte [esp + edx + 0x34], cl
mov edx, esi
jmp 0x40281e
movzx ecx, byte [ecx + str._KMGT]
mov byte [esp + edx + 0x34], cl
mov ecx, esi
and ecx, 0x1800
cmp ecx, 0x800
mov edx, esi
jne 0x40281e
movzx eax, al
mov byte [esp + eax + 0x35], 0x69
inc eax
mov byte [esp + 0x34], al
lea eax, [esp + 0xa4]
mov ecx, dword [esp + 4]
sub ecx, eax
mov dword [esp + 0x24], ecx
xor esi, esi
mov dword [esp + 0x10], eax
jmp 0x4028df
mov ebx, eax
jmp 0x4028ae
mov dword [esp + 4], edi
mov eax, dword [esp + 0x10]
mov ebx, ecx
jmp 0x4035b0
mov esi, eax
mov dword [esp + 8], esi
mov dword [esp + 0x14], ecx
mov eax, ecx
nop
nop
nop
mov ebx, eax
mov ecx, esi
cmp esi, 4
jb 0x40288b
mov edi, edx
mov edx, dword [ebx]
mov eax, edx
not eax
add edx, 0xfefefeff
and edx, eax
lea eax, [ebx + 4]
lea esi, [ecx - 4]
test edx, 0x80808080
mov edx, edi
je 0x402860
jmp 0x40288f
test ecx, ecx
je 0x4028ae
mov eax, edx
mov esi, dword [esp + 0x14]
add esi, dword [esp + 8]
xor edx, edx
cmp byte [ebx + edx], 0
je 0x4028aa
inc edx
cmp ecx, edx
jne 0x40289b
mov ebx, esi
jmp 0x4028ac
add ebx, edx
mov edx, eax
add dword [esp + 0x28], 4
sub ebx, dword [esp + 0x10]
mov dword [esp + 0x24], ebx
mov byte [esp + 0x40], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
xor esi, esi
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x24]
cmp esi, ecx
mov edx, esi
jg 0x4028ef
mov edx, ecx
movsx eax, byte [esp + 0x40]
movsx esi, byte [esp + 0x34]
mov edi, edx
mov edx, dword [esp + 8]
mov dword [esp + 4], edi
add edx, edi
add edx, eax
add edx, esi
mov esi, dword [esp + 0x48]
cmp esi, edx
jg 0x402913
mov esi, edx
sub esi, edx
mov edx, esi
sub dword [esp + 4], ecx
mov ecx, dword [esp + 0x14]
test cl, 1
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
jne 0x402939
test cl, 0x10
jne 0x402941
mov dword [esp + 0x14], 0
mov ecx, edx
mov edx, dword [esp + 4]
jmp 0x40294d
mov ecx, dword [esp + 4]
cmp edx, ecx
jg 0x40294b
mov edx, ecx
xor ecx, ecx
mov dword [esp + 0x48], ecx
add ecx, edx
jne 0x40295e
mov edx, dword [esp + 0x14]
jmp 0x402e30
mov dword [esp + 4], edx
mov edx, dword [esp + 0x14]
test dl, 1
jne 0x402ac7
mov ecx, dword [esp + 0x48]
test ecx, ecx
jg 0x40299c
jmp 0x402ac7
mov esi, eax
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
sub ecx, ebx
test ecx, ecx
jle 0x402abe
mov eax, dword [esp + 0x20]
sub eax, esi
add eax, 0x200
mov ebx, ecx
cmp ecx, eax
jl 0x4029af
mov ebx, eax
cmp dword [ebp + 8], 0
jne 0x4029b7
mov ebx, ecx
test ebx, ebx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], edi
je 0x402a30
mov eax, esi
and eax, 3
je 0x402a30
mov eax, ebx
mov ecx, esi
not esi
and esi, 3
dec ebx
cmp esi, ebx
jb 0x4029de
mov esi, ebx
lea eax, [esi + 1]
push eax
push 0x20
mov edi, ecx
push ecx
call fcn.0040c870
add esp, 0xc
lea ecx, [esi + edi]
inc ecx
mov eax, ebx
sub eax, esi
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
mov esi, eax
cmp esi, 4
jge 0x402a39
test esi, esi
je 0x402a7f
push esi
push 0x20
mov edi, esi
mov esi, ecx
push ecx
call fcn.0040c870
mov edx, dword [esp + 0x20]
add esp, 0xc
add esi, edi
mov edi, dword [esp + 0x1c]
jmp 0x402a81
mov ecx, esi
mov esi, ebx
cmp esi, 4
jl 0x402a0a
mov eax, esi
cmp esi, 7
jl 0x402a45
mov eax, 7
neg eax
mov ebx, esi
add esi, eax
add esi, 3
and esi, 0xfffffffc
lea eax, [esi + 4]
push eax
push 0x20
mov edi, ecx
push ecx
call fcn.0040c870
add esp, 0xc
lea ecx, [esi + edi]
add ecx, 4
sub ebx, esi
mov esi, ebx
add esi, 0xfffffffc
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
test esi, esi
jne 0x402a0e
mov esi, ecx
cmp dword [ebp + 8], 0
mov ecx, dword [esp + 0x48]
je 0x402992
mov eax, esi
mov ebx, dword [esp + 0x20]
sub eax, ebx
cmp eax, 0x1ff
jl 0x40298e
add edi, eax
push eax
push dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
call ebx
add esp, 0xc
test eax, eax
jne 0x402980
jmp 0x403608
mov dword [esp + 0x48], ecx
movzx eax, byte [esp + 0x40]
lea ecx, [esp + 0x41]
mov dword [esp + 0x18], ecx
jmp 0x402aef
mov esi, eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x14]
movzx eax, byte [esp + 0x40]
test al, al
je 0x402c0d
movsx edx, al
mov ebx, dword [esp + 0x20]
sub ebx, esi
add ebx, 0x200
cmp ebx, edx
jl 0x402b0c
mov ebx, edx
cmp dword [ebp + 8], 0
jne 0x402b14
mov ebx, edx
sub al, bl
mov byte [esp + 0x40], al
test ebx, ebx
je 0x402bbb
mov eax, ebx
and eax, 3
je 0x402c00
mov dword [esp + 0x1c], edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, esi
mov esi, dword [esp + 0x18]
lea ecx, [esi + 1]
mov dword [esp + 0x18], ecx
movzx ecx, byte [esi]
mov esi, edi
mov byte [edi + edx], cl
inc edx
cmp eax, edx
jne 0x402b40
add esi, edx
mov eax, ebx
sub eax, edx
mov edi, dword [esp + 0x1c]
cmp ebx, 4
jb 0x402bbb
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [esi], cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [esi + 1], cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [esi + 2], cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [esi + 3], cl
add esi, 4
add eax, 0xfffffffc
jne 0x402b70
cmp dword [ebp + 8], 0
je 0x402ae6
mov eax, esi
mov ecx, dword [esp + 0x20]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402ae6
add edi, eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402ae0
jmp 0x403608
mov eax, ebx
cmp ebx, 4
jae 0x402b70
jmp 0x402bbb
mov dword [esp + 0x1c], edi
mov edi, esi
mov eax, dword [esp + 0xc]
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x2c], ecx
xor esi, esi
test dl, 0x40
je 0x402c41
and eax, 0xffffff
add eax, dword [esp + 4]
mov esi, dword [esp + 0x2c]
lea ecx, [esi + 1]
xor edx, edx
div ecx
sub esi, edx
mov edx, dword [esp + 0x14]
cmp dword [esp + 4], 0
jle 0x402f79
mov ebx, dword [esp + 4]
jmp 0x402c7e
mov dword [esp + 0x1c], edi
mov edi, eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 4]
sub ebx, dword [esp + 0xc]
test ebx, ebx
jle 0x402e25
mov eax, dword [esp + 0x20]
sub eax, edi
add eax, 0x200
mov ecx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 4], ebx
cmp ebx, eax
jl 0x402cf0
mov dword [esp + 0xc], eax
cmp dword [ebp + 8], 0
je 0x402cf6
test dl, 0x40
jne 0x402d03
cmp dword [esp + 0xc], 0
je 0x402d10
mov eax, edi
and eax, 3
je 0x402d10
mov ecx, edi
not ecx
and ecx, 3
mov eax, dword [esp + 0xc]
lea ebx, [eax - 1]
cmp ecx, ebx
jb 0x402cc8
mov ecx, ebx
mov dword [esp + 0x30], ecx
lea eax, [ecx + 1]
push eax
push 0x30
push edi
call fcn.0040c870
add esp, 0xc
mov eax, dword [esp + 0x30]
add edi, eax
inc edi
sub ebx, eax
mov edx, dword [esp + 0x14]
cmp ebx, 4
jge 0x402d19
jmp 0x402d54
cmp dword [ebp + 8], 0
jne 0x402ca1
mov eax, dword [esp + 4]
mov dword [esp + 0xc], eax
test dl, 0x40
je 0x402ca6
mov ebx, dword [esp + 0xc]
jmp 0x402d54
mov ebx, dword [esp + 0xc]
cmp ebx, 4
jl 0x402d54
mov eax, ebx
cmp ebx, 7
jl 0x402d25
mov eax, 7
neg eax
add eax, ebx
add eax, 3
and eax, 0xfffffffc
mov dword [esp + 0x30], eax
add eax, 4
push eax
push 0x30
push edi
call fcn.0040c870
add esp, 0xc
mov eax, dword [esp + 0x30]
add edi, eax
add edi, 4
sub ebx, eax
add ebx, 0xfffffffc
mov edx, dword [esp + 0x14]
test ebx, ebx
je 0x402da0
test bl, 1
jne 0x402d70
mov eax, ebx
cmp ebx, 1
jne 0x402dec
jmp 0x402da0
mov al, 0x30
test dl, 0x40
je 0x402d89
cmp esi, dword [esp + 0x2c]
je 0x402d80
inc esi
jmp 0x402d89
xor esi, esi
movzx eax, byte [0x44b001]
mov byte [edi], al
inc edi
lea eax, [ebx - 1]
cmp ebx, 1
jne 0x402dec
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + 8], 0
je 0x402c6e
mov eax, edi
mov ecx, dword [esp + 0x20]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402c6e
mov edi, dword [esp + 0x1c]
add edi, eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402c60
jmp 0x403608
inc esi
mov byte [edi + 1], cl
add edi, 2
add eax, 0xfffffffe
je 0x402da0
mov cl, 0x30
test dl, 0x40
je 0x402dfa
cmp esi, dword [esp + 0x2c]
je 0x402e00
inc esi
mov dl, 0x30
jmp 0x402e09
xor esi, esi
movzx edx, byte [0x44b001]
mov byte [edi], dl
mov edx, dword [esp + 0x14]
test dl, 0x40
je 0x402de1
cmp esi, dword [esp + 0x2c]
jne 0x402de0
xor esi, esi
movzx ecx, byte [0x44b001]
jmp 0x402de1
movzx eax, byte [esp + 0x40]
mov esi, edi
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x41]
mov dword [esp + 0x18], ecx
test al, al
jne 0x402e5d
mov dword [esp + 0x1c], edi
mov edi, esi
jmp 0x402f81
movzx eax, byte [esp + 0x40]
test al, al
je 0x402f6d
movsx edx, al
mov ecx, dword [esp + 0x20]
sub ecx, esi
add ecx, 0x200
cmp ecx, edx
jl 0x402e72
mov ecx, edx
cmp dword [ebp + 8], 0
jne 0x402e7a
mov ecx, edx
sub al, cl
mov byte [esp + 0x40], al
test ecx, ecx
je 0x402f1b
mov eax, ecx
and eax, 3
je 0x402f60
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], edi
xor edx, edx
nop
nop
nop
mov ebx, esi
mov esi, dword [esp + 0x18]
lea edi, [esi + 1]
mov dword [esp + 0x18], edi
movzx ecx, byte [esi]
mov esi, ebx
mov byte [ebx + edx], cl
inc edx
cmp eax, edx
jne 0x402ea0
add esi, edx
mov ecx, dword [esp + 0x2c]
mov eax, ecx
sub eax, edx
mov edi, dword [esp + 0x1c]
cmp ecx, 4
jb 0x402f1b
nop
nop
nop
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [esi], cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [esi + 1], cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [esi + 2], cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
movzx ecx, byte [ecx]
mov byte [esi + 3], cl
add esi, 4
add eax, 0xfffffffc
jne 0x402ed0
cmp dword [ebp + 8], 0
je 0x402e50
mov eax, esi
mov ecx, dword [esp + 0x20]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402e50
add edi, eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403608
mov esi, eax
mov dword [esp + 0x20], eax
jmp 0x402e50
mov eax, ecx
cmp ecx, 4
jae 0x402ed0
jmp 0x402f1b
mov dword [esp + 0x1c], edi
mov edi, esi
mov edx, dword [esp + 0x14]
jmp 0x402f81
lea eax, [esp + 0x41]
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x24]
test ebx, ebx
jne 0x402fe6
mov ecx, dword [esp + 8]
test ecx, ecx
mov esi, edi
mov edi, dword [esp + 0x1c]
jne 0x4031bc
lea eax, [esp + 0x35]
mov dword [esp + 0x18], eax
movzx ecx, byte [esp + 0x34]
test cl, cl
jne 0x403305
mov eax, dword [esp + 0x4c]
test dl, 1
je 0x403564
mov ecx, dword [esp + 0x48]
test ecx, ecx
mov edx, dword [esp + 0x20]
jle 0x403568
jne 0x40342c
jmp 0x403568
sub ebx, dword [esp + 0x2c]
je 0x402f89
mov eax, dword [esp + 0x20]
sub eax, edi
add eax, 0x200
mov ecx, ebx
cmp ebx, eax
jl 0x402ff9
mov ecx, eax
cmp dword [ebp + 8], 0
jne 0x403001
mov ecx, ebx
cmp ecx, 4
mov dword [esp + 0x2c], ecx
jl 0x403060
lea esi, [ecx - 4]
mov eax, esi
shr eax, 2
inc eax
and eax, 7
je 0x403068
mov dword [esp + 0xc], esi
shl eax, 2
xor edx, edx
mov esi, dword [esp + 0x10]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esi + edx]
mov dword [edi + edx], ecx
add edx, 4
cmp eax, edx
jne 0x403030
add edi, edx
mov ecx, dword [esp + 0x2c]
sub ecx, edx
add esi, edx
mov dword [esp + 0x10], esi
mov eax, ecx
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
jmp 0x403068
mov eax, ecx
mov esi, dword [esp + 0x10]
jmp 0x4030c1
cmp esi, 0x1c
mov esi, dword [esp + 0x10]
jb 0x4030c1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
add edi, 0x20
add esi, 0x20
lea eax, [ecx - 0x20]
add ecx, 0xffffffdc
cmp ecx, 0xfffffff8
mov ecx, eax
jb 0x403080
test eax, eax
je 0x403151
mov ecx, eax
and ecx, 7
je 0x4031a0
mov dword [esp + 0x10], ebx
xor edx, edx
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esi + edx]
mov byte [edi + edx], bl
inc edx
cmp ecx, edx
jne 0x4030e0
add edi, edx
mov ecx, eax
sub ecx, edx
add esi, edx
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
cmp eax, 8
jb 0x403151
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esi]
mov byte [edi], al
movzx eax, byte [esi + 1]
mov byte [edi + 1], al
movzx eax, byte [esi + 2]
mov byte [edi + 2], al
movzx eax, byte [esi + 3]
mov byte [edi + 3], al
movzx eax, byte [esi + 4]
mov byte [edi + 4], al
movzx eax, byte [esi + 5]
mov byte [edi + 5], al
movzx eax, byte [esi + 6]
mov byte [edi + 6], al
movzx eax, byte [esi + 7]
add esi, 8
mov byte [edi + 7], al
add edi, 8
add ecx, 0xfffffff8
jne 0x403110
mov dword [esp + 0x10], esi
cmp dword [ebp + 8], 0
je 0x402fe0
mov eax, edi
mov ecx, dword [esp + 0x20]
sub eax, ecx
cmp eax, 0x1ff
jl 0x402fe0
mov edi, dword [esp + 0x1c]
add edi, eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403608
mov dword [esp + 0x1c], edi
mov edi, eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x14]
jmp 0x402fe0
mov ecx, eax
cmp eax, 8
jae 0x403110
jmp 0x403151
mov ecx, dword [esp + 8]
sub ecx, ebx
je 0x402f9b
mov eax, dword [esp + 0x20]
sub eax, esi
add eax, 0x200
mov ebx, ecx
mov dword [esp + 8], ecx
cmp ecx, eax
jl 0x4031d3
mov ebx, eax
cmp dword [ebp + 8], 0
jne 0x4031dd
mov ebx, dword [esp + 8]
test ebx, ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], ebx
je 0x403260
mov eax, esi
and eax, 3
je 0x403260
mov ecx, esi
mov eax, ebx
mov ebx, esi
not ebx
and ebx, 3
lea esi, [eax - 1]
cmp ebx, esi
jb 0x403204
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x30
mov edi, ecx
push ecx
call fcn.0040c870
add esp, 0xc
lea ecx, [ebx + edi]
inc ecx
sub esi, ebx
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
cmp esi, 4
jge 0x403269
test esi, esi
je 0x4032ac
push esi
push 0x30
mov edi, ecx
push ecx
call fcn.0040c870
mov edx, dword [esp + 0x20]
add esp, 0xc
add edi, esi
mov esi, edi
mov edi, dword [esp + 0x1c]
cmp dword [ebp + 8], 0
jne 0x4032b8
jmp 0x4031b0
mov ecx, esi
mov esi, ebx
cmp esi, 4
jl 0x40322c
mov eax, esi
cmp esi, 7
jl 0x403275
mov eax, 7
neg eax
lea edi, [esi + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x30
mov ebx, ecx
push ecx
call fcn.0040c870
add esp, 0xc
lea ecx, [edi + ebx]
add ecx, 4
sub esi, edi
add esi, 0xfffffffc
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
test esi, esi
jne 0x403230
mov esi, ecx
cmp dword [ebp + 8], 0
je 0x4031b0
mov eax, esi
mov ecx, dword [esp + 0x20]
sub eax, ecx
cmp eax, 0x1ff
jl 0x4031b0
add edi, eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403608
mov esi, eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x14]
jmp 0x4031b0
mov edx, dword [esp + 0x14]
movzx ecx, byte [esp + 0x34]
test cl, cl
mov eax, dword [esp + 0x4c]
je 0x402fb4
movsx edx, cl
mov eax, dword [esp + 0x20]
sub eax, esi
add eax, 0x200
cmp eax, edx
jl 0x403319
mov eax, edx
cmp dword [ebp + 8], 0
jne 0x403321
mov eax, edx
sub cl, al
mov byte [esp + 0x34], cl
test eax, eax
je 0x4033cb
mov ecx, eax
and ecx, 3
je 0x403410
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, esi
mov esi, dword [esp + 0x18]
lea edi, [esi + 1]
mov dword [esp + 0x18], edi
movzx ebx, byte [esi]
mov esi, eax
mov byte [eax + edx], bl
inc edx
cmp ecx, edx
jne 0x403350
add esi, edx
mov eax, dword [esp + 0x2c]
mov ecx, eax
sub ecx, edx
mov edi, dword [esp + 0x1c]
cmp eax, 4
jb 0x4033cb
nop
nop
nop
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
movzx eax, byte [eax]
mov byte [esi], al
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
movzx eax, byte [eax]
mov byte [esi + 1], al
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
movzx eax, byte [eax]
mov byte [esi + 2], al
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
movzx eax, byte [eax]
mov byte [esi + 3], al
add esi, 4
add ecx, 0xfffffffc
jne 0x403380
cmp dword [ebp + 8], 0
je 0x4032f0
mov eax, esi
mov ecx, dword [esp + 0x20]
sub eax, ecx
cmp eax, 0x1ff
jl 0x4032f0
add edi, eax
push eax
push dword [ebp + 0xc]
push ecx
call dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x403608
mov esi, eax
mov dword [esp + 0x20], eax
jmp 0x4032f0
mov ecx, eax
cmp eax, 4
jae 0x403380
jmp 0x4033cb
mov eax, dword [esp + 0x4c]
sub ecx, ebx
je 0x403568
mov eax, edx
sub eax, esi
add eax, 0x200
mov ebx, ecx
cmp ecx, eax
jl 0x40343d
mov ebx, eax
cmp dword [ebp + 8], 0
jne 0x403445
mov ebx, ecx
test ebx, ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x2c], ebx
je 0x4034c0
mov eax, esi
and eax, 3
je 0x4034c0
mov ecx, esi
mov eax, ebx
mov ebx, esi
not ebx
and ebx, 3
lea esi, [eax - 1]
cmp ebx, esi
jb 0x403474
mov ebx, esi
lea eax, [ebx + 1]
push eax
push 0x20
mov edi, ecx
push ecx
call fcn.0040c870
add esp, 0xc
lea ecx, [ebx + edi]
inc ecx
sub esi, ebx
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
cmp esi, 4
jge 0x4034c9
test esi, esi
je 0x40350c
push esi
push 0x20
mov edi, ecx
push ecx
call fcn.0040c870
add esp, 0xc
add edi, esi
mov esi, edi
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x40350e
mov ecx, esi
mov esi, ebx
cmp esi, 4
jl 0x40349c
mov eax, esi
cmp esi, 7
jl 0x4034d5
mov eax, 7
neg eax
lea edi, [esi + eax]
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + 4]
push eax
push 0x20
mov ebx, ecx
push ecx
call fcn.0040c870
add esp, 0xc
lea ecx, [edi + ebx]
add ecx, 4
sub esi, edi
add esi, 0xfffffffc
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
test esi, esi
jne 0x4034a0
mov esi, ecx
mov eax, dword [esp + 0x4c]
cmp dword [ebp + 8], 0
mov ecx, dword [esp + 0x48]
je 0x403424
mov eax, esi
sub eax, edx
cmp eax, 0x1ff
jl 0x403420
mov esi, dword [ebp + 8]
mov edx, edi
mov edi, ecx
add edx, eax
mov dword [esp + 0x1c], edx
push eax
push dword [ebp + 0xc]
push dword [esp + 0x28]
call esi
add esp, 0xc
test eax, eax
je 0x403613
mov esi, eax
mov edx, eax
mov eax, dword [esp + 0x4c]
mov ecx, edi
mov edi, dword [esp + 0x1c]
jmp 0x403424
mov edx, dword [esp + 0x20]
mov dword [esp + 0x1c], edi
inc eax
jmp 0x40103f
mov ebx, ecx
cmp ebx, 4
jb 0x403599
mov esi, ebx
and esi, 0xfffffffc
push esi
push 0x30
push edi
call fcn.0040c870
mov edx, dword [esp + 0x20]
add esp, 0xc
add edi, esi
mov dword [esp + 4], edi
and ebx, 3
jmp 0x40359d
mov dword [esp + 4], edi
mov eax, dword [esp + 0x10]
jmp 0x4035b0
mov ecx, dword [esp + 4]
mov byte [ecx], 0x30
dec ebx
inc ecx
mov dword [esp + 4], ecx
test ebx, ebx
je 0x4026ad
test dl, 0x40
je 0x4035a3
inc eax
cmp eax, 4
jne 0x4035a3
movzx eax, byte [0x44b001]
mov ecx, dword [esp + 4]
mov byte [ecx], al
xor eax, eax
jmp 0x4035ab
fstp st(1)
fdivp st(1)
or edx, 0x4000000
jmp 0x4020e4
cmp dword [ebp + 8], 0
je 0x40360e
mov eax, esi
sub eax, edx
test eax, eax
mov edi, dword [esp + 0x1c]
jle 0x40361b
add edi, eax
push eax
push dword [ebp + 0xc]
push edx
call dword [ebp + 8]
add esp, 0xc
mov esi, eax
mov edx, eax
jmp 0x40361b
xor esi, esi
xor edx, edx
jmp 0x40361b
mov byte [esi], 0
jmp 0x403617
xor esi, esi
xor edx, edx
mov edi, dword [esp + 0x1c]
add edi, esi
sub edi, edx
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret