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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d13ed
sub esp, 0x64
mov eax, dword [esp + 0x70]
test eax, eax
jle 0x4d13e2
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
xor edx, edx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x4d11a4
add ebx, 0x14
mov edx, dword [esp + 0x68]
mov edx, ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], edi
lea edi, [esp + 0x50]
mov esi, ebx
call fcn.0045a83e
lea edi, [esp + 0x3c]
lea esi, [esp + 0x50]
call fcn.0045a83e
mov ecx, dword [esp + 0x68]
test ecx, ecx
jne 0x4d13b1
mov esi, 1
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4d12f3
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
lea ecx, [edx + 1]
cmp ecx, eax
jl 0x4d1197
test ebp, ebp
jne 0x4d12c4
mov eax, dword [0x77fbc8]
mov ecx, dword [0x77fbcc]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x2c], ecx
lea edx, [0x559c80]
mov dword [esp], edx
call fcn.0040b1d0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov dword [edi + 4], eax
mov eax, dword [0x795b00]
test eax, eax
jne 0x4d12b9
mov ecx, dword [esp + 0x34]
mov dword [edi], ecx
mov ecx, dword [esp + 0x80]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x795b00]
test ecx, ecx
jne 0x4d12a3
mov eax, dword [esp + 0x7c]
mov dword [edi + 8], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea eax, [0x5c0930]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edi
add esp, 0x64
ret
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x7c]
call fcn.0045a0f0
mov edi, edx
jmp 0x4d126a
mov eax, dword [esp + 0x34]
call fcn.0045a0f0
jmp 0x4d124f
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x64
ret
mov edi, esp
lea esi, [esp + 0x3c]
call fcn.0045a83e
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x20]
lea ecx, [eax + 1]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov edx, ebx
mov ebx, dword [esp + 0x24]
cmp ebx, ecx
jb 0x4d1367
mov esi, dword [esp + 0x30]
mov edi, ecx
lea ecx, [esi + eax*8]
mov dword [ecx], ebp
mov ecx, dword [0x795b00]
lea ebp, [esi + eax*8 + 4]
test ecx, ecx
jne 0x4d1356
mov dword [ebp], edx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x2c]
mov ebp, edi
mov edi, esi
mov esi, ebx
mov ebx, dword [esp + 0x38]
jmp 0x4d11f3
mov eax, edi
mov edi, ebp
mov ecx, eax
mov eax, edx
call fcn.0045a0f0
mov edi, ecx
jmp 0x4d133b
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], ebp
lea edx, [0x556f80]
mov dword [esp], edx
mov ebp, dword [esp + 0x30]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call fcn.00441c00
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x28]
jmp 0x4d1323
mov edi, esp
lea esi, [esp + 0x50]
call fcn.0045a83e
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
movzx esi, byte [esp + 0x14]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x20]
jmp 0x4d11e1
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x4d11fa
call fcn.00458ba0
jmp fcn.004d1160