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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x3c
cmp byte [ecx + 0x60], 0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x24], 0
jne 0x4c8020
cmp dword [ecx + 0x2c], edx
je 0x4c7fed
mov ecx, dword [ecx + 0x18]
test ecx, ecx
je 0x4c805c
mov eax, dword [ebx + 0x14]
xor esi, esi
cmp edx, dword [eax + 4]
je 0x4c7f39
add esi, 1
cmp esi, ecx
je 0x4c805c
cmp edx, dword [eax + esi*8 + 4]
jne 0x4c7f1d
test esi, esi
js 0x4c805c
lea eax, [eax + esi*8]
mov edx, dword [eax]
mov eax, dword [ebx + 0x3c]
mov edi, dword [eax + edx*4]
lea eax, [edi*4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x2c], eax
mov eax, dword [eax]
test eax, eax
je 0x4c8255
mov edx, dword [eax]
lea ecx, [ebp - 0x24]
mov dword [esp + 4], 0x7616a0
mov dword [esp], eax
mov dword [esp + 8], ecx
call dword [edx]
mov eax, dword [ebp - 0x24]
sub esp, 0xc
test eax, eax
je 0x4c8321
cmp byte [ebx + 0x60], 0
jne 0x4c8080
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov eax, dword [eax]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x75f030
mov dword [esp], eax
call dword [edx]
mov eax, dword [ebp - 0x20]
sub esp, 0xc
test eax, eax
jne 0x4c827d
mov edi, 0x80004001
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4c8011
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
test eax, eax
js 0x4c803e
mov edi, dword [ebp + 8]
lea eax, [edi + eax*4]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
test ebx, ebx
je 0x4c800a
mov eax, dword [ebx]
mov eax, dword [eax + 4]
cmp eax, 0x60c270
jne 0x4c8260
add dword [ebx + 8], 1
mov eax, dword [ebp + 0x10]
xor edi, edi
mov dword [eax], ebx
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov ecx, dword [ecx + 0x24]
test ecx, ecx
je 0x4c803e
mov esi, dword [ebx + 0x20]
cmp edx, dword [esi]
je 0x4c7fed
xor eax, eax
jmp 0x4c8037
cmp edx, dword [esi + eax*4]
je 0x4c7fe0
add eax, 1
cmp eax, ecx
jne 0x4c8032
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x4c805c
mov eax, dword [ebx + 0x14]
xor esi, esi
cmp edx, dword [eax]
jne 0x4c8055
jmp 0x4c8077
cmp edx, dword [eax + esi*8]
je 0x4c8070
add esi, 1
cmp esi, ecx
jne 0x4c8050
lea esp, [ebp - 0xc]
mov edi, 0x80070057
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
test esi, esi
js 0x4c805c
lea eax, [eax + esi*8]
mov edi, dword [eax + 4]
jmp 0x4c7f41
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebx + 0x30]
mov edx, dword [edi + 8]
mov edi, dword [ebp - 0x30]
cmp edx, 1
mov edi, dword [ecx + edi]
je 0x4c7f8c
test edx, edx
jne 0x4c8317
cmp dword [ebx + 0x7c], esi
jbe 0x4c80c4
jmp 0x4c814b
mov edx, dword [ebx + 0x78]
mov edi, dword [ebp - 0x2c]
cmp ecx, esi
mov dword [edx + eax*4], edi
mov dword [ebx + 0x7c], ecx
ja 0x4c814b
mov dword [esp], 0xc
call fcn.006fec40
mov dword [ebp - 0x2c], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov eax, dword [ebx + 0x7c]
cmp eax, dword [ebx + 0x80]
lea ecx, [eax + 1]
jne 0x4c80b0
shr eax, 2
lea edi, [eax + ecx]
cmp edi, 0x1fffffff
ja 0x4c832b
lea eax, [edi*4]
mov dword [esp], eax
call fcn.006fec20
mov edx, eax
mov eax, dword [ebx + 0x7c]
mov ecx, dword [ebx + 0x78]
test eax, eax
jne 0x4c8220
test ecx, ecx
jne 0x4c823f
mov dword [ebx + 0x80], edi
lea ecx, [eax + 1]
mov edi, dword [ebp - 0x2c]
mov dword [ebx + 0x78], edx
cmp ecx, esi
mov dword [edx + eax*4], edi
mov dword [ebx + 0x7c], ecx
jbe 0x4c80c4
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + esi*4]
mov edi, dword [esi + 8]
test edi, edi
jne 0x4c7fbc
mov ebx, dword [esi + 4]
test ebx, ebx
jne 0x4c7fbc
mov dword [esp], 0x18
call fcn.006fec40
mov ebx, eax
mov dword [eax], 0x771a60
mov dword [eax + 4], 0x771a7c
mov dword [eax + 0xc], 0
mov dword [eax + 8], 1
mov eax, dword [esi + 8]
test eax, eax
je 0x4c81a2
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov edi, dword [ebp - 0x24]
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
test edi, edi
je 0x4c81c3
mov eax, dword [edi]
mov eax, dword [eax + 4]
cmp eax, 0x60c270
jne 0x4c8270
add dword [edi + 8], 1
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4c81d5
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x4c81fd
mov eax, dword [ebx]
mov eax, dword [eax + 4]
cmp eax, 0x60c270
jne 0x4c8260
add dword [ebx + 8], 1
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4c800a
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x4c800a
shl eax, 2
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov dword [esp], ecx
mov dword [ebp - 0x30], edx
call fcn.006febd0
mov eax, dword [ebx + 0x7c]
mov edx, dword [ebp - 0x30]
jmp 0x4c812e
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
jmp 0x4c7f5e
mov dword [esp], ebx
call eax
sub esp, 4
jmp 0x4c81fd
mov dword [esp], edi
call eax
sub esp, 4
jmp 0x4c81c3
lea eax, [ebp - 0x1c]
mov dword [esp + 4], edi
mov ecx, ebx
mov dword [ebp - 0x1c], 0
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004c7ee0
mov edi, eax
sub esp, 0xc
mov eax, dword [ebp - 0x1c]
test edi, edi
je 0x4c82d2
test eax, eax
je 0x4c82b7
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4c7fc1
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x4c7fc1
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx]
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [ecx + 0xc]
mov edi, eax
sub esp, 8
mov eax, dword [ebp - 0x1c]
test edi, edi
jne 0x4c82a8
test eax, eax
je 0x4c82fc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4c80a0
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x4c80a0
mov edi, 0x80004001
jmp 0x4c7fc8
mov edi, 0x80004001
jmp 0x4c8011
call fcn.006ff430
mov ebx, eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4c8342
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push eax
mov dword [esp], ebx
call fcn.005e6130
mov ebx, eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4c835c
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push ecx
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4c8332
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push edx
jmp 0x4c8332