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

Disassembly:
call fcn.00420ff6
mov edx, eax
mov dword [esp + 0x20], eax
add esp, 4
test edx, edx
je 0x40b68a
sub al, 0x16
add byte [eax], al
mov dword [edx], 0x14
mov esi, dword [ebp + 0xc]
mov dword [edx + 4], 0
mov dword [esp + 0x54], edx
mov edx, dword [ebp + 8]
mov ecx, dword [esi]
mov dword [esp + 0x50], 1
mov dword [esp + 0x10], 0x17
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
movsx eax, word [eax + 0xa]
mov dword [esp + 0x5c], eax
jmp 0x40a10a
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 [0x4c7460]
mov dword [ecx + 0x18], eax
mov ecx, dword [esi]
mov eax, dword [0x4c745c]
mov dword [ecx + 0x1c], eax
je 0x40a5ac
mov eax, dword [esi]
test eax, eax
je 0x40a5ac
mov eax, dword [eax + 0x14]
test eax, eax
je 0x40a5ac
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.0040ca20
test eax, eax
js 0x440d6e
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi]
cmp ecx, eax
je case.0x40b1b7.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.0x40b1b7.4
cwde
cmp eax, 0x33
je 0x40a1dc
cmp eax, 0x4f
je case.0x40b1b7.4
cmp eax, 5
je 0x40a4fc
cmp eax, 0x58
ja case.0x40b1b7.4
movzx eax, byte [eax + 0x40b7ac]
jmp dword [eax*4 + 0x40b740]
mov eax, dword [edx]
cmp eax, 4
jl 0x40b1a6
cmp eax, 0x27
jge 0x40b1a6
mov esi, 0x14
mov dword [esp + 0x10], esi
nop
mov cl, byte [esp + 0x59]
mov edx, dword [esp + 0x1c]
test cl, cl
jne 0x40a6e5
mov eax, edx
imul eax, dword [eax], 0x15
movzx eax, byte [eax + esi + 0x4a5350]
cmp eax, 3
jne 0x40a494
cmp dword [esp + 0x24], 1
jne 0x40b732
mov eax, dword [esp + 0x28]
xor edi, edi
mov dword [esp + 8], eax
mov dword [esp + 0x18], edi
test eax, eax
jne 0x40a921
test edx, edx
je 0x40a1d2
jmp 0x40a1c0
mov esi, dword [edx + 4]
push edx
call fcn.0042106c
add esp, 4
mov edx, esi
test esi, esi
jne 0x40a1c0
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 0x40a8c1
cmp edi, 0x4c7488
je 0x40a236
cmp dword [edi + 0xc], 4
je 0x40b13a
mov esi, dword [edi + 8]
test esi, esi
jne 0x40b14c
mov eax, dword [edi + 0xc]
cmp eax, 5
jge 0x44098b
push 0x4c7488
mov ecx, edi
mov dword [edi + 0xc], 1
mov dword [edi], 0
call fcn.00409ac0
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 8]
inc esi
mov dword [esp + 0x24], esi
cmp esi, 1
jne 0x40a90d
mov dword [esp + 0x4c], edi
cmp dword [0x4c7280], 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 0x40a5b0
cmp byte [0x4c7289], 0
jne 0x440b24
mov esi, dword [0x4c7284]
cmp dword [esi], 0
je 0x40a5b0
mov ecx, dword [0x4c7440]
mov byte [esp + 0x17], 0
test cl, 1
je 0x440b35
mov dword [0x4c7460], 0
mov dword [0x4c745c], 0
mov dword [esp + 0x3c], 0x4c7444
mov dword [esp + 0x60], 0x4c7444
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 0x440b5e
test ecx, ecx
je 0x440b66
cmp eax, ecx
jb 0x40a30d
mov ecx, dword [edx]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov edx, dword [edx]
test eax, eax
je 0x40a309
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x40a336
add edx, 2
add ecx, 2
dec dword [esp + 0x38]
jne 0x40a2f5
xor eax, eax
jmp 0x40a33c
mov eax, dword [esp + 0x18]
mov edx, dword [edx]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x40a309
lea ecx, [ecx]
mov ax, word [eax]
cmp ax, word [edx]
mov eax, dword [esp + 0x38]
je 0x40b124
mov ax, word [eax]
cmp ax, word [edx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
js 0x40a3be
jle 0x40a097
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ecx, dword [edx + 0x1c]
test ecx, ecx
je 0x40a09c
mov edx, dword [ecx + 4]
cmp edx, eax
ja 0x40a970
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 0x40a3b1
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 0x40a450
add dword [esp + 0x38], 2
add eax, 2
dec dword [esp + 0x40]
mov dword [esp + 0x48], eax
jne 0x40a384
mov eax, dword [esp + 0x34]
cmp edx, eax
jb 0x40a45c
jmp 0x40a477
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ecx, dword [edx + 0x18]
test ecx, ecx
je 0x40a09c
mov edx, dword [ecx + 4]
cmp eax, edx
ja 0x40a9af
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 0x40a6d7
mov eax, dword [esp + 0x48]
lea esp, [esp]
mov ax, word [eax]
cmp ax, word [edx]
mov eax, dword [esp + 0x48]
je 0x40a6bf
mov ax, word [eax]
cmp ax, word [edx]
jae 0x40a433
mov edx, dword [esp + 0x30]
mov eax, dword [ecx + 0x1c]
mov dword [edx + 0x18], eax
mov eax, dword [esi]
mov dword [ecx + 0x1c], eax
mov dword [esi], ecx
cmp dword [ecx + 0x18], 0
je 0x40a09c
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 0x40a2c1
mov edx, dword [esp + 0x38]
mov ax, word [eax]
cmp ax, word [edx]
jae 0x40a477
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 0x40a09c
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 0x40a2c1
cmp eax, 6
ja case.0x40a499.3
jmp dword [eax*4 + 0x40b808]
test cl, cl
jne 0x40a9e6
push 8
call fcn.00420ff6
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x40b6f7
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 0x40b224
cmp esi, 8
je 0x40b224
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 0x40a107
mov esi, dword [esp + 0x24]
mov dword [esp + 0x10], 0x16
test esi, esi
jne 0x40a9f2
cmp edi, 0x4c7488
je 0x40a556
cmp dword [edi + 0xc], 4
je 0x40a977
mov esi, dword [edi + 8]
test esi, esi
jne 0x40a989
mov eax, dword [edi + 0xc]
cmp eax, 5
jge 0x4407d5
push 0x4c7488
mov ecx, edi
mov dword [edi + 0xc], 1
mov dword [edi], 0
call fcn.00409ac0
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 0x40aa3e
mov esi, edi
mov ecx, dword [esi + 8]
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
test ecx, ecx
jne 0x44089b
mov eax, dword [esi + 0xc]
cmp eax, 5
jge 0x4408ad
mov eax, dword [esp + 0x4c]
mov dword [esi + 0xc], 1
mov dword [esi], eax
mov esi, dword [ebp + 0xc]
inc dword [esi]
jmp 0x40a107
mov eax, dword [esp + 0x18]
mov esi, dword [0x4c7270]
mov dword [esp + 0x34], esi
test esi, esi
je 0x440d42
mov ecx, dword [0x4c7440]
mov byte [esp + 0x17], 0
test cl, 1
je 0x440b73
mov dword [0x4c7460], 0
mov dword [0x4c745c], 0
mov dword [esp + 0x38], 0x4c7444
mov dword [esp + 0x60], 0x4c7444
lea ebx, [ebx]
mov edx, dword [eax + 4]
mov ecx, dword [esi + 4]
mov dword [esp + 0x48], edx
test edx, edx
je 0x440ba6
test ecx, ecx
je 0x440bae
cmp edx, ecx
jb 0x40a7b2
mov ecx, dword [esp + 0x34]
mov esi, edx
mov edx, dword [eax]
mov ecx, dword [ecx]
test esi, esi
je 0x40a645
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x40a7fc
add edx, 2
add ecx, 2
dec esi
jne 0x40a630
xor eax, eax
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
test eax, eax
js 0x40a807
jg 0x40a6ed
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 [0x4c7270]
mov ecx, dword [esp + 0x38]
mov eax, dword [eax + 0x1c]
mov dword [ecx + 0x18], eax
mov ecx, dword [0x4c7270]
mov eax, dword [0x4c7460]
mov dword [ecx + 0x18], eax
mov ecx, dword [0x4c7270]
mov eax, dword [0x4c745c]
mov dword [ecx + 0x1c], eax
je 0x440d42
mov eax, dword [0x4c7270]
test eax, eax
je 0x440d42
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x40a0e8
jmp 0x440d42
add eax, 2
add edx, 2
dec dword [esp + 0x38]
mov dword [esp + 0x48], eax
jne 0x40a400
mov eax, dword [esp + 0x34]
cmp eax, dword [ecx + 4]
jae 0x40a433
jmp 0x40a418
mov eax, dword [edx + 4]
jmp 0x40a182
lea eax, [esi + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [eax]
test eax, eax
je 0x40a662
mov ecx, dword [eax + 4]
mov dword [esp + 0x3c], ecx
cmp ecx, edx
jbe 0x40a70f
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 0x40a73b
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x40a743
add edx, 2
add ecx, 2
dec dword [esp + 0x40]
jne 0x40a723
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x48]
jb 0x40a745
jmp 0x40a768
jae 0x40a768
mov ecx, dword [esp + 0x30]
mov esi, dword [ecx]
mov eax, dword [esi + 0x18]
mov dword [ecx], eax
mov eax, dword [0x4c7270]
mov dword [esi + 0x18], eax
mov dword [0x4c7270], esi
cmp dword [esi + 0x1c], 0
je 0x40a662
mov ecx, dword [esp + 0x60]
mov dword [ecx + 0x1c], esi
mov eax, dword [0x4c7270]
mov dword [esp + 0x60], eax
mov esi, dword [eax + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], esi
mov dword [0x4c7270], esi
jmp 0x40a600
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0040ba60
test eax, eax
js 0x44047f
mov eax, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
jmp 0x40a170
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 0x40a9cd
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 0x40a9ba
mov ax, word [eax]
mov ecx, dword [esp + 0x30]
cmp ax, word [ecx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x40a64f
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x40a647
mov ecx, dword [esi + 0x18]
lea eax, [esi + 0x18]
mov dword [esp + 0x48], eax
test ecx, ecx
je 0x40a662
mov eax, dword [ecx + 4]
cmp edx, eax
ja 0x40b2f6
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 0x40a865
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 0x40a86c
add dword [esp + 0x30], 2
add eax, 2
dec dword [esp + 0x40]
mov dword [esp + 0x3c], eax
jne 0x40a840
cmp edx, dword [ecx + 4]
jb 0x40a878
jmp 0x40a89b
mov edx, dword [esp + 0x30]
mov ax, word [eax]
cmp ax, word [edx]
jae 0x40a89b
mov esi, ecx
mov ecx, dword [esp + 0x48]
mov eax, dword [esi + 0x1c]
mov dword [ecx], eax
mov eax, dword [0x4c7270]
mov dword [esi + 0x1c], eax
mov dword [0x4c7270], esi
cmp dword [esi + 0x18], 0
je 0x40a662
mov ecx, dword [esp + 0x38]
mov dword [ecx + 0x18], esi
mov eax, dword [0x4c7270]
mov dword [esp + 0x38], eax
mov esi, dword [eax + 0x18]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], esi
mov dword [0x4c7270], esi
jmp 0x40a600
cmp byte [esp + 0x2d], 0
jne 0x40af54
push 0x18
call fcn.00420ff6
mov esi, eax
add esp, 4
test esi, esi
je 0x40b6e8
push 0x4c7488
mov ecx, esi
mov dword [esi + 8], 0
call fcn.00409ac0
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 0x40a23a
cmp byte [esp + 0x2d], 0
jne 0x40b6ef
mov dword [esp + 0x4c], eax
jmp 0x40a24c
mov edi, dword [esp + 8]
mov esi, dword [edi + 8]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x78], eax
test esi, esi
jne 0x40b31d
mov eax, dword [edi + 0xc]
cmp eax, 5
jge 0x40b485
push edi
mov dword [edi + 0xc], 1
mov dword [edi], 0
call fcn.0042106c
mov eax, dword [esp + 0x7c]
add esp, 4
mov edi, eax
test eax, eax
jne 0x40a925
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
jmp 0x40a1b7
mov edx, eax
jmp 0x40a364
cmp dword [0x4c7494], 4
jne 0x40a522
jmp 0x4407a8
mov eax, dword [esi + 0xc]
dec dword [eax]
mov eax, dword [esi + 0xc]
cmp dword [eax], 0
je 0x4407bb
push esi
call fcn.0042106c
add esp, 4
mov dword [edi + 8], 0
jmp 0x40a52d
mov eax, edx
mov dword [esp + 0x34], edx
jmp 0x40a3dc
add dword [esp + 0x30], 2
add eax, 2
mov dword [esp + 0x3c], eax
dec ecx
jne 0x40a7d0
xor eax, eax
jmp 0x40a64f
lea eax, [ecx + 1]
mov esi, 0xd
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x40a16b
mov dword [edx], esi
mov byte [esp + 0x59], 0
jmp 0x40a4cf
cmp byte [esp + 0x2d], 0
jne 0x40b0cc
push 0x18
call fcn.00420ff6
mov esi, eax
add esp, 4
test esi, esi
je 0x40b6d9
push 0x4c7488
mov ecx, esi
mov dword [esi + 8], 0
call fcn.00409ac0
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 0x40a55a
cmp byte [esp + 0x2d], 0
jne 0x40b6e0
mov esi, edx
jmp 0x40a578
test cl, cl
je 0x40afa7
mov eax, dword [edx + 4]
cmp dword [eax], 0x12
je 0x40aada
test cl, cl
jne 0x40b0c4
cmp dword [edx], 0x14
je 0x40b711
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0040ba60
test eax, eax
js 0x44047f
mov edx, dword [esp + 0x54]
mov cl, byte [esp + 0x59]
mov dword [esp + 0x1c], edx
jmp case.0x40a499.2
test ecx, ecx
je 0x40aab6
mov eax, dword [esi + ecx*4 - 4]
movzx eax, word [eax + 8]
cmp ax, 0x48
je 0x4403b4
cmp ax, 0x4f
je 0x4403b4
lea eax, [ecx + 1]
mov esi, 0x12
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x40a16b
lea eax, [ecx + 1]
mov esi, 0x13
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x40a16b
test cl, cl
je 0x40aaf8
mov esi, dword [edx + 4]
push edx
call fcn.0042106c
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 0x440bbb
mov byte [esp + 0x59], 1
dec dword [esp + 0x50]
jmp case.0x40a499.3
lea eax, [ecx + 1]
mov esi, 1
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x40a16b
cmp dword [esp + 0x24], 0
mov dword [esp + 0x10], 0x16
je 0x40b381
cmp byte [esp + 0x2d], 0
jne 0x40b408
push 0x18
call fcn.00420ff6
mov esi, eax
add esp, 4
test esi, esi
je 0x40b6ab
push 0x4c7488
mov ecx, esi
mov dword [esi + 8], 0
call fcn.00409ac0
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 0x440005
cmp dword [esp + 0x24], 1
je 0x40b392
cmp byte [esp + 0x2d], 0
mov eax, dword [esp + 8]
jne 0x40b6b2
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 [0x4c7464]
mov dword [esp + 0x30], esi
test al, 1
je 0x440021
mov ecx, dword [esp + 0xc]
cmp esi, dword [0x4c7468]
je 0x44005f
add ecx, 0x470
push esi
call fcn.00419090
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 0x40b709
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 0x40b109
dec eax
je 0x40ac69
sub eax, 0x37
je 0x440c67
lea eax, [ecx + 1]
jmp 0x40ac41
test esi, esi
jne 0x40b100
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 0x40ad8f
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 0x40acf6
add eax, eax
cmp eax, 8
jae 0x40acc7
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.00420ff6
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x440086
mov dword [esp + 0x68], esi
push 0x10
call fcn.00420ff6
mov esi, eax
add esp, 4
test esi, esi
je 0x40b6ba
lea eax, [esp + 0x80]
mov dword [esi + 8], 0
push eax
mov ecx, esi
call fcn.00409ac0
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 0x40b664
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x7c]
push eax
push dword [ebp + 8]
call fcn.0040a000
test eax, eax
js 0x440c94
inc dword [esp + 0x34]
mov ecx, dword [esp + 0x74]
cmp ecx, esi
jne 0x40b343
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.00419090
cmp esi, dword [eax + 0x18]
jl 0x40b6fe
mov ecx, dword [esp + 0xc]
push dword [esp + 0x30]
lea ecx, [ecx + 0x470]
call fcn.00419090
cmp esi, dword [eax + 0x1c]
jg 0x40b6fe
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x4400b1
mov eax, dword [esi + 0xc]
cmp eax, 5
jge 0x4400c3
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 0x40b6c1
mov dword [eax + 0x14], 0
cmp byte [ecx + 0xd], 0
mov eax, dword [ecx + 8]
jne 0x40b6c9
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 0x44017b
mov esi, dword [eax + 8]
mov ecx, dword [esi + 0x28]
test ecx, ecx
jne 0x440186
mov eax, dword [esi + 0x2c]
cmp eax, 5
jge 0x44019c
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 0x40b6d1
push dword [esp + 0x30]
lea ecx, [edx + 0x470]
mov byte [eax + 0x30], 0
call fcn.00419090
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 0x440c86
xor esi, esi
mov dword [esp + 0x64], 0x48fb84
cmp dword [esp + 0x6c], esi
jbe 0x40aef2
lea esp, [esp]
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + esi*4]
mov dword [esp + 0x40], ecx
test ecx, ecx
je 0x40aee4
call fcn.00409df0
push dword [esp + 0x40]
call fcn.0042106c
mov eax, dword [esp + 0x6c]
add esp, 4
mov dword [eax + esi*4], 0
inc esi
cmp esi, dword [esp + 0x6c]
jb 0x40aec0
push dword [esp + 0x68]
mov dword [esp + 0x70], 0
call fcn.0042106c
add esp, 4
mov eax, dword [esp + 0xc]
cmp dword [eax + 0xf8], 1
je 0x440d6e
mov esi, dword [ebp + 0xc]
jmp 0x40a107
mov eax, dword [esp + 0x10]
cmp eax, 0x16
jne 0x40b184
lea eax, [ecx + 1]
mov dword [esp + 0x10], 0xb
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [ecx], eax
jmp 0x40a170
lea eax, [ecx + 1]
xor esi, esi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x40a16b
mov eax, dword [esp + 8]
cmp eax, 0x4c7488
je 0x40af9d
cmp dword [eax + 0xc], 4
je 0x40b5c8
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40b5da
mov eax, dword [eax + 0xc]
cmp eax, 5
jge 0x440a44
mov eax, dword [esp + 8]
mov ecx, eax
push 0x4c7488
mov dword [eax + 0xc], 1
mov dword [eax], 0
call fcn.00409ac0
mov byte [esp + 0x2d], 0
jmp 0x40a236
mov eax, edx
jmp 0x40aa5b
mov esi, dword [esp + 0x24]
mov dword [esp + 0x10], 0x16
test esi, esi
jne 0x40b1d0
cmp edi, 0x4c7488
je 0x40afe7
cmp dword [edi + 0xc], 4
je 0x40b652
mov ecx, edi
call fcn.00409a20
push 0x4c7488
mov ecx, edi
call fcn.00409ac0
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 0x40b212
mov esi, edi
cmp dword [esi + 0xc], 4
mov eax, dword [eax]
mov ecx, dword [esi + 8]
mov dword [esp + 0x4c], eax
je 0x43feae
test ecx, ecx
jne 0x43feb9
mov eax, dword [esi + 0xc]
cmp eax, 5
jge 0x43fecb
push 0x10
mov dword [esi], 0
mov dword [esi + 0xc], 4
call fcn.00420ff6
mov edx, eax
add esp, 4
test edx, edx
je 0x40b6a4
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 0x43ff7c
cmp byte [eax + 0xfe], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
je 0x40a10d
jmp 0x43ff94
mov eax, dword [esp + 0x10]
cmp eax, 0x16
jne 0x40b2fd
mov dword [esp + 0x10], 0xc
mov esi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x40a170
mov edx, dword [edx + 4]
jmp 0x40aa68
mov eax, dword [esp + 8]
cmp eax, 0x4c7488
je 0x40b0f6
cmp dword [eax + 0xc], 4
je 0x44087b
mov ecx, eax
call fcn.00409a20
mov ecx, dword [esp + 8]
push 0x4c7488
call fcn.00409ac0
mov byte [esp + 0x2d], 0
jmp 0x40a556
dec esi
lea eax, [ecx + 1]
jmp 0x40ac41
inc esi
lea eax, [ecx + 1]
jmp 0x40ac41
lea eax, [ecx + 1]
mov esi, 0xe
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x40a16b
invalid
add eax, 2
add edx, 2
mov dword [esp + 0x38], eax
dec ecx
jne 0x40a320
jmp 0x40a309
cmp dword [0x4c7494], 4
jne 0x40a202
jmp 0x44095e
mov eax, dword [esi + 0xc]
dec dword [eax]
mov eax, dword [esi + 0xc]
cmp dword [eax], 0
je 0x440971
push esi
call fcn.0042106c
add esp, 4
mov dword [edi + 8], 0
jmp 0x40a20d
lea eax, [ecx + 1]
mov esi, 9
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x40a16b
cmp eax, 0x13
je 0x40af2c
lea eax, [ecx + 1]
mov dword [esp + 0x10], 0x11
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [ecx], eax
jmp 0x40a170
dec eax
cmp eax, 0x29
ja case.0x40b1b7.4
movzx eax, byte [eax + 0x40b844]
jmp dword [eax*4 + 0x40b824]
lea eax, [ecx + 1]
mov esi, 7
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x40a16b
cmp byte [esp + 0x2d], 0
je 0x40b3ad
mov eax, dword [esp + 8]
cmp eax, 0x4c7488
je 0x40b208
cmp dword [0x4c7494], 4
je 0x40b5b9
mov ecx, eax
call fcn.00409a20
mov ecx, dword [esp + 8]
push 0x4c7488
call fcn.00409ac0
mov byte [esp + 0x2d], 0
jmp 0x40afe7
cmp byte [esp + 0x2d], 0
jne 0x40b69c
mov esi, edx
jmp 0x40b009
mov esi, dword [esp + 0x24]
test esi, esi
je 0x40a4e5
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov dword [esp + 8], eax
mov dword [ebp + 0x10], edi
cmp esi, 1
jne 0x440bdf
mov eax, edi
push eax
lea ecx, [esp + 0xec]
mov dword [esp + 0xf4], 0
call fcn.00409ac0
lea ecx, [esp + 0xe8]
call fcn.00409399
mov ecx, dword [esp + 0x10]
test al, al
jne 0x40b50a
cmp ecx, 7
jne 0x40b2dc
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040b9f2
test eax, eax
js 0x440e00
cmp dword [esp + 0x10], 8
je 0x440bf2
cmp esi, 1
jne 0x440c10
mov esi, edi
mov ecx, esi
call fcn.00409a20
mov dword [esi + 0xc], 9
mov byte [esi], 0
cmp byte [esp + 0x59], 0
mov eax, dword [esp + 0x1c]
jne 0x440c2c
cmp byte [esp + 0x58], 0
je 0x440c47
mov byte [esp + 0x59], 1
dec dword [esp + 0x50]
lea ecx, [esp + 0xe8]
call fcn.00409a20
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
jmp 0x40a10d
mov edx, eax
jmp 0x40a824
cmp eax, 0x13
je 0x40b0ab
jmp 0x440320
lea eax, [ecx + 1]
mov esi, 5
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x40a16b
mov eax, dword [esi + 0xc]
dec dword [eax]
mov eax, dword [esi + 0xc]
cmp dword [eax], 0
je 0x40b46b
push esi
call fcn.0042106c
add esp, 4
mov dword [edi + 8], 0
jmp 0x40a937
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
cmp word [eax + 8], 0x40
jne 0x440ca2
lea eax, [ecx + 1]
cmp eax, esi
je 0x440ca2
lea ecx, [esp + 0x80]
mov dword [esp + 0x74], eax
call fcn.00409a20
cmp dword [esp + 0x74], esi
jb 0x40ac90
jmp 0x40ad8b
push 0x4c7488
mov ecx, edi
call fcn.00409e9c
invalid
out 0xf7, eax