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

Disassembly:
mov ecx, dword [0x90eeac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5bf28e
sub esp, 0x7c
mov eax, dword [esp + 0x80]
test eax, eax
je 0x5becf3
mov ecx, dword [eax]
mov edx, dword [esp + 0x84]
mov ebx, dword [edx + 0x30]
mov ebp, dword [edx + 0x34]
lea esi, [0x67a080]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.0040e0d0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [esp + 0x78], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x5c], eax
mov edx, dword [esp + 0x80]
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x20], ebx
xor ebx, ebx
mov dword [esp + 0x24], ebx
xor ebx, ebx
mov dword [esp + 0x60], ebx
xor ebx, ebx
mov dword [esp + 0x28], ebx
xor ebx, ebx
mov dword [esp + 0x2c], ebx
xor ebx, ebx
mov dword [esp + 0x64], ebx
xor ebx, ebx
jmp 0x5bed4a
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x7c
ret
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x58]
inc eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x2c], ebp
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
mov ebx, eax
mov ebp, esi
mov esi, edi
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x68], edi
cmp ebx, eax
jge 0x5bf06b
mov ecx, dword [ecx + ebx*4]
mov eax, dword [edx + 8]
nop
cmp eax, ecx
jbe 0x5bf282
mov dword [esp + 0x58], ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], esi
mov eax, dword [edx + 4]
lea ebx, [ecx + ecx*4]
mov dword [esp + 0x54], ebx
mov eax, dword [eax + ebx*4 + 0x10]
mov ebp, dword [eax]
mov edx, eax
call ebp
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 8]
mov ebx, dword [esp + 0x44]
cmp ecx, ebx
jbe 0x5bf27b
mov ebx, dword [esp + 4]
mov ebp, dword [eax + 4]
mov esi, dword [esp + 0x54]
mov ebp, dword [ebp + esi*4 + 0xc]
test ebx, ebx
je 0x5bedd3
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x2c]
jmp 0x5bed18
mov dword [esp + 0x6c], ebp
mov ebx, dword [esp]
mov dword [esp + 0x74], ebx
mov esi, dword [ebx + 0x1d0]
mov edi, dword [esp + 0x84]
cmp dword [edi + 0x1dc], esi
je 0x5bedf7
xor ecx, ecx
jmp 0x5bee30
mov eax, dword [ebx + 0x1cc]
mov ecx, dword [edi + 0x1d8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.00402430
movzx eax, byte [esp + 0xc]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x6c]
mov edi, dword [esp + 0x84]
mov ecx, eax
mov eax, dword [esp + 0x80]
test cl, cl
je 0x5beee1
mov esi, dword [esp + 0x30]
inc esi
mov ecx, edi
mov edi, dword [esp + 0x34]
cmp edi, esi
jb 0x5bee4d
mov edx, dword [esp + 0x68]
jmp 0x5bee92
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x68a940]
mov dword [esp + 0x10], eax
call fcn.0046c350
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x84]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x6c]
mov edx, edi
mov edi, eax
mov dword [esp + 0x68], edx
mov ecx, dword [0x90f128]
lea eax, [edx + esi*8 - 8]
lea edx, [edx + esi*8 - 4]
test ecx, ecx
je 0x5beec4
mov dword [esp + 0x50], edi
call fcn.00471490
mov dword [edi], ebx
mov ecx, dword [eax]
mov dword [edi + 4], ecx
mov dword [edi + 8], ebp
mov ecx, dword [edx]
mov dword [edi + 0xc], ecx
mov edi, dword [esp + 0x50]
mov dword [eax], ebx
mov dword [edx], ebp
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x2c]
jmp 0x5bed18
mov esi, dword [ebx + 0x1d0]
test esi, esi
jne 0x5beefd
mov ecx, dword [edi + 0x1dc]
test ecx, ecx
jne 0x5bef0b
test esi, esi
je 0x5befb8
mov esi, dword [edi + 0x1dc]
test esi, esi
jne 0x5befb8
mov esi, dword [esp + 0x20]
inc esi
mov ecx, edi
mov edi, dword [esp + 0x24]
cmp edi, esi
jb 0x5bef20
mov edx, dword [esp + 0x60]
jmp 0x5bef65
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x68a940]
mov dword [esp + 0x10], eax
call fcn.0046c350
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x6c]
mov edx, eax
mov edi, ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x60], edx
mov ecx, dword [0x90f128]
lea eax, [edx + esi*8 - 8]
lea edx, [edx + esi*8 - 4]
test ecx, ecx
je 0x5bef97
mov dword [esp + 0x4c], edi
call fcn.00471490
mov dword [edi], ebx
mov ecx, dword [eax]
mov dword [edi + 4], ecx
mov dword [edi + 8], ebp
mov ecx, dword [edx]
mov dword [edi + 0xc], ecx
mov edi, dword [esp + 0x4c]
mov dword [eax], ebx
mov dword [edx], ebp
mov eax, dword [esp + 0x68]
mov ecx, edi
mov edx, esi
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
jmp 0x5bed18
mov esi, dword [esp + 0x28]
inc esi
mov ecx, edi
mov edi, dword [esp + 0x2c]
cmp edi, esi
jb 0x5befcd
mov edx, dword [esp + 0x64]
jmp 0x5bf012
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x68a940]
mov dword [esp + 0x10], eax
call fcn.0046c350
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x6c]
mov edx, eax
mov edi, ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x64], edx
mov ecx, dword [0x90f128]
lea eax, [edx + esi*8 - 8]
lea edx, [edx + esi*8 - 4]
test ecx, ecx
je 0x5bf044
mov dword [esp + 0x48], edi
call fcn.00471490
mov dword [edi], ebx
mov ecx, dword [eax]
mov dword [edi + 4], ecx
mov dword [edi + 8], ebp
mov ecx, dword [edx]
mov dword [edi + 0xc], ecx
mov edi, dword [esp + 0x48]
mov dword [eax], ebx
mov dword [edx], ebp
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x60]
mov ebp, edi
mov dword [esp + 0x28], esi
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
jmp 0x5bed18
mov eax, dword [esp + 0x20]
lea ecx, [ebp + eax]
mov edx, dword [esp + 0x28]
add ecx, edx
test ecx, ecx
je 0x5bf256
mov dword [esp + 0x38], ecx
lea eax, [0x68a940]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call fcn.0046c2a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
cmp ecx, edx
ja 0x5bf0b3
mov ebx, ecx
jmp 0x5bf0e5
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
lea eax, [0x68a940]
mov dword [esp + 0x10], eax
call fcn.0046c350
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
mov edx, ecx
mov ecx, ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x70], eax
lea ebp, [0x68a940]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov esi, dword [esp + 0x68]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00469640
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x40]
cmp ebx, edx
jb 0x5bf12c
mov ebp, dword [esp + 0x70]
jmp 0x5bf166
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea eax, [0x68a940]
mov dword [esp + 0x10], eax
call fcn.0046c350
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, ecx
mov ebp, eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x70], ebp
lea esi, [0x68a940]
mov dword [esp], esi
sub edx, eax
sub ebx, eax
neg ebx
shl eax, 3
sar ebx, 0x1f
and eax, ebx
add eax, ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00469640
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x40]
cmp ebx, edx
jb 0x5bf1bd
mov ebp, dword [esp + 0x70]
jmp 0x5bf1f3
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea eax, [0x68a940]
mov dword [esp + 0x10], eax
call fcn.0046c350
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x70], ebp
lea esi, [0x68a940]
mov dword [esp], esi
sub edx, eax
sub ebx, eax
neg ebx
shl eax, 3
sar ebx, 0x1f
and eax, ebx
add eax, ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00469640
mov eax, dword [esp + 0x70]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x90], eax
add esp, 0x7c
ret
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x7c
ret
mov eax, ebx
call fcn.004714e0
mov edx, eax
mov eax, ecx
mov ecx, edx
call fcn.004714e0
nop
call fcn.00470060
jmp fcn.005bec60