Function at 0x40a0b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x89c
mov dword [esp + 8], 0
mov dword [esp + 4], 0x14
mov dword [esp], 3
mov dword [esp + 0x40], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x44], ecx
call fcn.0040fa00
mov edx, dword [eax]
sub esp, 0xc
mov dword [esp + 0x38], eax
test edx, edx
jne 0x40a105
mov edi, eax
mov eax, dword [eax + 8]
mov dword [edi + 4], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x20], eax
and eax, 0x7fffffff
mov dword [edi], eax
mov eax, dword [esp + 0x58]
call fcn.00409be0
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 4]
test edx, edx
je 0x40a698
mov eax, dword [esp + 0x38]
mov dword [esp + 0x60], 0
mov ecx, dword [eax]
test ecx, ecx
jle 0x40a6a6
mov dword [esp + 0x3c], 0
xor ebp, ebp
mov ebx, 0xffffffff
mov edi, 1
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x5c], 0x20
nop
movzx eax, byte [edx]
mov esi, ebx
movsx ebx, al
sub eax, 0x23
cmp al, 0x3b
ja case.0x40a182.2
movzx eax, al
jmp dword [eax*4 + 0x435818]
cmp dword [esp + 0x20], 0xffffffff
jne 0x40a390
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x40a390
mov dword [esp + 0x4c], 1
add ebp, 1
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0xffffffff
lea esi, [esi]
nop
mov eax, dword [esp + 0x38]
add edx, 1
sub ecx, 1
mov dword [eax + 4], edx
mov dword [eax], ecx
jne 0x40a170
lea esi, [esi]
mov dword [esp + 0x34], 0
xor edi, edi
mov eax, dword [esp + 0x8b4]
mov esi, dword [esp + 0x8b4]
and eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x8b4]
and eax, 0x10
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x8b4]
and eax, 0x20
mov dword [esp + 0x30], eax
and esi, 0xe
jne 0x40a3d8
test edi, edi
je 0x40a6dd
mov eax, dword [esp + 0x44]
test byte [esp + 0x8b4], 0x40
jne 0x40b0d8
or eax, dword [esp + 0x40]
jne 0x40b6bd
mov esi, dword [esp + 0x30]
test esi, esi
je 0x40b250
mov byte [esp + 0x6b], 0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x64]
neg eax
mov dword [esp + 0x8b0], eax
test ecx, ecx
jne 0x40b400
mov eax, dword [esp + 0x40]
mov dword [esp + 0x54], 0
mov ebp, 1
mov dword [esp + 0x40], 0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x44], 0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x8b0]
test eax, eax
jns 0x40a2af
mov eax, dword [esp + 0x8b0]
neg eax
mov dword [esp + 0x20], eax
lea eax, [ebp + 1]
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x3c]
mov edi, 1
test ecx, ecx
cmovne esi, ecx
mov dword [esp + 0x3c], esi
jmp 0x40a709
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x40a390
test ebp, ebp
jne 0x40a65f
cmp dword [esp + 0x20], 0xffffffff
jne 0x40a65f
mov eax, dword [esp + 0x60]
cmp ebx, 0x2b
mov dword [esp + 0x3c], 1
mov dword [esp + 0x20], 0xffffffff
cmove eax, edi
mov dword [esp + 0x60], eax
jmp 0x40a1c0
mov eax, dword [esp + 0x24]
cmp eax, 4
jg 0x40a390
add eax, 1
mov dword [esp + 0x24], eax
jmp 0x40a1c0
cmp dword [esp + 0x20], 0xffffffff
jne 0x40a390
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x40a390
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
jmp 0x40a1c0
test ebp, ebp
jne 0x40a608
cmp dword [esp + 0x20], 0xffffffff
jne 0x40a608
mov dword [esp + 0x20], 0xffffffff
mov ebp, 1
mov dword [esp + 0x5c], 0x2a
jmp 0x40a1c0
mov eax, dword [esp + 0x3c]
or eax, ebp
jne 0x40a390
cmp dword [esp + 0x20], 0xffffffff
je 0x40a624
lea esi, [esi]
nop
mov eax, dword [esp + 0x8b4]
and eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x8b4]
and eax, 0x10
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x8b4]
and eax, 0x20
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x8b4]
and eax, 0xe
mov dword [esp + 0x34], eax
je 0x40a6dd
mov dword [esp + 0x34], 0
xor edi, edi
mov esi, dword [esp + 0x8b4]
and esi, 2
je 0x40a599
test edi, edi
jne 0x40b13b
mov byte [esp + 0x6b], 1
mov esi, 4
mov eax, 0x2be2
mov dword [esp + 0x40], 0x2be2
mov dword [esp + 0x44], 0
mov dword [esp + 0x8b0], 0xfffffffc
mov dword [esp + 0x18], 0x23494e46
mov dword [esp + 0x1c], 0
imul eax, eax, 0x64
lea ecx, [esi + 1]
mov dword [esp + 0x54], ecx
cmp eax, 0x98967f
jle 0x40a444
lea eax, [esi + 2]
mov esi, ecx
mov dword [esp + 0x54], eax
lea eax, [ebp + 1]
test edi, edi
je 0x40a709
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x40a519
cmp dword [esp + 0x54], 7
jle 0x40a49e
lea ebx, [esi - 6]
cmp ebx, 0x13
jg 0x40b5af
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ecx, ebx
call fcn.00409dd0
add dword [esp + 0x8b0], ebx
mov ecx, edx
mov dword [esp + 0x40], eax
or ecx, eax
mov dword [esp + 0x44], edx
je 0x40b5af
mov dword [esp + 0x54], 7
mov esi, dword [esp + 0x54]
mov eax, 1
xor edx, edx
mov dword [esp + 0x6c], edi
mov ecx, 0xa
xor ebx, ebx
mov edi, edx
mov ebp, esi
mov esi, eax
lea esi, [esi]
test ebp, 1
je 0x40a4e4
mov edx, edi
mov eax, ebx
imul edx, ecx
imul eax, esi
add eax, edx
mov dword [esp + 0x28], eax
mov eax, esi
mov edi, dword [esp + 0x28]
mul ecx
mov esi, eax
add edi, edx
mov eax, ebx
imul eax, ecx
add eax, eax
mov dword [esp + 0x28], eax
mov eax, ecx
mov ebx, dword [esp + 0x28]
mul ecx
add ebx, edx
sar ebp, 1
mov ecx, eax
jne 0x40a4c0
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebx, edi
mov edi, dword [esp + 0x6c]
xor eax, esi
xor edx, ebx
or edx, eax
je 0x40b5c4
mov ebx, dword [esp + 0x64]
test ebx, ebx
jne 0x40b296
mov ebp, dword [esp + 0x54]
add ebp, dword [esp + 0x8b0]
mov eax, 1
test ebp, ebp
cmovle ebp, eax
jmp 0x40a297
cmp esi, 0x2a
je 0x40a68b
test ebp, ebp
jne 0x40a390
cmp dword [esp + 0x20], 0xffffffff
jne 0x40a390
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x50], 1
jmp 0x40a1c0
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x40a390
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x40a657
add eax, 1
mov dword [esp + 0x20], eax
jmp 0x40a1c0
mov eax, dword [esp + 0x8b4]
and eax, 4
mov dword [esp + 0x8b0], eax
je 0x40b190
test edi, edi
je 0x40b205
test byte [esp + 0x8b4], 0x40
je 0x40b205
mov dword [esp + 0x48], 0
mov dword [esp + 0x8b0], 0
mov byte [esp + 0x6b], 1
mov eax, 0xbc4b20
mov dword [esp + 0x40], 0x4d2
mov dword [esp + 0x44], 0
mov dword [esp + 0x18], 0x74727565
mov dword [esp + 0x1c], 0
jmp 0x40b188
cmp ebp, 1
jne 0x40a390
cmp esi, 0x2a
jne 0x40a390
mov ebp, 2
jmp 0x40a1c0
mov dword [esp + 0x34], 0
mov edi, 1
xor ebp, ebp
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x38]
add edx, 1
sub ecx, 1
mov dword [esp + 0x3c], 0
mov dword [eax + 4], edx
mov dword [eax], ecx
jmp 0x40a1e2
add ebp, 1
jmp 0x40a1c0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x40a670
cmp eax, 2
jle 0x40a390
mov eax, dword [esp + 0x60]
mov esi, 1
xor edi, edi
cmp ebx, 0x2b
mov dword [esp + 0x34], esi
cmove eax, esi
mov dword [esp + 0x60], eax
jmp 0x40a63b
mov dword [esp + 0x50], 1
jmp 0x40a1c0
mov dword [eax], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x4c], 0
xor ebp, ebp
mov dword [esp + 0x50], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x5c], 0x20
mov dword [esp + 0x3c], 0
jmp 0x40a390
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov eax, edi
or eax, ecx
jne 0x40b6bb
mov dword [esp + 0x18], ecx
lea eax, [ebp + 1]
mov byte [esp + 0x6b], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x1c], edi
xor edi, edi
mov ecx, dword [esp + 0x20]
add eax, ecx
cmp eax, 0x7f4
jle 0x40a72a
sub eax, 0x7f4
sub ecx, eax
mov dword [esp + 0x20], ecx
cmp ecx, 0xffffffff
jl 0x40afb8
cmp dword [esp + 0x20], 0xffffffff
je 0x40ad16
mov dword [esp + 0x6c], 1
mov edx, dword [esp + 0x34]
mov byte [esp + 0x88f], 0
test edx, edx
je 0x40ac78
mov eax, dword [esp + 0x48]
test eax, eax
je 0x40ae78
mov byte [esp + 0x88e], 0x2d
lea esi, [esp + 0x88d]
mov eax, dword [esp + 0x24]
cmp eax, 2
jg 0x40abbb
lea ecx, [esp + 0x8f]
test eax, eax
je 0x40a7a1
cmp esi, ecx
jb 0x40a78e
mov byte [esi], 0x5e
sub esi, 1
cmp eax, 1
je 0x40a7a1
mov eax, 1
cmp esi, ecx
jae 0x40a788
cmp eax, 1
jne 0x40a793
mov eax, dword [esp + 0x20]
neg eax
mov dword [esp + 0x70], eax
cmp eax, dword [esp + 0x8b0]
jg 0x40ae98
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x8b0]
mov dword [esp + 0x24], eax
add ebx, eax
mov eax, dword [esp + 0x8b0]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], eax
mov eax, 0
test ebx, ebx
cmovs ebx, eax
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x40a809
lea ecx, [ebx - 1]
mov edx, 0x55555556
mov eax, ecx
sar ecx, 0x1f
imul edx
sub edx, ecx
add ebx, edx
lea eax, [ebp + 3]
cmp eax, ebx
jl 0x40af80
mov dword [esp + 0x64], 0
cmp ebp, ebx
jl 0x40b121
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x20]
add edi, eax
cmp dword [esp + 0x70], eax
mov eax, 0
cmovge edi, eax
mov ecx, dword [esp + 0x24]
cmp ecx, 4
jg 0x40a888
cmp byte [esp + 0x6b], 0
je 0x40a888
test byte [esp + 0x8b4], 0x40
jne 0x40a888
mov eax, ecx
cmp ecx, 1
jle 0x40b1c1
mov ecx, 5
mov dword [esp + 0x64], 1
sub ecx, eax
mov eax, 0x24303030
shl ecx, 3
sar eax, cl
mov dword [esp + 0x18], eax
sar eax, 0x1f
mov dword [esp + 0x1c], eax
lea esi, [esi]
nop
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x40a956
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x8f]
test eax, eax
je 0x40a94c
mov dword [esp + 0x34], ebp
mov ebx, dword [esp + 0x20]
mov ebp, ecx
jmp 0x40a8ca
cmp esi, ebp
jb 0x40a8c2
mov byte [esi], 0x30
sub esi, 1
sub edi, 1
sub ebx, 1
je 0x40a946
test edi, edi
jg 0x40a8b8
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x40aba8
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
or ecx, edx
je 0x40ac9c
cmp esi, ebp
jb 0x40a8f9
movzx eax, byte [esp + 0x18]
sub esi, 1
mov byte [esi + 1], al
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
shrd eax, edx, 8
shr edx, 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x28]
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00423320
sub dword [esp + 0x24], 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edx
sub ebx, 1
jne 0x40a8ca
mov ecx, ebp
mov ebp, dword [esp + 0x34]
cmp esi, ecx
jb 0x40a956
mov byte [esi], 0x2e
sub esi, 1
mov dword [esp + 0x20], ebp
mov ebx, ebp
lea ecx, [esp + 0x8f]
mov ebp, dword [esp + 0x4c]
jmp 0x40a980
cmp esi, ecx
jb 0x40a97a
mov byte [esi], 0x30
sub esi, 1
sub edi, 1
sub ebx, 1
mov eax, dword [esp + 0x20]
sub eax, ebx
test ebp, ebp
je 0x40a998
mov edx, eax
and edx, 3
cmp edx, 3
je 0x40aa20
test edi, edi
jg 0x40a970
mov edx, dword [esp + 0x24]
test edx, edx
jle 0x40aa40
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
or edx, eax
je 0x40aa68
cmp esi, ecx
jb 0x40a9c7
movzx eax, byte [esp + 0x18]
sub esi, 1
mov byte [esi + 1], al
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
shrd eax, edx, 8
shr edx, 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x28]
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00423320
sub dword [esp + 0x24], 1
lea ecx, [esp + 0x8f]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edx
jmp 0x40a97d
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x40aab0
cmp esi, ecx
jb 0x40a97d
mov byte [esi], 0x2c
sub esi, 1
jmp 0x40a97d
test ebx, ebx
setg dl
mov byte [esp + 0x34], dl
test eax, eax
jne 0x40aabf
test dl, dl
je 0x40aabf
cmp esi, ecx
jb 0x40a97d
mov byte [esi], 0x30
sub esi, 1
jmp 0x40a97d
cmp esi, ecx
jb 0x40a9de
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], 0xa
lea eax, [esi - 1]
mov dword [esp + 0xc], 0
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], eax
mov dword [esp + 4], ecx
call fcn.00423430
add eax, 0x30
mov byte [esi], al
mov esi, dword [esp + 0x34]
jmp 0x40a9de
test edi, edi
jg 0x40a970
test ebx, ebx
setg byte [esp + 0x34]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x40aad8
lea ecx, [esp + 0x8f]
cmp esi, ecx
jb 0x40aad8
mov byte [esi], 0x24
sub esi, 1
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x40ab00
mov ebp, dword [esp + 0x48]
lea ecx, [esp + 0x8f]
test ebp, ebp
je 0x40af95
cmp esi, ecx
jae 0x40b130
lea esi, [esi]
nop
cmp byte [esp + 0x34], 0
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x8f]
je 0x40ab26
lea esi, [esi]
cmp esi, ecx
jb 0x40ab21
mov byte [esi], al
sub esi, 1
sub ebx, 1
jne 0x40ab18
cmp dword [esp + 0x64], 1
jne 0x40aba0
lea eax, [esp + 0x8f]
cmp esi, eax
jb 0x40aba0
mov byte [esi], 0x25
mov edi, dword [esp + 0x58]
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.00411500
mov eax, edi
sub esp, 0xc
call fcn.00409be0
mov eax, dword [esp + 0x8b8]
and eax, 3
jne 0x40acdd
mov ecx, dword [esp + 0x8b8]
test ecx, ecx
js 0x40acff
mov dword [esp], 0
call fcn.00410d90
sub esp, 4
add esp, 0x89c
pop ebx
pop esi
pop edi
pop ebp
ret
add esi, 1
jmp 0x40ab3b
cmp esi, ebp
jb 0x40a8c5
mov byte [esi], 0x30
sub esi, 1
jmp 0x40a8c5
mov dword [esp + 0x64], 0
cmp ebp, 0xffffffff
je 0x40ac68
mov eax, dword [esp + 0x20]
or eax, ebp
je 0x40ac68
mov eax, dword [esp + 0x20]
lea ecx, [ebp + eax]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], ecx
or eax, edi
or eax, dword [esp + 0x48]
or eax, dword [esp + 0x3c]
jne 0x40ac07
test ebp, ebp
jle 0x40ac07
cmp ecx, 1
setg al
cmp al, 1
adc ecx, 0xffffffff
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x44]
or eax, dword [esp + 0x40]
je 0x40ad2b
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x20]
add ebx, dword [esp + 0x8b0]
cmp eax, edi
jge 0x40afd3
sub edi, eax
sub ebx, edi
mov dword [esp + 0x34], 0x2b
test ebx, ebx
jns 0x40ac4a
mov dword [esp + 0x34], 0x2d
neg ebx
cmp dword [esp + 0x24], 3
jne 0x40ad4b
lea ecx, [esp + 0x8f]
jmp 0x40ad9a
mov dword [esp + 0x64], 1
add ebp, 1
jmp 0x40abd8
mov eax, dword [esp + 0x3c]
lea esi, [esp + 0x88e]
xor eax, 1
and eax, dword [esp + 0x48]
je 0x40a76c
mov dword [esp + 0x3c], eax
sub ebp, 1
jmp 0x40a76c
cmp esi, ebp
jb 0x40a910
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], 0xa
lea eax, [esi - 1]
mov dword [esp + 0xc], 0
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov dword [esp + 4], ecx
call fcn.00423430
add eax, 0x30
mov byte [esi], al
mov esi, dword [esp + 0x20]
jmp 0x40a910
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.0040c0a0
sub esp, 8
mov ecx, dword [esp + 0x8b8]
test ecx, ecx
jns 0x40ab7c
mov eax, dword [esp + 0x38]
add eax, 8
mov dword [esp], eax
call fcn.0040e380
sub esp, 4
jmp 0x40ab7c
mov dword [esp + 0x6c], 0
mov dword [esp + 0x20], 0
jmp 0x40a73d
xor ebx, ebx
cmp dword [esp + 0x24], 3
mov dword [esp + 0x34], 0x2b
lea ecx, [esp + 0x8f]
mov edi, dword [esp + 0x20]
je 0x40ae24
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x8f]
lea esi, [esi]
cmp esi, ecx
jb 0x40ad82
mov eax, 0xcccccccd
sub esi, 1
mul ebx
shr edx, 3
lea eax, [edx + edx*4]
mov edx, ebx
add eax, eax
sub edx, eax
mov eax, edx
add eax, 0x30
mov byte [esi + 1], al
mov eax, 0xcccccccd
sub edi, 1
mul ebx
mov ebx, edx
shr ebx, 3
cmp edi, 3
jne 0x40ad60
mov edi, dword [esp + 0x28]
cmp ebx, 9
jg 0x40adaa
jmp 0x40ae24
mov ebx, edx
cmp esi, ecx
jb 0x40add3
mov eax, 0x66666667
sub esi, 1
imul ebx
mov eax, ebx
sar eax, 0x1f
sar edx, 2
sub edx, eax
lea eax, [edx + edx*4]
mov edx, ebx
add eax, eax
sub edx, eax
mov eax, edx
add eax, 0x30
mov byte [esi + 1], al
mov eax, 0x66666667
imul ebx
mov eax, ebx
sar eax, 0x1f
sar edx, 2
sub edx, eax
cmp ebx, 0x63
jg 0x40ada8
cmp esi, ecx
jb 0x40adff
add edx, 0x30
lea eax, [esi - 1]
mov byte [esi], dl
cmp eax, ecx
jae 0x40b244
mov esi, eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], eax
jmp 0x40a83a
cmp esi, ecx
jb 0x40adff
add ebx, 0x30
lea eax, [esi - 1]
mov byte [esi], bl
mov esi, dword [esp + 0x54]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0x30], esi
mov esi, eax
cmp eax, ecx
jb 0x40a83a
movzx edx, byte [esp + 0x34]
sub esi, 1
mov byte [eax], dl
cmp esi, ecx
jb 0x40a83a
mov byte [eax - 1], 0x45
lea esi, [eax - 2]
jmp 0x40a83a
cmp dword [esp + 0x60], 1
lea esi, [esp + 0x88d]
sbb eax, eax
and eax, 0xfffffff5
add eax, 0x2b
mov byte [esp + 0x88e], al
jmp 0x40a76c
mov ebx, dword [esp + 0x70]
sub ebx, dword [esp + 0x8b0]
cmp ebx, 0x13
jg 0x40b1de
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ecx, ebx
call fcn.00409dd0
mov ecx, edx
mov dword [esp + 0x28], eax
or ecx, eax
mov dword [esp + 0x30], edx
je 0x40b4bf
mov eax, dword [esp + 0x54]
sub eax, ebx
mov dword [esp + 0x24], eax
test eax, eax
jle 0x40b66f
mov dword [esp + 0x64], eax
xor edx, edx
mov eax, 1
mov ecx, 0xa
mov dword [esp + 0x7c], ebp
mov ebp, dword [esp + 0x64]
xor ebx, ebx
mov dword [esp + 0x74], esi
mov esi, eax
mov dword [esp + 0x78], edi
mov edi, edx
lea esi, [esi]
test ebp, 1
je 0x40af2c
mov edx, edi
mov eax, ebx
imul edx, ecx
imul eax, esi
add eax, edx
mov dword [esp + 0x64], eax
mov eax, esi
mov edi, dword [esp + 0x64]
mul ecx
mov esi, eax
add edi, edx
mov eax, ebx
imul eax, ecx
add eax, eax
mov dword [esp + 0x64], eax
mov eax, ecx
mov ebx, dword [esp + 0x64]
mul ecx
add ebx, edx
sar ebp, 1
mov ecx, eax
jne 0x40af08
mov ecx, esi
mov ebx, edi
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
xor eax, ecx
xor edx, ebx
or edx, eax
je 0x40b606
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x24]
sub ebx, dword [esp + 0x20]
mov dword [esp + 0x74], eax
jmp 0x40a7e4
mov dword [esp + 0x64], 1
mov dword [esp + 0x24], 3
jmp 0x40abc3
cmp esi, ecx
jb 0x40ab00
mov edi, dword [esp + 0x60]
mov eax, 0x2b
test edi, edi
cmove eax, dword [esp + 0x5c]
sub esi, 1
mov byte [esi + 1], al
jmp 0x40ab00
mov eax, ecx
mov dword [esp + 0x6c], 0
not eax
mov dword [esp + 0x20], 0
sub ebp, eax
jmp 0x40a73d
mov edi, 0
jle 0x40ac34
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x30]
sub ecx, edi
add ebx, ecx
cmp ecx, 0x13
jg 0x40b584
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
call fcn.00409dd0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
test edi, edi
jle 0x40b67b
mov dword [esp + 0x34], esi
mov eax, 0xa
xor edx, edx
mov edi, dword [esp + 0x30]
mov dword [esp + 0x28], 1
mov ecx, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x4c], ebp
mov ebp, ebx
mov ebx, edx
test edi, 1
je 0x40b065
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov esi, edx
imul eax, ebx
imul esi, ecx
add esi, eax
mov eax, dword [esp + 0x28]
mul ecx
mov dword [esp + 0x2c], edx
add dword [esp + 0x2c], esi
mov dword [esp + 0x28], eax
mov esi, ebx
mov eax, ecx
imul esi, ecx
mul ecx
add esi, esi
mov ebx, edx
mov ecx, eax
add ebx, esi
sar edi, 1
jne 0x40b039
mov ebx, ebp
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x40], eax
mov edi, ecx
sbb edi, edx
jb 0x40b5a0
mov edi, dword [esp + 0x40]
mov dword [esp + 8], 0xa
add ebx, 1
mov dword [esp + 0xc], 0
mov dword [esp], edi
xor edi, edi
mov dword [esp + 4], ecx
call fcn.00423320
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], edx
mov dword [esp + 0x54], eax
jmp 0x40ac34
or eax, dword [esp + 0x40]
jne 0x40a5c6
mov byte [esp + 0x6b], 1
mov esi, 4
mov eax, 0x3039
mov dword [esp + 0x8b0], 0
mov dword [esp + 0x40], 0x3039
mov dword [esp + 0x44], 0
mov dword [esp + 0x18], 0x616c7365
mov dword [esp + 0x1c], 0x66
jmp 0x40a42a
mov dword [esp + 0x64], 1
mov ebp, ebx
jmp 0x40a824
mov byte [esi], 0x2d
sub esi, 1
jmp 0x40ab00
test byte [esp + 0x8b4], 0x40
je 0x40a3f0
mov dword [esp + 0x48], 0
xor esi, esi
mov eax, 0xbc4b20
mov byte [esp + 0x6b], 1
mov dword [esp + 0x40], 0x4d2
mov dword [esp + 0x44], 0
mov dword [esp + 0x8b0], 0
mov dword [esp + 0x18], 0x74727565
mov dword [esp + 0x1c], 0
add esi, 2
jmp 0x40a42d
mov esi, dword [esp + 0x8b4]
and esi, 8
jne 0x40b4d6
test edi, edi
je 0x40b545
test byte [esp + 0x8b4], 0x40
je 0x40b545
xor eax, eax
mov dword [esp + 0x48], eax
jmp 0x40a5ce
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x64], 1
jmp 0x40a888
mov eax, dword [esp + 0x70]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x74], eax
mov ebx, eax
mov dword [esp + 0x30], 0
jmp 0x40a7e4
mov byte [esp + 0x6b], 1
mov esi, 4
mov eax, 0x2be2
mov dword [esp + 0x40], 0x2be2
mov dword [esp + 0x44], 0
mov dword [esp + 0x8b0], 0xfffffffc
mov dword [esp + 0x18], 0x23494e44
mov dword [esp + 0x1c], 0
jmp 0x40a42a
mov byte [esi - 1], 0x25
lea eax, [esi - 2]
jmp 0x40ae30
mov esi, dword [esp + 0x8b0]
mov eax, 1
mov edi, dword [esp + 0x64]
test esi, esi
cmovg eax, dword [esp + 0x8b0]
test edi, edi
mov ebp, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
jne 0x40b4f3
mov dword [esp + 0x54], 0
mov byte [esp + 0x6b], 0
jmp 0x40a297
cmp dword [esp + 0x54], 1
je 0x40b690
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
call fcn.00423430
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x8b0]
or edx, eax
lea ebx, [ecx + edi]
jne 0x40b655
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
jmp 0x40b314
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00423430
or edx, eax
jne 0x40b47a
mov dword [esp], ebp
sub edi, 1
mov dword [esp + 4], ebx
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0
call fcn.00423320
mov esi, dword [esp + 0x28]
mov ebp, eax
mov ebx, edx
sub esi, edi
cmp edi, 1
jne 0x40b2f0
mov dword [esp + 0x40], eax
lea eax, [esi + 1]
mov ebp, edi
test eax, eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x8b0], eax
cmovg ebp, eax
mov eax, esi
neg eax
test esi, esi
cmovns eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x8b0], 0x10
jle 0x40b43d
lea eax, [edi - 1]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x8b0]
sub eax, 1
cdq
xor eax, edx
sub eax, edx
mov ebx, eax
sar ebx, 0x1f
cmp eax, 0x5f5e0ff
jle 0x40b4aa
mov dword [esp + 8], 0x5f5e100
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.00423320
mov edx, 8
imul eax, eax, 0x2710
cmp eax, 0xf423f
jle 0x40b4a2
add edx, 2
cmp eax, 0x98967f
mov dword [esp + 0x54], edi
mov ebp, 1
setg al
mov dword [esp + 0x8b0], esi
movzx eax, al
lea eax, [edx + eax + 3]
mov dword [esp + 0x24], eax
mov eax, 2
jmp 0x40a2b2
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x40], 0
mov edi, 0
mov esi, dword [esp + 0x8b0]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
test ebp, ebp
mov ebp, 1
mov dword [esp + 0x44], 0
mov dword [esp + 0x1c], eax
jg 0x40b36a
mov ecx, dword [esp + 0x30]
test ecx, ecx
setne dl
cmp dword [esp + 0x8b0], 7
setg al
test dl, al
jne 0x40b378
cmp dword [esp + 0x8b0], 0xfffffffe
jl 0x40b378
mov dword [esp + 0x54], edi
lea eax, [ebp + 1]
mov dword [esp + 0x8b0], esi
jmp 0x40a2b2
lea eax, [edi + esi]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x8b0], eax
test eax, eax
mov eax, 1
cmovg eax, dword [esp + 0x8b0]
mov dword [esp + 0x44], ebx
mov ebp, eax
jmp 0x40b35b
imul eax, eax, 0x64
jmp 0x40b3d3
cmp eax, 0x270f
jle 0x40b751
mov edx, 4
jmp 0x40b3c5
mov eax, dword [esp + 0x70]
mov dword [esp + 0x24], 0
mov dword [esp + 0x74], eax
mov ebx, eax
jmp 0x40a7e4
test edi, edi
je 0x40b506
test byte [esp + 0x8b4], 0x40
je 0x40b506
mov dword [esp + 0x48], 0
xor esi, esi
jmp 0x40a5d9
mov byte [esp + 0x6b], 0
mov esi, dword [esp + 0x8b0]
xor edi, edi
jmp 0x40b35b
mov byte [esp + 0x6b], 1
mov esi, 4
mov eax, 0x2be2
mov dword [esp + 0x40], 0x2be2
mov dword [esp + 0x44], 0
mov dword [esp + 0x8b0], 0xfffffffc
mov dword [esp + 0x18], 0x234e414e
mov dword [esp + 0x1c], 0
jmp 0x40a42a
mov byte [esp + 0x6b], 0
mov esi, 4
mov eax, 0x2be2
mov dword [esp + 0x40], 0x2be2
mov dword [esp + 0x44], 0
mov dword [esp + 0x8b0], 0xfffffffc
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
jmp 0x40a42a
mov edx, dword [esp + 0x30]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
test edx, edx
jg 0x40b010
mov eax, dword [esp + 0x30]
xor edi, edi
mov dword [esp + 0x54], eax
jmp 0x40ac34
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
jmp 0x40a251
mov eax, dword [esp + 0x54]
add dword [esp + 0x8b0], eax
mov edx, 1
mov eax, dword [esp + 0x8b0]
add eax, 1
test eax, eax
cmovg edx, eax
mov ebp, edx
mov edx, dword [esp + 0x64]
test edx, edx
jne 0x40b632
mov dword [esp + 0x54], edi
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], 0
jmp 0x40a297
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x20]
mov dword [esp + 0x24], 1
mov dword [esp + 0x74], eax
lea ebx, [eax + 1]
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], 0
jmp 0x40a7e4
mov esi, dword [esp + 0x8b0]
mov dword [esp + 0x40], 1
mov dword [esp + 0x8b0], eax
mov dword [esp + 0x44], 0
jmp 0x40b35b
test ebx, ebx
mov eax, 1
mov dword [esp + 0x8b0], ebx
mov esi, ecx
cmovg eax, ebx
mov ebp, eax
jmp 0x40b35b
mov ecx, 1
xor ebx, ebx
jmp 0x40af57
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 0
jmp 0x40b084
mov eax, dword [esp + 0x8b0]
mov ebp, dword [esp + 0x54]
mov edi, 1
mov esi, dword [esp + 0x8b0]
add eax, 1
test eax, eax
mov dword [esp + 0x8b0], eax
cmovg ebp, eax
jmp 0x40b35b
xor edi, edi
mov ecx, dword [esp + 0x40]
mov eax, 0x5f5e0ff
mov edx, dword [esp + 0x44]
cmp eax, ecx
mov eax, 0
sbb eax, edx
jae 0x40b749
mov dword [esp + 0x18], edi
mov eax, ecx
xor esi, esi
lea esi, [esi]
mov dword [esp + 8], 0x5f5e100
mov edi, eax
mov ebx, edx
add esi, 8
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00423320
mov ecx, 0x6fc0ffff
cmp ecx, edi
mov edi, 0x2386f2
sbb edi, ebx
jb 0x40b6e0
mov edi, dword [esp + 0x18]
cmp eax, 0x270f
jg 0x40b758
imul eax, eax, 0x2710
mov byte [esp + 0x6b], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
cmp eax, 0xf423f
jg 0x40b188
jmp 0x40a42a
mov eax, dword [esp + 0x40]
xor esi, esi
jmp 0x40b717
xor edx, edx
jmp 0x40b3bf
add esi, 4
jmp 0x40b724