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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d7372
sub esp, 0x50
mov eax, 0
mov dword [esp + 0x4c], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x34]
test ecx, ecx
jne 0x4d6f97
xor ebx, ebx
xor ebp, ebp
xor ecx, ecx
xor edx, edx
jmp 0x4d70ce
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004d5fd0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea ecx, [0x4d7380]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x4c], ecx
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0x30]
mov ecx, dword [edx]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 0x38]
movzx ecx, byte [eax + 0x21]
test cl, cl
jne 0x4d732c
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
test esi, esi
je 0x4d70c5
mov edi, dword [0x711dd4]
cmp dword [0x711dd0], esi
jne 0x4d7067
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], esi
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.00403820
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4d708c
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], eax
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
call eax
add esp, 0x50
ret
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
call eax
add esp, 0x50
ret
mov eax, dword [esp + 0x54]
mov edx, 1
mov byte [esp + 0x22], dl
test ebx, ebx
jne 0x4d722e
lea eax, [0x519bc0]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
call fcn.004096d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x4d7124
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004d6100
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, eax
mov eax, dword [esp + 0x54]
jmp 0x4d716d
lea eax, [0x519c20]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
call fcn.004096d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x4d7156
mov edx, eax
mov eax, dword [esp + 0x54]
jmp 0x4d716d
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x4d7169
lea edx, [0x57aedc]
jmp 0x4d716d
xor edx, edx
xor ecx, ecx
test edx, edx
jne 0x4d71ba
mov eax, dword [0x711de8]
mov ecx, dword [0x711dec]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4d71b6
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
call eax
add esp, 0x50
ret
mov eax, dword [edx + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
test eax, eax
je 0x4d721f
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4d721b
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
call eax
add esp, 0x50
ret
mov eax, dword [esp + 0x54]
movzx edx, byte [esp + 0x22]
mov ecx, ebx
mov ebx, ebp
mov ebp, esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
nop
movzx esi, byte [eax + 0x5d]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4d725c
lea ecx, [eax + 0x28]
mov dword [esp], ecx
call fcn.004786f0
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x60]
mov edx, dword [eax + 0x10]
mov esi, dword [esp + 0x64]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x34], edx
movzx ebx, byte [esp + 0x68]
test bl, bl
je 0x4d72cf
test eax, eax
jne 0x4d72cf
mov eax, dword [0x6ec290]
mov ecx, dword [0x6ec294]
mov edx, dword [0x6ec298]
mov ebx, dword [esp + 0x60]
mov ebx, dword [ebx + 0x10]
mov ebp, dword [esp + 0x64]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call ebx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
nop
mov eax, dword [esp + 0x54]
movzx ebx, byte [eax + 0x5d]
test bl, bl
je 0x4d72ef
add eax, 0x28
mov dword [esp], eax
call fcn.00478a70
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4d7328
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
call eax
add esp, 0x50
ret
mov eax, dword [0x711dc8]
mov ecx, dword [0x711dcc]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
call eax
add esp, 0x50
ret
call fcn.004600b0
jmp fcn.004d6f30