Function at 0x4d7ef0
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 0x4d8254
sub esp, 0x68
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov byte [esp + 0x18], 0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
jmp 0x4d7f62
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x28], eax
jg 0x4d7f71
jmp 0x4d7ff7
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.00485360
mov eax, dword [esp + 4]
mov dword [esp + 0x24], eax
test eax, eax
je 0x4d7fa3
jmp 0x4d7faa
jmp 0x4d7fa5
jmp 0x4d8069
movzx eax, byte [esp + 0x18]
mov byte [esp], al
call fcn.004d39d0
movzx eax, byte [esp + 4]
mov byte [esp + 0x1a], al
test al, al
jne 0x4d7fc6
jmp 0x4d7fcd
jmp 0x4d7fc8
jmp 0x4d80cd
cmp byte [esp + 0x18], 0x3a
je 0x4d7fd6
jmp 0x4d7fdd
jmp 0x4d7fd8
jmp 0x4d8069
jmp 0x4d7fdf
lea eax, [esp + 0x3c]
mov dword [esp], eax
mov byte [esp + 4], 0x5c
call fcn.004856f0
mov byte [esp + 0x18], 0x5c
jmp 0x4d8069
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.00485360
mov eax, dword [esp + 4]
mov dword [esp + 0x24], eax
test eax, eax
je 0x4d8011
jmp 0x4d8025
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x68
ret
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.004852e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004d7300
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x68
ret
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x4d8077
jmp 0x4d80b9
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x3c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004858d0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
lea ebx, [eax - 1]
cmp ecx, ebx
ja 0x4d80ac
jmp 0x4d80c6
lea eax, [eax + edx - 1]
movzx eax, byte [eax]
mov byte [esp + 0x18], al
jmp 0x4d80bb
jmp 0x4d80bb
jmp 0x4d80bd
inc dword [esp + 0x2c]
jmp 0x4d7f62
mov eax, ebx
call fcn.00475830
mov edx, dword [esp + 0x38]
mov dword [esp + 0x20], edx
test edx, edx
setne dl
mov byte [esp + 0x19], dl
jne 0x4d80e2
jmp 0x4d8111
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
test ecx, ecx
ja 0x4d80f3
jmp 0x4d824c
movzx eax, byte [edx]
mov byte [esp + 0x1c], al
mov byte [esp], al
call fcn.004d39d0
movzx eax, byte [esp + 4]
mov byte [esp + 0x1f], al
mov byte [esp + 0x19], al
jmp 0x4d8113
jmp 0x4d8113
movzx edx, byte [esp + 0x19]
test dl, dl
jne 0x4d811e
jmp 0x4d814b
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
cmp ecx, 1
jae 0x4d8130
jmp 0x4d8242
lea ebx, [ecx - 1]
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
add edx, ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ebp
jmp 0x4d8149
jmp 0x4d80cd
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.00485360
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
cmp eax, 1
sete al
mov byte [esp + 0x1f], al
je 0x4d816d
jmp 0x4d81a2
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x526ad2]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
call fcn.004869c0
movzx eax, byte [esp + 0x10]
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
jmp 0x4d81a4
jmp 0x4d81a4
movzx edx, byte [esp + 0x1f]
mov byte [esp + 0x19], dl
test dl, dl
jne 0x4d81b3
jmp 0x4d8204
mov edx, dword [esp + 0x38]
mov dword [esp + 0x30], edx
cmp edx, 2
sete dl
mov byte [esp + 0x1e], dl
je 0x4d81c9
jmp 0x4d81cb
jmp 0x4d81f9
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
cmp ecx, 2
ja 0x4d81da
jmp 0x4d8238
movzx eax, byte [edx + 2]
mov byte [esp + 0x1b], al
mov byte [esp], al
call fcn.004d39d0
movzx eax, byte [esp + 4]
mov byte [esp + 0x1d], al
mov byte [esp + 0x1e], al
jmp 0x4d81f9
movzx eax, byte [esp + 0x1e]
mov byte [esp + 0x19], al
jmp 0x4d8206
jmp 0x4d8206
movzx eax, byte [esp + 0x19]
test al, al
jne 0x4d8211
jmp 0x4d8231
lea eax, [esp + 0x3c]
mov dword [esp], eax
lea eax, [0x526ad4]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call fcn.004858d0
jmp 0x4d8233
jmp 0x4d8233
jmp 0x4d8069
mov eax, 2
call fcn.00475830
mov eax, 1
call fcn.00475890
xor eax, eax
call fcn.00475830
nop
call fcn.004743b0
jmp fcn.004d7ef0