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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x4bee2d
sub esp, 0x88
lea eax, [0x51fb46]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0048d540
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4be8d1
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004b48a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x51f2b1]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.004b3d70
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x4bed2e
lea edi, [esp + 0x68]
xor eax, eax
call fcn.00461288
lea ecx, [0x51f4d9]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], 4
lea ecx, [0x51f4dd]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], 4
lea ecx, [0x51f4d1]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], 4
lea ecx, [0x51f4d5]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], 4
mov eax, 4
mov ecx, 4
lea edx, [esp + 0x68]
mov dword [esp + 0x48], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov ebx, dword [esp + 0x8c]
mov dword [esp], ebx
mov ebp, dword [esp + 0x90]
mov dword [esp + 4], ebp
lea esi, [0x51f3be]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 3
call fcn.004b3960
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x4bea88
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x51f2ad]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 1
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x64], ecx
lea edx, [esp + 0x58]
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004bae80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
call fcn.004be6b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
je 0x4bea5d
lea eax, [0x51f5d9]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.0048d540
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004bb140
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
xor edx, edx
jmp 0x4bebb2
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x88
ret
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
call fcn.004be6b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
test eax, eax
je 0x4beb78
mov dword [esp + 0x54], ebp
mov dword [esp + 0x4c], ebx
lea eax, [0x50bce0]
mov dword [esp], eax
call fcn.0040b1b0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x90]
mov dword [edi + 4], eax
mov eax, dword [0x6265b0]
test eax, eax
jne 0x4beb0f
mov ecx, dword [esp + 0x8c]
mov dword [edi], ecx
jmp 0x4beb1b
mov eax, dword [esp + 0x8c]
call fcn.00461090
mov ecx, dword [esp + 0x54]
mov dword [edi + 8], ecx
mov ecx, dword [0x6265b0]
test ecx, ecx
jne 0x4beb35
mov eax, dword [esp + 0x4c]
mov dword [edi + 0xc], eax
jmp 0x4beb47
lea ecx, [edi + 0xc]
mov eax, dword [esp + 0x4c]
mov edx, edi
mov edi, ecx
call fcn.00461090
mov edi, edx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea eax, [0x550200]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edi
add esp, 0x88
ret
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x88
ret
mov ebx, dword [esp + 0x3c]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
cmp edx, ecx
jge 0x4bec8b
mov dword [esp + 0x3c], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x60], ecx
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x64], ebx
lea ebp, [esp + 0x58]
mov dword [esp], ebp
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004bae80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
call fcn.004be6b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x4beba3
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x88
ret
lea eax, [0x50bce0]
mov dword [esp], eax
call fcn.0040b1b0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x90]
mov dword [edi + 4], eax
mov eax, dword [0x6265b0]
test eax, eax
jne 0x4becbc
mov ecx, dword [esp + 0x8c]
mov dword [edi], ecx
jmp 0x4becc8
mov eax, dword [esp + 0x8c]
call fcn.00461090
mov eax, dword [0x600174]
mov ecx, dword [0x600170]
mov dword [edi + 8], ecx
mov ecx, dword [0x6265b0]
test ecx, ecx
jne 0x4bece6
mov dword [edi + 0xc], eax
jmp 0x4becf4
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.00461090
mov edi, edx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea eax, [0x550200]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edi
add esp, 0x88
ret
mov ecx, dword [esp + 0x3c]
lea edx, [ecx + 1]
mov ecx, edi
cmp edx, ecx
jge 0x4bee22
mov dword [esp + 0x3c], edx
mov edi, ecx
lea ecx, [eax + edx*8]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
test edx, edx
je 0x4bed25
mov dword [esp + 0x2c], ebx
cmp byte [ecx], 0x2e
je 0x4bed9b
mov dword [esp + 0x30], ebp
mov dword [esp + 0x48], esi
mov dword [esp], 0
lea eax, [0x51f2ad]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.0044df50
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x50], ecx
lea ecx, [ebx + 1]
cmp ebp, ecx
jae 0x4bede7
mov dword [esp + 0x34], edx
lea eax, [0x505d40]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.00448790
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x38], ecx
lea ecx, [esi + ebx*8 + 4]
mov dword [ecx], edx
mov ecx, dword [0x6265b0]
lea edx, [esi + ebx*8]
test ecx, ecx
jne 0x4bee06
mov ecx, dword [esp + 0x50]
mov dword [edx], ecx
jmp 0x4bee19
mov ecx, edi
mov edi, edx
mov ebx, eax
mov eax, dword [esp + 0x50]
call fcn.00461090
mov eax, ebx
mov edi, ecx
mov ebx, dword [esp + 0x38]
jmp 0x4bed25
mov eax, ebx
mov ecx, ebp
mov edx, esi
jmp 0x4be938
call fcn.0045fcc0
jmp fcn.004be830