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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d741f
sub esp, 0x6c
mov eax, 0
mov dword [esp + 0x68], eax
mov byte [esp + 0x2b], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
call fcn.00487740
lea edi, [esp + 0x54]
lea esi, [esp]
call fcn.0046362e
mov eax, dword [esp + 0x70]
test byte [eax], al
mov dword [esp], eax
call fcn.0046c1c0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea eax, [0x4d7430]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x68], ecx
mov byte [esp + 0x2b], 1
mov ecx, dword [eax + 0x10]
test ecx, 0x18
jne 0x4d720e
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x4d726c
mov dword [esp], eax
call fcn.0046c560
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.00407ee0
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test al, al
jne 0x4d7244
mov ebx, 3
xor ecx, ecx
lea edx, [0x6c726e]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0046c1c0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x30], ecx
mov dword [eax + 0x20], 0
mov dword [esp], eax
lea ebp, [eax + 0x1c]
mov dword [esp + 0x48], ebp
mov dword [esp + 4], ebp
lea edi, [esp + 8]
lea esi, [esp + 0x54]
call fcn.0046362e
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
call fcn.004d5e50
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x7c]
lea ebx, [ecx + edx]
mov dword [esp + 0x38], ebx
mov ebp, dword [eax + 0x24]
mov eax, dword [eax + 0x1c]
cmp ebp, ebx
jae 0x4d72f5
lea edx, [0x68d980]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0044b5e0
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x44], eax
lea ebx, [eax + ecx]
mov dword [esp], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00463840
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x20], eax
mov edx, dword [esp + 0x34]
mov dword [ecx + 0x24], edx
mov ebx, dword [0x91eb10]
test ebx, ebx
jne 0x4d7343
mov ebx, dword [esp + 0x44]
mov dword [ecx + 0x1c], ebx
mov eax, ebx
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x48]
jmp 0x4d7352
mov edi, dword [esp + 0x48]
mov ebx, eax
mov eax, dword [esp + 0x44]
call fcn.00462ed0
mov ebp, dword [esp + 0x7c]
test ebp, ebp
je 0x4d7367
mov esi, dword [esp + 0x78]
lea esi, [ebp + esi - 1]
cmp byte [esi], 0xa
je 0x4d73cc
mov esi, dword [esp + 0x3c]
lea ebp, [esi + ebp + 1]
cmp edx, ebp
jae 0x4d73c2
lea ecx, [0x68d980]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0044b5e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x70]
mov dword [ebx + 0x24], edx
mov edx, dword [0x91eb10]
test edx, edx
jne 0x4d73b3
mov dword [ebx + 0x1c], eax
jmp 0x4d73bc
mov edi, dword [esp + 0x48]
call fcn.00462ed0
mov edx, ecx
mov ecx, ebx
mov ebx, edx
lea edx, [ebx + 1]
mov dword [ecx + 0x20], edx
mov byte [eax + ebx], 0xa
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov eax, dword [eax + 0x10]
mov ebx, dword [ecx + 0x1c]
mov ebp, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
call fcn.00461ac0
jmp fcn.004d7170