joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800b4250
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x270
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1806c4cd8]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rdi + 8]
mov r8d, 0x104
lea rdx, [rsp + 0x50]
mov rcx, qword [rcx + 0x170]
call qword [sym.imp.USER32.dll_GetWindowTextW]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x180601b00]
movdqu xmmword [rsp + 0x38], xmm1
xor ebx, ebx
mov word [rsp + 0x28], bx
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x1800b42e0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.18007da60
nop
cmp qword [rsp + 0x38], 0
sete sil
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1800b4349
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b4344
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b4344
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
movdqa xmm0, xmmword [0x180601b00]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], bx
test sil, sil
jne 0x1800b43b3
lea r8, [rsp + 0x50]
movzx eax, word [rsp + 0x50]
cmp ax, 0x30
jb 0x1800b4394
cmp ax, 0x39
ja 0x1800b4394
lea rbx, [rbx + rbx*4]
movzx ecx, ax
lea rbx, [rbx - 0x18]
lea rbx, [rcx + rbx*2]
add r8, 2
movzx eax, word [r8]
cmp ax, 0x30
jae 0x1800b4371
cmp ebx, 1
jae 0x1800b43a0
mov edx, 1
jmp 0x1800b43aa
cmp ebx, 0x63
jbe 0x1800b43b3
mov edx, 0x63
mov rcx, qword [rdi + 8]
call fcn.1800b3ac0
mov al, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1804688c0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1800b4560
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
movss xmm0, dword [0x1806c80f8]
mov rsi, rcx
comiss xmm0, dword [0x180601708]
mov eax, dword [rcx + 0x10]
jb 0x1800b458b
imul eax, eax, 0x64
jmp 0x1800b4599
comiss xmm0, dword [0x1806016e8]
jb 0x1800b4599
lea eax, [rax + rax*4]
add eax, eax
mov rbx, qword [0x1806d4c60]
lea r8, [0x1805e7438]
mov rcx, rbx
movzx edx, ax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x1800b45c2
xor ebx, ebx
jmp 0x1800b46ba
mov rdx, rdi
mov qword [rsp + 0x48], rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test eax, eax
je 0x1800b46b3
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1800b46b3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1800b46b3
mov edx, ebp
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x1800b46b3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1800b46aa
mov r8d, ebp
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x40], 0
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x1800b46aa
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1800b46aa
call fcn.1801240b0
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
test rbx, rbx
je 0x1800b46b5
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x10], 0
test ecx, ecx
je 0x1800b46b5
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
jmp 0x1800b46b3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor ebx, ebx
mov rbp, qword [rsp + 0x48]
mov rcx, qword [rsi + 8]
mov qword [rsi + 8], rbx
test rcx, rcx
je 0x1800b46d5
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x1800b4755
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0
call qword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x1800b46f8
mov dword [rbx + 0x10], eax
mov eax, dword [rsp + 0x40]
xor edx, edx
div dword [rsi + 0x14]
mov rbx, qword [rsi + 8]
lea rdx, [rsp + 0x40]
mov edi, eax
mov dword [rsp + 0x40], 0
mov rcx, qword [rbx + 8]
call qword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x1800b4725
mov dword [rbx + 0x10], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x2c], eax
mov al, 1
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], edi
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi + 0x18], xmm0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x50]
xor al, al
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1800b8810
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1806c4cd8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbx + 0x60]
lea rdx, [rsp + 0x20]
mov r8d, 0x104
call qword [sym.imp.USER32.dll_GetWindowTextW]
movzx edx, word [rsp + 0x20]
lea r8, [rsp + 0x20]
xor eax, eax
cmp dx, 0x30
jb 0x1800b888a
cmp dx, 0x39
ja 0x1800b888a
lea rcx, [rax + rax*4]
add r8, 2
movzx eax, dx
movzx edx, word [r8]
lea rax, [rax + rcx*2]
add rax, 0xffffffffffffffd0
cmp dx, 0x30
jae 0x1800b8867
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1804688c0
add rsp, 0x240
pop rbx
ret

Function at 0x1800b95f0
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1806c4cd8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rdx
xor esi, esi
mov dword [rsp + 0x20], esi
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1800b9664
mov r8d, 0x104
lea rdx, [rsp + 0x40]
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], si
jne 0x1800b9680
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.18007da60
nop
mov dword [rsp + 0x20], 1
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1804688c0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1800b9e00
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1806c4cd8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rdx
xor esi, esi
mov dword [rsp + 0x20], esi
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x40]
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x1800b9e81
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.18007da60
mov dword [rsp + 0x20], 1
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1804688c0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1800c0660
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x1800c06a4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1800c0690
ret
Function at 0x1800c8cf0
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 0xb0]
test rcx, rcx
je 0x1800c8d3b
mov edx, 0x48c
call fcn.1801263f0
mov rcx, rax
mov dword [rsp + 0x20], 0
xor edx, edx
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
call sub.VCRUNTIME140.dll___RTDynamicCast
test rax, rax
je 0x1800c8d3b
mov rcx, rax
add rsp, 0x38
jmp fcn.1800b8810
mov eax, 1
add rsp, 0x38
ret

Function at 0x1800c8e50
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 0xa8]
test rcx, rcx
je 0x1800c8e9b
mov edx, 0x43c
call fcn.1801263f0
mov rcx, rax
mov dword [rsp + 0x20], 0
xor edx, edx
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
call sub.VCRUNTIME140.dll___RTDynamicCast
test rax, rax
je 0x1800c8e9b
mov rcx, rax
add rsp, 0x38
jmp fcn.1800cf630
xor eax, eax
add rsp, 0x38
ret
Function at 0x1800cf630
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1806c4cd8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbx + 0x68]
lea rdx, [rsp + 0x20]
mov r8d, 0x104
call qword [sym.imp.USER32.dll_GetWindowTextW]
movzx edx, word [rsp + 0x20]
xor eax, eax
cmp dx, 0x2d
jne 0x1800cf6b9
movzx edx, word [rsp + 0x22]
lea r8, [rsp + 0x22]
cmp dx, 0x30
jb 0x1800cf6b5
cmp dx, 0x39
ja 0x1800cf6b5
lea rcx, [rax + rax*4]
add r8, 2
movzx eax, dx
movzx edx, word [r8]
lea rax, [rax + rcx*2]
add rax, 0xffffffffffffffd0
cmp dx, 0x30
jae 0x1800cf692
neg eax
jmp 0x1800cf6e7
lea r8, [rsp + 0x20]
cmp dx, 0x30
jb 0x1800cf6e7
cmp dx, 0x39
ja 0x1800cf6e7
lea rcx, [rax + rax*4]
add r8, 2
movzx eax, dx
movzx edx, word [r8]
lea rax, [rax + rcx*2]
add rax, 0xffffffffffffffd0
cmp dx, 0x30
jae 0x1800cf6c4
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1804688c0
add rsp, 0x240
pop rbx
ret
Function at 0x1800d2810
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rdi, rcx
mov rbx, r8
mov ecx, send
call qword [sym.imp.USER32.dll_GetKeyState]
mov esi, 0x8000
test si, ax
jne 0x1800d29b8
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
test si, ax
jne 0x1800d29b8
mov rax, qword [rdi]
lea rdx, [rsp + 0x88]
xor r8d, r8d
mov dword [rsp + 0x88], 0
mov rcx, rdi
call qword [rax + VarUI4FromDisp]
test al, al
je 0x1800d29b8
cmp byte [rdi + 0x138], 0
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], r15
jne 0x1800d28d0
mov byte [rdi + 0x138], 1
lea rdx, [rdi + 0x80]
mov rax, qword [rbx]
lea r8, [rdi + 0x148]
mov qword [rdi + 0x13c], rax
cmp r8, rdx
je 0x1800d28d0
mov rax, qword [rdx]
mov rcx, qword [r8]
mov qword [r8], rax
mov qword [rdx], rcx
mov rax, qword [rdx + 8]
mov rcx, qword [r8 + 8]
mov qword [r8 + 8], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0x80]
call fcn.1800d2d70
mov eax, dword [rbx + 4]
mov ebp, dword [rdi + 0x140]
mov esi, ebp
mov ecx, dword [rdi + 0x9c]
cmp ebp, eax
mov r15d, dword [rsp + 0x88]
cmovge esi, eax
sub esi, ecx
cmp eax, ebp
cmovge ebp, eax
sub ebp, ecx
cmp esi, ebp
jg 0x1800d295a
movzx ebx, byte [rsp + 0x88]
nop
test ebp, ebp
jle 0x1800d299a
test esi, esi
jle 0x1800d2950
mov eax, esi
cdq
idiv dword [rdi + 0xa0]
lea ecx, [rax + r15]
mov dword [rsp + 0x30], ecx
test ecx, ecx
js 0x1800d2950
cmp ecx, dword [rdi + 0x78]
jge 0x1800d2950
lea r9, [rsp + 0x30]
mov byte [rsp + 0x20], bl
lea rdx, [rsp + 0x38]
lea rcx, [rdi + 0x80]
call fcn.1800d3090
add esi, dword [rdi + 0xa0]
cmp esi, ebp
jle 0x1800d2910
test ebp, ebp
jle 0x1800d299a
mov eax, ebp
cdq
idiv dword [rdi + 0xa0]
lea edx, [rax + r15]
mov dword [rsp + 0x30], edx
test edx, edx
js 0x1800d299a
cmp edx, dword [rdi + 0x78]
jge 0x1800d299a
movzx eax, byte [rsp + 0x88]
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov byte [rsp + 0x20], al
lea rcx, [rdi + 0x80]
call fcn.1800d3090
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0xd0]
mov r15, qword [rsp + 0x80]
mov r14, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
mov al, 1
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800d4820
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x240
mov rax, qword [0x1806c4cd8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov eax, dword [rdx]
mov rdi, rcx
cmp eax, 8
jne 0x1800d492f
mov rcx, qword [rcx + 8]
mov rcx, qword [rcx + 0x70]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1800d4955
xor edx, edx
mov qword [rsp + 0x258], rbx
mov r8d, 0x20a
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, qword [rcx + 0x70]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax + 0x68]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x60]
xor ebx, ebx
mov rcx, rax
test rax, rax
jne 0x1800d48b4
mov r10d, ebx
jmp 0x1800d48bd
mov rax, qword [rax]
call qword [rax + 8]
mov r10, rax
movzx edx, word [rsp + 0x20]
lea r8, [rsp + 0x20]
cmp dx, 0x30
jb 0x1800d48f3
nop dword [rax]
cmp dx, 0x39
ja 0x1800d48f3
add r8, 2
movzx eax, dx
lea rbx, [rbx + rbx*4]
lea rbx, [rbx - 0x18]
movzx edx, word [r8]
lea rbx, [rax + rbx*2]
cmp dx, 0x30
jae 0x1800d48d0
mov rax, qword [rdi + 8]
mov edx, 0x80a
mov r9d, ebx
mov rcx, r10
movzx r8d, word [rax + 0x60]
movzx eax, word [rax + 0x64]
shl r8, 0x10
or r8, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rdi + 8]
mov rbx, qword [rsp + 0x258]
mov byte [rax + 0x148], 0
mov al, 1
jmp 0x1800d4957
cmp eax, 7
jne 0x1800d4955
mov rcx, qword [rcx + 8]
mov rcx, qword [rcx + 0x70]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1800d4955
mov rax, qword [rdi + 8]
mov byte [rax + 0x148], 1
mov al, 1
jmp 0x1800d4957
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1804688c0
add rsp, 0x240
pop rdi
ret

Function at 0x1800d73b0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1806c4cd8]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
mov dword [rsp + 0x20], VarUI4FromDisp
mov r8d, VarUI4FromDisp
lea rcx, [rsp + 0x24]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1800d7421
mov eax, dword [rsp + 0x24]
cmp eax, 5
jae 0x1800d7407
cmp eax, 4
jne 0x1800d7421
cmp dword [rsp + 0x28], 0x5a
jb 0x1800d7421
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1804688c0
add rsp, 0x158
ret
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1804688c0
add rsp, 0x158
ret
Function at 0x1800ee8c0
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x270
mov rax, qword [0x1806c4cd8]
xor rax, rsp
mov qword [rsp + 0x260], rax
cmp dword [rsp + 0x2d0], 0
mov rbp, r9
mov r14, qword [rsp + 0x2c8]
mov edi, r8d
mov rbx, rcx
jne 0x1800eea24
xor esi, esi
cmp r8d, 0x10
jne 0x1800ee9d9
cmp r9, 1
jne 0x1800ee9c2
mov rcx, qword [rcx + 0xa0]
test rcx, rcx
je 0x1800ee9c2
lea r9, vtable.type_info.0
mov dword [rsp + 0x20], esi
lea r8, vtable.type_info.0
xor edx, edx
call sub.VCRUNTIME140.dll___RTDynamicCast
mov rdi, rax
test rax, rax
je 0x1800ee9c2
mov rcx, qword [rax + 0x170]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1800ee9b7
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rdi + 0x170]
lea rdx, [rsp + 0x50]
mov r8d, 0x104
call qword [sym.imp.USER32.dll_GetWindowTextW]
movzx eax, word [rsp + 0x50]
lea rdx, [rsp + 0x50]
mov ecx, esi
cmp ax, 0x30
jb 0x1800ee9bc
cmp ax, 0x39
ja 0x1800ee9bc
movzx eax, ax
lea rcx, [rcx + rcx*4]
add rdx, 2
lea rcx, [rcx - 0x18]
lea rcx, [rax + rcx*2]
movzx eax, word [rdx]
cmp ax, 0x30
jae 0x1800ee993
jmp 0x1800ee9bc
mov ecx, 1
mov dword [rbx + 0x128], ecx
mov rcx, qword [rbx + 8]
movsxd rdx, ebp
call qword [sym.imp.USER32.dll_EndDialog]
mov qword [r14], rsi
mov eax, 1
jmp 0x1800eea26
mov dword [rsp + 0x30], esi
mov rsi, qword [rsp + 0x2c0]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
call fcn.1800d7890
test eax, eax
jne 0x1800ee9d2
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 1
mov r9, rsi
mov qword [rsp + 0x20], rax
mov r8, rbp
mov edx, edi
mov rcx, rbx
call fcn.1800e0600
cmp dword [rsp + 0x40], 0
mov qword [r14], rax
jne 0x1800ee9d2
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1804688c0
add rsp, 0x270
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800f1ec0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x1806c4cd8]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor eax, eax
mov dword [rsp + 0x20], VarUI4FromDisp
mov qword [rcx], rax
mov rdi, r8
mov qword [rcx + 8], rax
mov rbx, rcx
mov qword [rcx + 0x10], rax
xor edx, edx
mov qword [rcx + 0x18], rax
mov r8d, VarUI4FromDisp
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
mov qword [rcx + 0x40], rax
lea rcx, [rsp + 0x24]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1800f1f3f
cmp dword [rsp + 0x24], 6
mov eax, 0x48
jae 0x1800f1f44
mov eax, 0x40
mov rcx, rdi
mov dword [rbx], eax
mov dword [rbx + 4], 0
call qword [sym.imp.USER32.dll_GetParent]
or dword [rbx + 4], 1
mov qword [rbx + 8], rax
mov rax, rbx
mov qword [rbx + 0x10], rdi
mov rcx, qword [0x1806d4590]
mov qword [rbx + 0x28], rcx
mov rcx, qword [rsp + 0x188]
mov qword [rbx + 0x30], rcx
mov qword [rbx + 0x38], 0
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1804688c0
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret
Function at 0x18010ca30
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x450
mov rax, qword [0x1806c4cd8]
xor rax, rsp
mov qword [rsp + 0x440], rax
xor edi, edi
mov rbx, rcx
cmp qword [rcx + 0x18], 8
mov rax, rcx
mov qword [rcx + 0x10], rdi
jb 0x18010ca65
mov rax, qword [rcx]
xor edx, edx
mov word [rax], di
mov r8d, 0x412
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov ecx, 0x208
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x18010ca92
xor al, al
jmp 0x18010cac9
cmp eax, 0x208
jae 0x18010ca8e
mov word [rsp + 0x430], di
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], di
jne 0x18010cab0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.18007da60
mov al, 1
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1804688c0
mov rbx, qword [rsp + 0x468]
add rsp, 0x450
pop rdi
ret
Function at 0x180115b10
Capabilities:
Create thread
Resume thread

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rax, qword [0x1806c4cd8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov rdi, qword [rcx + 0x10]
test rdi, rdi
jne 0x180115b46
xor al, al
jmp 0x180115bfc
mov qword [rsp + 0x38], 0
add rdi, 0x38
mov qword [rsp + 0x38], rdi
je 0x180115b69
mov rcx, qword [rdi]
test rcx, rcx
je 0x180115b69
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rax, qword [rbx + 0x10]
cmp qword [rax + 8], 0
je 0x180115bdb
mov eax, 1
lock xadd dword [rbx + 8], eax
mov rcx, qword [rbx + 0x10]
add rcx, 0x14
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 4
mov r9, rbx
lea r8, [0x180115780]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rbx + 0x10]
mov qword [rcx + 0x18], rax
mov rax, qword [rbx + 0x10]
cmp qword [rax + 0x18], 0
jne 0x180115c14
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
sub eax, 1
jne 0x180115bd2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbx + 0x10]
call fcn.180115930
xor bl, bl
test rdi, rdi
je 0x180115bf9
mov rcx, qword [rdi]
test rcx, rcx
je 0x180115bf0
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x38], 0
movzx eax, bl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1804688c0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov byte [rax + 0x10], 1
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x180115c32
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rbx + 0x10]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x180115bba
mov bl, 1
jmp 0x180115bdd
Function at 0x180116340
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rax, qword [0x1806c4cd8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, rdx
mov rdi, rcx
mov rcx, qword [rcx]
xor ebp, ebp
test rcx, rcx
je 0x18011637e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], rbp
mov word [rdi + 8], bp
mov qword [rsp + 0x28], rbp
lea rcx, [rsp + 0x28]
call fcn.18011d8a0
nop
mov rbx, qword [rsp + 0x28]
cmp qword [rbx], 0
lea rcx, [rbx + 0x10]
jne 0x1801163a4
mov rcx, rbp
cmp qword [rsi + 0x10], 0
je 0x1801163b7
cmp qword [rsi + 0x18], 8
jb 0x1801163ba
mov rsi, qword [rsi]
jmp 0x1801163ba
mov rsi, rbp
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi], rax
test rax, rax
je 0x1801163de
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1801163de
mov byte [rdi + 9], 1
cmp qword [rdi], 0
setne sil
mov rdi, qword [rbx]
test rdi, rdi
je 0x180116405
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx], rbp
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180116418
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbx + 8], rbp
mov edx, 0x58
mov rcx, rbx
call fcn.180468ddc
mov qword [rsp + 0x28], rbp
movzx eax, sil
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1804688c0
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x180116450
Capabilities:
Check mutex on windows

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov rax, qword [0x1806c4cd8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, rdx
mov rdi, rcx
mov rcx, qword [rcx]
xor r14d, r14d
test rcx, rcx
je 0x180116495
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], r14
mov word [rdi + 8], r14w
mov qword [rsp + 0x28], r14
lea rcx, [rsp + 0x28]
call fcn.18011d9c0
nop
mov rbx, qword [rsp + 0x28]
cmp qword [rbx], 0
lea rbp, [rbx + 0x10]
jne 0x1801164bc
mov rbp, r14
cmp qword [rsi + 0x10], 0
je 0x1801164d2
mov r8, rsi
cmp qword [rsi + 0x18], 8
jb 0x1801164d5
mov r8, qword [rsi]
jmp 0x1801164d5
mov r8, r14
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi], rax
test rax, rax
jne 0x180116523
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x180116523
lea ecx, [rax + 5]
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [rsi + 0x10], 0
je 0x18011650f
cmp qword [rsi + 0x18], 8
jb 0x180116512
mov rsi, qword [rsi]
jmp 0x180116512
mov rsi, r14
mov r8, rsi
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi], rax
mov rax, qword [rdi]
test rax, rax
je 0x18011654a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x18011653c
mov byte [rdi + 9], 1
mov rcx, qword [rdi]
call fcn.18011c6e0
mov rax, qword [rdi]
test rax, rax
setne sil
mov rdi, qword [rbx]
test rdi, rdi
je 0x18011656d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180116580
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbx + 8], r14
mov edx, 0x58
mov rcx, rbx
call fcn.180468ddc
mov qword [rsp + 0x28], r14
movzx eax, sil
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1804688c0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret