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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5b049e
sub esp, 0x70
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x5b01f1
cmp ecx, 1
je 0x5b0189
cmp ecx, 0x10
jne 0x5b0121
mov eax, dword [esp + 0x74]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 4
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea ecx, [0x6acd80]
mov dword [esp], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.004093f0
mov eax, dword [esp + 8]
lea ecx, [0x730d8c]
mov edx, eax
mov eax, dword [esp + 0x78]
jmp 0x5b01f5
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea ecx, [0x6ace00]
mov dword [esp], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.004093f0
mov eax, dword [esp + 8]
lea ecx, [0x730e04]
mov edx, eax
mov eax, dword [esp + 0x78]
jmp 0x5b01f5
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 1
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea ecx, [0x6acd80]
mov dword [esp], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.004093f0
mov eax, dword [esp + 8]
lea ecx, [0x730d8c]
mov edx, eax
mov eax, dword [esp + 0x78]
jmp 0x5b01f5
xor ecx, ecx
xor edx, edx
test ecx, ecx
jne 0x5b0357
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x5b0269
mov edx, dword [ecx + 4]
test edx, edx
je 0x5b0269
mov edx, dword [esp + 0x74]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.005afc30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x5b0236
mov eax, dword [esp + 0x78]
jmp 0x5b0269
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x70
ret
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005af910
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 8]
test eax, eax
jne 0x5b0324
test ebx, ebx
je 0x5b02ca
mov dword [esp + 0x4c], esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
lea edx, [ebp - 1]
neg edx
sar edx, 0x1f
and edx, 4
add edx, esi
mov dword [esp + 0x48], edx
lea edi, [ebx - 1]
mov dword [esp + 0x38], edi
xor eax, eax
jmp 0x5b038d
lea eax, [0x698140]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x3d
lea ecx, [0x6dc046]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [0x730940]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x70
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x70
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x70
ret
inc eax
mov ebp, ecx
cmp eax, edi
jge 0x5b0467
mov ecx, ebp
mov ebp, dword [edx + eax*4]
cmp dword [ebp + 0x4c], 3
jne 0x5b038a
cmp eax, ebx
jae 0x5b0496
mov dword [esp + 0x34], eax
mov ecx, dword [esi + eax*4]
mov edx, dword [ecx + 0x48]
mov ebx, dword [ecx + 0x10]
mov edi, dword [ecx + 0x14]
mov esi, dword [ecx + 0xc]
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0x40]
mov ecx, dword [ecx + 0x44]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0x50]
mov ebp, dword [ebp + 0x54]
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebp
mov byte [esp + 0x24], 1
call fcn.005b70e0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
test eax, eax
jne 0x5b0434
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x38]
jmp 0x5b038a
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x70
ret
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x70
ret
mov ecx, ebx
call fcn.00464210
nop
call fcn.00462d80
jmp fcn.005b00a0