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

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x48]
cmp eax, 1
jbe 0x4d6e84
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2c]
test eax, eax
mov dword [esp + 0x10], eax
je 0x4d6e84
mov ebp, dword [esp + 0x68]
mov ebx, dword [esp + 0x64]
lea ecx, [esp + 0x10]
mov dword [esp + 0x68], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x34]
mov edx, dword [eax]
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x30], edx
mov cl, byte [eax + 0x1c]
mov byte [esp + 0x34], cl
mov dl, byte [eax + 0x1d]
mov byte [esp + 0x35], dl
mov eax, dword [eax + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4d6e84
mov dword [esp + 0x14], eax
mov edx, dword [esi]
mov edi, eax
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call dword [edx + 0x34]
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x54], edx
movzx edx, byte [eax + 0x1c]
mov byte [esp + 0x58], dl
movzx edx, byte [eax + 0x1d]
mov byte [esp + 0x59], dl
mov eax, dword [eax + 0x20]
mov dword [esp + 0x5c], eax
push ebp
sub esp, 0x24
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x6c]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0xc], ecx
mov edx, dword [esp + 0x74]
mov dword [eax + 0x10], edx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0x14], ecx
mov edx, dword [esp + 0x7c]
mov dword [eax + 0x18], edx
movzx ecx, byte [esp + 0x80]
mov byte [eax + 0x1c], cl
movzx edx, byte [esp + 0x81]
mov byte [eax + 0x1d], dl
mov ecx, dword [esp + 0x84]
mov dword [eax + 0x20], ecx
mov edx, dword [esp + 0x40]
sub esp, 0x24
mov eax, esp
mov dword [eax], edx
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x6c]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0xc], ecx
mov edx, dword [esp + 0x74]
mov dword [eax + 0x10], edx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0x14], ecx
mov edx, dword [esp + 0x7c]
mov dword [eax + 0x18], edx
movzx ecx, byte [esp + 0x80]
mov byte [eax + 0x1c], cl
movzx edx, byte [esp + 0x81]
mov byte [eax + 0x1d], dl
mov ecx, dword [esp + 0x84]
mov dword [eax + 0x20], ecx
call ebx
add esp, 0x4c
cmp eax, 1
jl 0x4d6e6c
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004d6e90
mov eax, dword [esp + 0x70]
mov edx, dword [esi]
add esp, 8
push edi
push eax
mov ecx, esi
call dword [edx + 0x5c]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4d6d47
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4d6ce2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 8