Function at 0x22ba6ae9c
Capabilities:
Populate syswhispers2 syscall list
Resolve function by parsing pe exports

Disassembly:
push rbp
push rbx
sub rsp, 0xd8
lea rbp, [rsp + 0xd0]
mov eax, dword [0x22ba760a0]
test eax, eax
je 0x22ba6aec1
mov eax, 1
jmp 0x22ba6b2ea
mov dword [rbp - 0x8c], 0x60
mov eax, dword [rbp - 0x8c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x98], rax
mov rax, qword [rbp - 0x98]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
mov rax, qword [rax + 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 8], 0
mov qword [rbp - 0x10], 0
mov rax, qword [rbp - 0x38]
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x18], rax
jmp 0x22ba6afb5
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 0x30]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x40]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 0x10]
add rax, rdx
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x48]
add rax, 0x88
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x50]
mov eax, dword [rax]
mov dword [rbp - 0x54], eax
cmp dword [rbp - 0x54], 0
je 0x22ba6afa6
mov edx, dword [rbp - 0x54]
mov rax, qword [rbp - 0x10]
add rax, rdx
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp - 0x10]
add rax, rdx
mov qword [rbp - 0x60], rax
mov rax, qword [rbp - 0x60]
mov eax, dword [rax]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x22ba6afa9
mov rax, qword [rbp - 0x60]
add rax, 4
mov eax, dword [rax]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x22ba6afc8
jmp 0x22ba6afaa
nop
jmp 0x22ba6afaa
nop
mov rax, qword [rbp - 0x18]
mov rax, qword [rax]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 0x30]
test rax, rax
jne 0x22ba6af14
jmp 0x22ba6afc9
nop
cmp qword [rbp - 8], 0
jne 0x22ba6afda
mov eax, 0
jmp 0x22ba6b2ea
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x18]
mov dword [rbp - 0x1c], eax
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x1c]
mov edx, eax
mov rax, qword [rbp - 0x10]
add rax, rdx
mov qword [rbp - 0x68], rax
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x20]
mov edx, eax
mov rax, qword [rbp - 0x10]
add rax, rdx
mov qword [rbp - 0x70], rax
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x24]
mov edx, eax
mov rax, qword [rbp - 0x10]
add rax, rdx
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x20], 0
lea rax, [0x22ba760a8]
mov qword [rbp - 0x80], rax
mov eax, dword [rbp - 0x1c]
sub eax, 1
mov eax, eax
lea rdx, [rax*4]
mov rax, qword [rbp - 0x70]
add rax, rdx
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp - 0x10]
add rax, rdx
mov qword [rbp - 0x88], rax
mov rax, qword [rbp - 0x88]
movzx eax, word [rax]
cmp ax, 0x775a
jne 0x22ba6b11b
mov eax, dword [rbp - 0x20]
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x80]
lea rbx, [rdx + rax]
mov rax, qword [rbp - 0x88]
mov rcx, rax
call fcn.22ba6ad50
mov dword [rbx], eax
mov eax, dword [rbp - 0x1c]
sub eax, 1
mov eax, eax
lea rdx, [rax + rax]
mov rax, qword [rbp - 0x78]
add rax, rdx
movzx eax, word [rax]
movzx eax, ax
lea rdx, [rax*4]
mov rax, qword [rbp - 0x68]
add rax, rdx
mov edx, dword [rbp - 0x20]
mov rcx, rdx
shl rcx, 4
mov rdx, qword [rbp - 0x80]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx + 4], eax
mov eax, dword [rbp - 0x20]
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rax, rdx
mov eax, dword [rax + 4]
mov edx, eax
mov rax, qword [rbp - 0x10]
add rax, rdx
mov rdx, rax
mov eax, dword [rbp - 0x20]
shl rax, 4
mov rcx, rax
mov rax, qword [rbp - 0x80]
lea rbx, [rcx + rax]
mov rcx, rdx
call fcn.22ba6adae
mov qword [rbx + 8], rax
add dword [rbp - 0x20], 1
cmp dword [rbp - 0x20], 0x1f4
je 0x22ba6b12b
sub dword [rbp - 0x1c], 1
cmp dword [rbp - 0x1c], 0
jne 0x22ba6b032
jmp 0x22ba6b12c
nop
mov eax, dword [rbp - 0x20]
mov dword [0x22ba760a0], eax
mov dword [rbp - 0x24], 0
jmp 0x22ba6b2d3
mov dword [rbp - 0x28], 0
jmp 0x22ba6b2ba
mov eax, dword [rbp - 0x28]
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rax, rdx
mov edx, dword [rax + 4]
mov eax, dword [rbp - 0x28]
add eax, 1
mov eax, eax
shl rax, 4
mov rcx, rax
mov rax, qword [rbp - 0x80]
add rax, rcx
mov eax, dword [rax + 4]
cmp edx, eax
jbe 0x22ba6b2b6
mov eax, dword [rbp - 0x28]
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp - 0xb0], eax
mov eax, dword [rbp - 0x28]
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rax, rdx
mov eax, dword [rax + 4]
mov dword [rbp - 0xac], eax
mov eax, dword [rbp - 0x28]
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rax, rdx
mov rax, qword [rax + 8]
mov qword [rbp - 0xa8], rax
mov eax, dword [rbp - 0x28]
add eax, 1
mov eax, eax
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rax, rdx
mov edx, dword [rbp - 0x28]
mov rcx, rdx
shl rcx, 4
mov rdx, qword [rbp - 0x80]
add rdx, rcx
mov eax, dword [rax]
mov dword [rdx], eax
mov eax, dword [rbp - 0x28]
add eax, 1
mov eax, eax
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rax, rdx
mov edx, dword [rbp - 0x28]
mov rcx, rdx
shl rcx, 4
mov rdx, qword [rbp - 0x80]
add rdx, rcx
mov eax, dword [rax + 4]
mov dword [rdx + 4], eax
mov eax, dword [rbp - 0x28]
add eax, 1
mov eax, eax
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rax, rdx
mov edx, dword [rbp - 0x28]
mov rcx, rdx
shl rcx, 4
mov rdx, qword [rbp - 0x80]
add rdx, rcx
mov rax, qword [rax + 8]
mov qword [rdx + 8], rax
mov eax, dword [rbp - 0x28]
add eax, 1
mov eax, eax
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rdx, rax
mov eax, dword [rbp - 0xb0]
mov dword [rdx], eax
mov eax, dword [rbp - 0x28]
add eax, 1
mov eax, eax
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rdx, rax
mov eax, dword [rbp - 0xac]
mov dword [rdx + 4], eax
mov eax, dword [rbp - 0x28]
add eax, 1
mov eax, eax
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x80]
add rdx, rax
mov rax, qword [rbp - 0xa8]
mov qword [rdx + 8], rax
add dword [rbp - 0x28], 1
mov eax, dword [0x22ba760a0]
sub eax, dword [rbp - 0x24]
sub eax, 1
cmp dword [rbp - 0x28], eax
jb 0x22ba6b14d
add dword [rbp - 0x24], 1
mov eax, dword [0x22ba760a0]
sub eax, 1
cmp dword [rbp - 0x24], eax
jb 0x22ba6b141
mov eax, 1
add rsp, 0xd8
pop rbx
pop rbp
ret