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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5be838
sub esp, 0x5c
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
call fcn.004ea640
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.004f2d80
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x5be3cd
xor ecx, ecx
jmp 0x5be3e0
movzx ecx, byte [ecx]
test cl, cl
je 0x5be3db
mov ecx, 0xffffffff
jmp 0x5be3e0
mov ecx, 1
test ecx, ecx
jle 0x5be45e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x5be3f1
xor ecx, ecx
jmp 0x5be404
movzx ecx, byte [ecx]
test cl, cl
je 0x5be3ff
mov ecx, 0xffffffff
jmp 0x5be404
mov ecx, 1
test ecx, ecx
jle 0x5be45e
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x5be416
xor ecx, ecx
jmp 0x5be429
movzx ecx, byte [ecx]
test cl, cl
je 0x5be424
mov ecx, 0xffffffff
jmp 0x5be429
mov ecx, 1
test ecx, ecx
jle 0x5be45e
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x5be43b
xor ecx, ecx
jmp 0x5be44e
movzx ecx, byte [ecx]
test cl, cl
je 0x5be449
mov ecx, 0xffffffff
jmp 0x5be44e
mov ecx, 1
test ecx, ecx
jle 0x5be45e
mov ecx, dword [esp + 0xc]
test ecx, 7
je 0x5be48c
mov eax, dword [0x967760]
mov ecx, dword [0x967764]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x5c
ret
sar ecx, 3
mov dword [esp + 0x24], ecx
mov edx, 0xa
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x5be4bd
mov edx, dword [esp + 0x2c]
dec edx
mov eax, dword [esp + 0x68]
mov ebx, ecx
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
test edx, edx
jle 0x5be6d6
mov dword [esp + 0x2c], edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebp
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea eax, [0x6f4820]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044e560
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
jmp 0x5be724
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x4c]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.005be250
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
lea ecx, [0x70b520]
mov dword [esp], ecx
call fcn.0040c500
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], 0
call fcn.004ec6a0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], edx
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004ec050
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5be596
xor ecx, ecx
jmp 0x5be5a9
movzx ecx, byte [eax]
test cl, cl
je 0x5be5a4
mov ecx, 0xffffffff
jmp 0x5be5a9
mov ecx, 1
test ecx, ecx
jne 0x5be5b6
mov ecx, dword [esp + 0x48]
jmp 0x5be4a2
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
nop
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x14], edx
call fcn.004f6480
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x50], eax
mov byte [esp + 0x4c], 0
lea eax, [0x70b520]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x10]
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
call fcn.004ebce0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], eax
mov dword [esp], eax
mov dword [esp + 4], eax
lea ecx, [esp + 0x4c]
mov dword [esp + 8], ecx
call fcn.004eb840
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x34]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004ec050
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
call fcn.004ebce0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x34]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004ec050
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5be6ae
xor ecx, ecx
jmp 0x5be6c1
movzx ecx, byte [eax]
test cl, cl
je 0x5be6bc
mov ecx, 0xffffffff
jmp 0x5be6c1
mov ecx, 1
test ecx, ecx
jne 0x5be7f9
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
jmp 0x5be4a2
jne 0x5be706
mov eax, dword [0x967760]
mov ecx, dword [0x967764]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x5c
ret
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], edi
add esp, 0x5c
ret
mov eax, dword [esp + 0x40]
nop
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.004977b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test eax, eax
jne 0x5be812
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
nop
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.004f6480
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x50], eax
mov byte [esp + 0x4c], 0
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x5be7bf
xor eax, eax
jmp 0x5be7c4
mov eax, 1
test eax, eax
jg 0x5be7cc
xor eax, eax
jmp 0x5be7ec
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x4c]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004ec260
mov eax, dword [esp + 8]
test eax, eax
setl al
test al, al
je 0x5be720
jmp 0x5be511
mov ecx, dword [esp + 0x2c]
test ecx, ecx
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x3c]
mov ebx, eax
mov ebp, dword [esp + 0x30]
jmp 0x5be6d6
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x5c
ret
call fcn.00467a60
jmp fcn.005be370