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

Disassembly:
push 0xffffffffffffffff
push 0x54e880
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov eax, dword [0x5ab980]
push ebp
push esi
mov ebp, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x10], eax
mov dword [esp + 8], eax
push fcn.005128e4
push 0x432ae0
push 6
lea eax, [esp + 0x28]
push 4
push eax
mov byte [esp + 0x70], 2
call fcn.004fa7f1
mov esi, dword [esp + 0x6c]
mov byte [esp + 0x5c], 3
mov ecx, dword [esi]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4bf87f
push fcn.005128e4
push 6
lea edx, [esp + 0x24]
push 4
push edx
mov byte [esp + 0x6c], 2
call fcn.004fa713
lea ecx, [esp + 8]
mov byte [esp + 0x5c], 1
call fcn.005128e4
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 0
call fcn.005128e4
lea ecx, [esp + 0xc]
mov dword [esp + 0x5c], 0xffffffff
call fcn.005128e4
pop esi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0x10
push esi
lea ecx, [esp + 0xc]
call fcn.00512a1d
push esi
lea ecx, [esp + 0x24]
call fcn.00512a1d
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4bf8a5
push eax
lea ecx, [esp + 0x20]
call fcn.00512a6d
push ebx
push edi
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
mov byte [esp + 0x44], al
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov edx, dword [eax + 0xb8]
mov byte [esp + 0x45], cl
shl edx, 0xe
sar edx, 0x18
mov byte [esp + 0x46], dl
mov edx, dword [eax + 0xc0]
mov al, byte [eax + 0xc0]
shr edx, 5
and eax, 0xf
and edx, 1
shl eax, 1
or edx, eax
mov eax, dword [esp + 0x48]
shl edx, 2
and eax, 0xff83
or edx, eax
mov eax, ecx
dec eax
mov word [esp + 0x48], dx
je 0x4bfa30
dec eax
je 0x4bf9f1
dec eax
jne 0x4bfbc6
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.00512a1d
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push eax
push 3
call fcn.0050df1d
lea edx, [esp + 0x14]
lea ecx, [esp + 0x2c]
push edx
call fcn.00512a1d
lea eax, [esp + 0x10]
push eax
call fcn.00421120
lea ecx, [esp + 0x18]
mov esi, eax
push ecx
call fcn.00421120
add esp, 8
test esi, esi
jl 0x4bfa02
test eax, eax
jge 0x4bf9a5
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call fcn.00512a1d
push ebp
lea ecx, [esp + 0x1c]
call fcn.00512a1d
lea eax, [esp + 0x18]
push eax
call fcn.00421110
mov ecx, dword [esp + 0x1c]
add esp, 4
push ecx
push 3
lea ecx, [esp + 0x1c]
call fcn.0050df1d
mov eax, 1
test eax, eax
jl 0x4bfa02
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.004f9670
add esp, 8
test eax, eax
je 0x4bf9c9
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x34]
call fcn.00512a1d
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.004f9670
add esp, 8
test eax, eax
je 0x4bfbc6
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x38]
jmp 0x4bfbc1
lea edx, [esp + 0x10]
push edx
call fcn.00421120
add esp, 4
test eax, eax
jge 0x4bfa0c
mov byte [esp + 0x47], 1
jmp 0x4bfbc6
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.004f9670
add esp, 8
test eax, eax
je 0x4bfbc6
lea edx, [esp + 0x10]
push edx
jmp 0x4bfbbd
lea eax, [esp + 0x10]
push eax
call fcn.00421120
add esp, 4
lea ecx, [esp + 0x74]
mov edi, eax
push 1
push 0x5c
call fcn.0050dd17
lea ecx, [esp + 0x6c]
push 1
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], 4
call fcn.0050e22b
mov esi, dword [esp + 0x74]
mov eax, dword [eax]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4bfa8f
test cl, cl
je 0x4bfa8b
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4bfa8f
add eax, 2
add esi, 2
test cl, cl
jne 0x4bfa67
xor eax, eax
jmp 0x4bfa94
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x6c]
sete bl
call fcn.005128e4
lea ecx, [esp + 0x74]
mov byte [esp + 0x64], 3
call fcn.005128e4
test bl, bl
je 0x4bfae8
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x70]
mov eax, dword [eax - 8]
dec eax
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.0050e2a7
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 5
call fcn.00512a1d
lea ecx, [esp + 0x70]
mov byte [esp + 0x64], 3
call fcn.005128e4
test edi, edi
jge 0x4bfaf6
mov byte [esp + 0x47], 1
jmp 0x4bfbc6
push 1
push 0x5c
lea ecx, [esp + 0x80]
call fcn.0050dd17
lea edx, [esp + 0x1c]
push 1
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 6
call fcn.0050e22b
mov esi, dword [esp + 0x78]
mov eax, dword [eax]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4bfb49
test cl, cl
je 0x4bfb45
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4bfb49
add eax, 2
add esi, 2
test cl, cl
jne 0x4bfb21
xor eax, eax
jmp 0x4bfb4e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x1c]
sete bl
call fcn.005128e4
lea ecx, [esp + 0x78]
mov byte [esp + 0x64], 3
call fcn.005128e4
test bl, bl
je 0x4bfba2
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
mov eax, dword [eax - 8]
dec eax
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.0050e2a7
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 7
call fcn.00512a1d
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], 3
call fcn.005128e4
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.004f9670
add esp, 8
test eax, eax
je 0x4bfbc6
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x34]
call fcn.00512a1d
lea edx, [esp + 0x24]
push 0
lea eax, [esp + 0x40]
push edx
push eax
mov ecx, ebp
call fcn.004bf4d0
push fcn.005128e4
push 6
lea ecx, [esp + 0x2c]
push 4
push ecx
mov esi, eax
mov byte [esp + 0x74], 2
call fcn.004fa713
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 1
call fcn.005128e4
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 0
call fcn.005128e4
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], 0xffffffff
call fcn.005128e4
mov ecx, dword [esp + 0x5c]
pop edi
mov eax, esi
pop ebx
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x58
ret 0x10