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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4afa1d
sub esp, 0x7c
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x88]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x28], ecx
lea edx, [0x656300]
mov dword [esp], edx
call fcn.00409aa0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x90]
mov dword [edi + 4], eax
mov ecx, dword [0x881b80]
test ecx, ecx
jne 0x4af94b
mov ecx, dword [esp + 0x8c]
mov dword [edi], ecx
mov edx, dword [esp + 0x98]
mov dword [edi + 0xc], edx
mov edx, dword [0x881b80]
test edx, edx
jne 0x4af92d
mov edx, dword [esp + 0x94]
mov dword [edi + 8], edx
mov edx, dword [esp + 0x84]
mov dword [edi + 0x10], edx
mov edx, dword [0x881b80]
test edx, edx
jne 0x4af90f
mov edx, dword [esp + 0x88]
mov dword [edi + 0x14], edx
mov dword [esp + 0x34], edi
mov edx, dword [esp + 0x28]
mov dword [edi + 0x1c], edx
mov edx, dword [0x881b80]
test edx, edx
jne 0x4af8f8
mov edx, dword [esp + 0x38]
mov dword [edi + 0x18], edx
mov edx, dword [esp + 0x80]
mov ebx, dword [edx + 0x14]
mov dword [esp + 4], ebx
lea ebx, [0x636ce0]
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.0040e010
movzx eax, byte [esp + 0x14]
test al, al
jne 0x4af77b
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4af745
mov eax, dword [eax + 0x14]
mov dword [esp + 4], eax
lea eax, [0x636ce0]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xc], eax
call fcn.0040e390
mov edi, dword [esp + 0x10]
test byte [edi], al
mov eax, dword [0x881b80]
test eax, eax
jne 0x4af73a
mov eax, dword [esp + 0x34]
mov dword [edi], eax
add esp, 0x7c
ret
mov eax, dword [esp + 0x34]
call fcn.0044b4d0
jmp 0x4af736
call fcn.0040a520
mov eax, dword [0x881b80]
mov ecx, dword [esp]
test eax, eax
jne 0x4af763
mov eax, dword [esp + 0x80]
mov dword [eax + 0x14], ecx
jmp 0x4af6f5
mov edx, dword [esp + 0x80]
lea edi, [edx + 0x14]
mov eax, ecx
call fcn.0044b4d0
mov eax, edx
jmp 0x4af6f5
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4af83c
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea eax, [0x635280]
mov dword [esp], eax
lea ecx, [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.00407310
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
lea eax, [0x680656]
mov dword [esp], eax
mov dword [esp + 4], 0x12
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0049fe60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x80]
mov ebx, dword [edx + 0x2c]
mov edx, dword [edx + 0x28]
test edx, edx
je 0x4af82b
mov ebp, edx
mov edx, ebx
mov ebx, ebp
jmp 0x4af967
mov edx, dword [0x86f818]
lea ebx, [0x6c9860]
jmp 0x4af967
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ecx, [eax + 4]
mov dword [esp + 4], ecx
lea ecx, [0x635280]
mov dword [esp], ecx
call fcn.00407310
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
lea eax, [0x635280]
mov dword [esp], eax
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
call fcn.00407310
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea eax, [0x68184d]
mov dword [esp], eax
mov dword [esp + 4], 0x15
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.0049fe60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
jmp 0x4af80f
lea edx, [edi + 0x18]
mov edi, edx
mov ebp, eax
mov eax, dword [esp + 0x38]
call fcn.0044b4d0
mov eax, ebp
jmp 0x4af6b6
lea edx, [edi + 0x14]
mov ebx, edi
mov edi, edx
mov ebp, eax
mov eax, dword [esp + 0x88]
call fcn.0044b4d0
mov eax, ebp
mov edi, ebx
jmp 0x4af696
lea edx, [edi + 8]
mov ebx, edi
mov edi, edx
mov ebp, eax
mov eax, dword [esp + 0x94]
call fcn.0044b4d0
mov eax, ebp
mov edi, ebx
jmp 0x4af674
mov ecx, eax
mov eax, dword [esp + 0x8c]
call fcn.0044b4d0
mov eax, ecx
mov ecx, dword [esp + 0x8c]
jmp 0x4af652
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea ebp, [0x635280]
mov dword [esp], ebp
lea esi, [esp + 0x44]
mov dword [esp + 4], esi
call fcn.00407310
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a0190
mov eax, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
lea eax, [0x635280]
mov dword [esp], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.00407310
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00426780
ud2
call fcn.00449d70
jmp fcn.004af5e0