Function at 0x4013e3
Capabilities:
Populate syswhispers2 syscall list

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xc0
mov eax, dword [0x006cf040]
cmp eax, 0
je 0x401407
mov eax, 1
jmp 0x40181c
mov eax, 0x60
mov r10, rax
mov rcx, r10
call fcn.0040189f
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
add rax, 0x18
mov rcx, qword [rax]
mov qword [rbp - 0x10], rcx
movabs rax, 0
mov qword [rbp - 0x18], rax
movabs rax, 0
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x10]
add rax, 8
add rax, 8
mov rcx, qword [rax]
mov qword [rbp - 0x28], rcx
mov rax, qword [rbp - 0x28]
add rax, 0x30
mov rcx, qword [rax]
cmp rcx, 0
je 0x40153f
jmp 0x401480
mov rax, qword [rbp - 0x28]
mov rcx, qword [rax]
mov qword [rbp - 0x28], rcx
jmp 0x401459
mov rax, qword [rbp - 0x28]
add rax, 0x30
mov rcx, qword [rax]
mov qword [rbp - 0x20], rcx
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
add rax, 0x3c
mov ecx, dword [rax]
movsxd rcx, ecx
mov rax, qword [rbp - 0x20]
add rax, rcx
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x38]
add rax, 0x18
add rax, 0x70
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x40]
mov ecx, dword [rax]
mov dword [rbp - 0x44], ecx
mov eax, dword [rbp - 0x44]
cmp eax, 0
jne 0x4014d9
jmp 0x401473
mov eax, dword [rbp - 0x44]
mov rcx, qword [rbp - 0x20]
add rcx, rax
mov qword [rbp - 0x18], rcx
mov rax, qword [rbp - 0x18]
add rax, 0xc
mov ecx, dword [rax]
mov rax, qword [rbp - 0x20]
add rax, rcx
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x50]
mov ecx, dword [rax]
or ecx, 0x20202020
cmp ecx, 0x6c64746e
je 0x401519
jmp 0x401473
mov rax, qword [rbp - 0x50]
add rax, 4
mov ecx, dword [rax]
or ecx, 0x20202020
cmp ecx, 0x6c642e6c
jne 0x40153a
jmp 0x40153f
jmp 0x401473
mov rax, qword [rbp - 0x18]
cmp rax, 0
jne 0x401557
mov eax, 0
jmp 0x40181c
mov rax, qword [rbp - 0x18]
add rax, 0x18
mov ecx, dword [rax]
mov dword [rbp - 0x54], ecx
mov rax, qword [rbp - 0x18]
add rax, 0x1c
mov ecx, dword [rax]
mov rax, qword [rbp - 0x20]
add rax, rcx
mov qword [rbp - 0x60], rax
mov rax, qword [rbp - 0x18]
add rax, 0x20
mov ecx, dword [rax]
mov rax, qword [rbp - 0x20]
add rax, rcx
mov qword [rbp - 0x68], rax
mov rax, qword [rbp - 0x18]
add rax, 0x24
mov ecx, dword [rax]
mov rax, qword [rbp - 0x20]
add rax, rcx
mov qword [rbp - 0x70], rax
mov eax, 0
mov dword [rbp - 0x74], eax
lea rax, [0x006cf044]
mov qword [rbp - 0x80], rax
mov eax, dword [rbp - 0x54]
sub eax, 1
shl rax, 2
mov rcx, qword [rbp - 0x68]
add rcx, rax
mov eax, dword [rcx]
mov rcx, qword [rbp - 0x20]
add rcx, rax
mov qword [rbp - 0x88], rcx
mov rax, qword [rbp - 0x88]
movzx ecx, word [rax]
cmp ecx, 0x775a
jne 0x401671
mov eax, dword [rbp - 0x74]
shl rax, 3
mov rcx, qword [rbp - 0x80]
add rcx, rax
mov rax, qword [rbp - 0x88]
mov r10, rax
mov qword [rbp - 0x90], rcx
mov rcx, r10
call fcn.00401372
mov rcx, qword [rbp - 0x90]
mov dword [rcx], eax
mov eax, dword [rbp - 0x74]
shl rax, 3
mov rcx, qword [rbp - 0x80]
add rcx, rax
add rcx, 4
mov eax, dword [rbp - 0x54]
sub eax, 1
shl rax, 1
mov rdx, qword [rbp - 0x70]
add rdx, rax
movzx eax, word [rdx]
shl rax, 2
mov rdx, qword [rbp - 0x60]
add rdx, rax
mov eax, dword [rdx]
mov dword [rcx], eax
mov eax, dword [rbp - 0x74]
mov ecx, eax
add eax, 1
mov dword [rbp - 0x74], eax
mov eax, dword [rbp - 0x74]
cmp eax, 0x1f4
jne 0x401671
jmp 0x401683
mov eax, dword [rbp - 0x54]
add eax, 0xffffffff
mov dword [rbp - 0x54], eax
cmp eax, 0
jne 0x4015b6
mov eax, dword [rbp - 0x74]
mov dword [0x006cf040], eax
mov eax, 0
mov dword [rbp - 0x94], eax
mov eax, dword [0x006cf040]
sub eax, 1
mov ecx, dword [rbp - 0x94]
cmp ecx, eax
jae 0x401817
jmp 0x4016c6
mov eax, dword [rbp - 0x94]
mov ecx, eax
add eax, 1
mov dword [rbp - 0x94], eax
jmp 0x401697
mov eax, 0
mov dword [rbp - 0x98], eax
mov eax, dword [0x006cf040]
mov ecx, dword [rbp - 0x94]
sub eax, ecx
sub eax, 1
mov ecx, dword [rbp - 0x98]
cmp ecx, eax
jae 0x401812
jmp 0x401708
mov eax, dword [rbp - 0x98]
mov ecx, eax
add eax, 1
mov dword [rbp - 0x98], eax
jmp 0x4016d1
mov eax, dword [rbp - 0x98]
shl rax, 3
mov rcx, qword [rbp - 0x80]
add rcx, rax
add rcx, 4
mov eax, dword [rbp - 0x98]
add eax, 1
shl rax, 3
mov rdx, qword [rbp - 0x80]
add rdx, rax
add rdx, 4
mov eax, dword [rcx]
mov ecx, dword [rdx]
cmp eax, ecx
jbe 0x40180d
mov eax, dword [rbp - 0x98]
shl rax, 3
mov rcx, qword [rbp - 0x80]
add rcx, rax
mov eax, dword [rcx]
mov dword [rbp - 0xa0], eax
mov eax, dword [rbp - 0x98]
shl rax, 3
mov rcx, qword [rbp - 0x80]
add rcx, rax
add rcx, 4
mov eax, dword [rcx]
mov dword [rbp - 0x9c], eax
mov eax, dword [rbp - 0x98]
shl rax, 3
mov rcx, qword [rbp - 0x80]
add rcx, rax
mov eax, dword [rbp - 0x98]
add eax, 1
shl rax, 3
mov rdx, qword [rbp - 0x80]
add rdx, rax
mov eax, dword [rdx]
mov dword [rcx], eax
mov eax, dword [rbp - 0x98]
shl rax, 3
mov rcx, qword [rbp - 0x80]
add rcx, rax
add rcx, 4
mov eax, dword [rbp - 0x98]
add eax, 1
shl rax, 3
mov rdx, qword [rbp - 0x80]
add rdx, rax
add rdx, 4
mov eax, dword [rdx]
mov dword [rcx], eax
mov eax, dword [rbp - 0x98]
add eax, 1
shl rax, 3
mov rcx, qword [rbp - 0x80]
add rcx, rax
mov eax, dword [rbp - 0xa0]
mov dword [rcx], eax
mov eax, dword [rbp - 0x98]
add eax, 1
shl rax, 3
mov rcx, qword [rbp - 0x80]
add rcx, rax
add rcx, 4
mov eax, dword [rbp - 0x9c]
mov dword [rcx], eax
jmp 0x4016f5
jmp 0x4016b3
mov eax, 1
leave
ret