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

Disassembly:
push 0xffffffffffffffff
push 0x4d4efb
mov eax, dword fs:[0]
push eax
mov eax, 0x1070
call fcn.004bfc70
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x106c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ea93c]
xor eax, esp
push eax
lea eax, [esp + 0x1084]
mov dword fs:[0], eax
push 0x33f
call fcn.004744a0
push eax
call fcn.0049e9d0
lea ecx, [esp + 0x1c]
call fcn.0043d280
xor ebp, ebp
mov dword [esp + 0x108c], ebp
cmp byte [0x54aa92], 0
mov byte [esp + 0x17], 0
je 0x4be904
mov ecx, 0x5448f8
call fcn.00420fa0
test al, al
jne 0x4be8e2
cmp byte [0x54aa47], al
jne 0x4be8e2
cmp byte [0x54aa48], al
jne 0x4be8e2
mov byte [esp + 0x17], 1
mov eax, dword [0x51fd28]
cmp eax, ebp
je 0x4be904
jmp 0x4be8f0
cmp dword [eax + 0x6c], 1
jne 0x4be8ff
mov eax, dword [eax + 0x78]
cmp eax, ebp
jne 0x4be8f0
jmp 0x4be904
mov byte [esp + 0x17], 0
mov esi, dword [0x51fd28]
mov dword [esp + 0x18], ebp
cmp esi, ebp
je 0x4bea38
mov edi, 1
cmp dword [esi + 0x6c], edi
je 0x4be92a
cmp dword [esi + 0x70], 0
je 0x4bea2d
test byte [esp + 0x18], 7
jne 0x4be936
call fcn.0047eeb0
mov eax, dword [esi + 0x60]
add dword [esp + 0x18], edi
push 0x800
push eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esi + 0x6c], edi
xor bl, bl
call fcn.0047e340
lea edx, [esp + 0x30]
push edx
call fcn.0045f410
mov edi, eax
movzx eax, word [edi]
push eax
call fcn.0045f470
test al, al
je 0x4be972
xor ecx, ecx
mov word [edi], cx
mov bl, 1
mov edx, dword [esi + 0x60]
mov eax, dword [esi + 0x3c]
push edx
push eax
call fcn.0049eac0
call fcn.0049f0e0
cmp byte [0x54aa92], 0
je 0x4be9c7
cmp byte [esp + 0x17], 0
jne 0x4be99c
test bl, bl
jne 0x4bea2c
lea ecx, [esp + 0x30]
push ecx
call fcn.0043c780
test al, al
je 0x4be9b8
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x20]
call fcn.0043d340
test bl, bl
je 0x4bea2d
lea ecx, [esp + 0x1c]
call fcn.0043c9f0
jmp 0x4bea2d
test bl, bl
jne 0x4bea2c
lea eax, [esp + 0x30]
push eax
call fcn.0043c8a0
cmp byte [0x54aa91], bl
jne 0x4be9f3
lea ecx, [esp + 0x30]
push ecx
call fcn.0043c090
test al, al
je 0x4bea01
cmp byte [0x54aa91], bl
je 0x4bea2d
lea edx, [esp + 0x30]
push edx
call fcn.0043d430
test al, al
jne 0x4bea2d
lea eax, [esp + 0x30]
push eax
push 0x202
call fcn.004744a0
mov ecx, dword [0x51e804]
push eax
push ecx
call fcn.004abfe0
add esp, 0xc
mov ecx, 0x51e7a8
call fcn.004333c0
jmp 0x4bea2d
inc ebp
mov esi, dword [esi + 0x78]
test esi, esi
jne 0x4be916
lea ecx, [esp + 0x1c]
call fcn.0043c9f0
test ebp, ebp
je 0x4bebd0
lea edx, [ebp*4]
push edx
call fcn.004c0bc4
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4bea7b
mov dword [esp + 0x108c], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.0043d2e0
lea eax, [ebx + 4]
jmp 0x4bec81
mov esi, dword [0x51fd28]
xor ebp, ebp
test esi, esi
je 0x4beaf1
cmp dword [esi + 0x6c], 0
je 0x4beaea
mov eax, dword [esi + 0x64]
cmp word [eax], 0
je 0x4beaea
push eax
call fcn.0045f410
movzx eax, word [eax]
push eax
call fcn.0045f470
test al, al
je 0x4beaea
test ebp, ebp
je 0x4beae6
mov ecx, dword [ebx + ebp*4 - 4]
mov ecx, dword [ecx + 0x60]
mov eax, dword [esi + 0x60]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4beadd
test dx, dx
je 0x4bead9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4beadd
add eax, 4
add ecx, 4
test dx, dx
jne 0x4beab7
xor eax, eax
jmp 0x4beae2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4beaea
mov dword [ebx + ebp*4], esi
inc ebp
mov esi, dword [esi + 0x78]
test esi, esi
jne 0x4bea87
push 0x4b8ee0
push 4
push ebp
push ebx
call fcn.004c06f0
add esp, 0x10
xor esi, esi
test ebp, ebp
jbe 0x4bebc7
mov edx, dword [ebx + esi*4]
mov eax, dword [edx + 0x60]
cmp word [eax], 0
je 0x4bebbe
test esi, esi
je 0x4beb56
mov ecx, dword [ebx + esi*4 - 4]
mov ecx, dword [ecx + 0x60]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4beb4d
test dx, dx
je 0x4beb49
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4beb4d
add eax, 4
add ecx, 4
test dx, dx
jne 0x4beb27
xor eax, eax
jmp 0x4beb52
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4bebbe
mov eax, dword [ebx + esi*4]
mov edx, dword [eax + 0x60]
mov eax, dword [eax + 0x3c]
push edx
push eax
call fcn.0049eac0
call fcn.0049f0e0
mov ecx, dword [ebx + esi*4]
mov edx, dword [ecx + 0x60]
push 0x800
push edx
lea eax, [esp + 0x38]
push eax
call fcn.0047e340
lea ecx, [esp + 0x30]
push ecx
call fcn.0045f410
mov edi, eax
movzx edx, word [edi]
push edx
call fcn.0045f470
test al, al
je 0x4beb9f
xor eax, eax
mov word [edi], ax
cmp byte [0x54aa91], 0
je 0x4bebb4
lea ecx, [esp + 0x30]
push ecx
call fcn.0043ca50
jmp 0x4bebbe
lea edx, [esp + 0x30]
push edx
call fcn.0043c110
inc esi
cmp esi, ebp
jb 0x4beb0c
push ebx
call fcn.004bff04
add esp, 4
mov ecx, 0x51fd38
call fcn.0044ae10
cmp byte [0x54aa92], 0
je 0x4bec2e
cmp byte [esp + 0x17], 0
je 0x4bec23
xor esi, esi
cmp dword [0x51fda4], esi
jbe 0x4bec23
push esi
lea eax, [esp + 0x34]
push eax
mov ecx, 0x51fd38
call fcn.0044acf0
mov edi, eax
push edi
call fcn.0043c780
test al, al
je 0x4bec1a
push edi
lea ecx, [esp + 0x20]
call fcn.0043d340
inc esi
cmp esi, dword [0x51fda4]
jb 0x4bebf4
lea ecx, [esp + 0x1c]
call fcn.0043c9f0
jmp 0x4bec6b
mov esi, dword [0x51fda4]
add esi, 0xffffffff
js 0x4bec6b
lea esp, [esp]
push esi
lea ecx, [esp + 0x34]
push ecx
mov ecx, 0x51fd38
call fcn.0044acf0
cmp byte [0x54aa91], 0
push eax
je 0x4bec61
call fcn.0043ca50
jmp 0x4bec66
call fcn.0043c110
sub esi, 1
jns 0x4bec40
mov dword [esp + 0x108c], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.0043d2e0
xor eax, eax
mov ecx, dword [esp + 0x1084]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x106c]
xor ecx, esp
call fcn.004bfc52
add esp, 0x107c
ret