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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14c
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xec]
cmp eax, 0xf3c
jge 0x46a410
inc eax
mov dword [esp + 0x24], edi
mov dword [edi + 0xec], eax
cmp eax, 1
je 0x4461e3
cmp byte [edi + 0xfc], 0
mov byte [edi + 0x144], 0
jne 0x445fe9
lea ebx, [ebx]
cmp byte [edi + 0x144], 0
jne 0x445fe9
cmp byte [0x4974e3], 0
jne 0x445eed
cmp byte [0x4a8668], 0
jne 0x46a42e
mov esi, dword [0x482708]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x78]
push eax
call esi
test eax, eax
jne 0x446183
cmp byte [0x4974e6], 1
je 0x46a456
cmp dword [edi + 0xf8], 1
je 0x46ad9e
cmp dword [0x4a8624], 0
jne 0x46a473
cmp byte [0x4974ec], 1
je 0x46a523
cmp dword [edi + 0x460], 0
jne 0x46a53d
cmp byte [0x4a863c], 0
jne 0x46a68e
push edi
call fcn.00445e13
cmp al, 1
je case.default.0x46ab2f
cmp byte [0x4a87b0], 0
jne 0x46a8b7
mov eax, dword [edi + 0xf8]
cmp eax, 7
je 0x46a935
cmp eax, 8
je 0x46a9a0
cmp eax, 9
je 0x46a9a0
cmp eax, 2
je 0x446132
cmp eax, 3
je 0x446132
cmp eax, 4
je 0x446132
cmp eax, 5
je 0x446132
cmp eax, 6
je 0x446132
mov ecx, dword [ebp + 8]
mov dword [edi + 0xf4], ecx
mov eax, ecx
inc ecx
mov dword [ebp + 8], ecx
cmp eax, dword [0x4a90f8]
jg 0x46ac59
test eax, eax
jle 0x46ac59
shl eax, 4
add eax, dword [0x4a912c]
je 0x46ac59
mov esi, eax
mov ecx, dword [esi + 4]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov edx, dword [ecx]
movsx eax, word [edx + 8]
cmp eax, ebx
jne 0x446011
lea eax, [ebp + 8]
push eax
push esi
push edi
call fcn.00447c03
cmp byte [edi + 0xfc], 0
je 0x445e93
mov eax, dword [edi + 0xec]
mov byte [edi + 0x144], 0
cmp eax, 1
je 0x44620e
dec eax
mov dword [edi + 0xec], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x34
jne 0x4460b3
lea eax, [esp + 0x47]
push eax
lea ecx, [esp + 0x4c]
push ecx
push esi
push edi
lea eax, [esp + 0x24]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], ebx
call fcn.00446303
test eax, eax
jne 0x446058
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x14]
mov eax, dword [edx + eax*4]
cmp word [eax + 8], 0x7f
jne 0x46acec
mov esi, dword [esp + 0x54]
cmp esi, ebx
je 0x44607d
mov eax, dword [esi + 0xc]
dec dword [eax]
mov edx, dword [esi + 0xc]
cmp dword [edx], ebx
je 0x46ad07
push esi
call fcn.0044de3f
add esp, 4
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x50]
cmp eax, 8
je 0x46ad23
cmp eax, 0xa
je 0x46ad44
cmp eax, 5
je 0x46ad5b
cmp eax, 0xb
je 0x46ad69
cmp eax, 0xc
jne case.default.0x46ab2f
jmp 0x46ad87
dec eax
cmp eax, 0x7e
ja case.default.0x4460c4
movzx eax, byte [eax + 0x409614]
jmp dword [eax*4 + 0x409600]
push 0xa
call dword [0x48215c]
cmp dword [edi + 0x2f0], 0
je 0x446168
mov esi, dword [edi + 0x2f8]
call fcn.00449283
xor ecx, ecx
cmp edx, ecx
jl 0x446168
mov ebx, ecx
jg 0x4461ef
cmp eax, dword [edi + 0x2f0]
jae 0x4461ef
mov eax, dword [edi + 0xf8]
cmp eax, 3
jl case.default.0x46ab2f
jmp 0x46ab23
cmp dword [esp + 0x6c], 0x12
je 0x46a440
lea ecx, [esp + 0x68]
push ecx
mov ecx, 0x4a8630
call fcn.00449db3
test eax, eax
jne 0x4461ca
lea edx, [esp + 0x68]
push edx
mov ebx, 0x4a8630
call fcn.00449dd3
test eax, eax
jne 0x4461ca
lea eax, [esp + 0x68]
push eax
call dword [0x4825b4]
lea ecx, [esp + 0x68]
push ecx
call dword [0x4826c4]
push 1
push 0
push 0
push 0
lea edx, [esp + 0x78]
push edx
call esi
test eax, eax
je 0x445ed3
jmp 0x446183
mov esi, edi
call fcn.0044d5a3
jmp 0x445e79
cmp dword [edi + 0xf8], 2
jne 0x46ab0a
mov byte [edi + 0x144], 1
mov dword [edi + 0xf8], ebx
jmp case.default.0x46ab2f
mov esi, edi
call fcn.0044bdf3
cmp byte [edi + 0xfc], 1
je 0x446006
mov ebx, edi
call fcn.0043e6b3
push 0
call dword [0x4826bc]
mov edx, dword [0x497518]
push edx
call dword [0x482608]
mov esi, dword [0x4826b8]
push 0
push 0
push 0
lea eax, [esp + 0x148]
push eax
call esi
test eax, eax
jle 0x446006
jmp 0x46adbb
push 0xffffffffffffffff
push 0x9a
push edi
mov byte [0x4974e2], 0
call 0x49b39a
mov eax, 1
jmp 0x446008
cmp dword [edi + 0xf8], 0
je 0x445eed
jmp 0x445eb6
mov byte [edi + 0xfc], 1
mov dword [edi + 0xf8], 1
jmp 0x445ed3
mov byte [0x4974ec], 0
mov byte [0x4974e6], 0
mov dword [edi + 0xf8], 1
jmp 0x445ee0
mov eax, dword [0x4a8628]
mov ebx, dword [eax]
call fcn.0046e9e2
mov eax, dword [edi + 0x1b0]
xor esi, esi
test eax, eax
je 0x46a4b6
mov ecx, dword [edi + 0x1ac]
mov edx, dword [ecx]
cmp dword [edx], 0
je 0x46a4aa
mov edx, dword [edx]
cmp dword [edx], ebx
je 0x46a4b6
inc esi
add ecx, 4
cmp esi, dword [edi + 0x1b0]
jb 0x46a495
cmp esi, eax
je 0x445efa
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0xfc]
push ecx
mov ecx, dword [edi + 0x1ac]
lea edx, [esp + 0xf4]
push edx
mov edx, dword [ecx + esi*4]
lea eax, [esp + 0x6c]
push eax
mov eax, dword [edx]
mov ecx, dword [eax + 8]
push ecx
push edi
call 0x4a1d87
mov edx, dword [edi + 0x1ac]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax]
mov ebx, dword [esp + 0x60]
add ecx, 0x18
inc ebx
push ecx
lea esi, [edi + 0x14c]
mov dword [esp + 0x64], ebx
call fcn.0044ad03
push 0
push 1
push ebx
push edi
call 0x4b9fa1
jmp case.default.0x46ab2f
cmp byte [0x4974e3], 0
jne 0x445f07
push 0xa
call dword [0x48215c]
jmp case.default.0x46ab2f
cmp byte [0x4a954c], 0
jne 0x445f14
mov ebx, dword [edi + 0x458]
mov byte [0x4a954c], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], ebx
push ecx
lea edx, [esp + 0x18]
mov dword [esp], 0
push edx
call fcn.0047f6b8
test al, al
je 0x46a61f
mov eax, dword [ebx]
cmp byte [eax + 0x11], 0
jne 0x46a607
mov esi, dword [eax + 0x14]
mov dword [esp + 0x18], eax
call fcn.00449283
test edx, edx
jl 0x46a607
jg 0x46a5b0
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x46a607
inc dword [esp + 0x28]
mov esi, dword [ebx]
call dword [0x482784]
mov dword [esi + 0x14], eax
lea edx, [esp + 0xd0]
push edx
lea eax, [esp + 0xd0]
push eax
mov eax, dword [ebx]
lea ecx, [esp + 0xe4]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x70]
push edx
push ecx
push edi
call 0x4a1d87
mov eax, dword [esp + 0x64]
mov edx, dword [ebx]
push 0
inc eax
push 1
push eax
push edi
mov dword [esp + 0x74], eax
mov byte [edx + 0x10], 1
call 0x4b9fa1
mov eax, dword [ebx]
mov byte [eax + 0x10], 0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.0047d4aa
mov ebx, dword [esp + 0x14]
jmp 0x46a563
mov eax, dword [edi + 0x458]
mov dword [esp + 0x14], eax
push ecx
lea ecx, [esp + 0x18]
mov dword [esp], 0
push ecx
call fcn.0047f6b8
test al, al
je 0x46a677
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
cmp byte [eax + 0x11], 0
jne 0x46a664
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.0047d4aa
jmp 0x46a629
lea eax, [esp + 0x14]
push eax
lea eax, [edi + 0x458]
push eax
call 0x48ee16
jmp 0x46a61f
cmp dword [esp + 0x28], 0
mov byte [0x4a954c], 0
jg case.default.0x46ab2f
jmp 0x445f14
cmp byte [edi + 0x464], 1
je 0x445f21
cmp byte [0x4a8668], 1
je 0x445f21
lea ecx, [esp + 0x68]
push ecx
call 0x488f00
lea edx, [esp + 0x68]
push edx
push 0x4a8630
call 0x48e3ed
test al, al
je 0x46a8a9
lea eax, [esp + 0x6c]
push eax
call fcn.004731c8
test al, al
jne 0x46a6b2
lea ecx, [esp + 0xf4]
push ecx
lea edx, [esp + 0xe8]
push edx
mov edx, dword [esp + 0x74]
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x98]
push ecx
push edx
push edi
call 0x4a1d87
test al, al
je 0x46a6b2
xor ebx, ebx
mov edi, 1
lea esi, [esp + 0x30]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
call fcn.00445ba3
mov eax, dword [esp + 0x68]
mov dword [esp + 0x38], edi
mov edi, 0x48821c
lea esi, [esp + 0xfc]
mov dword [esp + 0x30], eax
call fcn.0043e773
lea eax, [ebx + 2]
lea ecx, [ebx + 1]
lea edx, [esp + 0x30]
call fcn.0043e5e3
mov ecx, esi
call fcn.0043eeb3
lea esi, [esp + 0x30]
call fcn.00445ba3
mov ecx, dword [esp + 0x7c]
mov edi, 0x488234
lea esi, [esp + 0x11c]
mov dword [esp + 0x38], 7
mov dword [esp + 0x30], ecx
call fcn.0043e773
lea eax, [ebx + 2]
lea ecx, [ebx + 1]
lea edx, [esp + 0x30]
call fcn.0043e5e3
mov ecx, esi
call fcn.0043eeb3
lea esi, [esp + 0x30]
call fcn.00445ba3
mov edx, dword [esp + 0x80]
mov edi, 0x488254
lea esi, [esp + 0x12c]
mov dword [esp + 0x38], 7
mov dword [esp + 0x30], edx
call fcn.0043e773
lea eax, [ebx + 2]
lea ecx, [ebx + 1]
lea edx, [esp + 0x30]
call fcn.0043e5e3
mov ecx, esi
call fcn.0043eeb3
mov eax, dword [esp + 0x8c]
mov esi, dword [esp + 0x24]
push ebx
push 1
inc eax
push eax
push esi
mov byte [esi + 0x464], 1
call 0x4b9fa1
mov byte [esi + 0x464], bl
lea esi, [esp + 0x30]
jmp 0x46a892
xor ebx, ebx
mov edi, 1
lea esi, [esp + 0x90]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], ebx
call fcn.00445ba3
mov eax, dword [esp + 0x68]
mov dword [esp + 0x98], edi
mov edi, 0x488274
lea esi, [esp + 0x10c]
mov dword [esp + 0x90], eax
call fcn.0043e773
lea eax, [ebx + 2]
lea ecx, [ebx + 1]
lea edx, [esp + 0x90]
call fcn.0043e5e3
mov ecx, esi
call fcn.0043eeb3
mov ecx, dword [esp + 0xb4]
mov esi, dword [esp + 0x24]
push ebx
push 1
inc ecx
push ecx
push esi
mov byte [esi + 0x465], 1
call 0x4b9fa1
mov byte [esi + 0x465], bl
lea esi, [esp + 0x90]
call fcn.00445ba3
lea ecx, [esp + 0x6c]
call fcn.0043eeb3
mov edi, dword [esp + 0x24]
jmp case.default.0x46ab2f
lea ecx, [esp + 0x6c]
call fcn.0043eeb3
jmp 0x445f21
cmp byte [edi + 0x465], 1
je 0x445f3c
lea ecx, [esp + 0x68]
push ecx
call 0x488f00
lea edx, [esp + 0x68]
push edx
push 0x4a8710
call 0x490829
test al, al
je 0x46a927
lea eax, [esp + 0x6c]
push eax
call fcn.004731c8
test al, al
jne 0x46a8ce
lea ecx, [esp + 0xe8]
push ecx
lea edx, [esp + 0xe4]
push edx
mov edx, dword [esp + 0x74]
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0xc0]
push ecx
push edx
push edi
call 0x4a1d87
test al, al
je 0x46a8ce
jmp 0x46a804
lea ecx, [esp + 0x6c]
call fcn.0043eeb3
jmp 0x445f3c
mov edx, dword [edi + 0x450]
push 0xa
push edx
call dword [0x4822fc]
mov dword [esp + 0x5c], eax
cmp eax, 0x102
je case.default.0x46ab2f
mov ecx, dword [edi + 0x450]
lea eax, [esp + 0x5c]
push eax
push ecx
call dword [0x482250]
mov edx, dword [edi + 0x450]
push edx
call dword [0x48230c]
mov eax, dword [esp + 0x5c]
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x18], eax
add ecx, edi
lea eax, [esp + 0x18]
call fcn.0044a073
mov byte [edi + 0x144], 1
mov dword [edi + 0xf8], 0
jmp case.default.0x46ab2f
push 0xa
call dword [0x48215c]
cmp dword [edi + 0x448], 0
je 0x46aa12
mov esi, dword [edi + 0x44c]
call fcn.00449283
xor ecx, ecx
xor ebx, ebx
cmp edx, ecx
jl 0x46aa14
jg 0x46a9de
cmp eax, dword [edi + 0x448]
jb 0x46aa14
mov eax, dword [edi + 0x454]
cmp eax, ebx
je 0x46a9f9
push eax
call dword [0x48230c]
mov dword [edi + 0x454], ebx
mov edx, dword [edi]
mov ecx, dword [edx + 4]
add ecx, edi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebx
call fcn.0044a073
jmp 0x4461fc
xor ebx, ebx
mov edx, dword [edi + 0x438]
lea eax, [esp + 0x13]
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
call fcn.0048097c
add esp, 0xc
cmp dword [edi + 0xf8], 9
jne 0x46aa59
cmp byte [esp + 0x13], 0
jne 0x46aa4f
mov byte [esp + 0x13], 1
jmp 0x46aa66
mov byte [esp + 0x13], 0
jmp case.default.0x46ab2f
cmp byte [esp + 0x13], 1
jne case.default.0x46ab2f
xor ebx, ebx
mov eax, dword [edi + 0x454]
mov dword [esp + 0x58], 0xcccccccc
cmp eax, ebx
je 0x46aa9b
lea ecx, [esp + 0x58]
push ecx
push eax
call dword [0x482250]
mov edx, dword [edi + 0x454]
push edx
call dword [0x48230c]
mov dword [edi + 0x454], ebx
cmp dword [edi + 0xf8], 8
jne 0x46aad9
mov eax, dword [esp + 0x2c]
fild dword [esp + 0x2c]
test eax, eax
jns 0x46aabe
fadd qword [0x48cd18]
mov edx, dword [edi]
fstp qword [esp + 0x18]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x18]
push ecx
add eax, edi
push eax
call 0x494117
jmp 0x46aaeb
mov edx, dword [edi]
mov ecx, dword [esp + 0x58]
mov eax, dword [edx + 4]
push ebx
push ecx
add eax, edi
call fcn.00440933
mov eax, dword [edi + 0x2f4]
push eax
mov byte [edi + 0x144], 1
mov dword [edi + 0xf8], ebx
call dword [0x48215c]
jmp case.default.0x46ab2f
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
add ecx, edi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebx
call fcn.0044a073
jmp 0x4461fc
sub eax, 3
cmp eax, 3
ja case.default.0x46ab2f
jmp dword [eax*4 + 0x42e18d]
mov dword [edi + 0xf8], 1
jmp case.default.0x46ab2f
movsx edx, word [edx + 0xa]
push edx
push 0x1388
push edi
call 0x49b39a
jmp case.default.0x46ab2f
movsx ecx, word [eax + 0xa]
push ecx
push 0x72
push edi
call 0x49b39a
lea esi, [esp + 0x48]
call fcn.00445ba3
jmp case.default.0x46ab2f
mov eax, dword [esi]
push eax
call fcn.0044de3f
mov ecx, dword [esi + 0xc]
add esp, 4
push ecx
call fcn.0044de3f
add esp, 4
jmp 0x446070
mov esi, dword [esp + 0x48]
cmp esi, ebx
je case.default.0x46ab2f
push esi
call dword [0x482430]
push esi
call fcn.0044de3f
add esp, 4
jmp case.default.0x46ab2f
mov eax, dword [esp + 0x48]
cmp eax, ebx
je case.default.0x46ab2f
push eax
call fcn.0047fdf1
jmp case.default.0x46ab2f
lea eax, [esp + 0x48]
call fcn.0044aed3
jmp case.default.0x46ab2f
mov esi, dword [esp + 0x48]
mov edx, dword [esi + 4]
push edx
call fcn.0044de3f
add esp, 4
push esi
call fcn.0044de3f
add esp, 4
jmp case.default.0x46ab2f
mov eax, dword [esp + 0x48]
cmp eax, ebx
je case.default.0x46ab2f
push eax
call 0x48803c
jmp case.default.0x46ab2f
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
add ecx, edi
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
call fcn.0044a073
jmp 0x445fe9
lea ecx, [esp + 0x13c]
push ecx
call dword [0x4825b4]
lea edx, [esp + 0x13c]
push edx
call dword [0x4826c4]
push 0
push 0
push 0
lea eax, [esp + 0x148]
push eax
call esi
test eax, eax
jg 0x46adbb
jmp 0x446006