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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x64
mov eax, dword [esp + 0x78]
mov dword [esp + 0x50], eax
test eax, eax
je 0x4ff1ec
mov eax, dword [eax]
test eax, eax
je 0x4ff10a
lea eax, [esp + 0x80]
mov edx, dword [esp + 0x80]
add eax, 4
test edx, edx
mov edx, 0
mov dword [esp + 0x60], edx
je 0x4fed45
mov ebx, edx
add eax, 3
inc ebx
and eax, 0xfffffffc
mov edx, dword [eax]
add eax, 4
test edx, edx
jne 0x4fed31
mov dword [esp + 0x60], ebx
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4ff12e
mov ebp, eax
mov eax, dword [esp + 0x50]
mov edx, dword [0x606064]
mov ecx, ebp
add ecx, dword [eax + 4]
shl ecx, 5
mov esi, ecx
add esi, 0x1f
mov dword [esp], esi
call dword [edx + pe_nt_image_headers32]
test eax, eax
je 0x4ff0e0
mov edx, dword [esp + 0x50]
lea ecx, [eax + 0x1f]
xor ebx, ebx
and ecx, 0xffffffe0
mov dword [esp + 0x4c], ebx
mov ebx, dword [edx + 4]
add ebp, ebx
mov dword [esp + 0x44], ebx
mov dword [edx + 4], ebp
mov ebp, dword [edx + 0xc]
mov dword [edx + 0xc], eax
test ebp, ebp
mov esi, dword [edx + 8]
mov dword [edx + 8], ecx
je 0x4fedc1
mov eax, edx
mov ecx, ebx
shl ecx, 3
mov edi, dword [eax + 8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x606064]
mov dword [esp], ebp
call dword [eax + 0x134]
lea eax, [esp + 0x80]
mov ebp, dword [esp + 0x80]
add eax, 4
xor edx, edx
test ebp, ebp
mov dword [esp + 0x48], edx
mov dword [esp + 0x40], eax
je 0x4feff9
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
add edi, eax
mov ebx, dword [ebp + 0x2c]
xor eax, eax
imul edi, edi, 0x20
mov esi, dword [edx + 8]
mov dword [esp + 0x58], edi
add edi, esi
mov dword [esp + 0x54], edi
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
test ebx, ebx
je 0x4feecc
xor al, al
cmp ebx, 0x20
jbe 0x4fee53
mov dword [esp + 8], 1
mov dword [esp], 0x29
call fcn.004f73c0
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
mov dword [esp], eax
call fcn.004f73d0
mov al, 1
mov edx, dword [ebp + 0x20]
cmp edx, 0x20
jbe 0x4fee84
mov dword [esp + 0x10], 1
mov dword [esp], 0x28
call fcn.004f73c0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
mov dword [esp], eax
call fcn.004f73d0
jmp 0x4feff9
test al, al
jne 0x4feff9
mov eax, dword [0x606064]
mov edx, ebx
shl edx, 2
mov dword [esp], edx
call dword [eax + pe_nt_image_headers32]
mov edx, eax
test eax, eax
je 0x4ff138
mov ecx, dword [esp + 0x58]
mov edi, eax
mov eax, ebx
mov dword [esi + ecx + 8], edi
mov dword [esi + ecx + 4], ebx
mov ecx, 0xffffffff
mov ebx, edx
mov edx, eax
mov eax, ebx
mov dword [eax], ecx
add eax, 4
dec edx
jne 0x4feec4
mov eax, dword [0x606064]
mov dword [esp], 0x14
call dword [eax + pe_nt_image_headers32]
test eax, eax
je 0x4ff190
xor edx, edx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], edx
mov dword [eax + 8], edx
mov dword [eax + 4], edx
mov dword [eax], edx
mov dword [esi + ecx + 0x1c], eax
mov dword [esi + ecx], ebp
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4fefbd
test eax, eax
je 0x4fef30
mov eax, dword [eax]
test eax, eax
je 0x4fef30
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 4]
test eax, eax
jbe 0x4fef30
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 8]
jmp 0x4fef32
xor eax, eax
mov edx, dword [esp + 0x54]
test edx, edx
je 0x4ff180
mov edx, ecx
mov esi, dword [esi + edx]
test esi, esi
je 0x4ff180
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x4feff0
mov ecx, dword [ecx]
test ecx, ecx
je 0x4feff0
test eax, eax
je 0x4feff0
cmp dword [eax], 0xffffffff
jne 0x4feff0
test edx, edx
je 0x4feff0
mov ecx, dword [edx]
test ecx, ecx
je 0x4feff0
mov ecx, dword [esp + 0x50]
mov ebx, edx
mov ebp, edx
mov ecx, dword [ecx + 8]
sub ebx, ecx
mov edx, ebx
sar edx, 5
mov ebx, edx
shl ebx, 5
add ebx, ecx
cmp ebx, ebp
je 0x4ff16c
mov edx, 0xffffffff
cmp edx, 0xffffffff
je 0x4feff0
mov ecx, dword [esp + 0x50]
mov dword [eax], edx
test ecx, ecx
je 0x4feff0
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
add eax, 3
inc edx
and eax, 0xfffffffc
mov ecx, dword [esp + 0x54]
mov ebx, 4
add ebx, eax
mov dword [esp + 0x48], edx
mov ebp, dword [eax]
mov dword [esp + 0x40], ebx
test ebp, ebp
mov dword [esp + 0x4c], ecx
jne 0x4fede4
jmp 0x4feff9
mov eax, dword [esp + 0x54]
call fcn.004fe290
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x60]
cmp eax, edx
jne 0x4ff01f
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4ff013
mov edx, dword [esp + 0x44]
mov dword [eax], edx
mov eax, dword [esp + 0x50]
add esp, 0x64
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov dword [eax + 4], edx
mov eax, edi
dec edi
test eax, eax
je 0x4ff12e
lea esi, [esi]
mov eax, dword [esp + 0x50]
mov edx, edi
add edx, dword [eax + 4]
mov ebx, dword [eax + 8]
imul ebp, edx, 0x20
mov esi, dword [ebx + ebp + 0x1c]
test esi, esi
je 0x4ff089
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4ff075
mov edx, dword [0x606064]
mov dword [esp], eax
call dword [edx + 0x134]
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
mov eax, dword [0x606064]
mov dword [esp], esi
call dword [eax + 0x134]
xor eax, eax
mov dword [ebx + ebp + 0x1c], eax
mov eax, dword [ebx + ebp + 8]
test eax, eax
je 0x4ff0a6
mov edx, dword [0x606064]
mov dword [esp], eax
call dword [edx + 0x134]
xor eax, eax
mov dword [ebx + ebp + 8], eax
xor eax, eax
mov dword [ebx + ebp + 4], eax
mov eax, dword [ebx + ebp]
mov edx, dword [eax + 0x38]
test edx, edx
je 0x4ff0c5
mov edx, dword [0x606064]
mov dword [esp], eax
call dword [edx + 0x134]
xor eax, eax
dec edi
mov dword [ebx + ebp], eax
cmp edi, 0xffffffff
jne 0x4ff040
jmp 0x4ff12e
mov dword [esp + 0x28], 1
mov dword [esp], 0x80000013
mov dword [esp + 4], esi
call fcn.004f73c0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.004f73d0
jmp 0x4ff12e
mov dword [esp + 0x38], 1
mov dword [esp], 0x33
call fcn.004f73c0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
mov dword [esp], eax
call fcn.004f73d0
add esp, 0x64
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp + 0x5c], ebx
shl ebx, 2
mov dword [esp + 0x18], 1
mov dword [esp], 0x80000013
mov dword [esp + 4], ebx
call fcn.004f73c0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
mov dword [esp], eax
call fcn.004f73d0
jmp 0x4feff9
mov ecx, dword [esp + 0x50]
cmp edx, dword [ecx + 4]
jb 0x4fefae
jmp 0x4fefa9
xor edx, edx
jmp 0x4fef4f
mov dword [esp + 0x20], 1
mov dword [esp], 0x80000013
mov dword [esp + 4], 0x14
call fcn.004f73c0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
mov dword [esp], eax
call fcn.004f73d0
mov eax, dword [esp + 0x58]
mov eax, dword [esi + eax + 8]
test eax, eax
je 0x4feff9
mov edx, dword [0x606064]
mov dword [esp], eax
call dword [edx + 0x134]
mov eax, dword [esp + 0x58]
mov dword [esi + eax + 8], 0
jmp 0x4feff9
mov dword [esp + 0x30], 1
mov dword [esp], 0x80000016
call fcn.004f73c0
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.004f73d0
jmp 0x4ff12e