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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x4bf28d
sub esp, 0x90
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx]
test ebx, ebx
je 0x4bebcf
mov ebp, dword [edx + 4]
cmp ebp, 2
jge 0x4bebb3
mov ebp, dword [0x60c8a8]
mov esi, dword [0x60c8ac]
jmp 0x4bebdb
cmp ebp, 0x7fffffff
jle 0x4bebc9
mov ebp, dword [0x60c8a0]
mov esi, dword [0x60c8a4]
jmp 0x4bebdb
xor ebp, ebp
xor esi, esi
jmp 0x4bebdb
mov ebp, dword [0x60c8b0]
mov esi, dword [0x60c8b4]
test ebp, ebp
jne 0x4bf029
nop
mov ebp, dword [ebx + 8]
mov ebx, dword [ebx + 4]
lea esi, [ebp - 1]
test esi, esi
jl 0x4bec37
mov ebx, dword [ebx + ebp*4 - 4]
nop
cmp ebx, 0x10000
jb 0x4bec08
shr ebx, 0x10
mov eax, 0x10
jmp 0x4bec0a
xor eax, eax
cmp ebx, 0x100
jb 0x4bec18
shr ebx, 8
add eax, 8
cmp ebx, 0x100
jae 0x4bf280
shl esi, 5
lea ecx, [0x53fc0d]
movzx ecx, byte [ecx + ebx]
add eax, ecx
add eax, esi
jmp 0x4bec39
xor eax, eax
lea ecx, [eax + 7]
sar ecx, 0x1f
shr ecx, 0x1d
lea eax, [ecx + eax + 7]
sar eax, 3
mov ecx, dword [esp + 0xac]
cmp ecx, eax
jg 0x4bec7f
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x98]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
shl eax, 1
add eax, 2
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jge 0x4becc1
mov eax, dword [0x60c888]
mov ecx, dword [0x60c88c]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
add esp, 0x90
ret
mov byte [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x14], eax
call fcn.004b7c60
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov byte [esp + 0x80], 0
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
lea eax, [esp + 0x80]
mov dword [esp + 0xc], eax
call fcn.004be360
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test ecx, ecx
jne 0x4beff3
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x98]
mov dword [esp], edx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xb8]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0xc], ebx
call ecx
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x98]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call ecx
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x74], ebx
mov ebp, dword [esp + 0x98]
mov dword [esp], ebp
call ecx
lea eax, [0x523f00]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004473b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
call fcn.004af8b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test ecx, ecx
jbe 0x4bf279
mov dword [esp + 0x48], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x4c], edx
movzx ecx, byte [eax]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x94]
mov ebx, dword [edx + 0x18]
mov ebp, dword [esp + 0x98]
mov dword [esp], ebp
call ebx
mov eax, dword [esp + 4]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x4c]
cmp edx, ecx
jb 0x4bf274
cmp ecx, 1
jb 0x4bf26a
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x98]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x4c]
lea ecx, [eax - 1]
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
mov ebx, dword [esp + 0x78]
add ecx, ebx
mov ebp, dword [esp + 4]
lea esi, [ebp + 1]
mov edi, dword [esp + 0x48]
cmp edi, esi
jb 0x4bf261
mov dword [esp + 0x60], edx
mov dword [esp + 0x68], ecx
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x10], ecx
sub eax, ebp
mov dword [esp + 0x5c], eax
dec eax
mov dword [esp + 0x54], eax
neg eax
sar eax, 0x1f
and esi, eax
lea eax, [esi + ebx]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x14], eax
sub edi, ebp
mov dword [esp + 0x58], edi
lea ebx, [edi - 1]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x1c], ebp
call fcn.004bdcb0
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x94]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x98]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x68]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x60]
mov dword [esp + 0x1c], esi
call fcn.004bdcb0
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x98]
mov dword [esp], edx
call ecx
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x54]
cmp ecx, edx
ja 0x4bf25c
mov edx, dword [esp + 0x3c]
cmp edx, ecx
jne 0x4befef
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x74]
xor eax, eax
xor ecx, ecx
jmp 0x4bf23e
xor eax, eax
jmp 0x4bf05f
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd0], ebx
add esp, 0x90
ret
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xd0], esi
add esp, 0x90
ret
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x94]
mov ecx, dword [ecx + 0x18]
mov edx, dword [esp + 0x98]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
ja 0x4bf220
mov edx, dword [esp + 0x58]
sub edx, eax
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x5c]
sub ebx, eax
mov dword [esp + 0x5c], ebx
lea ebp, [ebx - 1]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
mov ebp, dword [esp + 0x7c]
add ebp, eax
mov dword [esp + 0x6c], ebp
lea ecx, [edx - 1]
mov dword [esp + 0x38], ecx
xor eax, eax
mov esi, 1
xor edi, edi
xor eax, eax
mov dword [esp + 0x40], eax
xor eax, eax
jmp 0x4bf148
mov dword [esp + 0x30], esi
lea edx, [eax + 1]
movzx ebx, byte [eax + ebp]
mov byte [esp + 0x27], bl
nop
xor ebx, 1
movzx ebx, bl
dec ebx
shr ebx, 0x1f
and esi, ebx
nop
movzx ebp, byte [esp + 0x27]
xchg ebp, eax
movzx eax, al
xchg ebp, eax
dec ebp
shr ebp, 0x1f
xchg ebp, ebx
not ebx
xchg ebp, ebx
dec ebx
mov ecx, dword [esp + 0x30]
and ecx, ebx
and ebp, ecx
mov ebx, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
and eax, esi
dec ebx
mov esi, dword [esp + 0x40]
and esi, ebx
or eax, esi
mov ebx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
and ebp, 1
dec ebx
and edi, ebx
or edi, ebp
mov ebp, dword [esp + 0x6c]
mov ebx, dword [esp + 0x38]
mov ebx, dword [esp + 0x5c]
mov esi, ecx
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x38]
mov eax, edx
mov edx, dword [esp + 0x60]
cmp eax, ecx
jge 0x4bf153
jb 0x4bf0cf
jmp 0x4bf21b
mov eax, edx
mov edx, dword [esp + 0x64]
dec edx
shr edx, 0x1f
mov ebp, dword [esp + 0x28]
and ebp, edx
xchg edi, ebx
not ebx
xchg edi, ebx
and edi, ebp
xchg esi, ebx
not ebx
xchg esi, ebx
and esi, edi
cmp esi, 1
jne 0x4bf1d2
mov edx, dword [esp + 0x40]
lea ebp, [edx + 1]
cmp ebp, ecx
ja 0x4bf214
sub ebx, edx
lea ecx, [ebx - 2]
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, ebp
mov ebp, dword [esp + 0x6c]
add ecx, ebp
mov dword [esp + 0xc0], ecx
sub eax, edx
add eax, 0xfffffffe
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
add esp, 0x90
ret
mov eax, dword [0x60c888]
mov ecx, dword [0x60c88c]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
add esp, 0x90
ret
mov eax, ebp
call fcn.0045ef50
call fcn.0045eef0
call fcn.0045ef50
lea esi, [eax + 1]
mov dword [esp + 0x44], esi
movzx edi, byte [eax + ebp]
movzx esi, byte [eax + ebx]
xor edi, esi
or ecx, edi
mov esi, dword [esp + 0x44]
mov eax, esi
cmp eax, edx
jge 0x4bf246
jb 0x4bf225
jmp 0x4bf255
nop
movzx ecx, cl
lea eax, [ecx - 1]
shr eax, 0x1f
jmp 0x4bf05f
mov ecx, edx
call fcn.0045eef0
call fcn.0045ef30
mov eax, esi
mov ecx, edi
call fcn.0045ef50
mov eax, 1
call fcn.0045ef50
call fcn.0045ef30
xor eax, eax
call fcn.0045eef0
mov eax, ebx
mov ecx, 0x100
call fcn.0045ef00
nop
call fcn.0045daa0
jmp fcn.004beb70