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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d9784
sub esp, 0x5c
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x48]
mov ebx, dword [eax + 0x40]
mov ebp, dword [esp + 0x64]
mov dword [esp], ebp
mov esi, dword [esp + 0x68]
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
lea ecx, [0x5c24c0]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0x70]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
lea edi, [0x576d6e]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], ebx
call fcn.004d2960
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
jmp 0x4d9633
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x48]
mov ebx, dword [eax + 0x40]
mov ebp, dword [esp + 0x64]
mov dword [esp], ebp
mov esi, dword [esp + 0x68]
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
lea ecx, [0x5c24c0]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0x70]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
lea edi, [0x576d6e]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], ebx
call fcn.004d2960
mov eax, dword [esp + 0x40]
inc eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
mov ebp, esi
mov esi, edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x40], eax
mov eax, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x54], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x50], eax
mov ebp, dword [esp + 0x40]
cmp ebp, 2
jge 0x4d977d
test esi, esi
je 0x4d965b
mov ebp, dword [esi + 0xc]
test ebp, ebp
jne 0x4d9776
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004d9790
movzx eax, byte [esp + 0xc]
test al, al
je 0x4d9718
mov eax, 1
test al, al
je 0x4d969e
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4d9595
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.004cc340
jmp 0x4d9595
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4d9700
lea eax, [0x556640]
mov dword [esp], eax
call fcn.0040b1d0
mov edi, dword [esp + 4]
mov dword [esp + 0x58], edi
mov eax, dword [0x795b00]
test eax, eax
jne 0x4d96f5
mov eax, dword [esp + 0x50]
mov dword [edi], eax
mov dword [esp], eax
mov byte [esp + 4], 1
call fcn.004d9890
mov eax, dword [esp + 0x58]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
mov eax, dword [esp + 0x50]
call fcn.0045a0f0
jmp 0x4d96cc
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
add esp, 0x5c
ret
lea eax, [0x5c0970]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jne 0x4d976c
mov edx, dword [esp + 0x54]
mov ebx, dword [edx + 0x20]
mov ebp, dword [edx + 0x24]
lea esi, [0x5c0ab0]
cmp esi, ebx
jne 0x4d9740
mov ebx, dword [ebp + 8]
mov ebp, dword [ebp + 0xc]
test ebx, ebx
je 0x4d9764
lea edi, [0x562480]
cmp dword [ebx + 4], edi
jne 0x4d9760
cmp dword [ebp], 0x20000003
sete bl
mov eax, ebx
jmp 0x4d967d
xor ebx, ebx
jmp 0x4d9759
lea edi, [0x562480]
jmp 0x4d9760
mov edx, dword [esp + 0x54]
mov ebp, edx
mov ebx, ecx
jmp 0x4d9730
xor eax, eax
jmp 0x4d967d
xor eax, eax
jmp 0x4d967d
call fcn.00458ba0
jmp fcn.004d94e0