Function at 0x40b039
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.00413759
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], eax
test eax, eax
je 0x4430c4
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 0x4430d7
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 0x40b133
lea eax, [ecx + 1]
mov dword [ebx], eax
jmp 0x40b11e
sub eax, 0x47
je 0x40bb4d
dec eax
jne 0x4430e4
test edi, edi
jne 0x443106
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 [0x4c82a0]
jg 0x40bb53
test eax, eax
jle 0x40bb53
shl eax, 4
add eax, dword [0x4c82dc]
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 0x40b195
cmp dword [eax], 0x2b
je 0x443111
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 0x40b7ad
mov ecx, dword [esp + 0x10]
mov bl, byte [ebp + 8]
test bl, bl
jne 0x4431f4
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x2c]
cmp eax, dword [edi + 0x18]
jl 0x443577
cmp eax, dword [edi + 0x14]
jg 0x443577
cmp edx, ecx
jne 0x443577
mov eax, dword [edi + 0x10]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], eax
test eax, eax
js 0x4432c9
lea eax, [esp + 0x68]
mov ecx, 0x4c8280
push eax
call fcn.00403af6
mov esi, dword [esp + 0x68]
test esi, esi
jne 0x4432d6
cmp dword [edi + 0x14], 1
jge 0x40b50d
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 0x4434ac
push 0x40
call fcn.00420fff
mov esi, eax
add esp, 4
test esi, esi
je 0x40bb9f
lea eax, [esp + 0x88]
mov dword [esi + 8], 0
push eax
mov ecx, esi
call fcn.00404e79
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.00404e79
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.0040bc89
cmp ebx, dword [esi]
jb 0x4434c5
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 0x40bba6
cmp byte [eax + 0x10], 0
mov eax, dword [ebp + 0x18]
je 0x40ba3c
cmp byte [ecx + 0xd], 0
mov byte [eax], 1
jne 0x4434d5
mov edi, dword [ecx + 8]
mov esi, dword [ebp + 0x14]
cmp esi, edi
je 0x40b38e
cmp dword [esi + 0xc], 4
je 0x4434e0
mov ecx, esi
call fcn.00404dd9
push edi
mov ecx, esi
call fcn.00404e79
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov eax, dword [esi + ebx + 8]
add esi, ebx
cmp byte [esi + 0xd], 0
jne 0x40bbae
cmp byte [eax + 0x18], 0
jne 0x4434fa
cmp byte [esi + 0xd], 0
mov eax, dword [esi + 8]
jne 0x40bbb6
cmp byte [eax + 0x30], 0
jne 0x443511
mov eax, dword [ebx]
mov esi, dword [eax + 4]
add esi, ebx
cmp byte [esi + 0xd], 0
jne 0x44352e
cmp byte [esi + 0xc], 0
jne 0x40bbbe
mov edi, dword [esi + 8]
mov ebx, dword [edi + 0x38]
test edi, edi
je 0x40b401
lea ecx, [edi + 0x20]
call fcn.00404dd9
mov ecx, edi
call fcn.00404dd9
push edi
call fcn.00421075
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 0x40bbc7
mov edx, dword [esp + 0x9c]
mov dword [eax + 0x14], edx
cmp byte [ecx + 0xd], 0
mov eax, dword [ecx + 8]
jne 0x40bbcf
mov byte [eax + 0x18], 0
mov eax, dword [ebx]
mov esi, dword [eax + 4]
add esi, ebx
cmp byte [esi + 0xd], 0
jne 0x44354a
mov edi, dword [esi + 8]
add edi, 0x20
lea eax, [esp + 0xa8]
cmp edi, eax
je 0x40b481
cmp dword [edi + 0xc], 4
je 0x443555
mov ecx, edi
call fcn.00404dd9
lea eax, [esp + 0xa8]
mov ecx, edi
push eax
call fcn.00404e79
cmp byte [esi + 0xd], 0
mov eax, dword [esi + 8]
jne 0x40bbd7
mov ecx, 0x4c8280
mov byte [eax + 0x30], 0
call fcn.00403a59
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0xa8]
mov dword [ebx + 0x148], eax
xor ebx, ebx
mov dword [esp + 0x20], ebx
call fcn.00404dd9
lea ecx, [esp + 0x88]
call fcn.00404dd9
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0x70]
call fcn.00404dd9
xor esi, esi
cmp dword [esp + 0x60], esi
ja 0x40b9b2
push dword [esp + 0x5c]
call fcn.00421075
add esp, 4
xor esi, esi
test edi, edi
jne 0x40b9de
push dword [esp + 0x38]
call fcn.00421075
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 0x443320
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 0x40bb6e
cmp ax, 0x48
je 0x40ba19
cmp ax, 0x40
jne 0x40ba20
test esi, esi
jne 0x40ba20
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x30]
cmp edi, dword [esp + 0x2c]
jg 0x443436
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x54]
mov eax, dword [eax + edx]
cmp byte [eax], 0
jne 0x44334f
mov eax, dword [esp + 0x1c]
or ebx, 0x200
cmp dword [0x4c8280], 0
mov edx, dword [edx]
mov dword [esp + 0x20], edx
mov eax, dword [ecx + eax*4]
mov edi, dword [eax]
je 0x443386
cmp byte [0x4c8289], 0
jne 0x44339c
mov esi, dword [0x4c8284]
push esi
push edi
mov dword [esp + 0x58], esi
call fcn.00403c49
test al, al
jne 0x4433a9
and ebx, 0xff00
push 0x20
mov dword [esp + 0x50], ebx
call fcn.00420fff
mov esi, eax
add esp, 4
test esi, esi
je 0x40bb7b
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.00420fff
add esp, 4
mov dword [esi], eax
xor ecx, ecx
mov word [eax], cx
push 4
call fcn.00420fff
add esp, 4
test eax, eax
je 0x40bb74
mov dword [eax], 1
mov dword [esi + 0xc], eax
cmp esi, edi
je 0x40b6af
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
cmp eax, 1
jg 0x4433c8
mov ebx, dword [edi + 4]
mov dword [esi + 4], ebx
lea eax, [ebx + 1]
cmp dword [esi + 8], eax
jb 0x4433e8
mov eax, dword [esi + 4]
lea eax, [eax*2 + 2]
push eax
push dword [edi]
push dword [esi]
call fcn.00421089
mov ebx, dword [esp + 0x58]
add esp, 0xc
push 0x10
mov dword [esi + 0x10], ebx
call fcn.00420fff
mov edi, eax
add esp, 4
test edi, edi
je 0x40bb82
push dword [esp + 0x20]
mov ecx, edi
mov dword [edi + 8], 0
call fcn.00404e79
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 0x40ba29
lea eax, [esp + 0x14]
push eax
push esi
call fcn.00403c49
mov edx, dword [esp + 0x14]
mov edi, dword [esi + 4]
mov ecx, dword [edx + 4]
test edi, edi
je 0x40bb89
test ecx, ecx
je 0x443429
cmp edi, ecx
jb 0x40ba5b
mov ecx, dword [edx]
mov edx, dword [esi]
test edi, edi
je 0x40ba7a
jmp 0x40b739
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x40b74f
add edx, 2
add ecx, 2
dec edi
jne 0x40b739
jmp 0x40ba7a
jb 0x40baca
mov eax, 1
test eax, eax
js 0x40bad2
jle 0x40bb96
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 0x40b529
jmp 0x40b226
cmp edx, dword [esp + 0x10]
jae 0x40b1b5
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 0x44311f
mov eax, dword [esi + edx*4]
cmp word [eax + 8], 0x33
je 0x40b7e3
xor bl, bl
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x60]
cmp edi, eax
je 0x40b922
mov esi, dword [esp + 0x5c]
push 1
call fcn.00420fff
add esp, 4
test eax, eax
je 0x40bb5a
mov byte [eax], bl
mov dword [esi + edi*4], eax
lea ecx, [esp + 0x70]
inc edi
mov dword [esp + 0x60], edi
call fcn.00404dd9
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x7c], 1
mov dword [esp + 0x70], 0
cmp edi, eax
je 0x40b96a
push 0x10
call fcn.00420fff
mov esi, eax
add esp, 4
test esi, esi
je 0x40bb61
lea eax, [esp + 0x70]
mov dword [esi + 8], 0
push eax
mov ecx, esi
call fcn.00404e79
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 0x44318c
push dword [eax + edi*4 - 4]
lea eax, [esp + 0x30]
push eax
push ebx
call fcn.004053c9
test eax, eax
js 0x443594
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 0x40ba92
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
cmp edx, ecx
je 0x40b1b9
mov esi, dword [ebx + 4]
mov eax, dword [esi + edx*4]
cmp word [eax + 8], 0x40
jne 0x4431dc
lea eax, [edx + 1]
cmp eax, ecx
je 0x4431dc
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 0x40b903
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 0x40b1b5
mov ebx, dword [esp + 0x2c]
jmp 0x40b7ad
add eax, eax
mov dword [esp + 0x4c], eax
cmp eax, 8
jae 0x40b936
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.00420fff
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x40baeb
mov dword [esp + 0x5c], esi
jmp 0x40b7f7
add eax, eax
mov dword [esp + 0x44], eax
cmp eax, 8
jae 0x40b97e
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.00420fff
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x40bb16
mov dword [esp + 0x38], esi
jmp 0x40b83c
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
push dword [ebx + esi*4]
call fcn.00421075
mov dword [ebx + esi*4], 0
add esp, 4
inc esi
cmp esi, edi
jb 0x40b9ba
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x3c]
jmp 0x40b4e0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
lea ecx, [ecx]
mov edi, dword [ecx + esi*4]
test edi, edi
je 0x40ba08
mov ecx, edi
call fcn.004051a9
push edi
call fcn.00421075
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 0x40b9e9
jmp 0x40b4f6
dec esi
js 0x40b596
inc edi
add edx, 4
jmp 0x40b569
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
jmp 0x40b77c
mov esi, dword [ebp + 0x14]
mov ecx, esi
mov byte [eax], 0
call fcn.00404dd9
mov dword [esi + 0xc], 1
mov dword [esi], 0
jmp 0x40b38e
mov edx, dword [edx]
mov edi, dword [esi]
test ecx, ecx
je 0x40ba7a
lea ebx, [ebx]
mov ax, word [edi]
cmp ax, word [edx]
jne 0x40ba81
add edi, 2
add edx, 2
dec ecx
jne 0x40ba69
xor eax, eax
jmp 0x40b75a
movzx eax, word [edi]
cmp ax, word [edx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x40b75a
inc edi
xor edx, edx
lea esp, [esp]
mov eax, dword [ecx + edi*4]
movzx eax, word [eax + 8]
cmp ax, 0x47
je 0x40bb68
cmp ax, 0x48
je 0x40bb41
cmp ax, 0x40
je 0x40babd
inc edi
jmp 0x40ba99
test edx, edx
jne 0x40baba
mov dword [esp + 0x14], edi
jmp 0x40b8b7
or eax, 0xffffffff
jmp 0x40b75a
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 0x40b77c
test edi, edi
je 0x40b961
lea ecx, [edi*4]
push ecx
push eax
push esi
call fcn.00421089
add esp, 0xc
push dword [esp + 0x5c]
call fcn.00421075
add esp, 4
jmp 0x40b961
test edi, edi
je 0x40b9a9
lea ecx, [edi*4]
push ecx
push eax
push esi
call fcn.00421089
add esp, 0xc
push dword [esp + 0x38]
call fcn.00421075
add esp, 4
jmp 0x40b9a9
dec edx
js 0x40bac1
jmp 0x40baba
inc edi
jmp 0x40b12c
xor eax, eax
jmp 0x40b178
xor eax, eax
jmp 0x40b80b
xor esi, esi
jmp 0x40b863
inc edx
jmp 0x40baba
inc esi
jmp 0x40ba20
xor eax, eax
jmp 0x40b66d
xor esi, esi
jmp 0x40b670
xor edi, edi
jmp 0x40b6d8
test ecx, ecx
je 0x443429
jmp 0x40bad6
mov esi, dword [esp + 0x14]
jmp 0x40b77c
xor esi, esi
jmp 0x40b2fe
mov eax, dword [eax + 0x38]
jmp 0x40b351
mov eax, dword [eax + 0x38]
jmp 0x40b3a3
mov eax, dword [eax + 0x38]
jmp 0x40b3ba
mov byte [esi + 0xd], 1
jmp 0x40b40c
mov eax, dword [eax + 0x38]
jmp 0x40b424
mov eax, dword [eax + 0x38]
jmp 0x40b43b
mov eax, dword [eax + 0x38]
jmp 0x40b48e
push edi
push 0x85
call fcn.0046a4a6
or eax, 0xffffffff
jmp 0x40b504
push edi
push 0x6f
call fcn.0046a4a6
jmp 0x443590
sub eax, 0x37
jne 0x40b12c
mov eax, dword [esi + ecx*4 - 4]
mov ecx, dword [esp + 0xc]
movsx eax, word [eax + 0xa]
push eax
push 0x6f
call fcn.0046a4a6
jmp 0x443590
lea eax, [ecx + 1]
dec edi
mov dword [ebx], eax
jmp 0x40b11e
mov edi, 4
mov dword [esp + 0x1c], edi
jmp 0x40b19a
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 0x44314a
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 0x4431b5
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x30]
mov eax, dword [edi + eax]
mov eax, dword [eax]
cmp eax, 0x24
jne 0x44315c
mov bl, 1
jmp 0x443169
cmp eax, 0x1e
jne 0x4431b5
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 0x44312a
jmp 0x40b7d7
push 0
push 1
push dword [esp + 0x60]
push dword [eax + edi*4 - 4]
lea eax, [esp + 0x3c]
push eax
push ebx
call fcn.0040a9f7
test eax, eax
js 0x443594
mov edi, dword [esp + 0x14]
inc edi
jmp 0x40bac1
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.0046a4a6
jmp 0x443590
mov eax, dword [esi + edx*4]
mov ecx, dword [esp + 0xc]
movsx eax, word [eax + 0xa]
push eax
push 0x6f
call fcn.0046a4a6
jmp 0x443590
mov esi, dword [esp + 0x2c]
test esi, esi
jne 0x443266
cmp edx, ecx
je 0x40b1c4
lea eax, [esp + 0x1b]
mov byte [esp + 0x1b], 0
push eax
lea ecx, [esp + 0x5c]
call fcn.00457323
lea ecx, [esp + 0x70]
call fcn.00404dd9
lea eax, [esp + 0x70]
mov dword [esp + 0x7c], 1
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x74], esi
call fcn.00456c7b
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.004053c9
test eax, eax
jns 0x443273
jmp 0x443594
cmp esi, 1
mov esi, dword [esp + 0xc]
jne 0x40b1c8
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0047a9dc
test eax, eax
jne 0x4432bc
lea ecx, [esp + 0x58]
call fcn.00420a91
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jle 0x4432bc
mov byte [esp + 0x1b], 0
mov esi, ecx
lea eax, [esp + 0x1b]
push eax
lea ecx, [esp + 0x5c]
call fcn.00457323
dec esi
jne 0x44329e
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
jmp 0x40b1c4
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
jmp 0x40b1c8
mov dword [esp + 0x6c], 0
jmp 0x40b201
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4432e7
push eax
lea ecx, [esp + 0x6c]
call fcn.00403b4a
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4432f8
push eax
lea ecx, [esp + 0x6c]
call fcn.00403b4a
cmp byte [esi + 0x10], 0
jne 0x44330b
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x44330b
push ecx
call fcn.00456c37
mov ecx, esi
call fcn.00411ccf
push esi
call fcn.00421075
add esp, 4
jmp 0x40b21c
mov eax, dword [edx + ecx]
mov eax, dword [eax]
cmp eax, 0x24
je 0x443334
cmp eax, 0x1e
jne 0x443335
mov ebx, 0x100
inc esi
mov eax, dword [ecx + esi*4]
lea edx, [esi*4]
cmp word [eax + 8], 0
je 0x443320
mov dword [esp + 0x1c], esi
jmp 0x40b54a
mov eax, dword [edx]
cmp dword [eax + 0xc], 6
jne 0x44335b
mov edx, dword [eax]
jmp 0x44335d
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.00465f0b
test al, al
je 0x44348d
mov esi, dword [esp + 0x10]
jmp 0x40b782
push ebx
push edx
push edi
mov ecx, 0x4c8270
call fcn.00403ebc
mov esi, dword [esp + 0x10]
jmp 0x40b782
mov eax, dword [0x4c8284]
mov esi, dword [eax + 8]
jmp 0x40b5f1
mov ecx, dword [esi]
test ecx, ecx
je 0x40b604
push dword [esp + 0x20]
mov ecx, dword [ecx + 0x14]
call fcn.00405255
mov esi, dword [esp + 0x10]
jmp 0x40b782
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 0x40b6af
push eax
call fcn.00411c7e
mov dword [esi + 8], eax
mov eax, dword [esi]
test eax, eax
je 0x443400
push eax
call fcn.00421075
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.00420fff
add esp, 4
mov dword [esi], eax
xor ecx, ecx
mov word [eax + ebx*2], cx
jmp 0x40b694
test edi, edi
jne 0x40b76c
jmp 0x40b720
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.004053c9
test eax, eax
js 0x443590
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.004039d7
jmp 0x40b782
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.0046a4a6
jmp 0x443590
mov ecx, dword [edi + 8]
lea eax, [esp + 0x88]
push eax
call fcn.0046a143
mov byte [edi + 0xd], 0
jmp 0x40b307
mov ecx, esi
call fcn.00403852
cmp ebx, dword [esi]
jb 0x4434c5
jmp 0x40b332
mov eax, dword [ecx + 8]
mov edi, dword [eax + 0x38]
jmp 0x40b36e
cmp dword [edi + 0xc], 4
jne 0x40b37f
push dword [edi + 8]
mov ecx, dword [esi + 8]
call fcn.00411cb5
jmp 0x40b38e
lea ecx, [esi + 4]
call fcn.0041fe00
mov eax, dword [eax + 0x14]
mov dword [esp + 0x9c], eax
jmp 0x40b3ad
lea ecx, [esi + 4]
call fcn.0041fe00
add eax, 0x20
lea ecx, [esp + 0xa8]
push eax
call fcn.00405255
jmp 0x40b3c4
mov ecx, dword [esi + 8]
mov edi, dword [ecx + 0x38]
test ecx, ecx
je 0x44353e
push ecx
call fcn.0041fe82
mov dword [esi + 8], edi
mov byte [esi + 0xd], 0
jmp 0x40b3d5
mov eax, dword [esi + 8]
mov edi, dword [eax + 0x38]
jmp 0x40b453
cmp dword [esp + 0xb4], 4
jne 0x40b46b
push dword [esp + 0xb0]
mov ecx, dword [edi + 8]
call fcn.00411cb5
jmp 0x40b481
test bl, bl
jne 0x44358a
push dword [esp + 0x68]
mov ecx, esi
push 0x70
call fcn.0046a4a6
jmp 0x443590
mov eax, dword [ebp + 0x10]
add dword [eax], 0xfffffffe
mov edi, dword [esp + 0x3c]
or ebx, 0xffffffff
mov dword [esp + 0x20], ebx
jmp 0x40b4cb