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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4bef74
sub esp, 0x60
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x4bed27
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x4bec1b
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x78]
test edx, edx
je 0x4bebe4
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], ecx
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x64]
mov ebx, dword [ecx + 0x140]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x4bebd2
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.004b2b10
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test ecx, ecx
jne 0x4bebc0
mov eax, dword [esp + 0x64]
mov byte [eax + 0x148], 1
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x54], edx
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.004609f0
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x4beaa0
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.004be840
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x64]
mov dword [esp], edx
call fcn.004be840
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.004b2a60
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x60
ret
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.00460ad0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x4beb4e
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.004be840
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x64]
mov dword [esp], edx
call fcn.004be840
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.004b2a60
jmp 0x4bea86
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.004be840
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
lea edx, [0x5ebc80]
mov dword [esp], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], edx
call fcn.00407690
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
call fcn.004b2a60
jmp 0x4bea86
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x60
ret
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], edx
add esp, 0x60
ret
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.004b2950
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x4bec09
mov eax, dword [esp + 0x64]
xor ebx, ebx
xor edx, edx
jmp 0x4be9d5
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x60
ret
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x140]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
test ecx, ecx
jne 0x4bed15
test ebx, ebx
jne 0x4bec5a
mov eax, ebx
mov ecx, edx
jmp 0x4be938
mov dword [esp + 0x48], edx
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00460910
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x4bec8f
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x30]
jmp 0x4bec51
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], ecx
lea eax, [0x5f0da0]
mov dword [esp], eax
call fcn.00409a30
mov edi, dword [esp + 4]
mov dword [edi + 4], 4
mov eax, dword [0x7db370]
test eax, eax
jne 0x4bed08
lea ecx, [0x61c58b]
mov dword [edi], ecx
mov ecx, dword [esp + 0x34]
mov dword [edi + 8], ecx
mov ecx, dword [0x7db370]
test ecx, ecx
jne 0x4becf2
mov eax, dword [esp + 0x4c]
mov dword [edi + 0xc], eax
lea eax, [0x65f690]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x60
ret
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x4c]
call fcn.0044b680
mov edi, edx
jmp 0x4becda
lea eax, [0x61c58b]
call fcn.0044b680
jmp 0x4becc2
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x60
ret
lea eax, [0x5ea880]
mov dword [esp], eax
call fcn.00409a30
mov edi, dword [esp + 4]
mov eax, dword [0x7db370]
test eax, eax
jne 0x4bef5f
mov eax, dword [esp + 0x64]
mov dword [edi], eax
mov dword [esp + 0x58], edi
mov ecx, dword [esp + 0x78]
test ecx, ecx
jne 0x4bef36
mov ebx, dword [esp + 0x70]
test ebx, ebx
jne 0x4bef0d
xor edx, edx
xor ebp, ebp
mov esi, dword [eax + 0x14c]
mov ecx, dword [eax + 0x150]
cmp ecx, 4
jne 0x4bedde
mov ebx, dword [esi]
cmp ebx, 0x78696e75
jne 0x4bedde
mov ecx, dword [eax + 0x150]
mov ebx, dword [eax + 0x14c]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
lea eax, [0x660b70]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4be928
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x60
ret
cmp ecx, 8
jne 0x4bedf8
mov ebx, dword [esi]
cmp ebx, 0x78696e75
jne 0x4bedf8
mov ebx, dword [esi + 4]
cmp ebx, 0x6d617267
je 0x4bed88
mov dword [esp + 0x38], edx
mov dword [esp + 0x50], ebp
cmp ecx, 0xa
je 0x4beec4
mov ecx, dword [eax + 0x150]
mov ebx, dword [eax + 0x14c]
lea esi, [ecx - 1]
cmp esi, ecx
jae 0x4bef6d
movzx esi, byte [ecx + ebx - 1]
xchg esi, eax
cmp al, 0x34
xchg esi, eax
je 0x4bed94
xchg esi, eax
cmp al, 0x36
xchg esi, eax
je 0x4bed94
mov esi, dword [eax + 0x140]
cmp esi, 2
jne 0x4bee85
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp], 0
lea eax, [0x61c1a2]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0043ade0
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
jmp 0x4bed94
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp], 0
lea eax, [0x61c1a4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0043ade0
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
jmp 0x4bed94
mov dword [esp], esi
lea eax, [0x61d88f]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00402170
movzx eax, byte [esp + 0xc]
test al, al
je 0x4beef8
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
jmp 0x4bed88
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
jmp 0x4bee09
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
call eax
mov edx, dword [esp + 8]
mov ebp, dword [esp + 4]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x58]
jmp 0x4bed6d
mov eax, dword [ecx + 0x14]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call eax
mov edx, dword [esp + 8]
mov ebp, dword [esp + 4]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x58]
jmp 0x4bed6d
mov eax, dword [esp + 0x64]
call fcn.0044b680
jmp 0x4bed4d
call fcn.004258a0
ud2
call fcn.00449f20
jmp fcn.004be900