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

Disassembly:
mov byte [esp + 0x17], 1
cmp byte [esp + 0x17], 0
mov eax, dword [esi]
mov ecx, dword [esp + 0x60]
mov eax, dword [eax + 0x18]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + 0x1c]
mov dword [ecx + 0x18], eax
mov ecx, dword [esi]
mov eax, dword [0x4c6460]
mov dword [ecx + 0x18], eax
mov ecx, dword [esi]
mov eax, dword [0x4c645c]
mov dword [ecx + 0x1c], eax
je 0x40a44c
mov eax, dword [esi]
test eax, eax
je 0x40a44c
mov eax, dword [eax + 0x14]
test eax, eax
je 0x40a44c
push dword [esp + 0x4c]
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
push eax
push esi
push dword [ebp + 8]
inc dword [esi]
call fcn.0040c8c0
test eax, eax
js 0x440944
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi]
cmp ecx, eax
je case.0x40b057.4
mov esi, dword [edx + 4]
mov dword [esp + 0x40], esi
mov edx, dword [esi + ecx*4]
movzx eax, word [edx + 8]
cmp ax, 0x7f
je case.0x40b057.4
cwde
cmp eax, 0x33
je 0x40a07c
cmp eax, 0x4f
je case.0x40b057.4
cmp eax, 5
je 0x40a39c
cmp eax, 0x58
ja case.0x40b057.4
movzx eax, byte [eax + 0x40b64c]
jmp dword [eax*4 + 0x40b5e0]
mov eax, dword [edx]
cmp eax, 4
jl 0x40b046
cmp eax, 0x27
jge 0x40b046
mov esi, 0x14
mov dword [esp + 0x10], esi
nop
mov cl, byte [esp + 0x59]
mov edx, dword [esp + 0x1c]
test cl, cl
jne 0x40a585
mov eax, edx
imul eax, dword [eax], 0x15
movzx eax, byte [eax + esi + 0x4a5070]
cmp eax, 3
jne 0x40a334
cmp dword [esp + 0x24], 1
jne 0x40b5d2
mov eax, dword [esp + 0x28]
xor edi, edi
mov dword [esp + 8], eax
mov dword [esp + 0x18], edi
test eax, eax
jne 0x40a7c1
test edx, edx
je 0x40a072
jmp 0x40a060
mov esi, dword [edx + 4]
push edx
call fcn.00420e2c
add esp, 4
mov edx, esi
test esi, esi
jne 0x40a060
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [esp + 0x24]
mov dword [esp + 0x10], 0x16
test esi, esi
jne 0x40a761
cmp edi, 0x4c6488
je 0x40a0d6
cmp dword [edi + 0xc], 4
je 0x40afda
mov esi, dword [edi + 8]
test esi, esi
jne 0x40afec
mov eax, dword [edi + 0xc]
cmp eax, 5
jge 0x440561
push 0x4c6488
mov ecx, edi
mov dword [edi + 0xc], 1
mov dword [edi], 0
call fcn.00409960
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 8]
inc esi
mov dword [esp + 0x24], esi
cmp esi, 1
jne 0x40a7ad
mov dword [esp + 0x4c], edi
cmp dword [0x4c6280], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
je 0x40a450
cmp byte [0x4c6289], 0
jne 0x4406fa
mov esi, dword [0x4c6284]
cmp dword [esi], 0
je 0x40a450
mov ecx, dword [0x4c6440]
mov byte [esp + 0x17], 0
test cl, 1
je 0x44070b
mov dword [0x4c6460], 0
mov dword [0x4c645c], 0
mov dword [esp + 0x3c], 0x4c6444
mov dword [esp + 0x60], 0x4c6444
mov edx, dword [esi]
mov eax, dword [eax + 4]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov ecx, dword [edx + 4]
test eax, eax
je 0x440734
test ecx, ecx
je 0x44073c
cmp eax, ecx
jb 0x40a1ad
mov ecx, dword [edx]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov edx, dword [edx]
test eax, eax
je 0x40a1a9
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x40a1d6
add edx, 2
add ecx, 2
dec dword [esp + 0x38]
jne 0x40a195
xor eax, eax
jmp 0x40a1dc
mov eax, dword [esp + 0x18]
mov edx, dword [edx]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x40a1a9
lea ecx, [ecx]
mov ax, word [eax]
cmp ax, word [edx]
mov eax, dword [esp + 0x38]
je 0x40afc4
mov ax, word [eax]
cmp ax, word [edx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
js 0x40a25e
jle 0x409f37
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ecx, dword [edx + 0x1c]
test ecx, ecx
je 0x409f3c
mov edx, dword [ecx + 4]
cmp edx, eax
ja 0x40a810
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], edx
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov eax, dword [ecx]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x34]
test edx, edx
je 0x40a251
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x38]
mov ax, word [eax]
cmp ax, word [edi]
mov edi, dword [ebp + 0x10]
mov eax, dword [esp + 0x48]
jne 0x40a2f0
add dword [esp + 0x38], 2
add eax, 2
dec dword [esp + 0x40]
mov dword [esp + 0x48], eax
jne 0x40a224
mov eax, dword [esp + 0x34]
cmp edx, eax
jb 0x40a2fc
jmp 0x40a317
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ecx, dword [edx + 0x18]
test ecx, ecx
je 0x409f3c
mov edx, dword [ecx + 4]
cmp eax, edx
ja 0x40a84f
mov edx, dword [ecx]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x40a577
mov eax, dword [esp + 0x48]
lea esp, [esp]
mov ax, word [eax]
cmp ax, word [edx]
mov eax, dword [esp + 0x48]
je 0x40a55f
mov ax, word [eax]
cmp ax, word [edx]
jae 0x40a2d3
mov edx, dword [esp + 0x30]
mov eax, dword [ecx + 0x1c]
sbb al, 0x89
inc edx
sbb byte [ebx + 0x1c418906], cl
mov dword [esi], ecx
cmp dword [ecx + 0x18], 0
je 0x409f3c
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi]
mov dword [ecx + 0x18], eax
mov eax, dword [esi]
mov dword [esp + 0x3c], eax
mov eax, dword [eax + 0x18]
mov dword [esi], eax
mov eax, dword [esp + 0x18]
jmp 0x40a161
mov edx, dword [esp + 0x38]
mov ax, word [eax]
cmp ax, word [edx]
jae 0x40a317
mov edx, dword [esp + 0x30]
mov eax, dword [ecx + 0x18]
mov dword [edx + 0x1c], eax
mov eax, dword [esi]
mov dword [ecx + 0x18], eax
mov dword [esi], ecx
cmp dword [ecx + 0x1c], 0
je 0x409f3c
mov ecx, dword [esp + 0x60]
mov eax, dword [esi]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi]
mov dword [esp + 0x60], eax
mov eax, dword [eax + 0x1c]
mov dword [esi], eax
mov eax, dword [esp + 0x18]
jmp 0x40a161
cmp eax, 6
ja case.0x40a339.3
jmp dword [eax*4 + 0x40b6a8]
test cl, cl
jne 0x40a886
push 8
call fcn.00420db6
add byte [ebx + 0x4c483c8], cl
test ecx, ecx
je 0x40b597
mov dword [ecx], esi
mov eax, dword [esp + 0x1c]
mov dword [ecx + 4], eax
mov eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x54], eax
inc dword [esp + 0x50]
cmp esi, 7
je 0x40b0c4
cmp esi, 8
je 0x40b0c4
mov esi, dword [ebp + 0xc]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov dword [ebp + 0x10], edi
mov dword [esp + 8], eax
jmp 0x409fa7
mov esi, dword [esp + 0x24]
mov dword [esp + 0x10], 0x16
test esi, esi
jne 0x40a892
cmp edi, 0x4c6488
je 0x40a3f6
cmp dword [edi + 0xc], 4
je 0x40a817
mov esi, dword [edi + 8]
test esi, esi
jne 0x40a829
mov eax, dword [edi + 0xc]
cmp eax, 5
jge 0x4403ab
push 0x4c6488
mov ecx, edi
mov dword [edi + 0xc], 1
mov dword [edi], 0
call fcn.00409960
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 8]
mov eax, dword [ebp + 0xc]
inc esi
mov dword [esp + 0x24], esi
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
cmp esi, 1
jne 0x40a8de
mov esi, edi
mov ecx, dword [esi + 8]
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
test ecx, ecx
jne 0x440471
mov eax, dword [esi + 0xc]
cmp eax, 5
jge 0x440483
mov eax, dword [esp + 0x4c]
mov dword [esi + 0xc], 1
mov dword [esi], eax
mov esi, dword [ebp + 0xc]
inc dword [esi]
jmp 0x409fa7
mov eax, dword [esp + 0x18]
mov esi, dword [0x4c6270]
mov dword [esp + 0x34], esi
test esi, esi
je 0x440918
mov ecx, dword [0x4c6440]
mov byte [esp + 0x17], 0
test cl, 1
je 0x440749
mov dword [0x4c6460], 0
mov dword [0x4c645c], 0
pop esp
dec esp
add byte [eax], al
add byte [eax], al
add bh, al
inc esp
and al, 0x38
inc esp
dec esp
add bh, al
inc esp
and al, 0x60
inc esp
dec esp
add byte [ebp + 0x9b], cl
invalid
mov edx, dword [eax + 4]
mov ecx, dword [esi + 4]
mov dword [esp + 0x48], edx
test edx, edx
je 0x44077c
test ecx, ecx
je 0x440784
cmp edx, ecx
jb 0x40a652
mov ecx, dword [esp + 0x34]
mov esi, edx
mov edx, dword [eax]
mov ecx, dword [ecx]
test esi, esi
je 0x40a4e5
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x40a69c
add edx, 2
add ecx, 2
dec esi
jne 0x40a4d0
xor eax, eax
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
test eax, eax
js 0x40a6a7
jg 0x40a58d
mov byte [esp + 0x17], 1
cmp byte [esp + 0x17], 0
mov ecx, dword [esp + 0x60]
mov eax, dword [esi + 0x18]
mov dword [ecx + 0x1c], eax
mov eax, dword [0x4c6270]
mov ecx, dword [esp + 0x38]
mov eax, dword [eax + 0x1c]
mov dword [ecx + 0x18], eax
mov ecx, dword [0x4c6270]
mov eax, dword [0x4c6460]
mov dword [ecx + 0x18], eax
mov ecx, dword [0x4c6270]
mov eax, dword [0x4c645c]
mov dword [ecx + 0x1c], eax
je 0x440918
mov eax, dword [0x4c6270]
test eax, eax
je 0x440918
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x409f88
jmp 0x440918
add eax, 2
add edx, 2
dec dword [esp + 0x38]
mov dword [esp + 0x48], eax
jne 0x40a2a0
mov eax, dword [esp + 0x34]
cmp eax, dword [ecx + 4]
jae 0x40a2d3
jmp 0x40a2b8
mov eax, dword [edx + 4]
jmp 0x40a022
lea eax, [esi + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [eax]
test eax, eax
je 0x40a502
mov ecx, dword [eax + 4]
mov dword [esp + 0x3c], ecx
cmp ecx, edx
jbe 0x40a5af
mov ecx, edx
mov dword [esp + 0x3c], edx
mov edx, dword [eax]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
test eax, eax
je 0x40a5db
mov ax, word [edx]
cmp ax, word [ecx]
jne fcn.0040a5e3
add edx, 2
add ecx, 2
dec dword [esp + 0x40]
jne 0x40a5c3
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x48]
jb 0x40a5e5
jmp 0x40a608
jae 0x40a608
mov ecx, dword [esp + 0x30]
mov esi, dword [ecx]
mov eax, dword [esi + 0x18]
mov dword [ecx], eax
mov eax, dword [0x4c6270]
mov dword [esi + 0x18], eax
mov dword [0x4c6270], esi
cmp dword [esi + 0x1c], 0
je 0x40a502
mov ecx, dword [esp + 0x60]
mov dword [ecx + 0x1c], esi
mov eax, dword [0x4c6270]
mov dword [esp + 0x60], eax
mov esi, dword [eax + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], esi
mov dword [0x4c6270], esi
jmp 0x40a4a0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0040b900
mov edi, dword [esp + 0x18]
mov eax, dword [esi]
mov dword [esp + 0x30], eax
mov eax, dword [edi]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x3c], eax
test ecx, ecx
je 0x40a86d
lea ecx, [ecx]
mov edi, dword [esp + 0x30]
mov ax, word [eax]
cmp ax, word [edi]
mov edi, dword [ebp + 0x10]
mov eax, dword [esp + 0x3c]
je 0x40a85a
mov ax, word [eax]
mov ecx, dword [esp + 0x30]
cmp ax, word [ecx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x40a4ef
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x40a4e7
mov ecx, dword [esi + 0x18]
lea eax, [esi + 0x18]
mov dword [esp + 0x48], eax
test ecx, ecx
je 0x40a502
mov eax, dword [ecx + 4]
cmp edx, eax
ja 0x40b196
mov edi, dword [esp + 0x18]
mov eax, dword [ecx]
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], edx
mov eax, dword [edi]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x3c], eax
test edx, edx
je 0x40a705
nop
mov edi, dword [esp + 0x30]
mov ax, word [eax]
cmp ax, word [edi]
mov edi, dword [ebp + 0x10]
mov eax, dword [esp + 0x3c]
jne 0x40a70c
add dword [esp + 0x30], 2
add eax, 2
dec dword [esp + 0x40]
mov dword [esp + 0x3c], eax
jne 0x40a6e0
cmp edx, dword [ecx + 4]
jb 0x40a718
jmp 0x40a73b
mov edx, dword [esp + 0x30]
mov ax, word [eax]
cmp ax, word [edx]
jae 0x40a73b
mov esi, ecx
mov ecx, dword [esp + 0x48]
mov eax, dword [esi + 0x1c]
mov dword [ecx], eax
mov eax, dword [0x4c6270]
mov dword [esi + 0x1c], eax
mov dword [0x4c6270], esi
cmp dword [esi + 0x18], 0
je 0x40a502
mov ecx, dword [esp + 0x38]
mov dword [ecx + 0x18], esi
mov eax, dword [0x4c6270]
mov dword [esp + 0x38], eax
mov esi, dword [eax + 0x18]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], esi
mov dword [0x4c6270], esi
jmp 0x40a4a0
cmp byte [esp + 0x2d], 0
jne 0x40adf4
push 0x18
call fcn.00420db6
mov esi, eax
add esp, 4
test esi, esi
je 0x40b588
push 0x4c6488
mov ecx, esi
mov dword [esi + 8], 0
call fcn.00409960
mov eax, dword [esp + 8]
mov dword [esi + 0x10], eax
mov eax, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 8], eax
mov dword [esp + 0x28], eax
jmp 0x40a0da
cmp byte [esp + 0x2d], 0
jne 0x40b58f
mov dword [esp + 0x4c], eax
jmp 0x40a0ec
mov edi, dword [esp + 8]
mov esi, dword [edi + 8]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x78], eax
test esi, esi
jne 0x40b1bd
mov eax, dword [edi + 0xc]
cmp eax, 5
jge 0x40b325
push edi
mov dword [edi + 0xc], 1
mov dword [edi], 0
call fcn.00420e2c
mov eax, dword [esp + 0x7c]
add esp, 4
mov edi, eax
test eax, eax
jne 0x40a7c5
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
jmp 0x40a057
mov edx, eax
jmp 0x40a204
cmp dword [0x4c6494], 4
jne 0x40a3c2
jmp 0x44037e
mov eax, dword [esi + 0xc]
dec dword [eax]
mov eax, dword [esi + 0xc]
cmp dword [eax], 0
je 0x440391
push esi
call fcn.00420e2c
add esp, 4
mov dword [edi + 8], 0
jmp 0x40a3cd
mov eax, edx
mov dword [esp + 0x34], edx
jmp 0x40a27c
add dword [esp + 0x30], 2
add eax, 2
mov dword [esp + 0x3c], eax
dec ecx
jne 0x40a670
xor eax, eax
jmp 0x40a4ef
lea eax, [ecx + 1]
mov esi, 0xd
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x40a00b
mov dword [edx], esi
mov byte [esp + 0x59], 0
jmp 0x40a36f
cmp byte [esp + 0x2d], 0
jne 0x40af6c
push 0x18
call fcn.00420db6
mov esi, eax
add esp, 4
test esi, esi
je 0x40b579
push 0x4c6488
mov ecx, esi
mov dword [esi + 8], 0
call fcn.00409960
mov eax, dword [esp + 8]
mov edx, esi
mov dword [esi + 0x10], eax
mov esi, dword [esp + 0x24]
mov dword [esp + 8], edx
mov dword [esp + 0x28], edx
jmp 0x40a3fa
cmp byte [esp + 0x2d], 0
jne 0x40b580
mov esi, edx
jmp 0x40a418
test cl, cl
je 0x40ae47
mov eax, dword [edx + 4]
cmp dword [eax], 0x12
je 0x40a97a
test cl, cl
jne 0x40af64
cmp dword [edx], 0x14
je 0x40b5b1
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0040b900
test eax, eax
js 0x440055
mov edx, dword [esp + 0x54]
mov cl, byte [esp + 0x59]
mov dword [esp + 0x1c], edx
jmp case.0x40a339.2
test ecx, ecx
je 0x40a956
mov eax, dword [esi + ecx*4 - 4]
movzx eax, word [eax + 8]
cmp ax, 0x48
je 0x43ff8a
cmp ax, 0x4f
je 0x43ff8a
lea eax, [ecx + 1]
mov esi, 0x12
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x40a00b
lea eax, [ecx + 1]
mov esi, 0x13
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x40a00b
test cl, cl
je 0x40a998
mov esi, dword [edx + 4]
push edx
call fcn.00420e2c
mov edx, esi
add esp, 4
mov esi, dword [esp + 0x10]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x54], edx
cmp byte [esp + 0x58], 0
je 0x440791
mov byte [esp + 0x59], 1
dec dword [esp + 0x50]
jmp case.0x40a339.3
lea eax, [ecx + 1]
mov esi, 1
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x40a00b
cmp dword [esp + 0x24], 0
mov dword [esp + 0x10], 0x16
je 0x40b221
cmp byte [esp + 0x2d], 0
jne 0x40b2a8
push 0x18
call fcn.00420db6
mov esi, eax
add esp, 4
test esi, esi
je 0x40b54b
push 0x4c6488
mov ecx, esi
into
mov dword [esi + 8], 0
call fcn.00409960
mov eax, dword [esp + 8]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esp + 8], eax
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
inc dword [esp + 0x24]
mov edx, dword [eax + 4]
mov ecx, dword [esi]
mov eax, dword [edx + ecx*4 + 4]
cmp word [eax + 8], 0x47
jne 0x43fbdb
cmp dword [esp + 0x24], 1
je 0x40b232
cmp byte [esp + 0x2d], 0
mov eax, dword [esp + 8]
jne 0x40b552
mov dword [esp + 0x18], eax
mov dword [esp + 0x64], 0x48fb84
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov eax, dword [edx + ecx*4]
mov esi, dword [eax]
movsx eax, word [eax + 0xa]
mov dword [esp + 0x3c], eax
mov eax, dword [0x4c6464]
mov dword [esp + 0x30], esi
test al, 1
je 0x43fbf7
mov ecx, dword [esp + 0xc]
cmp esi, dword [0x4c6468]
je 0x43fc35
add ecx, 0x470
push esi
call fcn.00418e50
mov edx, dword [ebp + 8]
mov al, byte [eax + 0x20]
mov byte [esp + 0x17], al
mov eax, dword [ebp + 0xc]
inc dword [eax]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
cmp word [eax + 8], 0x47
jne 0x40b5a9
mov edx, dword [edx + 4]
lea eax, [ecx + 1]
mov dword [esp + 0x40], eax
xor esi, esi
mov dword [esp + 0x74], eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov ecx, eax
mov eax, dword [edx + ecx*4]
movsx eax, word [eax + 8]
sub eax, 0x47
je 0x40afa9
dec eax
je 0x40ab09
sub eax, 0x37
je 0x44083d
lea eax, [ecx + 1]
jmp 0x40aae1
test esi, esi
jne 0x40afa0
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x34], esi
mov ecx, dword [edx]
mov dword [esp + 0x4c], ecx
lea eax, [ecx + 1]
mov dword [edx], eax
cmp dword [esp + 0x40], ecx
jae 0x40ac2f
lea ecx, [ecx]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x80], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 1
cmp dword [esp + 0x6c], eax
jne 0x40ab96
add eax, eax
cmp eax, 8
jae 0x40ab67
mov eax, 8
xor ecx, ecx
mov dword [esp + 0x70], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420db6
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x43fc5c
mov dword [esp + 0x68], esi
push 0x10
call fcn.00420db6
mov esi, eax
add esp, 4
test esi, esi
je 0x40b55a
lea eax, [esp + 0x80]
mov dword [esi + 8], 0
push eax
mov ecx, esi
call fcn.00409960
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mov dword [eax + ecx*4], esi
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x4c]
inc ecx
cmp byte [esp + 0x17], 0
mov eax, dword [esp + 0x68]
mov dword [esp + 0x6c], ecx
push esi
jne 0x40b504
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x7c]
push eax
push dword [ebp + 8]
call fcn.00409ea0
test eax, eax
js 0x44086a
inc dword [esp + 0x34]
mov ecx, dword [esp + 0x74]
cmp ecx, esi
jne 0x40b1e3
mov dword [esp + 0x8c], 1
mov dword [esp + 0x80], 0
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0xc]
push dword [esp + 0x30]
lea ecx, [ecx + 0x470]
call fcn.00418e50
cmp esi, dword [eax + 0x18]
jl 0x40b59e
mov ecx, dword [esp + 0xc]
push dword [esp + 0x30]
lea ecx, [ecx + 0x470]
call fcn.00418e50
cmp esi, dword [eax + 0x1c]
jg 0x40b59e
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x43fc87
mov eax, dword [esi + 0xc]
cmp eax, 5
jge 0x43fc99
mov edx, dword [esp + 0xc]
mov dword [esi + 0xc], 1
mov dword [esi], 1
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edx + 8]
add ecx, edx
cmp byte [ecx + 0xd], 0
jne 0x40b561
mov dword [eax + 0x14], 0
cmp byte [ecx + 0xd], 0
mov eax, dword [ecx + 8]
jne 0x40b569
mov byte [eax + 0x18], 0
mov eax, dword [edx]
mov eax, dword [eax + 4]
add eax, edx
mov dword [esp + 0x4c], eax
cmp byte [eax + 0xd], 0
jne 0x43fd51
mov esi, dword [eax + 8]
mov ecx, dword [esi + 0x28]
test ecx, ecx
jne 0x43fd5c
mov eax, dword [esi + 0x2c]
cmp eax, 5
jge 0x43fd72
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x2c], 1
mov dword [esi + 0x20], 0
cmp byte [eax + 0xd], 0
mov eax, dword [eax + 8]
jne 0x40b571
push dword [esp + 0x30]
lea ecx, [edx + 0x470]
mov byte [eax + 0x30], 0
call fcn.00418e50
push dword [esp + 0x18]
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov ecx, dword [ecx + eax]
add ecx, edx
add ecx, dword [esp + 0x14]
call esi
test eax, eax
js 0x44085c
xor esi, esi
mov dword [esp + 0x64], 0x48fb84
cmp dword [esp + 0x6c], esi
jbe 0x40ad92
lea esp, [esp]
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + esi*4]
mov dword [esp + 0x40], ecx
test ecx, ecx
je 0x40ad84
call fcn.00409c90
push dword [esp + 0x40]
call fcn.00420e2c
mov eax, dword [esp + 0x6c]
add esp, 4
mov dword [eax + esi*4], 0
inc esi
cmp esi, dword [esp + 0x6c]
jb 0x40ad60
push dword [esp + 0x68]
mov dword [esp + 0x70], 0
call fcn.00420e2c
add esp, 4
mov eax, dword [esp + 0xc]
cmp dword [eax + 0xf8], 1
je 0x440944
mov esi, dword [ebp + 0xc]
jmp 0x409fa7
mov eax, dword [esp + 0x10]
cmp eax, 0x16
jne 0x40b024
lea eax, [ecx + 1]
mov dword [esp + 0x10], 0xb
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [ecx], eax
jmp 0x40a010
lea eax, [ecx + 1]
xor esi, esi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x40a00b
mov eax, dword [esp + 8]
cmp eax, 0x4c6488
je 0x40ae3d
cmp dword [eax + 0xc], 4
je 0x40b468
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40b47a
mov eax, dword [eax + 0xc]
cmp eax, 5
jge 0x44061a
mov eax, dword [esp + 8]
mov ecx, eax
mov byte [esp + 0x2d], 0
jmp 0x40a0d6
mov eax, edx
jmp 0x40a8fb
mov esi, dword [esp + 0x24]
mov dword [esp + 0x10], 0x16
test esi, esi
jne 0x40b070
cmp edi, 0x4c6488
je 0x40ae87
cmp dword [edi + 0xc], 4
je 0x40b4f2
mov ecx, edi
call fcn.004098c0
push 0x4c6488
mov ecx, edi
call fcn.00409960
mov edx, dword [esp + 8]
mov eax, dword [ebp + 0xc]
inc esi
mov dword [esp + 0x24], esi
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
cmp esi, 1
jne 0x40b0b2
mov esi, edi
cmp dword [esi + 0xc], 4
mov eax, dword [eax]
mov ecx, dword [esi + 8]
mov dword [esp + 0x4c], eax
je 0x43fa84
test ecx, ecx
jne 0x43fa8f
mov eax, dword [esi + 0xc]
cmp eax, 5
jge 0x43faa1
push 0x10
mov dword [esi], 0
mov dword [esi + 0xc], 4
call fcn.00420db6
mov edx, eax
add esp, 4
test edx, edx
je 0x40b544
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
inc dword [eax]
mov dword [esi + 8], edx
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0xc]
inc dword [esi]
cmp byte [eax + 0xfd], 0
jne 0x43fb52
cmp byte [eax + 0xfe], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
je 0x409fad
jmp 0x43fb6a
mov eax, dword [esp + 0x10]
cmp eax, 0x16
jne 0x40b19d
mov dword [esp + 0x10], 0xc
mov esi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x40a010
mov edx, dword [edx + 4]
jmp 0x40a908
mov eax, dword [esp + 8]
cmp eax, 0x4c6488
je 0x40af96
cmp dword [eax + 0xc], 4
je 0x440451
mov ecx, eax
call fcn.004098c0
mov ecx, dword [esp + 8]
push 0x4c6488
call fcn.00409960
mov byte [esp + 0x2d], 0
jmp 0x40a3f6
dec esi
lea eax, [ecx + 1]
jmp 0x40aae1
inc esi
lea eax, [ecx + 1]
jmp 0x40aae1
lea eax, [ecx + 1]
mov esi, 0xe
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x40a00b
add eax, 2
add edx, 2
mov dword [esp + 0x38], eax
dec ecx
jne 0x40a1c0
jmp 0x40a1a9
cmp dword [0x4c6494], 4
jne 0x40a0a2
jmp 0x440534
mov eax, dword [esi + 0xc]
dec dword [eax]
mov eax, dword [esi + 0xc]
cmp dword [eax], 0
je 0x440547
push esi
call fcn.00420e2c
add esp, 4
mov dword [edi + 8], 0
jmp 0x40a0ad
lea eax, [ecx + 1]
mov esi, 9
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x40a00b
cmp eax, 0x13
je 0x40adcc
lea eax, [ecx + 1]
mov dword [esp + 0x10], 0x11
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [ecx], eax
jmp 0x40a010
dec eax
cmp eax, 0x29
ja case.0x40b057.4
movzx eax, byte [eax + 0x40b6e4]
jmp dword [eax*4 + 0x40b6c4]
lea eax, [ecx + 1]
mov esi, 7
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x40a00b
cmp byte [esp + 0x2d], 0
je 0x40b24d
mov eax, dword [esp + 8]
cmp eax, 0x4c6488
je 0x40b0a8
cmp dword [0x4c6494], 4
je 0x40b459
mov ecx, eax
call fcn.004098c0
mov ecx, dword [esp + 8]
push 0x4c6488
call fcn.00409960
mov byte [esp + 0x2d], 0
jmp 0x40ae87
cmp byte [esp + 0x2d], 0
jne 0x40b53c
mov esi, edx
jmp 0x40aea9
mov esi, dword [esp + 0x24]
test esi, esi
je 0x40a385
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov dword [esp + 8], eax
mov dword [ebp + 0x10], edi
cmp esi, 1
jne 0x4407b5
mov eax, edi
push eax
lea ecx, [esp + 0xec]
mov dword [esp + 0xf4], 0
call fcn.00409960
lea ecx, [esp + 0xe8]
call fcn.00409239
mov ecx, dword [esp + 0x10]
test al, al
jne 0x40b3aa
cmp ecx, 7
jne 0x40b17c
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040b892
test eax, eax
js 0x4409d6
cmp dword [esp + 0x10], 8
je 0x4407c8
cmp esi, 1
jne 0x4407e6
mov esi, edi
mov ecx, esi
call fcn.004098c0
mov dword [esi + 0xc], 9
mov byte [esi], 0
cmp byte [esp + 0x59], 0
mov eax, dword [esp + 0x1c]
jne 0x440802
cmp byte [esp + 0x58], 0
je 0x44081d
mov byte [esp + 0x59], 1
dec dword [esp + 0x50]
lea ecx, [esp + 0xe8]
call fcn.004098c0
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
jmp 0x409fad
mov edx, eax
jmp 0x40a6c4
cmp eax, 0x13
je 0x40af4b
jmp 0x43fef6
lea eax, [ecx + 1]
mov esi, 5
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x40a00b
mov eax, dword [esi + 0xc]
dec dword [eax]
mov eax, dword [esi + 0xc]
cmp dword [eax], 0
je 0x40b30b
push esi
call fcn.00420e2c
add esp, 4
mov dword [edi + 8], 0
jmp 0x40a7d7
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
cmp word [eax + 8], 0x40
jne 0x440878
lea eax, [ecx + 1]
cmp eax, esi
je 0x440878
lea ecx, [esp + 0x80]
mov dword [esp + 0x74], eax
call fcn.004098c0
cmp dword [esp + 0x74], esi
jb 0x40ab30
invalid