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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4f515ec4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0xffffffffffffffff
push eax
push eax
mov ebx, dword [edi + 0x44]
push eax
push eax
push edi
call fcn.4f4e7537
mov esi, eax
cmp esi, 0xffffffff
je 0x4f4a07da
test esi, esi
je 0x4f4a07da
mov ecx, esi
mov dword [edi + 0x78], esi
shl ecx, 7
push ecx
push 8
push ebx
call dword [sym.imp.kernel32.dll_HeapAlloc]
add esi, esi
mov dword [edi + 0x7c], eax
push esi
push 8
push ebx
call dword [sym.imp.kernel32.dll_HeapAlloc]
push esi
push 8
push ebx
mov dword [edi + 0x80], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [edi + 0x84], eax
cmp dword [edi + 0x7c], 0
je 0x4f4a0982
mov eax, dword [edi + 0x80]
test eax, eax
je 0x4f4a0982
mov ecx, dword [edi + 0x84]
test ecx, ecx
je 0x4f4a0982
push 0xffffffffffffffff
push ecx
xor esi, esi
push esi
push eax
push dword [edi + 0x7c]
push edi
call fcn.4f4e7537
cmp dword [edi + 0x3c], esi
je 0x4f4a081e
push dword [edi + 0x3c]
call dword [sym.imp.kernel32.dll_LocalFree]
push esi
push edi
mov dword [edi + 0x3c], esi
mov dword [edi + 0x40], esi
call fcn.4f4e7537
cmp eax, 0xffffffff
je 0x4f4a0849
mov dword [edi + 0x88], eax
imul eax, eax, 0x30
push eax
push 8
push ebx
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [edi + 0x8c], eax
mov eax, dword [edi + 0x8c]
test eax, eax
je 0x4f4a0982
push eax
push edi
call fcn.4f4e7537
cmp dword [edi + 0x54], esi
jne 0x4f4a0897
mov eax, dword [edi + 0x18]
test dword [eax + 0xc], 0x100000
je 0x4f4a0897
mov eax, dword [edi + 0x24]
cmp dword [eax + 0x12c], esi
je 0x4f4a0897
cmp dword [eax + 0x130], esi
je 0x4f4a0897
mov ecx, edi
call fcn.4f4e7537
test eax, eax
jne 0x4f4a0897
mov dword [edi + 0x524], 1
push 0x40
pop eax
push eax
push 8
push ebx
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x4f4a0982
push 0x40
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [esi + 0xc], edi
mov dword [esi + 8], 0xfa
xor edx, edx
push 0x40
pop eax
mov word [esi], ax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x1c], eax
xor eax, eax
mov word [esi + 0x22], ax
mov eax, dword [0x4f516864]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 4]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0x603
mov eax, dword [edi + 0x24]
cmp dword [eax + 0x90], edx
je 0x4f4a0902
mov dword [esi + 0x24], edx
movzx eax, word [esi + 2]
mov dword [esi + 0x24], 0xfa52
mov ecx, eax
cmp dword [edi + 0x60], edx
je 0x4f4a091e
or eax, 1
mov word [esi + 2], ax
movzx ecx, ax
or ecx, 4
mov word [esi + 2], cx
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x18]
mov dword [esi + 0x10], eax
mov eax, 0x4f4a4530
cmp dword [edi + 0x54], edx
je 0x4f4a0940
mov eax, 0x4f4a5840
push edi
mov ecx, eax
mov dword [ebp - 8], eax
mov dword [edi + 0x4f4], edx
mov dword [edi + 0x4f8], edx
mov dword [edi + 0x4fc], edx
mov dword [edi + 0x500], edx
call dword [0x4f5173b4]
call dword [ebp - 8]
test eax, eax
je 0x4f4a0982
mov eax, dword [edi + 0x4f4]
test eax, eax
jne 0x4f4a0997
cmp dword [ebp + 0xc], 3
jne 0x4f4a0982
or dword [edi + 0x528], 4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.4f5085c0
mov esp, ebp
pop ebp
ret 8
imul eax, eax, 0x34
push eax
push 8
push ebx
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [edi + 0x4f8], eax
mov eax, dword [edi + 0x4fc]
shl eax, 5
push eax
push 8
push ebx
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [edi + 0x500], eax
imul eax, dword [edi + 0x4f4], 0x2c
push eax
push 8
push ebx
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [edi + 0x4f8]
test edx, edx
je 0x4f4a0982
xor ebx, ebx
cmp dword [edi + 0x500], ebx
je 0x4f4a0982
test eax, eax
je 0x4f4a0982
mov ecx, dword [edi + 0x4f4]
test ecx, ecx
je 0x4f4a0a12
add edx, 8
mov dword [edx], eax
lea edx, [edx + 0x34]
mov dword [eax], 0x2c
add eax, 0x2c
sub ecx, 1
jne 0x4f4a09f9
mov edx, dword [edi + 0x4f8]
mov dword [edi + 0x4d4], edx
mov dword [esi + 0x18], edx
mov ax, word [edi + 0x4f4]
mov word [esi + 0x20], ax
mov dword [edi + 0x4fc], ebx
mov dword [edi + 0x4f4], ebx
mov ebx, dword [ebp - 8]
mov ecx, ebx
push edi
call dword [0x4f5173b4]
call ebx
neg eax
sbb eax, eax
and eax, esi
jmp 0x4f4a0984