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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d1493
sub esp, 0x70
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
jmp 0x4d124f
mov edx, dword [esp + 0x78]
mov dword [esp + 0x24], edx
test edx, edx
jne 0x4d1260
jmp 0x4d1458
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
test ecx, ecx
ja 0x4d1271
jmp 0x4d148b
cmp byte [edx], 0x20
sete dl
mov byte [esp + 0x23], dl
je 0x4d127f
jmp 0x4d1281
jmp 0x4d129e
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
test ecx, ecx
ja 0x4d1292
jmp 0x4d1484
cmp byte [edx], 9
sete dl
mov byte [esp + 0x23], dl
jmp 0x4d129e
movzx edx, byte [esp + 0x23]
test dl, dl
jne 0x4d12a9
jmp 0x4d12d7
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
cmp ecx, 1
jae 0x4d12bb
jmp 0x4d147a
lea ebx, [ecx - 1]
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
add edx, ebx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebp
jmp 0x4d1453
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004d0d70
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebp
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00471630
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
inc edx
cmp eax, edx
jae 0x4d13e2
jmp 0x4d13e4
jmp 0x4d1414
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x5115e0]
mov dword [esp + 0x10], eax
call fcn.00471230
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
jmp 0x4d1414
lea ebx, [ecx + edx*8 - 8]
lea ebp, [ecx + edx*8 - 4]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
mov dword [ebp], edi
mov ebp, dword [0x5efdd0]
test ebp, ebp
je 0x4d1433
jmp 0x4d1435
jmp 0x4d1443
call fcn.004757c0
mov dword [edi], esi
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
jmp 0x4d1443
mov dword [ebx], esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
jmp 0x4d1453
jmp 0x4d124f
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
add esp, 0x70
ret
mov eax, 1
call fcn.00475890
xor eax, eax
call fcn.00475830
xor eax, eax
call fcn.00475830
nop
call fcn.004743b0
jmp fcn.004d1200