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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d227b
sub esp, 0x7c
mov eax, 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov byte [esp + 0x27], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4d1be6
movzx eax, byte [eax]
test al, al
jne 0x4d221d
call fcn.004d37f0
lea eax, [0x6895ac]
mov dword [esp + 0x78], eax
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x90]
cmp eax, 4
je 0x4d21a0
xor ecx, ecx
mov dword [esp + 0x28], ecx
lea edi, [esp + 0x50]
xor eax, eax
call fcn.0045af88
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x94]
mov dword [esp], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 4], edx
call fcn.0048be50
mov ecx, dword [esp + 8]
mov dword [esp], 0
mov dword [esp + 4], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0xc], ecx
call fcn.00490100
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test ecx, ecx
jne 0x4d1f62
lea eax, [0x6898f8]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x70], eax
mov byte [esp + 0x27], 3
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4d1e59
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 4]
cmp eax, 2
je 0x4d1e0b
cmp eax, 0x17
je 0x4d1dbd
mov dword [esp], 0x20000027
call fcn.0048bec0
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
lea edx, [0x6575c0]
mov dword [esp], edx
call fcn.0040b4f0
mov edi, dword [esp + 4]
mov dword [esp + 0x48], edi
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
mov eax, dword [0x8326a0]
test eax, eax
jne 0x4d1daf
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
mov dword [esp], 0
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 8], eax
lea eax, [0x66e87f]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x18], eax
call fcn.00445d80
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x4d1da5
mov dword [edx + 8], eax
mov dword [esp + 0x9c], 0
lea eax, [0x6c82b0]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004901f0
mov byte [esp + 0x27], 0
call fcn.004d3840
add esp, 0x7c
ret
lea edi, [edx + 8]
call fcn.0045ace0
jmp 0x4d1d67
mov eax, dword [esp + 0x4c]
call fcn.0045ace0
jmp 0x4d1d01
movzx eax, word [ecx + 2]
mov word [esp], ax
call fcn.0048fec0
movzx eax, word [esp + 4]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004901f0
mov byte [esp + 0x27], 0
call fcn.004d3840
add esp, 0x7c
ret
movzx eax, word [ecx + 2]
mov word [esp], ax
call fcn.0048fec0
movzx eax, word [esp + 4]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004901f0
mov byte [esp + 0x27], 0
call fcn.004d3840
add esp, 0x7c
ret
mov dword [esp], 0x20000027
call fcn.0048bec0
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
lea edx, [0x6575c0]
mov dword [esp], edx
call fcn.0040b4f0
mov edi, dword [esp + 4]
mov dword [esp + 0x48], edi
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
mov eax, dword [0x8326a0]
test eax, eax
jne 0x4d1f54
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
mov dword [esp], 0
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 8], eax
lea eax, [0x66e87f]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x18], eax
call fcn.00445d80
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x4d1f4a
mov dword [edx + 8], eax
mov dword [esp + 0x9c], 0
lea eax, [0x6c82b0]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004901f0
mov byte [esp + 0x27], 0
call fcn.004d3840
add esp, 0x7c
ret
lea edi, [edx + 8]
call fcn.0045ace0
jmp 0x4d1f0c
mov eax, dword [esp + 0x4c]
call fcn.0045ace0
jmp 0x4d1ea6
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x94]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x98]
mov dword [esp + 0xc], ebx
call fcn.004d0390
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x4d2175
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4d211c
lea ecx, [0x651aa0]
cmp dword [eax + 4], ecx
jne 0x4d211c
mov ecx, dword [esp + 0x40]
cmp dword [ecx], 0x2af9
jne 0x4d211c
mov eax, dword [0x81bc10]
mov ecx, dword [0x81bc14]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], eax
mov edx, dword [eax + 0x10]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
lea edx, [0x6575c0]
mov dword [esp], edx
call fcn.0040b4f0
mov edi, dword [esp + 4]
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
mov eax, dword [0x8326a0]
test eax, eax
jne 0x4d210e
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
mov dword [esp], 0
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 8], eax
lea eax, [0x66e87f]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x18], eax
call fcn.00445d80
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x4d2104
mov dword [edx + 8], eax
mov eax, dword [esp + 0x30]
cmp dword [0x81bc10], eax
je 0x4d20d1
mov dword [esp + 0x9c], 0
lea eax, [0x6c82b0]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
mov byte [esp + 0x27], 0
call fcn.004d3840
add esp, 0x7c
ret
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [0x81bc14]
mov dword [esp + 8], eax
call fcn.00403830
movzx eax, byte [esp + 0xc]
test al, al
je 0x4d20fe
mov edx, dword [esp + 0x44]
mov byte [edx + 0x1a], 1
jmp 0x4d20a4
mov edx, dword [esp + 0x44]
jmp 0x4d20a4
lea edi, [edx + 8]
call fcn.0045ace0
jmp 0x4d2098
mov eax, dword [esp + 0x4c]
call fcn.0045ace0
jmp 0x4d2032
nop
lea eax, [0x645bc0]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x6711ab]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [0x8326a0]
test ecx, ecx
jne 0x4d2163
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
mov ecx, eax
lea eax, [0x6c8550]
jmp 0x4d1fe1
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x40]
call fcn.0045ace0
mov eax, ecx
jmp 0x4d2156
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov byte [esp + 0x27], 0
call fcn.004d3840
add esp, 0x7c
ret
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x66ed2c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.00402850
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4d21fa
mov ecx, dword [esp + 0x8c]
cmp dword [ecx], 0x34706374
jne 0x4d21e6
mov ecx, 1
jmp 0x4d1c0c
cmp dword [ecx], 0x36706374
je 0x4d21dc
mov eax, dword [esp + 0x90]
jmp 0x4d1c0a
mov ecx, dword [esp + 0x8c]
cmp dword [ecx], 0x34706475
jne 0x4d2213
mov ecx, 2
jmp 0x4d1c0c
cmp dword [ecx], 0x36706475
je 0x4d2209
jmp 0x4d21ee
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0xc], eax
call fcn.004d0390
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
add esp, 0x7c
ret
call fcn.00459790
jmp fcn.004d1b80