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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edx, dword [ebx]
sub esp, 0x10
mov dword [esp + 0x1c], ecx
mov eax, dword [esi + 4]
mov dword [esp + 0x2c], 3
mov eax, dword [eax + edx*4]
mov edx, esp
mov ecx, dword [eax]
movsx edi, word [eax + 0xa]
mov dword [esp + 0x78], edi
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x1c]
mov dword [edx + 0xc], eax
add ecx, 0x134
inc dword [eax]
call fcn.00413740
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], eax
test eax, eax
je 0x442fdb
mov edx, dword [ebx]
mov eax, dword [ecx + 0x148]
inc edx
mov esi, dword [esi + 4]
mov dword [esp + 0x84], eax
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 1
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x64], eax
mov eax, dword [esi + edx*4]
mov dword [esp + 0x34], 0x49098c
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
cmp word [eax + 8], 0x47
mov dword [esp + 0x58], 0x492c18
mov dword [ebx], edx
jne 0x442fee
inc edx
xor edi, edi
mov dword [ebx], edx
mov dword [esp + 0x28], edx
mov ecx, dword [ebx]
mov eax, dword [esi + ecx*4]
movsx eax, word [eax + 8]
cmp eax, 0x47
jge 0x40b11a
lea eax, [ecx + 1]
mov dword [ebx], eax
jmp 0x40b105
sub eax, 0x47
je 0x40bb34
dec eax
jne 0x442ffb
test edi, edi
jne 0x44301d
mov eax, ecx
mov dword [esp + 0x10], eax
inc eax
mov dword [ebx], eax
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x10]
cmp eax, dword [0x4c72a0]
jg 0x40bb3a
test eax, eax
jle 0x40bb3a
shl eax, 4
add eax, dword [0x4c72dc]
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x50], ecx
mov eax, dword [ecx]
cmp word [eax + 8], 0
jne 0x40b17c
cmp dword [eax], 0x2b
je 0x443028
mov edi, 3
mov eax, dword [esp + 0x48]
xor ebx, ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
cmp dword [eax + 0x14], ebx
jg 0x40b794
mov ecx, dword [esp + 0x10]
mov bl, byte [ebp + 8]
test bl, bl
jne 0x44310b
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x2c]
cmp eax, dword [edi + 0x18]
jl 0x44348e
cmp eax, dword [edi + 0x14]
jg 0x44348e
cmp edx, ecx
jne 0x44348e
mov eax, dword [edi + 0x10]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], eax
test eax, eax
js 0x4431e0
lea eax, [esp + 0x68]
mov ecx, 0x4c7280
push eax
call fcn.00403add
mov esi, dword [esp + 0x68]
test esi, esi
jne 0x4431ed
cmp dword [edi + 0x14], 1
jge 0x40b4f4
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x88], 0
mov dword [esp + 0x90], 0
mov dword [ebx + 0x148], eax
mov eax, dword [ebx]
mov dword [esp + 0x94], 1
mov byte [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov edi, dword [eax + 4]
add edi, ebx
mov byte [esp + 0xa0], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 1
cmp byte [edi + 0xd], 0
mov byte [esp + 0xb8], 0
jne 0x4433c3
push 0x40
call fcn.00420f16
mov esi, eax
add esp, 4
test esi, esi
je 0x40bb86
lea eax, [esp + 0x88]
mov dword [esi + 8], 0
push eax
mov ecx, esi
call fcn.00404e60
lea eax, [esp + 0xa8]
mov byte [esi + 0x10], 0
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov byte [esi + 0x18], 0
push eax
mov dword [ecx + 8], 0
call fcn.00404e60
mov byte [esi + 0x30], 0
mov eax, dword [edi + 8]
mov dword [esi + 0x38], eax
mov dword [edi + 8], esi
mov eax, dword [esp + 0x48]
lea esi, [ebx + 0x15c]
inc dword [edi + 4]
mov edi, dword [ebx + 0xf4]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
mov ebx, dword [esi]
inc eax
push eax
call fcn.0040bc70
cmp ebx, dword [esi]
jb 0x4433dc
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx]
mov dword [ebx + 0xf4], edi
mov ecx, dword [eax + 4]
mov eax, dword [ecx + ebx + 8]
add ecx, ebx
cmp byte [ecx + 0xd], 0
jne 0x40bb8d
cmp byte [eax + 0x10], 0
mov eax, dword [ebp + 0x18]
je 0x40ba23
cmp byte [ecx + 0xd], 0
mov byte [eax], 1
jne 0x4433ec
mov edi, dword [ecx + 8]
mov esi, dword [ebp + 0x14]
cmp esi, edi
je 0x40b375
cmp dword [esi + 0xc], 4
je 0x4433f7
mov ecx, esi
call fcn.00404dc0
push edi
mov ecx, esi
call fcn.00404e60
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov eax, dword [esi + ebx + 8]
add esi, ebx
cmp byte [esi + 0xd], 0
jne 0x40bb95
cmp byte [eax + 0x18], 0
jne 0x443411
cmp byte [esi + 0xd], 0
mov eax, dword [esi + 8]
jne 0x40bb9d
cmp byte [eax + 0x30], 0
jne 0x443428
mov eax, dword [ebx]
mov esi, dword [eax + 4]
add esi, ebx
cmp byte [esi + 0xd], 0
jne 0x443445
cmp byte [esi + 0xc], 0
jne 0x40bba5
mov edi, dword [esi + 8]
mov ebx, dword [edi + 0x38]
test edi, edi
je 0x40b3e8
lea ecx, [edi + 0x20]
call fcn.00404dc0
mov ecx, edi
call fcn.00404dc0
push edi
call fcn.00420f8c
add esp, 4
mov dword [esi + 8], ebx
mov ebx, dword [esp + 0xc]
mov byte [esi + 0xd], 0
dec dword [esi + 4]
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + ebx + 8]
add ecx, ebx
cmp byte [ecx + 0xd], 0
jne 0x40bbae
mov edx, dword [esp + 0x9c]
mov dword [eax + 0x14], edx
cmp byte [ecx + 0xd], 0
mov eax, dword [ecx + 8]
jne 0x40bbb6
mov byte [eax + 0x18], 0
mov eax, dword [ebx]
mov esi, dword [eax + 4]
add esi, ebx
cmp byte [esi + 0xd], 0
jne 0x443461
mov edi, dword [esi + 8]
add edi, 0x20
lea eax, [esp + 0xa8]
cmp edi, eax
je 0x40b468
cmp dword [edi + 0xc], 4
je 0x44346c
mov ecx, edi
call fcn.00404dc0
lea eax, [esp + 0xa8]
mov ecx, edi
push eax
call fcn.00404e60
cmp byte [esi + 0xd], 0
mov eax, dword [esi + 8]
jne 0x40bbbe
mov ecx, 0x4c7280
mov byte [eax + 0x30], 0
call fcn.00403a40
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0xa8]
mov dword [ebx + 0x148], eax
xor ebx, ebx
mov dword [esp + 0x20], ebx
call fcn.00404dc0
lea ecx, [esp + 0x88]
call fcn.00404dc0
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0x70]
call fcn.00404dc0
xor esi, esi
cmp dword [esp + 0x60], esi
ja 0x40b999
push dword [esp + 0x5c]
call fcn.00420f8c
add esp, 4
xor esi, esi
test edi, edi
jne 0x40b9c5
push dword [esp + 0x38]
call fcn.00420f8c
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x5c]
sub eax, ecx
mov dword [esp + 0x30], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x54], eax
mov edi, edi
mov eax, dword [esp + 0x24]
xor ebx, ebx
mov esi, dword [esp + 0x1c]
lea edx, [esi*4]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edx]
cmp word [eax + 8], bx
je 0x443237
mov edi, dword [esp + 0x1c]
xor esi, esi
mov dword [esp + 0x10], 1
lea edx, [edi*4 + 4]
mov edi, dword [esp + 0x10]
lea ebx, [ebx]
mov eax, dword [ecx + edx]
movzx eax, word [eax + 8]
cmp ax, 0x47
je 0x40bb55
cmp ax, 0x48
je 0x40ba00
cmp ax, 0x40
jne 0x40ba07
test esi, esi
jne 0x40ba07
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x30]
cmp edi, dword [esp + 0x2c]
jg 0x44334d
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x54]
mov eax, dword [eax + edx]
cmp byte [eax], 0
jne 0x443266
mov eax, dword [esp + 0x1c]
or ebx, 0x200
cmp dword [0x4c7280], 0
mov edx, dword [edx]
mov dword [esp + 0x20], edx
mov eax, dword [ecx + eax*4]
mov edi, dword [eax]
je 0x44329d
cmp byte [0x4c7289], 0
jne 0x4432b3
mov esi, dword [0x4c7284]
push esi
push edi
mov dword [esp + 0x58], esi
call fcn.00403c30
test al, al
jne 0x4432c0
and ebx, 0xff00
push 0x20
mov dword [esp + 0x50], ebx
call fcn.00420f16
mov esi, eax
add esp, 4
test esi, esi
je 0x40bb62
xor ecx, ecx
mov dword [esi + 4], 0
mov eax, 8
mov dword [esi + 8], 8
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420f16
add esp, 4
mov dword [esi], eax
xor ecx, ecx
mov word [eax], cx
push 4
call fcn.00420f16
add esp, 4
test eax, eax
je 0x40bb5b
mov dword [eax], 1
mov dword [esi + 0xc], eax
cmp esi, edi
je 0x40b696
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
cmp eax, 1
jg 0x4432df
mov ebx, dword [edi + 4]
mov dword [esi + 4], ebx
lea eax, [ebx + 1]
cmp dword [esi + 8], eax
jb 0x4432ff
mov eax, dword [esi + 4]
lea eax, [eax*2 + 2]
push eax
push dword [edi]
push dword [esi]
call fcn.00420fa0
mov ebx, dword [esp + 0x58]
add esp, 0xc
push 0x10
mov dword [esi + 0x10], ebx
call fcn.00420f16
mov edi, eax
add esp, 4
test edi, edi
je 0x40bb69
push dword [esp + 0x20]
mov ecx, edi
mov dword [edi + 8], 0
call fcn.00404e60
mov ebx, dword [esp + 0x50]
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov eax, dword [ebx]
mov dword [esp + 0x14], eax
test eax, eax
je 0x40ba10
lea eax, [esp + 0x14]
push eax
push esi
call fcn.00403c30
mov edx, dword [esp + 0x14]
mov edi, dword [esi + 4]
mov ecx, dword [edx + 4]
test edi, edi
je 0x40bb70
test ecx, ecx
je 0x443340
cmp edi, ecx
jb 0x40ba42
mov ecx, dword [edx]
mov edx, dword [esi]
test edi, edi
je 0x40ba61
jmp 0x40b720
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x40b736
add edx, 2
add ecx, 2
dec edi
jne 0x40b720
jmp 0x40ba61
jb 0x40bab1
mov eax, 1
test eax, eax
js 0x40bab9
jle 0x40bb7d
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x1c]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], edx
mov dword [edx + 0x1c], 0
mov dword [ebx], esi
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
inc eax
add dword [esp + 0x44], 4
add eax, esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [ecx + 0x14]
jle 0x40b510
jmp 0x40b20d
cmp edx, dword [esp + 0x10]
jae 0x40b19c
shl edi, 2
inc ebx
mov dword [esp + 0x2c], ebx
xor bl, bl
mov dword [esp + 0x54], 0
mov eax, dword [ecx + edi]
cmp word [eax + 8], 0
je 0x443036
mov eax, dword [esi + edx*4]
cmp word [eax + 8], 0x33
je 0x40b7ca
xor bl, bl
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x60]
cmp edi, eax
je 0x40b909
mov esi, dword [esp + 0x5c]
push 1
call fcn.00420f16
add esp, 4
test eax, eax
je 0x40bb41
mov byte [eax], bl
mov dword [esi + edi*4], eax
lea ecx, [esp + 0x70]
inc edi
mov dword [esp + 0x60], edi
call fcn.00404dc0
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x7c], 1
mov dword [esp + 0x70], 0
cmp edi, eax
je 0x40b951
push 0x10
call fcn.00420f16
mov esi, eax
add esp, 4
test esi, esi
je 0x40bb48
lea eax, [esp + 0x70]
mov dword [esi + 8], 0
push eax
mov ecx, esi
call fcn.00404e60
mov eax, dword [esp + 0x38]
push dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [eax + edi*4], esi
inc edi
test bl, bl
mov dword [esp + 0x40], edi
mov ebx, dword [ebp + 0xc]
jne 0x4430a3
push dword [eax + edi*4 - 4]
lea eax, [esp + 0x30]
push eax
push ebx
call fcn.004053b0
test eax, eax
js 0x4434ab
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
inc edi
mov dword [esp + 0x14], edi
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edi*4]
cmp word [eax + 8], 0x41
je 0x40ba79
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
cmp edx, ecx
je 0x40b1a0
mov esi, dword [ebx + 4]
mov eax, dword [esi + edx*4]
cmp word [eax + 8], 0x40
jne 0x4430f3
lea eax, [edx + 1]
cmp eax, ecx
je 0x4430f3
mov edx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x50], ecx
mov eax, dword [ecx + edi*4]
cmp word [eax + 8], 0x40
jne 0x40b8ea
inc edi
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x48]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [ebx + 0x14]
jge 0x40b19c
mov ebx, dword [esp + 0x2c]
jmp 0x40b794
add eax, eax
mov dword [esp + 0x4c], eax
cmp eax, 8
jae 0x40b91d
mov eax, 8
mov dword [esp + 0x4c], eax
xor ecx, ecx
mov dword [esp + 0x64], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420f16
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x40bad2
mov dword [esp + 0x5c], esi
jmp 0x40b7de
add eax, eax
mov dword [esp + 0x44], eax
cmp eax, 8
jae 0x40b965
mov eax, 8
mov dword [esp + 0x44], eax
xor ecx, ecx
mov dword [esp + 0x40], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420f16
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x40bafd
mov dword [esp + 0x38], esi
jmp 0x40b823
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
push dword [ebx + esi*4]
call fcn.00420f8c
mov dword [ebx + esi*4], 0
add esp, 4
inc esi
cmp esi, edi
jb 0x40b9a1
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x3c]
jmp 0x40b4c7
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
lea ecx, [ecx]
mov edi, dword [ecx + esi*4]
test edi, edi
je 0x40b9ef
mov ecx, edi
call fcn.00405190
push edi
call fcn.00420f8c
mov eax, dword [esp + 0x40]
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword [ecx + esi*4], 0
inc esi
cmp esi, eax
jb 0x40b9d0
jmp 0x40b4dd
dec esi
js 0x40b57d
inc edi
add edx, 4
jmp 0x40b550
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
jmp 0x40b763
mov esi, dword [ebp + 0x14]
mov ecx, esi
mov byte [eax], 0
call fcn.00404dc0
mov dword [esi + 0xc], 1
mov dword [esi], 0
jmp 0x40b375
mov edx, dword [edx]
mov edi, dword [esi]
test ecx, ecx
je 0x40ba61
lea ebx, [ebx]
mov ax, word [edi]
cmp ax, word [edx]
jne 0x40ba68
add edi, 2
add edx, 2
dec ecx
jne 0x40ba50
xor eax, eax
jmp 0x40b741
movzx eax, word [edi]
cmp ax, word [edx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x40b741
inc edi
xor edx, edx
lea esp, [esp]
mov eax, dword [ecx + edi*4]
movzx eax, word [eax + 8]
cmp ax, 0x47
je 0x40bb4f
cmp ax, 0x48
je 0x40bb28
cmp ax, 0x40
je 0x40baa4
inc edi
jmp 0x40ba80
test edx, edx
jne 0x40baa1
mov dword [esp + 0x14], edi
jmp 0x40b89e
or eax, 0xffffffff
jmp 0x40b741
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x18]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
mov dword [edx + 0x18], 0
jmp 0x40b763
test edi, edi
je 0x40b948
lea ecx, [edi*4]
push ecx
push eax
push esi
call fcn.00420fa0
add esp, 0xc
push dword [esp + 0x5c]
call fcn.00420f8c
add esp, 4
jmp 0x40b948
test edi, edi
je 0x40b990
lea ecx, [edi*4]
push ecx
push eax
push esi
call fcn.00420fa0
add esp, 0xc
push dword [esp + 0x38]
call fcn.00420f8c
add esp, 4
jmp 0x40b990
dec edx
js 0x40baa8
jmp 0x40baa1
inc edi
jmp 0x40b113
xor eax, eax
jmp 0x40b15f
xor eax, eax
jmp 0x40b7f2
xor esi, esi
jmp 0x40b84a
inc edx
jmp 0x40baa1
inc esi
jmp 0x40ba07
xor eax, eax
jmp 0x40b654
xor esi, esi
jmp 0x40b657
xor edi, edi
jmp 0x40b6bf
test ecx, ecx
je 0x443340
jmp 0x40babd
mov esi, dword [esp + 0x14]
jmp 0x40b763
xor esi, esi
jmp 0x40b2e5
mov eax, dword [eax + 0x38]
jmp 0x40b338
mov eax, dword [eax + 0x38]
jmp 0x40b38a
mov eax, dword [eax + 0x38]
jmp 0x40b3a1
mov byte [esi + 0xd], 1
jmp 0x40b3f3
mov eax, dword [eax + 0x38]
jmp 0x40b40b
mov eax, dword [eax + 0x38]
jmp 0x40b422
mov eax, dword [eax + 0x38]
jmp 0x40b475
push edi
push 0x85
call fcn.0046a2fa
or eax, 0xffffffff
jmp 0x40b4eb
push edi
push 0x6f
call fcn.0046a2fa
jmp 0x4434a7
sub eax, 0x37
jne 0x40b113
mov eax, dword [esi + ecx*4 - 4]
mov ecx, dword [esp + 0xc]
movsx eax, word [eax + 0xa]
push eax
push 0x6f
call fcn.0046a2fa
jmp 0x4434a7
lea eax, [ecx + 1]
dec edi
mov dword [ebx], eax
jmp 0x40b105
mov edi, 4
mov dword [esp + 0x1c], edi
jmp 0x40b181
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
mov eax, dword [edi + eax + 4]
cmp word [eax + 8], 0x33
je 0x443061
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + edi + 4]
mov eax, dword [eax + edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
je 0x4430cc
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x30]
mov eax, dword [edi + eax]
mov eax, dword [eax]
cmp eax, 0x24
jne 0x443073
mov bl, 1
jmp 0x443080
cmp eax, 0x1e
jne 0x4430cc
mov dword [esp + 0x54], 0x100
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
lea edi, [eax*4]
mov eax, dword [ecx + edi]
cmp word [eax + 8], 0
mov eax, dword [esp + 0x30]
je 0x443041
jmp 0x40b7be
push 0
push 1
push dword [esp + 0x60]
push dword [eax + edi*4 - 4]
lea eax, [esp + 0x3c]
push eax
push ebx
call fcn.0040a9de
test eax, eax
js 0x4434ab
mov edi, dword [esp + 0x14]
inc edi
jmp 0x40baa8
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4 + 4]
mov ecx, dword [esp + 0xc]
movsx eax, word [eax + 0xa]
push eax
push 0x91
call fcn.0046a2fa
jmp 0x4434a7
mov eax, dword [esi + edx*4]
mov ecx, dword [esp + 0xc]
movsx eax, word [eax + 0xa]
push eax
push 0x6f
call fcn.0046a2fa
jmp 0x4434a7
mov esi, dword [esp + 0x2c]
test esi, esi
jne 0x44317d
cmp edx, ecx
je 0x40b1ab
lea eax, [esp + 0x1b]
mov byte [esp + 0x1b], 0
push eax
lea ecx, [esp + 0x5c]
call fcn.004570ed
lea ecx, [esp + 0x70]
call fcn.00404dc0
lea eax, [esp + 0x70]
mov dword [esp + 0x7c], 1
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x74], esi
call fcn.00456a45
push dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x10]
mov ecx, esi
push dword [eax + edi*4 - 4]
lea eax, [esp + 0x30]
push eax
push dword [ebp + 0xc]
call fcn.004053b0
test eax, eax
jns 0x44318a
jmp 0x4434ab
cmp esi, 1
mov esi, dword [esp + 0xc]
jne 0x40b1af
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0047a78b
test eax, eax
jne 0x4431d3
lea ecx, [esp + 0x58]
call fcn.004209a3
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jle 0x4431d3
mov byte [esp + 0x1b], 0
mov esi, ecx
lea eax, [esp + 0x1b]
push eax
lea ecx, [esp + 0x5c]
call fcn.004570ed
dec esi
jne 0x4431b5
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
jmp 0x40b1ab
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
jmp 0x40b1af
mov dword [esp + 0x6c], 0
jmp 0x40b1e8
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4431fe
push eax
lea ecx, [esp + 0x6c]
call fcn.00403b31
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x44320f
push eax
lea ecx, [esp + 0x6c]
call fcn.00403b31
cmp byte [esi + 0x10], 0
jne 0x443222
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x443222
push ecx
call fcn.00456a01
mov ecx, esi
call fcn.00411cb6
push esi
call fcn.00420f8c
add esp, 4
jmp 0x40b203
mov eax, dword [edx + ecx]
mov eax, dword [eax]
cmp eax, 0x24
je 0x44324b
cmp eax, 0x1e
jne 0x44324c
mov ebx, 0x100
inc esi
mov eax, dword [ecx + esi*4]
lea edx, [esi*4]
cmp word [eax + 8], 0
je 0x443237
mov dword [esp + 0x1c], esi
jmp 0x40b531
mov eax, dword [edx]
cmp dword [eax + 0xc], 6
jne 0x443272
mov edx, dword [eax]
jmp 0x443274
xor edx, edx
mov esi, dword [esp + 0x1c]
or ebx, 0x200
push 1
push ebx
push edx
mov eax, dword [ecx + esi*4]
push dword [eax]
call fcn.00465d5f
test al, al
je 0x4433a4
mov esi, dword [esp + 0x10]
jmp 0x40b769
push ebx
push edx
push edi
mov ecx, 0x4c7270
call fcn.00403ea3
mov esi, dword [esp + 0x10]
jmp 0x40b769
mov eax, dword [0x4c7284]
mov esi, dword [eax + 8]
jmp 0x40b5d8
mov ecx, dword [esi]
test ecx, ecx
je 0x40b5eb
push dword [esp + 0x20]
mov ecx, dword [ecx + 0x14]
call fcn.0040523c
mov esi, dword [esp + 0x10]
jmp 0x40b769
dec eax
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
inc dword [eax]
jmp 0x40b696
push eax
call fcn.00411c65
mov dword [esi + 8], eax
mov eax, dword [esi]
test eax, eax
je 0x443317
push eax
call fcn.00420f8c
add esp, 4
mov eax, dword [esi + 8]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420f16
add esp, 4
mov dword [esi], eax
xor ecx, ecx
mov word [eax + ebx*2], cx
jmp 0x40b67b
test edi, edi
jne 0x40b753
jmp 0x40b707
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
lea eax, [ecx + 2]
mov dword [esp + 0x20], eax
lea eax, [esi + ecx]
mov ecx, dword [esp + 0xc]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x28]
push eax
push edi
call fcn.004053b0
test eax, eax
js 0x4434a7
push 1
or ebx, 0x200
lea eax, [esp + 0x74]
push ebx
push eax
mov eax, dword [edi + 4]
mov edi, dword [esp + 0x28]
mov eax, dword [eax + edi*4]
push dword [eax]
call fcn.004039be
jmp 0x40b769
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi*4]
movsx eax, word [eax + 0xa]
push eax
push 0x79
call fcn.0046a2fa
jmp 0x4434a7
mov ecx, dword [edi + 8]
lea eax, [esp + 0x88]
push eax
call fcn.00469f97
mov byte [edi + 0xd], 0
jmp 0x40b2ee
mov ecx, esi
call fcn.00403839
cmp ebx, dword [esi]
jb 0x4433dc
jmp 0x40b319
mov eax, dword [ecx + 8]
mov edi, dword [eax + 0x38]
jmp 0x40b355
cmp dword [edi + 0xc], 4
jne 0x40b366
push dword [edi + 8]
mov ecx, dword [esi + 8]
call fcn.00411c9c
jmp 0x40b375
lea ecx, [esi + 4]
call fcn.0041fd12
mov eax, dword [eax + 0x14]
mov dword [esp + 0x9c], eax
jmp 0x40b394
lea ecx, [esi + 4]
call fcn.0041fd12
add eax, 0x20
lea ecx, [esp + 0xa8]
push eax
call fcn.0040523c
jmp 0x40b3ab
mov ecx, dword [esi + 8]
mov edi, dword [ecx + 0x38]
test ecx, ecx
je 0x443455
push ecx
call fcn.0041fd94
mov dword [esi + 8], edi
mov byte [esi + 0xd], 0
jmp 0x40b3bc
mov eax, dword [esi + 8]
mov edi, dword [eax + 0x38]
jmp 0x40b43a
cmp dword [esp + 0xb4], 4
jne 0x40b452
push dword [esp + 0xb0]
mov ecx, dword [edi + 8]
call fcn.00411c9c
jmp 0x40b468
test bl, bl
jne 0x4434a1
push dword [esp + 0x68]
mov ecx, esi
push 0x70
call fcn.0046a2fa
jmp 0x4434a7
mov eax, dword [ebp + 0x10]
add dword [eax], 0xfffffffe
mov edi, dword [esp + 0x3c]
or ebx, 0xffffffff
mov dword [esp + 0x20], ebx
jmp 0x40b4b2