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

Disassembly:
mov eax, 0x140
call fcn.005ceb20
mov ecx, dword [esp + 0x144]
test ecx, ecx
je 0x5afc94
mov edx, dword [ecx + 0x1bc]
test edx, edx
jne 0x5af8ef
cmp dword [ecx + 0x1c0], edx
je 0x5afc94
mov eax, dword [ecx]
xorps xmm0, xmm0
mov dword [esp + 0x14], 0
movq qword [esp + 0x20], xmm0
movq qword [esp + 0x48], xmm0
mov dword [esp + 0x54], 0
mov dword [esp + 0x64], 0
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
test edx, edx
jne 0x5af930
mov edx, dword [ecx + 0x1c0]
jmp 0x5af933
mov edx, dword [edx + 0xc]
mov eax, edx
mov byte [esp + 5], dl
sar eax, 8
mov byte [esp + 4], al
lea eax, [esp + 4]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x1b8]
mov dword [esp + 0x80], 2
mov dword [esp + 0x8c], 0
test eax, eax
je 0x5af9a6
mov byte [esp + 3], al
lea eax, [esp + 3]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x90], 1
mov dword [esp + 0x9c], 0
mov dword [esp + 0x14], eax
lea eax, [ecx + 0x48]
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x18], eax
lea eax, [ecx + 0x14c]
mov dword [esp + 0xb8], eax
mov eax, dword [ecx + 0x148]
mov dword [esp + 0xb0], eax
lea eax, [esp + 0xb0]
mov dword [esp + 0x1c], eax
lea eax, [ecx + 0x170]
mov dword [esp + 0xc8], eax
mov eax, dword [ecx + 0x16c]
mov dword [esp + 0xc0], eax
lea eax, [esp + 0xc0]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0x1b4]
cdq
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x1b0]
mov dword [esp + 0x2c], edx
cdq
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x1a8]
push esi
mov esi, dword [ecx + 0x1d0]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0x19c]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
push edi
test esi, esi
je 0x5afaa2
mov edx, esi
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x5afa73
sub edx, edi
mov dword [esp + 0xe0], esi
lea eax, [esp + 0xd8]
mov dword [esp + 0xd8], edx
mov dword [esp + 0xe4], 0
mov dword [esp + 0x4c], eax
jmp 0x5afaaa
mov dword [esp + 0x4c], 0
mov eax, dword [ecx + 0x1d4]
test eax, eax
je 0x5afade
mov dword [esp + 0xf0], eax
mov eax, dword [ecx + 0x1d8]
mov dword [esp + 0xe8], eax
lea eax, [esp + 0xe8]
mov dword [esp + 0xf4], 0
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 0x1dc]
test eax, eax
je 0x5afaf4
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0
mov esi, dword [ecx + 0x190]
mov eax, dword [ecx + 0x1e0]
mov dword [esp + 0x58], eax
test esi, esi
je 0x5afb3f
mov edx, esi
lea edi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x5afb10
sub edx, edi
mov dword [esp + 0x100], esi
lea eax, [esp + 0xf8]
mov dword [esp + 0xf8], edx
mov dword [esp + 0x104], 0
mov dword [esp + 0x60], eax
jmp 0x5afb47
mov dword [esp + 0x60], 0
mov esi, dword [ecx + 0x194]
test esi, esi
je 0x5afb85
mov edx, esi
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x5afb56
sub edx, edi
mov dword [esp + 0x110], esi
lea eax, [esp + 0x108]
mov dword [esp + 0x108], edx
mov dword [esp + 0x114], 0
mov dword [esp + 0x64], eax
jmp 0x5afb8d
mov dword [esp + 0x64], 0
mov esi, dword [ecx + 0x1f4]
test esi, esi
je 0x5afbcf
mov edx, esi
lea edi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x5afba0
sub edx, edi
mov dword [esp + 0x120], esi
lea eax, [esp + 0x118]
mov dword [esp + 0x118], edx
mov dword [esp + 0x124], 0
mov dword [esp + 0x68], eax
jmp 0x5afbd7
mov dword [esp + 0x68], 0
mov eax, dword [ecx + 0x200]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 0x1e4]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x1e8]
mov dword [esp + 0x74], 0
pop edi
pop esi
test eax, eax
jne 0x5afc05
mov dword [esp + 0x74], eax
jmp 0x5afc2f
mov dword [esp + 0x128], eax
mov eax, dword [ecx + 0x1ec]
mov dword [esp + 0x120], eax
lea eax, [esp + 0x120]
mov dword [esp + 0x12c], 0
mov dword [esp + 0x74], eax
movzx eax, byte [ecx + 0x1f0]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x1f8]
test eax, eax
jne 0x5afc4a
mov dword [esp + 0x7c], eax
jmp 0x5afc74
mov dword [esp + 0x138], eax
mov eax, dword [ecx + 0x1fc]
mov dword [esp + 0x130], eax
lea eax, [esp + 0x130]
mov dword [esp + 0x13c], 0
mov dword [esp + 0x7c], eax
push 0x6399c0
push dword [esp + 0x14c]
lea eax, [esp + 0x10]
push eax
call fcn.004f04a0
add esp, 0xc
add esp, 0x140
ret
xor eax, eax
add esp, 0x140
ret