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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x4d5b43
sub esp, 0x84
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x90]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x24], ecx
lea edx, [0x6d7440]
mov dword [esp], edx
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x98]
mov dword [eax + 4], ecx
mov edx, dword [0x884700]
test edx, edx
jne 0x4d5b19
mov edx, dword [esp + 0x94]
mov dword [eax], edx
mov ebx, dword [esp + 0xa0]
mov dword [eax + 0xc], ebx
mov ebx, dword [0x884700]
lea ebp, [eax + 8]
test ebx, ebx
jne 0x4d5aef
mov ebx, dword [esp + 0x9c]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x8c]
mov dword [eax + 0x10], ebx
mov ebx, dword [0x884700]
lea ebp, [eax + 0x14]
test ebx, ebx
jne 0x4d5ac5
mov ebx, dword [esp + 0x90]
mov dword [eax + 0x14], ebx
mov ebx, dword [esp + 0x24]
mov dword [eax + 0x1c], ebx
mov ebx, dword [0x884700]
lea ebp, [eax + 0x18]
test ebx, ebx
jne 0x4d5a9e
mov ebx, dword [esp + 0x38]
mov dword [eax + 0x18], ebx
mov ebx, dword [esp + 0x88]
mov ebp, dword [ebx + 0x14]
mov dword [esp + 4], ebp
lea ebp, [0x6b6d20]
mov dword [esp], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.004098e0
movzx eax, byte [esp + 0x14]
test al, al
jne 0x4d586c
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4d5807
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x40], ecx
mov eax, dword [eax + 0x14]
mov dword [esp + 4], eax
lea eax, [0x6b6d20]
mov dword [esp], eax
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.00406cf0
mov eax, dword [esp + 0xc]
test byte [eax], al
mov ecx, dword [0x884700]
test ecx, ecx
jne 0x4d57f5
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
add esp, 0x84
ret
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.0040d5a0
jmp 0x4d57ee
lea ecx, [0x6b6d20]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00406240
mov eax, dword [0x884700]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x88]
lea ebx, [edx + 0x14]
test eax, eax
jne 0x4d5857
mov dword [edx + 0x14], ecx
mov eax, edx
jmp 0x4d57a5
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov edx, dword [esp + 0x88]
jmp 0x4d5850
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4d59dc
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x6b4960]
mov dword [esp], ecx
lea edx, [esp + 0x64]
mov dword [esp + 4], edx
call fcn.0040a880
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
lea eax, [0x70981e]
mov dword [esp], eax
mov dword [esp + 4], 0x12
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0049a880
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x88]
mov ebx, dword [edx + 0x2c]
mov edx, dword [edx + 0x28]
test edx, edx
je 0x4d59cb
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea ebp, [0x6b4960]
mov dword [esp], ebp
lea esi, [esp + 0x4c]
mov dword [esp + 4], esi
call fcn.0040a880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0049ab70
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], eax
lea eax, [0x6b4960]
mov dword [esp], eax
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
call fcn.0040a880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004254e0
ud2
mov ebx, dword [0x8722e8]
lea edx, [0x848300]
jmp 0x4d591d
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [eax + 4]
mov dword [esp + 4], ecx
lea ecx, [0x6b4960]
mov dword [esp], ecx
call fcn.0040a880
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea eax, [0x6b4960]
mov dword [esp], eax
lea ecx, [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.0040a880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
lea eax, [0x70abab]
mov dword [esp], eax
mov dword [esp + 4], 0x15
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.0049a880
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
jmp 0x4d5900
mov dword [esp], ebp
mov ebx, dword [esp + 0x38]
mov dword [esp + 4], ebx
call fcn.0040d5a0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
jmp 0x4d5766
mov dword [esp], ebp
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
call fcn.0040d5a0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
jmp 0x4d5747
mov dword [esp], ebp
mov ebx, dword [esp + 0x9c]
mov dword [esp + 4], ebx
call fcn.0040d5a0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
jmp 0x4d5722
mov dword [esp], eax
mov edx, dword [esp + 0x94]
mov dword [esp + 4], edx
call fcn.0040d5a0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
jmp 0x4d56fd
call fcn.004486b0
jmp fcn.004d5680