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

Disassembly:
sub esp, 0x5c
push ebp
mov ebp, dword [esp + 0x6c]
imul ebp, dword [esp + 0x70]
push esi
push edi
mov edi, dword [esp + 0x70]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x20], 0
cmp dword [edi], 3
jne 0x4cc035
cmp dword [edi + 8], 0
jne 0x4cc035
pop edi
pop esi
mov eax, 0x6b
pop ebp
add esp, 0x5c
ret
push ebx
mov ebx, dword [esp + 0x70]
mov edx, edi
mov ecx, ebx
call fcn.004cc3c3
test eax, eax
je 0x4cc085
mov ecx, dword [edi]
call fcn.004d07d4
mov edx, dword [esp + 0x14]
mov ecx, eax
imul ecx, dword [edi + 4]
mov eax, ebp
and eax, 7
shr ebp, 3
imul eax, ecx
imul ebp, ecx
mov ecx, dword [esp + 0x10]
add eax, 7
shr eax, 3
add eax, ebp
push eax
call fcn.004d07a4
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x5c
ret
cmp dword [ebx], 3
jne 0x4cc156
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebx, 1
shl ebx, cl
mov dword [esp + 0x78], ecx
test eax, eax
jne 0x4cc0f7
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
mov esi, dword [edi + 8]
cmp ecx, 3
jne 0x4cc0f9
mov edx, dword [edi + 4]
cmp edx, dword [esp + 0x78]
jne 0x4cc0f9
call fcn.004d07d4
mov ecx, eax
mov eax, ebp
imul ecx, edx
and eax, 7
mov edx, dword [esp + 0x14]
shr ebp, 3
imul eax, ecx
imul ebp, ecx
mov ecx, dword [esp + 0x10]
add eax, 7
shr eax, 3
add eax, ebp
push eax
call fcn.004d07a4
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x5c
ret
mov esi, edx
cmp eax, ebx
jae 0x4cc0ff
mov ebx, eax
lea edx, [esp + 0x28]
mov ecx, 0x40
call fcn.004d6677
xor edi, edi
mov dword [esp + 0x68], 0xffffffff
test ebx, ebx
je 0x4cc152
add esi, 2
movzx eax, byte [esi + 1]
lea ecx, [esp + 0x28]
mov dl, byte [esi - 2]
push edi
push eax
movzx eax, byte [esi]
push eax
movzx eax, byte [esi - 1]
push eax
call fcn.004cbf20
mov edx, eax
add esp, 0x10
mov dword [esp + 0x24], edx
test edx, edx
jne 0x4cc2bc
inc edi
add esi, 4
cmp edi, ebx
jne 0x4cc11e
mov ebx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
cmp dword [edx + 4], 0x10
jne 0x4cc302
cmp dword [ebx + 4], 0x10
jne 0x4cc302
xor ecx, ecx
mov dword [esp + 0x20], ecx
test ebp, ebp
je 0x4cc2c0
mov esi, dword [esp + 0x10]
add esi, 2
mov ebx, esi
mov edi, esi
lea esp, [esp]
push edx
push ecx
push dword [esp + 0x1c]
lea eax, [esp + 0x28]
mov dword [esp + 0x84], 0
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x8c], 0
push eax
lea edx, [esp + 0x90]
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x8c]
mov dword [esp + 0x30], 0
call fcn.004cbd14
mov eax, dword [esp + 0x84]
add esp, 0x14
mov eax, dword [eax]
test eax, eax
jne 0x4cc207
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x78]
shr eax, 8
mov byte [ecx + edx*2], al
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x78]
mov byte [eax + edx*2 + 1], cl
jmp 0x4cc29e
cmp eax, 2
jne 0x4cc23a
mov ecx, dword [esp + 0x78]
mov eax, ecx
shr eax, 8
mov byte [edi - 2], al
mov byte [edi - 1], cl
mov ecx, dword [esp + 0x7c]
mov eax, ecx
shr eax, 8
mov byte [edi], al
mov byte [edi + 1], cl
mov ecx, dword [esp + 0x18]
mov eax, ecx
shr eax, 8
mov byte [edi + 2], al
mov byte [edi + 3], cl
jmp 0x4cc29e
cmp eax, 4
jne 0x4cc25e
mov ecx, dword [esp + 0x78]
mov eax, ecx
shr eax, 8
mov byte [ebx - 2], al
mov byte [ebx - 1], cl
mov ecx, dword [esp + 0x1c]
mov eax, ecx
shr eax, 8
mov byte [ebx], al
mov byte [ebx + 1], cl
jmp 0x4cc29e
cmp eax, 6
jne 0x4cc29e
mov ecx, dword [esp + 0x78]
mov eax, ecx
shr eax, 8
mov byte [esi - 2], al
mov byte [esi - 1], cl
mov ecx, dword [esp + 0x7c]
mov eax, ecx
shr eax, 8
mov byte [esi], al
mov byte [esi + 1], cl
mov ecx, dword [esp + 0x18]
mov eax, ecx
shr eax, 8
mov byte [esi + 2], al
mov byte [esi + 3], cl
mov ecx, dword [esp + 0x1c]
mov eax, ecx
shr eax, 8
mov byte [esi + 4], al
mov byte [esi + 5], cl
mov ecx, dword [esp + 0x20]
add edi, 6
mov edx, dword [esp + 0x74]
inc ecx
add ebx, 4
mov dword [esp + 0x20], ecx
add esi, 8
cmp ecx, ebp
jne 0x4cc18b
mov ebx, dword [esp + 0x70]
cmp dword [ebx], 3
jne 0x4cc2f6
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
mov ecx, dword [esp + esi*4 + 0x28]
test ecx, ecx
je 0x4cc2f0
call fcn.004cbcd9
mov eax, dword [esp + esi*4 + 0x28]
test eax, eax
je 0x4cc2f0
add eax, 0xfffffffc
push eax
push 0
push dword [0x4e05c4]
call edi
inc esi
cmp esi, 0x10
jne 0x4cc2cd
mov eax, dword [esp + 0x24]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x5c
ret
cmp dword [ebx + 4], 8
jne 0x4cc33e
mov eax, dword [ebx]
cmp eax, 6
jne 0x4cc324
mov ecx, dword [esp + 0x10]
push edx
push dword [esp + 0x18]
mov edx, ebp
call fcn.004cb8ea
add esp, 8
jmp 0x4cc2c0
cmp eax, 2
jne 0x4cc33e
mov ecx, dword [esp + 0x10]
push edx
push dword [esp + 0x18]
mov edx, ebp
call fcn.004cb5f2
add esp, 8
jmp 0x4cc2c0
xor esi, esi
mov byte [esp + 0x1c], 0
mov byte [esp + 0x20], 0
mov byte [esp + 0x7c], 0
mov byte [esp + 0x78], 0
test ebp, ebp
je 0x4cc2c0
push edx
push esi
push dword [esp + 0x1c]
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x8c]
push eax
lea edx, [esp + 0x34]
lea ecx, [esp + 0x30]
call fcn.004cb2c3
push dword [esp + 0x8c]
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x40]
push dword [esp + 0x94]
mov edx, esi
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push eax
push ebx
call fcn.004cb07c
add esp, 0x2c
mov dword [esp + 0x24], eax
test eax, eax
jne 0x4cc2c0
mov edx, dword [esp + 0x74]
inc esi
cmp esi, ebp
jne 0x4cc35c
jmp 0x4cc2c0