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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xa8
mov esi, edx
mov edx, dword [edx]
mov ebp, dword [esp + 0xbc]
call 0x4c24ba
pop eax
cmp byte [edx + 0x14], 0
je 0x4c24f6
mov dword [esp + 0x1c], eax
movzx eax, byte [ebp]
mov dword [esp], ecx
mov dword [esp + 0x70], edx
test eax, eax
je 0x4c2512
cmp eax, 1
jne 0x4c258e
mov edx, dword [ebp + 4]
lea eax, [ebp + 0x1c]
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], eax
push dword [ebp + 0xc]
call fcn.004c5a47
pop eax
jmp 0x4c2542
mov edx, dword [esi + 4]
add ebp, 0x1c
push 0
push ebp
push dword [esi + 8]
call fcn.004c1fa1
add esp, 0xb4
jmp 0x4c2665
mov edx, dword [ebp + 4]
lea edi, [esp + 0x20]
lea eax, [ebp + 0x1c]
mov ecx, edi
mov dword [esp + 0x34], eax
call fcn.004b71fa
mov ebx, dword [edi]
lea ecx, [esp + 0x38]
mov edx, ebx
push dword [edi + 8]
call fcn.004c5a47
pop eax
mov edx, dword [edi + 4]
mov ecx, ebx
call fcn.0044816a
mov eax, dword [esp + 0x38]
cmp eax, 4
jne 0x4c2554
mov bl, byte [esp + 0x3c]
jmp 0x4c2600
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
add ecx, dword [eax*4 + 0x4c2a5c]
jmp ecx
mov dword [esp + 4], esi
mov edx, dword [ebp + 4]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x18]
lea eax, [ebp + 0x1c]
lea edi, [esp + 0x74]
mov dword [esp + 0x34], eax
mov ecx, edi
push dword [ebp + 0xc]
call fcn.004c5b45
pop eax
lea ecx, [esp + 0x60]
mov edx, ebx
push esi
call fcn.004c5b45
pop eax
mov esi, dword [edi]
lea ebx, [esp + 0x20]
mov ecx, ebx
mov edx, esi
push dword [edi + 8]
call fcn.004c5d6e
pop eax
cmp byte [ebx], 0
mov dword [esp + 8], esi
je 0x4c26a7
mov bl, byte [esp + 0x21]
mov esi, dword [esp + 4]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
call fcn.0044816a
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 8]
call fcn.0044816a
mov byte [esp + 0xc], bl
mov byte [esp + 0x18], 2
mov ebx, dword [esp]
mov edx, dword [esi + 4]
lea edi, [esp + 0x80]
lea eax, [esp + 0xc]
mov ecx, edi
push eax
push dword [esp + 0x38]
push dword [esi + 8]
call fcn.004c59f8
add esp, 0xc
cmp byte [edi + 0x24], 7
jne 0x4c2651
mov edx, dword [esp + 0x70]
movzx eax, byte [ebp + 0x34]
lea esi, [esp + 0x38]
mov ecx, esi
push edi
push eax
call fcn.004c32fd
pop eax
pop ecx
mov dl, byte [esi + 0x24]
cmp dl, 7
jne 0x4c266a
push 0xa
pop ecx
lea esi, [esp + 0x80]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
add esp, 0xa8
pop esi
pop edi
pop ebx
pop ebp
ret
push 9
pop ecx
lea eax, [esp + 0x38]
mov edi, ebx
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov cl, byte [eax + 0x27]
movzx eax, word [eax + 0x25]
cmp byte [esp + 0xa4], 7
mov byte [ebx + 0x27], cl
mov word [ebx + 0x25], ax
mov byte [ebx + 0x24], dl
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
jne 0x4c2710
call fcn.0041872c
jmp 0x4c265f
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x4c27ab
mov edi, dword [esp + 0x28]
mov ecx, ebx
mov edx, edi
push 0x10
push 0x5be778
call fcn.004153c1
pop ecx
pop edx
test al, al
je 0x4c2807
mov edi, dword [esp + 0x60]
lea esi, [esp + 0x20]
mov ecx, esi
mov edx, edi
push dword [esp + 0x68]
call fcn.004c5def
pop eax
cmp byte [esi], 0
mov esi, dword [esp + 4]
jne 0x4c2952
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x4c297e
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x28]
xor ecx, ecx
inc ecx
jmp 0x4c29be
call fcn.0044816a
jmp 0x4c265f
mov esi, dword [esp + 4]
xor ebx, ebx
jmp 0x4c25e6
mov ecx, ebx
mov edx, edi
push 6
push 0x5be788
call fcn.004153c1
pop ecx
pop edx
test al, al
je 0x4c293a
mov edi, dword [esp + 0x60]
lea esi, [esp + 0x20]
mov ecx, esi
mov edx, edi
push dword [esp + 0x68]
call fcn.004c5f2a
pop eax
cmp byte [esi], 0
mov esi, dword [esp + 4]
jne 0x4c2952
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x4c297e
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x28]
push 2
pop ecx
jmp 0x4c29be
lea esi, [esp + 0x20]
mov edx, ebx
mov ecx, esi
push edi
call fcn.004c5eae
pop eax
cmp byte [esi], 0
mov esi, dword [esp + 4]
je 0x4c2985
mov bl, byte [esp + 0x21]
jmp 0x4c25e6
mov bl, 1
jmp 0x4c25e6
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x6c], ebx
mov bl, 1
test ecx, ecx
je 0x4c25e6
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x60]
push dword [esp + 0x68]
mov dword [esp + 0x34], eax
push eax
call fcn.004c5f88
pop ecx
pop ecx
test eax, eax
je 0x4c25e6
push 3
pop ecx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x30]
call fcn.0044816a
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 8]
jmp 0x4c253d