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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov esi, dword [edi + 0x74]
mov ebx, dword [eax + 0xc]
add dword [edi + 0x68], 1
mov eax, dword [edi + 0x70]
adc dword [edi + 0x6c], 0
inc eax
mov dword [edi + 0x70], eax
cmp eax, esi
jge 0x4f5503
mov edx, dword [edi + 0x78]
nop dword [eax]
mov ecx, eax
add ecx, ecx
cmp dword [edx + ecx*8 + 4], 0
jg 0x4f559a
jl 0x4f54fb
cmp dword [edx + ecx*8], 0
ja 0x4f559a
inc eax
mov dword [edi + 0x70], eax
cmp eax, esi
jl 0x4f54e0
lea edx, [edi + 8]
mov ecx, ebx
call fcn.004fed40
cmp eax, 0x64
jne 0x4f55b5
mov eax, dword [edi + 0x44]
xor ebx, ebx
mov ecx, dword [edi + 0x58]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x40]
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x4f55c3
mov eax, dword [edi + 0x5c]
mov esi, eax
cmp eax, dword [edi + 0x3c]
mov edx, dword [edi + 0x38]
cmovge esi, dword [edi + 0x3c]
sub esi, 4
jb 0x4f5561
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4f5566
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4f5550
cmp esi, 0xfffffffc
je 0x4f55a3
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4f5593
cmp esi, 0xfffffffd
je 0x4f55a3
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4f5593
cmp esi, 0xfffffffe
je 0x4f55a3
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4f5593
cmp esi, 0xffffffff
je 0x4f55a3
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4f55a3
sbb eax, eax
or eax, 1
jmp 0x4f55a5
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
test eax, eax
js 0x4f55b3
jne 0x4f55c3
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x5c]
jle 0x4f55c3
xor eax, eax
mov dword [edi + 0x64], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x74], 2
lea esi, [edi + 0x78]
jge 0x4f5622
mov eax, dword [esi]
mov dword [esp + 0x14], eax
call fcn.004e4f50
test eax, eax
jne 0x4f57c4
mov ecx, dword [esp + 0x14]
push eax
push 0x20
call fcn.0043b4b0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x4f57c4
mov edx, dword [edi + 0x74]
mov ecx, 0x20
shl edx, 4
sub ecx, edx
add eax, edx
push ecx
push 0
push eax
call fcn.00570cd0
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [esi], eax
mov dword [edi + 0x74], 2
mov eax, dword [edi + 0x74]
shl eax, 4
push eax
push 0
push dword [esi]
call fcn.00570cd0
xor eax, eax
mov dword [esp + 0x20], ebx
add esp, 0xc
mov dword [esp + 0x10], eax
cmp dword [esp + 0x18], eax
jle 0x4f57b6
nop dword [eax]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x20]
add ecx, dword [esp + 0xc]
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
call fcn.004ea4d0
mov ecx, dword [esp + 0xc]
add ecx, eax
mov eax, ebx
mov dword [esp + 0xc], ecx
sub eax, 0
je 0x4f5792
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
sub eax, 1
je 0x4f5735
sub eax, 1
je 0x4f574f
mov eax, ecx
mov dword [esp + 0x14], eax
cmp eax, 1
jge 0x4f56b6
mov ecx, dword [esp + 0xc]
mov eax, 0x10b
mov dword [esp + 0x10], eax
jmp 0x4f57ac
lea ebx, [eax + 2]
cmp ebx, dword [edi + 0x74]
jle 0x4f5719
mov eax, dword [esi]
mov dword [esp + 0x20], eax
call fcn.004e4f50
test eax, eax
jne 0x4f57c4
mov ecx, dword [esp + 0x20]
mov eax, ebx
shl eax, 4
push 0
push eax
call fcn.0043b4b0
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
je 0x4f57c4
mov edx, dword [edi + 0x74]
mov ecx, ebx
sub ecx, edx
shl edx, 4
shl ecx, 4
add edx, eax
push ecx
push 0
push edx
call fcn.00570cd0
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov dword [esi], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x74], ebx
lea ecx, [eax + 1]
mov ebx, 2
mov eax, dword [esi]
shl ecx, 4
add dword [ecx + eax], 1
adc dword [ecx + eax + 4], 0
mov ecx, dword [esp + 0xc]
jmp 0x4f57a8
test edx, edx
jl 0x4f574a
jg 0x4f5740
cmp ecx, 1
jbe 0x4f574a
mov eax, dword [esi]
add dword [eax + 0x10], 1
adc dword [eax + 0x14], 0
mov ebx, 2
mov eax, ecx
or eax, edx
jne 0x4f575d
mov ecx, dword [esp + 0xc]
xor ebx, ebx
jmp 0x4f57a8
cmp ecx, 1
jne 0x4f576f
test edx, edx
jne 0x4f576f
lea ebx, [ecx + 2]
mov ecx, dword [esp + 0xc]
jmp 0x4f57a8
mov eax, dword [esi]
mov ecx, dword [esp + 0x14]
shl ecx, 4
add dword [ecx + eax + 0x18], 1
adc dword [ecx + eax + 0x1c], 0
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
add dword [eax + 8], 1
adc dword [eax + 0xc], 0
jmp 0x4f57a8
mov eax, dword [esi]
mov ebx, 1
mov dword [esp + 0x14], 0
add dword [eax], 1
adc dword [eax + 4], 0
mov eax, dword [esp + 0x10]
cmp ecx, dword [esp + 0x18]
jl 0x4f5650
mov dword [edi + 0x70], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret