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

Disassembly:
mov eax, 0x140
call fcn.005f01a0
mov ecx, dword [esp + 0x144]
test ecx, ecx
je 0x5d16e4
mov edx, dword [ecx + 0x1bc]
test edx, edx
jne 0x5d133f
cmp dword [ecx + 0x1c0], edx
je 0x5d16e4
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 0x5d1380
mov edx, dword [ecx + 0x1c0]
jmp 0x5d1383
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 0x5d13f6
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 0x5d14f2
mov edx, esi
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x5d14c3
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 0x5d14fa
mov dword [esp + 0x4c], 0
mov eax, dword [ecx + 0x1d4]
test eax, eax
je 0x5d152e
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 0x5d1544
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 0x5d158f
mov edx, esi
lea edi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x5d1560
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 0x5d1597
mov dword [esp + 0x60], 0
mov esi, dword [ecx + 0x194]
test esi, esi
je 0x5d15d5
mov edx, esi
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x5d15a6
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 0x5d15dd
mov dword [esp + 0x64], 0
mov esi, dword [ecx + 0x1f4]
test esi, esi
je 0x5d161f
mov edx, esi
lea edi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x5d15f0
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 0x5d1627
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 0x5d1655
mov dword [esp + 0x74], eax
jmp 0x5d167f
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 0x5d169a
mov dword [esp + 0x7c], eax
jmp 0x5d16c4
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 0x659880
push dword [esp + 0x14c]
lea eax, [esp + 0x10]
push eax
call fcn.00511f00
add esp, 0xc
add esp, 0x140
ret
xor eax, eax
add esp, 0x140
ret