Function at 0x4bf2c0
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 0x4bf9dd
sub esp, 0x90
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx]
test ebx, ebx
je 0x4bf31f
mov ebp, dword [edx + 4]
cmp ebp, 2
jge 0x4bf303
mov ebp, dword [0x619a70]
mov esi, dword [0x619a74]
jmp 0x4bf32b
cmp ebp, 0x7fffffff
jle 0x4bf319
mov ebp, dword [0x619a68]
mov esi, dword [0x619a6c]
jmp 0x4bf32b
xor ebp, ebp
xor esi, esi
jmp 0x4bf32b
mov ebp, dword [0x619a78]
mov esi, dword [0x619a7c]
test ebp, ebp
jne 0x4bf779
nop
mov ebp, dword [ebx + 8]
mov ebx, dword [ebx + 4]
lea esi, [ebp - 1]
test esi, esi
jl 0x4bf387
mov ebx, dword [ebx + ebp*4 - 4]
nop
cmp ebx, 0x10000
jb 0x4bf358
shr ebx, 0x10
mov eax, 0x10
jmp 0x4bf35a
xor eax, eax
cmp ebx, 0x100
jb 0x4bf368
shr ebx, 8
add eax, 8
cmp ebx, 0x100
jae 0x4bf9d0
shl esi, 5
lea ecx, [0x547a42]
movzx ecx, byte [ecx + ebx]
add eax, ecx
add eax, esi
jmp 0x4bf389
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 0x4bf3cf
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 0x4bf411
mov eax, dword [0x619a50]
mov ecx, dword [0x619a54]
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.004b83b0
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.004beab0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test ecx, ecx
jne 0x4bf743
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, [0x52a9e0]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00447600
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.004b0000
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test ecx, ecx
jbe 0x4bf9c9
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 0x4bf9c4
cmp ecx, 1
jb 0x4bf9ba
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 0x4bf9b1
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.004be400
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.004be400
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 0x4bf9ac
mov edx, dword [esp + 0x3c]
cmp edx, ecx
jne 0x4bf73f
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x74]
xor eax, eax
xor ecx, ecx
jmp 0x4bf98e
xor eax, eax
jmp 0x4bf7af
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 0x4bf970
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 0x4bf898
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 0x4bf8a3
jb 0x4bf81f
jmp 0x4bf96b
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 0x4bf922
mov edx, dword [esp + 0x40]
lea ebp, [edx + 1]
cmp ebp, ecx
ja 0x4bf964
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 [0x619a50]
mov ecx, dword [0x619a54]
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.0045f1a0
call fcn.0045f140
call fcn.0045f1a0
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 0x4bf996
jb 0x4bf975
jmp 0x4bf9a5
nop
movzx ecx, cl
lea eax, [ecx - 1]
shr eax, 0x1f
jmp 0x4bf7af
mov ecx, edx
call fcn.0045f140
call fcn.0045f180
mov eax, esi
mov ecx, edi
call fcn.0045f1a0
mov eax, 1
call fcn.0045f1a0
call fcn.0045f180
xor eax, eax
call fcn.0045f140
mov eax, ebx
mov ecx, 0x100
call fcn.0045f150
nop
call fcn.0045dcf0
jmp fcn.004bf2c0