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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d5574
sub esp, 0x58
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4d5375
lea eax, [0x5d5660]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044a5d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x4d53b4
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x58
ret
add edx, 0x14
mov eax, edi
mov edi, ebp
mov ebp, ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], esi
lea edi, [esp + 0x34]
mov esi, edx
call fcn.0046182e
xchg ebp, eax
test al, al
xchg ebp, eax
jbe 0x4d53dd
lea ecx, [ebp - 1]
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
jmp 0x4d5515
mov dword [esp + 0x30], ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 0xc], edx
call fcn.004d5240
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test eax, eax
jne 0x4d554a
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x50], ebx
movzx eax, byte [esp + 0x45]
mov byte [esp + 0x23], al
lea ecx, [0x5fad00]
mov dword [esp], ecx
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [0x7e1c20]
test ecx, ecx
jne 0x4d5465
mov ecx, dword [esp + 0x50]
mov dword [eax], ecx
jmp 0x4d5472
mov edi, eax
mov eax, dword [esp + 0x50]
call fcn.004610d0
mov eax, edi
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
movzx ecx, word [esp + 0x40]
mov word [eax + 0xc], cx
movzx ecx, word [esp + 0x42]
mov word [eax + 0xe], cx
movzx ecx, byte [esp + 0x44]
mov byte [eax + 0x10], cl
mov ecx, dword [esp + 0x24]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x28]
cmp ebx, edx
jb 0x4d54a8
mov ebp, dword [esp + 0x48]
jmp 0x4d54e9
mov dword [esp + 0x4c], eax
lea eax, [0x5d5660]
mov dword [esp], eax
mov ebp, dword [esp + 0x48]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.0044a7d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x24]
mov ebp, eax
mov ebx, edi
mov eax, dword [esp + 0x4c]
mov esi, edx
mov edx, dword [0x7e1c20]
lea edi, [ebp + ecx*4]
test edx, edx
jne 0x4d54ff
mov dword [ebp + ecx*4], eax
jmp 0x4d5504
call fcn.004610d0
mov edx, dword [esp + 0x54]
movzx ecx, byte [esp + 0x23]
mov eax, ebp
mov ebp, ebx
mov ebx, dword [esp + 0x30]
inc ebx
mov edi, eax
mov eax, dword [esp + 0x60]
cmp eax, ebx
jg 0x4d53a7
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x58
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
add esp, 0x58
ret
call fcn.0045fcc0
jmp fcn.004d5320