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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, dword [ecx + 0xc]
mov esi, dword [ecx + 8]
mov dword [esp + 8], ecx
test edi, edi
je 0x4c6f6a
mov ebp, dword [sym.imp.kernel32.dll_HeapFree]
lea ebx, [esi + 4]
jmp 0x4c6f56
add ebx, 0x24
dec edi
je 0x4c6f6a
cmp dword [ebx - 4], 0
je 0x4c6f50
push dword [ebx]
push 0
push dword [0x94bf18]
call ebp
jmp 0x4c6f50
mov edi, dword [esp + 8]
cmp dword [edi + 4], 0
je 0x4c6f83
push esi
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
test ecx, ecx
mov dword [esp], eax
mov dword [esp + 0x10], ecx
je 0x4c70aa
xor esi, esi
jmp 0x4c6fd4
push dword [eax]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword [edi + 0x50]
mov ecx, edi
call fcn.004c72c0
push edi
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
inc esi
cmp esi, dword [esp + 0x10]
je 0x4c70aa
mov ecx, dword [esp]
imul eax, esi, 0x70
mov ebx, dword [ecx + eax]
lea edx, [ecx + eax]
mov dword [esp + 4], edx
cmp ebx, 0x80000000
jne 0x4c7020
mov ebp, dword [edx + 0xc]
mov edi, dword [edx + 8]
test ebp, ebp
je 0x4c700d
mov ebx, edi
nop dword [eax + eax]
mov ecx, ebx
call fcn.004c72c0
add ebx, 8
dec ebp
jne 0x4c7000
mov eax, dword [esp + 4]
cmp dword [eax + 4], 0
jne 0x4c6fba
jmp 0x4c6fc9
mov ebp, dword [edx + 8]
mov eax, dword [edx + 4]
test ebp, ebp
mov dword [esp + 0xc], eax
je 0x4c704d
mov edi, dword [esp + 0xc]
nop word cs:[eax + eax]
nop dword [eax]
mov ecx, edi
call fcn.004c72c0
add edi, 8
dec ebp
jne 0x4c7040
test ebx, ebx
je 0x4c7063
push dword [esp + 0xc]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword [esp + 4]
mov edx, 1
mov eax, dword [edi + 0x24]
lea ecx, [eax - 0x80000000]
cmp ecx, 3
cmovae ecx, edx
test ecx, ecx
je 0x4c6fb0
cmp ecx, 1
jne 0x4c7098
test eax, eax
je 0x4c6fb0
lea eax, [edi + 0x28]
jmp 0x4c6fa0
cmp dword [edi + 0x28], 0
je 0x4c6fb0
lea eax, [edi + 0x2c]
jmp 0x4c6fa0
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0
je 0x4c70c5
push dword [esp]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ebx, dword [esi + 0x28]
mov esi, dword [esi + 0x2c]
test esi, esi
je 0x4c714e
xor ebp, ebp
mov dword [esp], ebx
mov dword [esp + 0xc], esi
jmp 0x4c70ef
add edi, 4
mov ecx, edi
inc ebp
call fcn.004c7590
cmp ebp, esi
je 0x4c714e
imul eax, ebp, 0x98
cmp dword [ebx + eax], 0x110009
lea edi, [ebx + eax]
je 0x4c70e0
mov esi, dword [edi + 0x7c]
mov eax, dword [edi + 0x78]
test esi, esi
mov dword [esp + 4], eax
je 0x4c712d
mov ebx, dword [esp + 4]
nop word cs:[eax + eax]
nop dword [eax]
mov ecx, ebx
call fcn.004c74a0
add ebx, 0x58
dec esi
jne 0x4c7120
cmp dword [edi + 0x74], 0
mov esi, dword [esp + 0xc]
je 0x4c7149
push dword [esp + 4]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ebx, dword [esp]
jmp 0x4c70e3
mov edi, dword [esp + 8]
cmp dword [edi + 0x24], 0
je 0x4c7167
push ebx
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [edi + 0x38]
mov edi, dword [edi + 0x3c]
test edi, edi
je 0x4c719a
mov ebp, dword [sym.imp.kernel32.dll_HeapFree]
lea ebx, [esi + 4]
jmp 0x4c7186
add ebx, 0x28
dec edi
je 0x4c719a
cmp dword [ebx - 4], 0
je 0x4c7180
push dword [ebx]
push 0
push dword [0x94bf18]
call ebp
jmp 0x4c7180
mov edi, dword [esp + 8]
cmp dword [edi + 0x34], 0
je 0x4c71b3
push esi
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [edi + 0x44], 0
je 0x4c71ca
push dword [edi + 0x48]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret