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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4bead4
sub esp, 0x68
mov eax, dword [esp + 0x78]
cmp eax, 0xc
jge 0x4be666
nop
lea eax, [0x59e6a0]
mov dword [esp], eax
call fcn.00409bc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x27
mov eax, dword [0x738420]
test eax, eax
jne 0x4be659
lea eax, [0x5d051a]
mov dword [edi], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x600de0]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x68
ret
lea eax, [0x5d051a]
call fcn.0044cea0
jmp 0x4be62e
cmp eax, 0x10
jg 0x4be602
lea eax, [0x59c8e0]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 8], ecx
call fcn.00407910
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test al, al
jne 0x4bea81
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call ecx
cmp dword [esp + 4], 0x10
jne 0x4bea1d
lea eax, [0x590f60]
mov dword [esp], eax
call fcn.00409bc0
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov dword [esp + 8], 0x10
mov dword [esp + 0xc], 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x18], 0x10
call edx
lea eax, [0x5acf40]
mov dword [esp], eax
call fcn.00409bc0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x6c]
mov dword [eax], ecx
mov ecx, dword [0x738420]
test ecx, ecx
jne 0x4bea08
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
nop
nop
mov ecx, dword [esp + 0x64]
movzx edx, byte [ecx + 7]
movzx ebx, byte [ecx + 4]
movzx ebp, byte [ecx + 5]
mov dword [esp + 0x34], ebp
movzx esi, byte [ecx + 6]
mov dword [esp + 0x30], esi
movzx edi, byte [ecx]
mov dword [esp + 0x2c], edi
movzx eax, byte [ecx + 1]
mov dword [esp + 0x28], eax
movzx edi, byte [ecx + 2]
mov dword [esp + 0x24], edi
movzx eax, byte [ecx + 3]
movzx edi, byte [ecx + 0xc]
mov dword [esp + 0x20], edi
movzx edi, byte [ecx + 0xd]
mov dword [esp + 0x4c], edi
movzx edi, byte [ecx + 0xe]
mov dword [esp + 0x48], edi
movzx edi, byte [ecx + 0xf]
mov dword [esp + 0x44], edi
movzx edi, byte [ecx + 8]
mov dword [esp + 0x40], edi
movzx edi, byte [ecx + 9]
mov dword [esp + 0x3c], edi
movzx edi, byte [ecx + 0xa]
movzx ecx, byte [ecx + 0xb]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
shl esi, 8
shl ebp, 0x10
or edx, esi
or ebp, edx
mov edx, ebx
shl ebx, 0x18
or ebx, ebp
mov dword [esp + 0x50], ebx
mov ebp, dword [esp + 0x30]
shr ebp, 0x18
mov esi, dword [esp + 0x34]
shr esi, 0x10
or esi, ebp
shr edx, 8
or esi, edx
or eax, esi
mov edx, dword [esp + 0x24]
shl edx, 8
or eax, edx
mov edx, dword [esp + 0x28]
shl edx, 0x10
or edx, eax
mov eax, dword [esp + 0x2c]
shl eax, 0x18
or eax, edx
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0x48]
mov ebp, edx
shl edx, 8
mov esi, dword [esp + 0x44]
or esi, edx
mov edx, dword [esp + 0x4c]
shl edx, 0x10
or edx, esi
mov esi, dword [esp + 0x20]
shl esi, 0x18
or esi, edx
mov dword [esp + 0x58], esi
shr ebp, 0x18
mov edx, dword [esp + 0x4c]
shr edx, 0x10
or edx, ebp
mov ebp, dword [esp + 0x20]
shr ebp, 8
or edx, ebp
or ecx, edx
shl edi, 8
or ecx, edi
mov edx, dword [esp + 0x3c]
shl edx, 0x10
or edx, ecx
mov ecx, dword [esp + 0x40]
shl ecx, 0x18
or ecx, edx
mov dword [esp + 0x5c], ecx
nop
mov edx, dword [esp + 0x60]
mov dword [edx + 0x90], ebx
mov dword [edx + 0x94], eax
mov dword [edx + 0x98], esi
mov dword [edx + 0x9c], ecx
mov eax, 2
jmp 0x4be8b3
shl ebx, 4
mov dword [edx + ebx + 0x10], ecx
mov dword [edx + ebx + 0x14], ebp
mov dword [edx + ebx + 0x18], esi
mov dword [edx + ebx + 0x1c], eax
mov ecx, dword [esp + 0x38]
lea eax, [ecx + 2]
cmp eax, 0x10
jge 0x4be9dd
nop
nop
mov ecx, eax
shr eax, 0x1f
add eax, ecx
mov ebx, eax
sar eax, 1
mov ebp, ecx
shl ecx, 2
and ecx, 0xc
mov esi, ebp
sar ebp, 2
and ebp, 3
or ebp, ecx
mov ecx, ebp
shl ebp, 1
and ebp, 0xa
sar ecx, 1
and ecx, 5
or ecx, ebp
shl eax, 2
and eax, 0xc
sar ebx, 3
and ebx, 3
or ebx, eax
mov eax, ebx
shl ebx, 1
and ebx, 0xa
sar eax, 1
and eax, 5
or eax, ebx
cmp eax, 0x10
jae 0x4beacd
mov dword [esp + 0x38], esi
shl eax, 4
mov ebx, dword [edx + eax + 0x18]
mov ebp, ebx
and ebx, 1
cmp ebx, 1
sete bl
nop
mov edi, dword [edx + eax + 0x1c]
mov dword [esp + 0x34], edi
and ebx, 1
shr ebp, 1
shl edi, 0x1f
or edi, ebp
mov ebp, dword [esp + 0x34]
shr ebp, 1
mov esi, dword [edx + eax + 0x10]
mov dword [esp + 0x34], esi
shl esi, 0x1f
or esi, ebp
mov eax, dword [edx + eax + 0x14]
mov dword [esp + 0x30], eax
mov ebp, dword [esp + 0x34]
shr ebp, 1
shl eax, 0x1f
or eax, ebp
mov ebp, dword [esp + 0x30]
shr ebp, 1
test bl, bl
je 0x4be96d
xor ebp, 0xe1000000
cmp ecx, 0x10
jae 0x4beacd
shl ecx, 4
mov dword [edx + ecx + 0x10], eax
mov dword [edx + ecx + 0x14], ebp
mov dword [edx + ecx + 0x18], edi
mov dword [edx + ecx + 0x1c], esi
nop
mov ecx, dword [esp + 0x38]
lea ebx, [ecx + 1]
mov dword [esp + 0x1c], ebx
nop
nop
shl ebx, 2
and ebx, 0xc
mov ecx, dword [esp + 0x1c]
sar ecx, 2
and ecx, 3
or ecx, ebx
mov ebx, ecx
shl ecx, 1
and ecx, 0xa
sar ebx, 1
and ebx, 5
or ebx, ecx
mov ecx, dword [esp + 0x50]
xor ecx, eax
mov eax, dword [esp + 0x54]
xor ebp, eax
mov eax, dword [esp + 0x5c]
xor eax, esi
mov esi, dword [esp + 0x58]
xor esi, edi
cmp ebx, 0x10
jb 0x4be899
jmp 0x4beac6
lea eax, [0x602880]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x68
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x70]
call fcn.0044cea0
mov eax, ecx
jmp 0x4be730
nop
lea eax, [0x59e6a0]
mov dword [esp], eax
call fcn.00409bc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x2c
mov eax, dword [0x738420]
test eax, eax
jne 0x4bea74
lea eax, [0x5d13c7]
mov dword [edi], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x600de0]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x68
ret
lea eax, [0x5d13c7]
call fcn.0044cea0
jmp 0x4bea49
mov eax, dword [edx + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
add esp, 0x68
ret
call fcn.00427000
ud2
call fcn.00427000
ud2
call fcn.0044b750
jmp fcn.004be5e0