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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x5be8d0
sub esp, 0x88
lea eax, [esp + 0x8c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov byte [esp + 8], 0x30
call fcn.005a00a0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5be3d0
lea eax, [0x6c94a0]
mov dword [esp], eax
call fcn.0040dea0
mov eax, dword [esp + 4]
mov dword [esp + 0x84], eax
mov dword [eax], 0
jmp 0x5be412
lea eax, [0x70b9e5]
mov dword [esp], eax
mov dword [esp + 4], 0x19
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x88
ret
mov dword [ebx + ecx*4 - 0xc], edx
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.005a18a0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5be576
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea eax, [esp + 0x8c]
mov dword [esp], eax
lea ecx, [esp + 0x38]
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x31
call fcn.005a00a0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5be538
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x5be5b4
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
inc edx
mov ebx, dword [eax]
cmp ecx, edx
jae 0x5be4f8
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6c1cc0]
mov dword [esp + 0x10], eax
call fcn.00472770
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 8], eax
mov eax, dword [0x8c88d8]
test eax, eax
je 0x5be4f2
call fcn.004772f0
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, ebx
mov ebx, ecx
mov dword [eax + 4], edx
lea ecx, [edx + edx*2]
mov edx, dword [esp + 0x24]
mov dword [ebx + ecx*4 - 8], edx
mov edx, dword [esp + 0x28]
mov dword [ebx + ecx*4 - 4], edx
mov edx, dword [0x8c88d8]
test edx, edx
jne 0x5be521
mov edx, dword [esp + 0x44]
jmp 0x5be40e
call fcn.004772f0
mov edx, dword [esp + 0x44]
mov dword [edi], edx
mov ebp, dword [ebx + ecx*4 - 0xc]
mov dword [edi + 4], ebp
jmp 0x5be40e
lea eax, [0x70b9e5]
mov dword [esp], eax
mov dword [esp + 4], 0x19
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x88
ret
mov eax, dword [esp + 0x84]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x88
ret
lea esi, [esp + 0x58]
call fcn.004778be
mov ecx, dword [esp + 0x44]
mov ebx, eax
mov eax, edx
mov edx, ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.005a18a0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5be490
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [esp + 0x38]
mov dword [esp], eax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
mov byte [esp + 8], 0x30
call fcn.005a00a0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5be892
lea edi, [esp + 0x58]
xor eax, eax
call fcn.004773db
lea ecx, [esp + 0x6c]
mov dword [esp], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 4], ecx
call fcn.0059f9a0
movzx ecx, byte [esp + 8]
test cl, cl
je 0x5be854
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov byte [esp + 0x23], 0
lea eax, [esp + 0x6c]
mov dword [esp], eax
lea eax, [esp + 0x48]
mov dword [esp + 4], eax
lea eax, [esp + 0x23]
mov dword [esp + 8], eax
call fcn.005a0180
movzx eax, byte [esp + 0xc]
test al, al
je 0x5be816
movzx eax, byte [esp + 0x23]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
mov byte [esp], al
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.005bde60
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x54], ebx
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0046b860
mov eax, dword [esp + 8]
lea ecx, [0x6c0080]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x5be799
mov eax, dword [esp + 0x24]
inc eax
mov edx, dword [esp + 0x28]
cmp edx, eax
jb 0x5be713
mov ecx, dword [esp + 0x44]
jmp 0x5be745
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6d54a0]
mov dword [esp + 0x10], eax
call fcn.00472770
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x44], ecx
mov ebx, dword [0x8c88d8]
lea ebp, [eax + eax*4]
lea edi, [ecx + ebp*4 - 0x14]
test ebx, ebx
je 0x5be5a1
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x78], edi
lea eax, [0x6d54a0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
call fcn.004120e0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x78]
jmp 0x5be5a1
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
je 0x5be7b1
mov eax, dword [eax + 4]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x80], eax
lea eax, [0x71785f]
mov dword [esp], eax
mov dword [esp + 4], 0x36
lea eax, [esp + 0x7c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c8ee0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x88
ret
lea eax, [0x716a0d]
mov dword [esp], eax
mov dword [esp + 4], 0x32
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x88
ret
lea eax, [0x7165f8]
mov dword [esp], eax
mov dword [esp + 4], 0x31
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x88
ret
lea eax, [0x714c42]
mov dword [esp], eax
mov dword [esp + 4], 0x2c
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x88
ret
call fcn.00475ee0
jmp fcn.005be370