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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d48fa
add esp, 0xffffff80
mov eax, 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov byte [esp + 0x27], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4d42d7
movzx eax, byte [eax]
test al, al
je 0x4d42d7
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
call fcn.004d1f10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
sub esp, 0xffffff80
ret
call fcn.004d5960
lea eax, [0x656374]
mov dword [esp + 0x7c], eax
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x94]
cmp eax, 4
jne 0x4d4367
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x63c7cb]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.00402700
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4d4342
mov ecx, dword [esp + 0x90]
cmp dword [ecx], 0x34706374
je 0x4d433b
cmp dword [ecx], 0x36706374
jne 0x4d4360
mov eax, 1
jmp 0x4d4369
mov ecx, dword [esp + 0x90]
cmp dword [ecx], 0x34706475
je 0x4d4359
cmp dword [ecx], 0x36706475
jne 0x4d4360
mov eax, 2
jmp 0x4d4369
mov eax, dword [esp + 0x94]
xor eax, eax
mov dword [esp + 0x2c], eax
lea edi, [esp + 0x54]
xor eax, eax
call fcn.0045e878
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov edx, dword [esp + 0x9c]
mov dword [esp + 4], edx
call fcn.004896c0
mov ecx, dword [esp + 8]
mov dword [esp], 0
mov dword [esp + 4], ecx
lea ecx, [esp + 0x54]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0xc], ecx
call fcn.0048ed60
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
test ecx, ecx
jne 0x4d46bd
lea eax, [0x6566a8]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x74], eax
mov byte [esp + 0x27], 3
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4d45bb
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 4]
cmp eax, 2
je 0x4d456d
cmp eax, 0x17
je 0x4d451f
mov dword [esp], 0x20000027
call fcn.00489730
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
lea edx, [0x6294a0]
mov dword [esp], edx
call fcn.0040b5f0
mov edi, dword [esp + 4]
mov dword [esp + 0x4c], edi
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov eax, dword [0x816df0]
test eax, eax
jne 0x4d4468
mov eax, dword [esp + 0x50]
mov dword [edi], eax
jmp 0x4d4471
mov eax, dword [esp + 0x50]
call fcn.0045e5d0
mov dword [esp], 0
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
lea eax, [0x63c32d]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18], eax
call fcn.0044aab0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x4c]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x4d44d9
mov dword [edx + 8], eax
jmp 0x4d44e1
lea edi, [edx + 8]
call fcn.0045e5d0
mov dword [esp + 0xa0], 0
lea eax, [0x69f564]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.0048ecd0
mov byte [esp + 0x27], 0
call fcn.004d59b0
sub esp, 0xffffff80
ret
movzx eax, word [ecx + 2]
mov word [esp], ax
call fcn.0048fba0
movzx eax, word [esp + 4]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.0048ecd0
mov byte [esp + 0x27], 0
call fcn.004d59b0
sub esp, 0xffffff80
ret
movzx eax, word [ecx + 2]
mov word [esp], ax
call fcn.0048fba0
movzx eax, word [esp + 4]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.0048ecd0
mov byte [esp + 0x27], 0
call fcn.004d59b0
sub esp, 0xffffff80
ret
mov dword [esp], 0x20000027
call fcn.00489730
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
lea edx, [0x6294a0]
mov dword [esp], edx
call fcn.0040b5f0
mov edi, dword [esp + 4]
mov dword [esp + 0x4c], edi
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov eax, dword [0x816df0]
test eax, eax
jne 0x4d4606
mov eax, dword [esp + 0x50]
mov dword [edi], eax
jmp 0x4d460f
mov eax, dword [esp + 0x50]
call fcn.0045e5d0
mov dword [esp], 0
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
lea eax, [0x63c32d]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18], eax
call fcn.0044aab0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x4c]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x4d4677
mov dword [edx + 8], eax
jmp 0x4d467f
lea edi, [edx + 8]
call fcn.0045e5d0
mov dword [esp + 0xa0], 0
lea eax, [0x69f564]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.0048ecd0
mov byte [esp + 0x27], 0
call fcn.004d59b0
sub esp, 0xffffff80
ret
mov dword [esp + 0x48], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x50], esi
mov dword [esp + 0x40], ebp
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0xc], ebx
call fcn.004d1f10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4d48c6
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4d4740
lea ecx, [0x6245c0]
cmp dword [eax + 4], ecx
jne 0x4d4740
mov eax, dword [esp + 0x3c]
cmp dword [eax], 0x2af9
jne 0x4d4740
mov eax, dword [0x7ef8c0]
mov ecx, dword [0x7ef8c4]
mov edx, ecx
mov ecx, eax
mov eax, edx
jmp 0x4d4792
nop
lea eax, [0x61b160]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x63e7e5]
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x4d477c
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
jmp 0x4d478c
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x40]
call fcn.0045e5d0
mov eax, ecx
lea ecx, [0x69f730]
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], ecx
mov edx, dword [ecx + 0x10]
mov dword [esp], eax
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
lea edx, [0x6294a0]
mov dword [esp], edx
call fcn.0040b5f0
mov edi, dword [esp + 4]
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov eax, dword [0x816df0]
test eax, eax
jne 0x4d47e1
mov eax, dword [esp + 0x50]
mov dword [edi], eax
jmp 0x4d47ea
mov eax, dword [esp + 0x50]
call fcn.0045e5d0
mov dword [esp], 0
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
lea eax, [0x63c32d]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18], eax
call fcn.0044aab0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x4d4852
mov dword [edx + 8], eax
jmp 0x4d485a
lea edi, [edx + 8]
call fcn.0045e5d0
mov eax, dword [0x7ef8c4]
mov ecx, dword [esp + 0x28]
cmp dword [0x7ef8c0], ecx
jne 0x4d4899
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00403610
movzx eax, byte [esp + 0xc]
test al, al
je 0x4d4895
mov eax, dword [esp + 0x44]
mov byte [eax + 0x1a], 1
mov edx, eax
jmp 0x4d4899
mov edx, dword [esp + 0x44]
mov dword [esp + 0xa0], 0
lea eax, [0x69f564]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
mov byte [esp + 0x27], 0
call fcn.004d59b0
sub esp, 0xffffff80
ret
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov byte [esp + 0x27], 0
call fcn.004d59b0
sub esp, 0xffffff80
ret
call fcn.0045d190
jmp fcn.004d4220