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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1cc]
cmp eax, dword [ecx + 8]
jbe 0x5bb215
sub esp, 0x24c
lea edi, [esp + 0x64]
xor eax, eax
call fcn.0045af8b
mov ecx, dword [esp + 0x254]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x258]
mov dword [esp + 0x68], edx
lea edi, [esp + 0x3c]
lea esi, [esp + 0x64]
call fcn.0045b46e
mov ecx, dword [0x816364]
mov ebx, dword [0x816360]
mov ebp, dword [esp + 0x250]
cmp ebp, ecx
jae 0x5bb20d
mov eax, dword [ebx + ebp*4]
mov dword [esp + 0x30], eax
lea ecx, [0x633240]
mov dword [esp], ecx
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
lea edi, [esp + 4]
mov dword [esp + 0x34], edi
lea esi, [esp + 0x3c]
call fcn.0045b46e
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x258]
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x20], 1
call fcn.005bb3c0
movzx eax, byte [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov dword [edx], ecx
test al, al
jne 0x5bb1fe
lea eax, [0x65f6c0]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
lea edi, [esp + 0x78]
xor eax, eax
call fcn.0045af1b
lea edi, [esp + 0x200]
mov esi, dword [esp + 0x30]
call fcn.0045b478
lea edi, [esp + 0x210]
lea esi, [esp + 0x3c]
call fcn.0045b46e
mov eax, dword [esp + 0x258]
mov dword [esp + 0x224], eax
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x5bb1db
mov edi, dword [esp + 0x2c]
lea esi, [esp + 0x78]
call fcn.0045b00e
lea eax, [0x643d80]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
lea ecx, [0x5bc910]
mov dword [eax], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x5bb1c2
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x258]
mov dword [eax + 0xc], edx
mov ebx, dword [0x8326a0]
test ebx, ebx
jne 0x5bb1aa
mov ebx, dword [esp + 0x254]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x2c]
mov dword [ebx + 0x1c8], 0
mov dword [ebx + 0x1cc], 0
mov ebp, dword [0x8326a0]
test ebp, ebp
jne 0x5bb18c
mov dword [ebx + 0x1c4], 0
mov dword [ebx + 0x1d0], eax
jmp 0x5bb145
mov eax, dword [esp + 0x2c]
lea esi, [eax + 0x198]
lea edi, [esp + 0x50]
call fcn.0045b46e
lea ecx, [eax + 0x188]
mov edx, dword [esp + 0x38]
mov ebx, dword [edx]
mov dword [esp], ecx
mov edi, dword [esp + 0x34]
lea esi, [esp + 0x50]
call fcn.0045b46e
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x258]
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x20], 1
call fcn.005bb3c0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
mov edx, dword [esp + 0x258]
mov ebx, dword [esp + 0x2c]
mov eax, dword [ecx]
cmp eax, edx
jge 0x5bb17d
mov dword [esp], ebx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.005bb660
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
test eax, eax
jge 0x5bb0e8
mov byte [esp + 0x25c], 0
add esp, 0x24c
ret
mov byte [esp + 0x25c], 1
add esp, 0x24c
ret
lea edi, [ebx + 0x1c4]
mov ebp, eax
xor eax, eax
call fcn.0045ace0
lea edi, [ebx + 0x1d0]
mov eax, ebp
call fcn.0045ace0
jmp 0x5bb145
lea edi, [eax + 8]
mov ebx, eax
mov eax, dword [esp + 0x254]
call fcn.0045ace0
mov eax, ebx
jmp 0x5bb0b0
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x38]
call fcn.0045ace0
mov eax, ecx
mov ecx, dword [esp + 0x38]
jmp 0x5bb08e
lea eax, [0x65f6c0]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
lea ecx, [esp + 0x78]
mov dword [esp + 8], ecx
call fcn.00410a20
jmp 0x5bb05f
mov byte [esp + 0x25c], 1
add esp, 0x24c
ret
mov eax, ebp
call fcn.0045ad60
nop
call fcn.00459790
jmp fcn.005baf20