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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d722d
sub esp, 0x6c
mov eax, 0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov byte [esp + 0x1f], 0
nop
mov eax, dword [esp + 0x80]
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x2c], eax
cmp eax, 0x14
ja 0x4d7081
lea ebx, [eax - 0x12]
cmp ebx, 1
ja 0x4d7068
test ecx, 0x200
je 0x4d701e
mov eax, dword [esp + 0x74]
mov ebx, dword [eax + 0x54]
inc ebx
mov dword [eax + 0x54], ebx
cmp ebx, 0x3e8
ja 0x4d6ef1
xor edx, edx
mov byte [esp + 0x1e], dl
mov ebx, dword [esp + 0x70]
mov ebp, dword [ebx]
mov dword [esp], eax
mov esi, dword [esp + 0x78]
mov dword [esp + 4], esi
mov esi, dword [esp + 0x7c]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
movzx ecx, byte [esp + 0x84]
mov byte [esp + 0x10], cl
movzx ecx, byte [esp + 0x85]
mov byte [esp + 0x11], cl
mov edx, ebx
call ebp
mov eax, dword [esp + 0x74]
dec dword [eax + 0x54]
movzx eax, byte [esp + 0x1e]
test al, 1
jne 0x4d6ecc
add esp, 0x6c
ret
and eax, 0xfffffffe
mov byte [esp + 0x1f], al
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x68]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004df130
jmp 0x4d6ec8
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov edx, dword [esp + 0x7c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00487440
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 8], ebx
call fcn.004868e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
lea edx, [0x5c5900]
mov dword [esp + 0x54], edx
lea ebx, [esp + 0x38]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x74]
mov ebp, dword [ebx + 0x58]
lea esi, [0x5bfac0]
mov dword [esp], esi
mov dword [esp + 4], ebp
lea ebp, [esp + 0x54]
mov dword [esp + 8], ebp
call fcn.0040c9b0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4d709d
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
call fcn.00409090
mov eax, dword [esp + 8]
lea ecx, [0x5c5900]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x74]
mov edx, dword [eax + 0x58]
lea ebx, [0x5bfac0]
mov dword [esp], ebx
mov dword [esp + 4], edx
lea edx, [esp + 0x54]
mov dword [esp + 8], edx
call fcn.0040cd70
mov eax, dword [esp + 0xc]
test byte [eax], al
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x58]
lea edx, [0x601cf0]
mov dword [esp + 0x60], edx
mov dword [esp + 0x5c], ecx
lea ecx, [0x5c5900]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x68], ecx
mov byte [esp + 0x1f], 1
mov ecx, dword [esp + 0x80]
mov edx, 1
jmp 0x4d6e7a
test ecx, 0x80
je 0x4d7060
mov eax, dword [esp + 0x7c]
mov ebx, dword [eax]
test ebx, ebx
setne bl
xor ebx, 1
test bl, bl
je 0x4d6e65
mov eax, dword [esp + 0x74]
test byte [eax], al
mov dword [esp], eax
lea eax, [0x5eb7d3]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call fcn.004ca7d0
add esp, 0x6c
ret
mov eax, dword [esp + 0x7c]
mov ebx, eax
jmp 0x4d702c
cmp eax, 0x14
jne 0x4d71e9
mov eax, dword [esp + 0x7c]
mov ebp, dword [eax]
test ebp, ebp
setne bl
xor ebx, 1
jmp 0x4d7034
cmp eax, 0x16
jbe 0x4d6e59
cmp eax, 0x17
je 0x4d7071
cmp eax, 0x1a
je 0x4d6e59
jmp 0x4d71e9
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 8], edx
call fcn.00488490
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
test eax, eax
je 0x4d70db
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
lea eax, [0x5f3ac1]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c09b0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
lea edx, [0x5c9860]
mov dword [esp], edx
call fcn.0040b8e0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x80]
mov dword [edi + 8], eax
mov eax, dword [0x770e60]
test eax, eax
jne 0x4d7170
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov ecx, dword [esp + 0x7c]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x770e60]
test ecx, ecx
jne 0x4d718f
mov eax, dword [esp + 0x40]
mov dword [edi + 0xc], eax
mov edx, edi
jmp 0x4d71a1
mov eax, dword [esp + 0x78]
call fcn.0045df70
lea ecx, [edi + 4]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x7c]
call fcn.0045df70
mov edi, edx
jmp 0x4d7154
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x40]
call fcn.0045df70
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x639f40]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
lea eax, [0x5cc0e0]
mov dword [esp], eax
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
call fcn.00408f50
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00431a00
lea eax, [0x5ca5e0]
mov dword [esp], eax
call fcn.0040b8e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x5f065f]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
lea ecx, [0x5c2de0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00431a00
nop
call fcn.00430c90
add esp, 0x6c
ret
call fcn.0045ca10
jmp fcn.004d6e00