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

Disassembly:
mov ecx, dword [0x5f91cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x4be379
sub esp, 0x8c
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 4]
cmp eax, 0x3e8
jge 0x4be245
mov dword [esp + 0x1c], eax
nop
lea ecx, [0x4e02c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044a780
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
lea ecx, [0x4e02c0]
mov dword [esp], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0044a780
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.00463268
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x90]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x1c], ecx
lea edx, [0x4e02c0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044a780
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
lea ecx, [0x4e02c0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044a780
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
lea edi, [esp + 0x4c]
xor eax, eax
call fcn.00463268
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x90]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x14], ecx
lea edx, [0x4dd1e0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044a780
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
lea edi, [esp + 0x2c]
xor eax, eax
call fcn.00463268
lea eax, [0x4be390]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x3c], ecx
lea edx, [esp + 0x6c]
mov dword [esp + 0x48], edx
lea ebx, [esp + 0x2c]
mov dword [esp + 0x20], ebx
nop
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov ebx, dword [esp + 0x90]
mov ebx, dword [ebx + 0xc]
nop
nop
cmp dword [edx + 4], ebx
jbe 0x4be213
mov edx, dword [esp + 0x6c]
mov dword [edx + ebx*4], 0
mov edx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x84]
cmp edx, ebp
jbe 0x4be36f
mov edx, dword [esp + 0x78]
mov dword [edx + ebp*4], ebx
inc dword [esp + 0x84]
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
lea ecx, [0x4e0540]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044a780
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x18]
jmp 0x4be25f
mov dword [esp + 0x94], 0
add esp, 0x8c
ret
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x88]
cmp dword [esp + 0x84], ebx
jbe 0x4be2ce
nop
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x88]
nop
cmp ebp, ebx
jae 0x4be366
mov ebx, dword [esp + 0x78]
mov ebx, dword [ebx + ebp*4]
inc ebp
mov dword [esp + 0x88], ebp
mov edx, dword [esp + 0x20]
mov ebp, dword [edx]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
call ebp
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4be257
mov dword [esp + 0x90], 0
mov edx, dword [esp + 0x90]
test edx, edx
je 0x4be2ec
mov edx, dword [edx + 4]
mov dword [esp + 0x1c], edx
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
xor eax, eax
jmp 0x4be30e
mov eax, dword [esp + 0x90]
mov dword [esp + 0x94], eax
add esp, 0x8c
ret
mov dword [ebp + esi*4 + 0xc], ecx
inc eax
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
cmp eax, edx
jge 0x4be2ec
cmp eax, ecx
jae 0x4be361
mov ebp, dword [esp + 0x90]
mov esi, dword [ebp + 4]
lea edi, [eax + eax*2]
mov ecx, dword [ebx + edi*4]
mov edx, dword [ebx + edi*4 + 4]
mov edi, dword [ebx + edi*4 + 8]
cmp eax, esi
jae 0x4be35a
lea esi, [eax + eax*8]
mov ebp, dword [ebp]
mov dword [ebp + esi*4 + 0x10], edx
mov dword [ebp + esi*4 + 0x14], edi
mov edx, dword [0x5f9270]
test edx, edx
je 0x4be301
call fcn.004630b0
mov dword [edi], ecx
mov edx, dword [ebp + esi*4 + 0xc]
mov dword [edi + 4], edx
jmp 0x4be301
mov ecx, esi
call fcn.00463120
call fcn.00463120
mov eax, ebp
mov ecx, ebx
call fcn.00463130
mov eax, ebp
mov ecx, edx
call fcn.00463130
nop
call fcn.00461ca0
jmp fcn.004be010