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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d9dec
sub esp, 0x68
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x48]
mov ebx, dword [eax + 0x40]
mov ebp, dword [esp + 0x70]
mov dword [esp], ebp
mov esi, dword [esp + 0x74]
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
lea ecx, [0x5506e8]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
lea edi, [0x51f5a5]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], ebx
call fcn.004d19a0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x54]
jmp 0x4d9c45
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x48]
mov edx, dword [edi + 0x40]
mov dword [esp], ebx
mov ebp, dword [esp + 0x74]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
lea eax, [0x5506e8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
lea ecx, [0x51f5a5]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], edx
call fcn.004d19a0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
inc eax
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
mov ebp, esi
mov esi, edi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x44], eax
mov eax, ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], eax
mov ebp, dword [esp + 0x44]
cmp ebp, 2
jge 0x4d9d2c
test esi, esi
je 0x4d9c7a
mov ebp, dword [esi + 0xc]
test ebp, ebp
je 0x4d9c7a
mov ebp, dword [esp + 0x44]
xor ebp, ebp
xchg ebp, eax
mov byte [esp + 0x43], al
xchg ebp, eax
mov ebp, dword [esp + 0x44]
jmp 0x4d9d3a
mov dword [esp + 0x48], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004d9e00
movzx eax, byte [esp + 0xc]
test al, al
je 0x4d9cb8
mov eax, dword [esp + 0x48]
lea ecx, [0x550160]
mov ebx, dword [esp + 0x64]
lea esi, [0x5501ec]
lea edi, [0x512480]
mov edx, 1
jmp 0x4d9d0c
mov eax, dword [esp + 0x48]
lea ecx, [0x550160]
cmp eax, ecx
jne 0x4d9cd2
mov ebx, dword [esp + 0x64]
mov ebp, dword [ebx + 0x20]
mov edx, dword [ebx + 0x24]
jmp 0x4d9cda
mov ebx, dword [esp + 0x64]
mov edx, ebx
mov ebp, eax
lea esi, [0x5501ec]
cmp ebp, esi
jne 0x4d9cea
mov ebp, dword [edx + 8]
mov edx, dword [edx + 0xc]
test ebp, ebp
je 0x4d9d04
lea edi, [0x512480]
cmp dword [ebp + 4], edi
jne 0x4d9d0a
cmp dword [edx], 0x20000003
sete dl
jmp 0x4d9d0c
lea edi, [0x512480]
xor edx, edx
mov ecx, eax
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x6c]
mov byte [esp + 0x43], dl
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
jmp 0x4d9d3a
mov dword [esp + 0x4c], eax
xor eax, eax
mov byte [esp + 0x43], al
mov eax, dword [esp + 0x4c]
movzx edx, byte [esp + 0x43]
test dl, dl
je 0x4d9d64
test ecx, ecx
jne 0x4d9bb5
mov dword [esp], eax
call fcn.004cb530
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x6c]
jmp 0x4d9bb5
test ecx, ecx
jne 0x4d9dcb
lea eax, [0x5091a0]
mov dword [esp], eax
call fcn.0040b1b0
mov edi, dword [esp + 4]
mov dword [esp + 0x5c], edi
mov eax, dword [0x6265b0]
test eax, eax
jne 0x4d9d90
mov eax, dword [esp + 0x60]
mov dword [edi], eax
jmp 0x4d9d99
mov eax, dword [esp + 0x60]
call fcn.00461090
mov dword [esp], eax
mov byte [esp + 4], 1
call fcn.004da160
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x68
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
mov eax, dword [esp + 0x64]
mov dword [esp + 0x88], eax
add esp, 0x68
ret
call fcn.0045fcc0
jmp fcn.004d9b00