joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180088a50
Capabilities:
Log keystrokes via input method manager

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov esi, r9d
mov rbp, r8
mov r12, rdx
xor r14d, r14d
xor r9d, r9d
xor r8d, r8d
mov edx, esi
mov rcx, rbp
call qword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
movsxd rdi, eax
test eax, eax
jle 0x180088c98
xor ecx, ecx
call fcn.180124068
mov r8, rdi
shr r8, 1
inc r8
lea rcx, [r8 + r8]
test rcx, rcx
jne 0x180088ad8
mov r15d, r14d
mov r9d, edi
xor r8d, r8d
mov edx, esi
mov rcx, rbp
call qword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
lea rax, [0x180660030]
mov qword [r12], rax
mov rcx, r15
call fcn.180124068
jmp 0x180088ca3
mov edx, 2
mov rcx, r8
call fcn.180124058
mov rbx, rax
mov qword [rsp + 0x60], rax
mov r9d, edi
mov r8, rax
mov edx, esi
mov rcx, rbp
call qword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
mov r15, rbx
test rbx, rbx
je 0x180088ac0
movzx eax, word [rbx]
test ax, ax
je 0x180088ac0
mov r8, r14
mov ebp, 0xdc00
mov r9d, 4
nop dword [rax]
movzx eax, ax
add rbx, 2
lea ecx, [rax - 0xd800]
cmp ecx, 0x7ff
ja 0x180088b4f
movzx edx, word [rbx]
cmp dx, bp
jb 0x180088b4f
mov eax, edx
sub eax, ebp
shl ecx, 0xa
or eax, ecx
add eax, 0x10000
add rbx, 2
test eax, eax
je 0x180088b81
mov ecx, 1
cmp eax, 0x80
jb 0x180088b79
mov ecx, 2
cmp eax, 0x800
jb 0x180088b79
mov ecx, 3
cmp eax, 0x10000
cmovae rcx, r9
add r8, rcx
movzx eax, word [rbx]
jmp 0x180088b20
lea rbx, [r8 + 4]
and rbx, 0xfffffffffffffffc
lea rcx, [rbx + 0x17]
call fcn.18011de94
xchg dword [rax], r14d
mov qword [rax + 8], rbx
lea r8, [rax + 0x10]
mov rax, r8
mov rdx, r15
nop dword [rax]
nop word [rax + rax]
mov rsi, rax
mov rdi, rax
movzx r9d, word [rdx]
add rdx, 2
lea ecx, [r9 - 0xd800]
cmp ecx, 0x7ff
ja 0x180088bee
movzx r10d, word [rdx]
cmp r10w, bp
jb 0x180088bee
mov r9d, r10d
sub r9d, ebp
shl ecx, 0xa
or r9d, ecx
add r9d, 0x10000
add rdx, 2
test r9d, r9d
je 0x180088c8c
cmp r9d, 0x80
jb 0x180088c81
mov r11d, r9d
cmp r9d, 0x10000
jb 0x180088c22
inc rax
mov ebx, 2
shr r11d, 0x12
or r11b, 0xf0
jmp 0x180088c54
cmp r9d, 0x800
sbb r10d, r10d
add r10d, 2
inc rax
lea ebx, [r10 - 1]
lea ecx, [r10 + r10*2]
add ecx, ecx
shr r11d, cl
mov ecx, 7
sub ecx, r10d
mov r10d, 0xffffffff
shl r10b, cl
or r11b, r10b
mov byte [rdi], r11b
lea ecx, [rbx + rbx*2]
add ecx, ecx
nop dword [rax]
mov r10d, r9d
shr r10d, cl
and r10b, 0x3f
or r10b, 0x80
mov byte [rax], r10b
inc rax
sub ecx, 6
sub ebx, 1
jns 0x180088c60
jmp 0x180088bb0
mov byte [rax], r9b
inc rax
jmp 0x180088bb0
mov byte [rax], 0
mov qword [r12], r8
jmp 0x180088acb
lea rax, [0x180660030]
mov qword [r12], rax
mov rax, r12
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x18008d5c0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x40
mov rdi, r9
mov esi, r8d
mov rbx, rdx
mov r14, rcx
xor ebp, ebp
mov qword [rcx + 0xf0], rbp
mov qword [rcx + 0xf8], rbp
call fcn.1802d3f60
nop
lea rax, vtable.juce::FileChooser::Native.0
mov qword [r14], rax
lea rax, vtable.juce::FileChooser::Native.1.0
mov qword [r14 + 0xe8], rax
mov qword [r14 + 0x100], rbx
mov ecx, 0x2a8
call fcn.18011dae8
mov qword [rsp + 0x68], rax
lea rcx, [rbx + 8]
lea rdx, [rbx + 0x10]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdx
mov r9, rdi
mov r8d, esi
mov rdx, r14
mov rcx, rax
call fcn.18008a630
mov rbx, rax
mov qword [rsp + 0x68], rax
mov qword [r14 + 0x108], rbp
mov qword [r14 + 0x110], rbp
test rax, rax
je 0x18008d6ad
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.18011dae8
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, vtable.std::_Ref_count_resource_class_juce::Win32NativeFileChooser____ptr64__struct_std::default_delete_class_juce::Win32NativeFileChooser__.0
mov qword [rax], rcx
mov qword [rax + 0x10], rbx
mov qword [r14 + 0x108], rbx
mov qword [r14 + 0x110], rax
mov ebx, ebp
mov eax, ebp
test rax, rax
je 0x18008d6c7
mov rcx, rbx
call fcn.18008ac20
mov edx, 0x2a8
mov rcx, rbx
call fcn.18011d9c0
mov rax, qword [0x18067b510]
test rax, rax
jne 0x18008d6f2
mov ecx, 0x1b0
call fcn.18011dae8
mov qword [rsp + 0x68], rax
mov rcx, rax
call fcn.18029a890
nop
mov qword [0x18067b510], rax
mov rcx, qword [rax + 0xc8]
mov rax, qword [rcx]
movsxd rcx, dword [rcx + 0xc]
imul r8, rcx, 0x70
add r8, rax
cmp rax, r8
je 0x18008d71e
nop dword [rax]
cmp byte [rax], 0
jne 0x18008d71e
add rax, 0x70
cmp rax, r8
jne 0x18008d710
mov rcx, rbp
cmp rax, r8
cmovne rcx, rax
movq xmm0, qword [rcx + 0x1c]
movq rax, xmm0
shr rax, 0x20
cdq
and edx, 3
add eax, edx
sar eax, 2
mov r9, qword [rcx + 0x14]
mov r8, r9
shr r8, 0x20
add r8d, eax
movd eax, xmm0
cdq
and edx, 3
add edx, eax
sar edx, 2
add edx, r9d
mov dword [rsp + 0x20], ebp
xor r9d, r9d
mov rcx, r14
call fcn.1802bd870
mov dl, 1
mov rcx, r14
call fcn.1802d2f70
mov byte [rsp + 0x68], 0
lea rdx, [rsp + 0x68]
lea rcx, [0x1802b2960]
call qword [sym.imp.USER32.dll_EnumWindows]
movzx edx, byte [rsp + 0x68]
mov rcx, r14
call fcn.1802bda70
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.1802d3450
nop
mov rax, r14
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x18009c5e0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r8d, dword [rdx + 0x10]
mov rbx, rcx
mov rcx, qword [rcx + 0x110]
mov rdi, rdx
add rcx, 0x18
mov r9b, 1
mov edx, dword [rbx + 0x140]
call fcn.18024c2b0
mov rcx, qword [rbx + 0x110]
lea rdx, [rbx + 0x120]
add rcx, 0x168
mov r8, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x180292670
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov rdx, qword [rcx + 8]
add rdx, 0x58
mov rax, qword [rdx]
cmp byte [rax], 0
je 0x180292729
lea rcx, [rsp + 0x50]
call fcn.180017f90
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
cmp eax, 0xffffffff
je 0x180292729
mov dword [rsp + 0x20], 0
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
mov rcx, rbx
call fcn.180120224
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.180067e60
nop
lea rcx, [rbx + 0x10]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x68]
call fcn.1800cfa80
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x180292729
mov ecx, 0xffffffff
lock xadd dword [rax + 8], ecx
cmp ecx, 1
jne 0x180292729
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x18009c640
Capabilities:
Check if file exists

Disassembly:
lea rdx, [rcx + 0x120]
mov rcx, qword [rcx + 0x110]
add rcx, 0x168
jmp fcn.180292570

Function at 0x18009d390
Capabilities:
Check if file exists

Disassembly:
mov r8, rdx
lea rdx, [rcx + 0x70]
mov rcx, qword [rcx + 0xb8]
add rcx, 0x130
jmp 0x180292670

Function at 0x18009d3b0
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
call qword [rax + reloc.WS2_32.dll_htonl]
test al, al
je 0x18009d3f2
mov eax, dword [rbx + 0x28]
test eax, eax
jne 0x18009d3e4
mov rax, qword [rbx + 8]
test rax, rax
je 0x18009d3e0
cmp byte [rax + 0x12c], 0
je 0x18009d3e0
xor dl, dl
jmp 0x18009d3ea
mov dl, 1
jmp 0x18009d3ea
cmp eax, 2
setne dl
mov rcx, rbx
call fcn.180237e00
mov rcx, qword [rbx + 0xb8]
lea rdx, [rbx + 0x70]
add rcx, 0x130
add rsp, 0x20
pop rbx
jmp fcn.180292570
Function at 0x18009e8e0
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rbx, rdx
xor esi, esi
mov dword [rsp + 0x20], esi
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
call fcn.180120224
mov rdi, rax
mov dword [rsp + 0x20], esi
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
mov rcx, rbx
call fcn.180120224
mov rbx, rax
test rdi, rdi
je 0x18009ea53
test rax, rax
je 0x18009ea53
mov edx, dword [0x18067a7b8]
mov rcx, qword gs:[0x58]
mov eax, 4
mov rcx, qword [rcx + rdx*8]
mov ecx, dword [rax + rcx]
cmp dword [0x1806c7370], ecx
jg 0x18009ea65
lea rdx, [rbx + 0x70]
mov rax, qword [rdx]
mov qword [rsp + 0x40], rax
add rax, 0xfffffffffffffff0
lea rsi, [0x180660020]
cmp rax, rsi
je 0x18009e987
lock inc dword [rax]
lea rcx, [rsp + 0x70]
call fcn.180017f90
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
test al, 0x10
je 0x18009e9a8
cmp eax, 0xffffffff
je 0x18009e9a8
mov al, 1
jmp 0x18009e9aa
xor al, al
mov byte [rsp + 0x48], al
lea rdx, [rdi + 0x70]
mov rax, qword [rdx]
mov qword [rsp + 0x30], rax
add rax, 0xfffffffffffffff0
cmp rax, rsi
je 0x18009e9c6
lock inc dword [rax]
lea rcx, [rsp + 0x70]
call fcn.180017f90
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
test al, 0x10
je 0x18009e9e7
cmp eax, 0xffffffff
je 0x18009e9e7
mov al, 1
jmp 0x18009e9e9
xor al, al
mov byte [rsp + 0x38], al
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call fcn.18009dc60
mov edi, eax
mov rcx, qword [rsp + 0x30]
add rcx, 0xfffffffffffffff0
mov ebx, 0xffffffff
cmp rcx, rsi
je 0x18009ea23
mov edx, ebx
lock xadd dword [rcx], edx
dec edx
cmp edx, ebx
jne 0x18009ea23
call fcn.18011d9c0
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff0
cmp rcx, rsi
je 0x18009ea41
lock xadd dword [rcx], ebx
dec ebx
cmp ebx, 0xffffffff
jne 0x18009ea41
call fcn.18011d9c0
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
lea rcx, [0x1806c7370]
call fcn.18011da70
cmp dword [0x1806c7370], 0xffffffff
jne 0x18009e968
call fcn.18015e1d0
mov dword [0x1806c7270], eax
lea rcx, [0x1806c7370]
call fcn.18011da04
jmp 0x18009e968

Function at 0x1800d6fb0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
call fcn.180081da0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ebx, ax
mov ecx, 2
shr ebx, 0xf
and ebx, 1
shl ebx, 4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
mov edi, ebx
or edi, 0x20
mov ecx, 4
test al, 1
cmove edi, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rbx, qword [rsp + 0x30]
mov ecx, edi
shr eax, 0xf
or ecx, 0x40
test al, 1
mov eax, dword [0x18067b530]
cmove ecx, edi
and eax, 0xffffff8f
or ecx, eax
mov rax, rsi
mov dword [rsi], ecx
mov rsi, qword [rsp + 0x38]
mov dword [0x18067b530], ecx
add rsp, 0x20
pop rdi
ret
Function at 0x1800d8a30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov rax, qword [0x18065f280]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r12, rcx
sub rdx, rcx
sar rdx, 4
mov qword [rbp - 0x49], rdx
mov r14, rdx
sar r14, 1
test r14, r14
jle 0x1800d8c4d
lea r9, [rdx - 1]
mov qword [rbp - 0x41], r9
mov r13, r9
sar r13, 1
mov r15, r14
shl r15, 4
add r15, rcx
lea rcx, reloc.WS2_32.dll_accept
nop word [rax + rax]
dec r14
lea r15, [r15 - 0x10]
mov rax, qword [r15]
mov qword [rbp + 7], rax
mov rax, qword [r15 + 8]
mov qword [rbp + 0xf], rax
mov qword [r15], rcx
mov rbx, r14
mov r8, r14
cmp r14, r13
jge 0x1800d8bda
lea rax, [rbp - 0x59]
mov qword [rbp - 9], rax
lea rax, [rbp - 0x69]
mov qword [rbp - 1], rax
nop dword [rax + rax]
lea rsi, [r8 + r8]
lea rax, [rbp - 0x59]
mov qword [rbp - 0x39], rax
mov rdi, rsi
shl rdi, 4
add rdi, r12
mov rax, qword [rdi + 0x10]
mov qword [rbp - 0x59], rax
mov r8, qword [rax + 0x60]
lea rdx, [rdi + 0x18]
lea rcx, [rbp - 0x51]
call r8
nop
mov rax, qword [rdi + 0x20]
mov qword [rbp - 0x69], rax
mov r8, qword [rax + 0x60]
lea rdx, [rdi + 0x28]
lea rcx, [rbp - 0x61]
call r8
nop
lea rax, [rbp - 0x29]
mov qword [rbp - 0x31], rax
mov rax, qword [rbp - 0x59]
mov qword [rbp - 0x29], rax
mov r8, qword [rax + 0x60]
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x21]
call r8
nop
mov rax, qword [rbp - 0x69]
mov qword [rbp - 0x19], rax
mov r8, qword [rax + 0x60]
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x11]
call r8
nop
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x19]
call fcn.1800ac7d0
shr eax, 0x1f
mov edi, eax
mov rax, qword [rbp - 0x69]
mov rdx, qword [rax + 0x58]
lea rcx, [rbp - 0x61]
call rdx
nop
mov rax, qword [rbp - 0x59]
mov rdx, qword [rax + 0x58]
lea rcx, [rbp - 0x51]
call rdx
nop
xor rdi, 1
lea r8, [rdi + 1]
add r8, rsi
mov rdx, r8
shl rdx, 4
add rdx, r12
shl rbx, 4
add rbx, r12
mov rcx, qword [rbx]
mov rax, qword [rdx]
mov qword [rbx], rax
mov qword [rdx], rcx
mov rax, qword [rbx + 8]
mov rcx, qword [rdx + 8]
mov qword [rbx + 8], rcx
mov qword [rdx + 8], rax
mov rbx, r8
cmp r8, r13
jl 0x1800d8ae0
mov rdx, qword [rbp - 0x49]
mov r9, qword [rbp - 0x41]
cmp rbx, r13
jne 0x1800d8c13
test dl, 1
jne 0x1800d8c13
shl rdx, 4
add rdx, r12
shl rbx, 4
add rbx, r12
mov rcx, qword [rbx]
mov rax, qword [rdx - 0x10]
mov qword [rbx], rax
mov qword [rdx - 0x10], rcx
mov rax, qword [rbx + 8]
mov rcx, qword [rdx - 8]
mov qword [rbx + 8], rcx
mov qword [rdx - 8], rax
mov rbx, r9
lea r9, [rbp + 7]
mov r8, r14
mov rdx, rbx
mov rcx, r12
call fcn.1800daa50
nop
mov rax, qword [rbp + 7]
mov rdx, qword [rax + 0x58]
lea rcx, [rbp + 0xf]
call rdx
nop
test r14, r14
mov rdx, qword [rbp - 0x49]
lea r9, [rdx - 1]
lea rcx, reloc.WS2_32.dll_accept
jg 0x1800d8aa0
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.18011d9a0
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800da1e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov r15, r8
mov rbx, rdx
mov r12, rcx
mov qword [rbp + 0x48], rdx
mov r8, rdx
lea r13, [r15 - 1]
mov r14, r13
sar r14, 1
cmp rdx, r14
jge 0x1800da33a
lea rax, [rbp - 0x30]
mov qword [rbp + 0x50], rax
lea rax, [rbp - 0x40]
mov qword [rbp + 0x60], rax
nop dword [rax]
nop word [rax + rax]
lea rsi, [r8 + r8]
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov rdi, rsi
shl rdi, 4
add rdi, r12
mov rax, qword [rdi + 0x10]
mov qword [rbp - 0x30], rax
mov r8, qword [rax + 0x60]
lea rdx, [rdi + 0x18]
lea rcx, [rbp - 0x28]
call r8
nop
mov rax, qword [rdi + 0x20]
mov qword [rbp - 0x40], rax
mov r8, qword [rax + 0x60]
lea rdx, [rdi + 0x28]
lea rcx, [rbp - 0x38]
call r8
nop
lea rax, [rbp - 0x20]
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x20], rax
mov r8, qword [rax + 0x60]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x18]
call r8
nop
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x10], rax
mov r8, qword [rax + 0x60]
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 8]
call r8
nop
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x10]
call fcn.1800ac7d0
shr eax, 0x1f
mov edi, eax
mov rax, qword [rbp - 0x40]
mov rdx, qword [rax + 0x58]
lea rcx, [rbp - 0x38]
call rdx
nop
mov rax, qword [rbp - 0x30]
mov rdx, qword [rax + 0x58]
lea rcx, [rbp - 0x28]
call rdx
nop
xor rdi, 1
lea r8, [rdi + 1]
add r8, rsi
mov rdx, r8
shl rdx, 4
add rdx, r12
shl rbx, 4
add rbx, r12
mov rcx, qword [rbx]
mov rax, qword [rdx]
mov qword [rbx], rax
mov qword [rdx], rcx
mov rax, qword [rbx + 8]
mov rcx, qword [rdx + 8]
mov qword [rbx + 8], rcx
mov qword [rdx + 8], rax
mov rbx, r8
cmp r8, r14
jl 0x1800da240
mov r9, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x48]
cmp r8, r14
jne 0x1800da374
test r15b, 1
jne 0x1800da374
add r15, r15
shl rbx, 4
add rbx, r12
mov rcx, qword [rbx]
mov rax, qword [r12 + r15*8 - 0x10]
mov qword [rbx], rax
mov qword [r12 + r15*8 - 0x10], rcx
mov rax, qword [rbx + 8]
mov rcx, qword [r12 + r15*8 - 8]
mov qword [rbx + 8], rcx
mov qword [r12 + r15*8 - 8], rax
mov rbx, r13
mov r8, rdx
mov rdx, rbx
mov rcx, r12
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.1800daa50
Function at 0x18011b7ac
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x18011b7da
xor eax, eax
jmp 0x18011b8c0
cmp qword [rcx + 0x68], 0
je 0x18011b7eb
call fcn.180018360
jmp 0x18011b8c0
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18011b802
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18011b804
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18011b836
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.18037edb0
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x18011b8ba
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x18011b86d
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x18011b896
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.180132284
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x18011b8ba
cmp rsi, rbx
ja 0x18011b874
test rsi, rsi
je 0x18011b8ba
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.180132284
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x180125318
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x18012534f
call fcn.180136964
mov dword [rax], SafeArrayGetElement
call fcn.180124468
xor eax, eax
jmp 0x1801253dd
mov rdx, r9
mov rcx, r8
call fcn.1801252b4
mov rbx, rax
test rax, rax
je 0x1801253da
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1801251e0]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1801253c7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1801368d8
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1801253ae
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1801253bd
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1801396ec
jmp 0x1801253da
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1801253d7
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180135d14
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x180135d83
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180135d83
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180135d83
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180135d83
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180135d83
cmp dword [rcx + 0x84], 0xe
jbe 0x180135d83
cmp dword [rcx + 0xf8], 0
je 0x180135d83
mov ecx, ebx
call fcn.180135e34
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.180135c10
nop
cmp dword [rbp + 0x20], 0
je 0x180135dd1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180135ddc
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x180135d14

Function at 0x180135ed0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x180135d14
Function at 0x1801361f4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.18011e9f0
sub rsp, rax
mov rax, qword [0x18065f280]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.180134d9c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x180136243
mov rax, rbp
jmp 0x18013634b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x67aff0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.180144994
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x67aff0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x180136347
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180136347
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.180144994
test rax, rax
js 0x180136347
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x180136347
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x180136339
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x180136339
cmp byte [rcx], 0xd
jne 0x18013631f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x18013632e
cmp byte [rcx + 1], 0xa
jne 0x18013632e
inc rcx
jmp 0x18013632e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x65fde0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x180136301
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x18013634b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18011d9a0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x180141590
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.180139ae4
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x180141631
cmp ebx, dword [rsp + 0x30]
je 0x18014162a
test esi, esi
je 0x18014162a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x180141605
sub r8w, 0x61
cmp r8w, 0x19
ja 0x180141612
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1801415ef
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x180141616
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x180141633
mov eax, 1
jmp 0x180141633
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret