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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4be186
sub esp, 0x68
mov eax, dword [esp + 0x70]
cmp eax, 0x63
jne 0x4bde0a
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.004bd6c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.004bcbe0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.004bcf90
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.004bd490
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x70]
cmp ebx, 0x55
je 0x4bdff7
cmp ebx, 0x76
je 0x4bdfd5
xor ebx, ebx
mov dword [esp + 0x34], eax
mov ebp, dword [esp + 0x6c]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov byte [esp + 0xc], bl
call fcn.004bd570
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x40
call fcn.004534c0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
test ebx, ebx
jne 0x4be142
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x74]
add edx, 0xffffffc0
neg edx
lea ebx, [edx - 0x20]
mov ebp, ecx
mov ecx, ebx
mov esi, eax
shl eax, cl
neg ecx
mov dword [esp + 0x40], ecx
shr esi, cl
mov ecx, edx
shl ebp, cl
mov edi, dword [esp + 0x40]
cmp edi, 0x20
sbb edi, edi
mov dword [esp + 0x3c], edi
and esi, edi
cmp ecx, 0x20
sbb edi, edi
and ebp, edi
or esi, ebp
cmp ebx, 0x20
sbb ebp, ebp
and eax, ebp
or esi, eax
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x28]
shl eax, cl
and eax, edi
shr esi, cl
and esi, edi
shr eax, cl
and eax, edi
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov edi, edx
shl edx, cl
mov ecx, esi
mov esi, dword [esp + 0x3c]
and edx, esi
or eax, edx
mov edx, ecx
mov ecx, ebx
shr edi, cl
and edi, ebp
or eax, edi
mov ebx, dword [esp + 0x2c]
cmp edx, ebx
setne dl
mov ebp, dword [esp + 0x28]
cmp eax, ebp
setne al
or edx, eax
test dl, dl
jne 0x4bdf5b
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebx
add esp, 0x68
ret
mov dword [esp], 0
lea eax, [0x846085]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x23
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
call fcn.0043bd30
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
lea edx, [0x7d00e0]
mov dword [esp], edx
call fcn.00409c40
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
mov eax, dword [0xb92b90]
test eax, eax
jne 0x4bdfc7
mov eax, dword [esp + 0x48]
mov dword [edi], eax
jmp 0x4be0ae
mov eax, dword [esp + 0x48]
call fcn.0044c990
jmp 0x4be0ae
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.004bd880
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
movzx ebx, byte [esp + 0x10]
jmp 0x4bde5a
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
lea ecx, [0x832f68]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov byte [esp + 0xc], 0
call fcn.004bce60
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4be06f
lea eax, [0x7d00e0]
mov dword [esp], eax
call fcn.00409c40
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x13
mov eax, dword [0xb92b90]
test eax, eax
jne 0x4be05f
lea eax, [0x83cb8d]
mov dword [edi], eax
jmp 0x4be0f8
lea eax, [0x83cb8d]
call fcn.0044c990
jmp 0x4be0f8
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
lea ecx, [0x832f4d]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov byte [esp + 0xc], 0
call fcn.004bce60
movzx eax, byte [esp + 0x10]
test al, al
je 0x4be02f
xor ebx, ebx
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
jmp 0x4bde5a
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea eax, [0x8b2890]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edi
lea eax, [0x7d0140]
mov dword [esp], eax
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
call fcn.004072f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004273c0
ud2
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x8b2890]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edi
lea eax, [0x7d0140]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call fcn.004072f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004273c0
ud2
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], edx
lea eax, [0x7d0140]
mov dword [esp], eax
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
call fcn.004072f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004273c0
ud2
call fcn.0044b230
jmp fcn.004bddc0