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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45bd1d
sub esp, 0x70
xor eax, eax
xor ecx, ecx
mov edx, ecx
jmp 0x45ba23
mov eax, ebx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
movzx ebp, byte [esp + 0x78]
xchg ebp, eax
mov byte [esp + 4], al
xchg ebp, eax
call fcn.0045b820
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x30], ebx
test edx, edx
je 0x45bcf8
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], edx
mov ebp, dword [0x5cd8b8]
cmp edx, ebp
jne 0x45bb9e
mov dword [esp], edx
mov dword [esp + 4], ecx
mov eax, dword [0x5cd8bc]
mov dword [esp + 8], eax
call fcn.004021c0
movzx eax, byte [esp + 0xc]
test al, al
je 0x45bb9e
lea eax, [0x5035e0]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00437f30
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x30]
cmp eax, ebx
jle 0x45bb97
mov dword [esp + 0x68], ecx
mov dword [esp], ecx
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.0044c240
mov eax, dword [esp + 0x28]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x2c]
cmp ecx, edx
jg 0x45bb5d
mov ebx, dword [esp + 0x6c]
lea eax, [eax + eax*2]
mov ebp, dword [esp + 0x34]
mov dword [ebx + eax*4 + 4], ebp
mov ebp, dword [esp + 0x3c]
mov dword [ebx + eax*4 + 8], ebp
lea ebp, [ebx + eax*4]
mov esi, dword [0x5e0f70]
test esi, esi
jne 0x45bb30
mov ebp, dword [esp + 0x68]
mov dword [ebx + eax*4], ebp
jmp 0x45ba21
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], edx
mov dword [esp], ebp
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
call fcn.0040df80
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x4c]
jmp 0x45ba21
lea ebx, [0x4fb760]
mov dword [esp], ebx
mov ebp, dword [esp + 0x6c]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00438000
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x28]
jmp 0x45bb04
mov ebx, eax
jmp 0x45bad9
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x28]
xor ebp, ebp
xor esi, esi
jmp 0x45bbcb
lea edi, [ebp + 1]
mov dword [esp + 0x48], edi
lea edi, [ebp + ebp*2]
mov edi, dword [edx + edi*4 + 4]
add esi, edi
mov edi, dword [esp + 0x48]
mov ebp, edi
cmp ebp, ebx
jge 0x45bbd6
jb 0x45bbb4
jmp 0x45bd16
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
lea eax, [0x5035e0]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
lea ecx, [eax + esi]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00437f30
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x64], edx
xor ebx, ebx
xor ebp, ebp
jmp 0x45bc4b
mov dword [esp + 0x48], esi
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], esi
call fcn.0044c240
mov eax, dword [esp + 0x24]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
lea ebp, [ecx + eax]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x28]
cmp ebx, esi
jge 0x45bc8e
cmp ebp, ecx
ja 0x45bd0f
sub ecx, ebp
sub eax, ebp
neg eax
sar eax, 0x1f
and eax, ebp
add eax, edx
cmp ebx, esi
jae 0x45bd08
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebp
lea edx, [ebx + ebx*2]
mov edi, dword [esp + 0x6c]
mov esi, dword [edi + edx*4 + 4]
mov edx, dword [edi + edx*4]
cmp ecx, esi
jg 0x45bc19
mov esi, ecx
jmp 0x45bc19
cmp ebp, ecx
ja 0x45bd01
sub ecx, ebp
sub eax, ebp
neg eax
sar eax, 0x1f
and ebp, eax
lea eax, [edx + ebp]
mov ebp, dword [esp + 0x30]
cmp ecx, ebp
jle 0x45bcf4
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.0044c240
mov eax, dword [esp + 0x64]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x8c], eax
add esp, 0x70
ret
mov ebp, ecx
jmp 0x45bca8
xor eax, eax
mov ecx, eax
jmp 0x45bba6
call fcn.004252e0
ud2
call fcn.00425280
ud2
call fcn.004252e0
ud2
call fcn.00425280
ud2
call fcn.00449fd0
jmp fcn.0045ba00