joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140018e70
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x14004d3b0]
xor esi, esi
mov r15, rcx
mov dword [rdi + 0x2d9c], esi
test rcx, rcx
je 0x140018f8a
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2da0]
mov dword [rdi + 0x2d9c], esi
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
test ecx, ecx
jns 0x140018eca
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140019ce0
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x140018ede
mov edx, 8
mov rcx, rbx
call fcn.140019ce0
movsxd rcx, dword [rbx]
mov ebp, esi
mov rax, qword [rbx + 8]
mov byte [rcx + rax], sil
inc dword [rbx]
cmp dword [rdi + 0x2db0], esi
jle 0x140018f2a
mov qword [rsp + 0x50], r14
mov r14, rsi
nop dword [rax]
mov r9, qword [rdi + 0x2db8]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add r14, 0x30
cmp ebp, dword [rdi + 0x2db0]
jl 0x140018f00
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
cmp qword [rbx + 8], rsi
je 0x140018f39
mov esi, dword [rbx]
dec esi
mov rax, qword [rdi + 0x2da8]
lea rdx, [0x1400426cc]
test rax, rax
movsxd rsi, esi
lea rdi, [0x14004d3a8]
mov rcx, r15
cmovne rdi, rax
call fcn.14000add0
mov rbx, rax
test rax, rax
je 0x140018f85
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x140020c80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push r13
push r14
sub rsp, 0xb8
mov r13, rcx
movsxd rax, r9d
xor ecx, ecx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0xe8], ecx
mov r14, rdx
test r9d, r9d
jle 0x140020ee2
mov qword [r11 + 8], rbx
lea rbx, [r8 + 0x20]
mov qword [r11 + 0x10], rbp
movzx ebp, byte [r13 + 0x24]
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x18], rdi
mov edi, 0x100
mov qword [r11 - 0x20], r12
xor r12d, r12d
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
xorps xmm7, xmm7
movaps xmmword [r11 - 0x58], xmm8
movzx r11d, byte [r13 + 0x20]
movss xmm8, dword [0x140043130]
nop word [rax + rax]
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x140020d4a
movsxd r10, dword [r14 + 0x24]
mov r9, qword [r14 + 8]
movsx ecx, di
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, di
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
movd xmm0, eax
jmp 0x140020d69
movsxd rdx, dword [r14 + 0x1c]
xorps xmm6, xmm8
mov rax, qword [r14 + 8]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
xor edi, edi
mov byte [rbx], r11b
mov byte [rbx + 1], bpl
divss xmm6, xmm0
cmp dword [rbx - 0x10], edi
jle 0x140020e80
mov r15, qword [rsp + 0xf0]
mov rax, r12
shl rax, 4
add r15, 6
xor esi, esi
add r15, rax
nop word [rax + rax]
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x140020db0
mov edx, dword [rbx - 0x1c]
add edx, edi
jmp 0x140020db3
mov edx, dword [rax + rsi]
mov eax, dword [r13 + 0x24]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov rcx, r14
cvtsi2ss xmm3, rax
mov eax, dword [r13 + 0x20]
cvtsi2ss xmm2, rax
mulss xmm3, xmm6
mulss xmm2, xmm6
call fcn.14001bf80
mov edx, eax
mov rcx, r14
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
movss dword [rsp + 0x20], xmm7
call fcn.14001e8d0
movzx ecx, word [r13 + 0x1c]
inc r12
movzx r11d, word [r13 + 0x20]
movzx eax, cx
sub ax, word [rsp + 0x50]
dec cx
movzx ebp, word [r13 + 0x24]
dec ax
add ax, r11w
inc edi
add ax, word [rsp + 0x54]
add rsi, 4
mov word [r15 - 2], ax
movzx eax, bp
sub ax, word [rsp + 0x58]
add ax, cx
mov ecx, dword [rsp + 0xe8]
add ax, word [rsp + 0x5c]
inc ecx
mov word [r15], ax
add r15, 0x10
mov dword [rsp + 0xe8], ecx
cmp edi, dword [rbx - 0x10]
jl 0x140020da0
jmp 0x140020e87
mov ecx, dword [rsp + 0xe8]
add rbx, 0x28
mov edi, 0x100
sub qword [rsp + 0x60], 1
jne 0x140020d00
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
mov eax, ecx
add rsp, 0xb8
pop r14
pop r13
ret
Function at 0x140025350
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x140025507
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov esi, r9d
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x1400253e6
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.140024cc0
mov r8d, dword [rbx + 0x80]
mov r9d, esi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.1400242d0
mov ecx, dword [rbx + 0x84]
test ecx, ecx
jns 0x1400253d7
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x80]
test eax, eax
cmovg edx, eax
call fcn.140019960
mov dword [rbx + 0x80], 0
jmp 0x1400254f3
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.1400231c0
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rdi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rdi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], esi
movsd xmm0, qword [rdi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], esi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14002a900
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14004c040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x14004dd88]
lea rdx, [rsp + 0x28]
mov rdi, qword [0x14004d3b0]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x40]
sub eax, dword [rsp + 0x28]
movd xmm1, eax
mov eax, dword [rsp + 0x34]
sub eax, dword [rsp + 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x40]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x14004dd90]
cvtsi2ss xmm0, qword [0x14004dd98]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x14004dd90], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0x130], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0x131], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [0x14004d3b0]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x133], 0
mov byte [rdi + 0x132], al
cmp byte [rcx + 0x3af], 0
lea rbx, [rcx + 0x118]
je 0x14002aa2c
cvttss2si eax, dword [rbx]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], eax
cvttss2si eax, dword [rcx + 0x11c]
mov rcx, qword [0x14004dd88]
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x14004dd88]
jne 0x14002aa88
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14002aa88
mov rcx, qword [0x14004dd88]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14002aa88
movd xmm0, dword [rsp + 0x20]
movd xmm1, dword [rsp + 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xd0], 0
je 0x14002aa98
mov eax, 0xffffffff
jmp 0x14002aaa5
mov rax, qword [0x14004d3b0]
mov eax, dword [rax + 0x1d70]
cmp dword [0x14004c658], eax
je 0x14002aab8
mov dword [0x14004c658], eax
call fcn.14002a7a0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14003a7a0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140039f90
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140039fca
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140039fcf
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14003a018
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14003da90]
cmp byte [rcx + rax], 0
je 0x14003a018
dec r8
sub rdx, 1
jne 0x140039ffe
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14003a608
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.14003a030
mov ebx, eax
test eax, eax
jne 0x14003a638
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x14003a69b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14003a692
test al, 0x10
je 0x14003a692
bt eax, 0xa
jae 0x14003a68b
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.14003a6ac
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x14003a687
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14003a687
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x14003a692
and dword [rsp + 0x3c], 0
jmp 0x14003a697
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14003b468
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003b4b2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003b4b2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003b4b2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003b4b2
cmp dword [rcx + 0x84], 0xe
jbe 0x14003b4b2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003b4b4
xor al, al
add rsp, 0x28
ret
Function at 0x140001600
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
mov eax, 0x1008
call fcn.140181870
sub rsp, rax
mov rax, qword [0x140210348]
xor rax, rsp
mov qword [rsp + 0xff0], rax
cmp dword [0x14022e448], 0
je 0x140001711
lea rcx, [0x14022e3e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdx, qword [rsp + 0x1010]
lea r8, [rsp + 0x1018]
lea rcx, [rsp + 0x820]
call fcn.14015c2f0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [rsp + 0x4a]
movzx r11d, word [rsp + 0x4e]
movzx eax, word [rsp + 0x4c]
movzx r9d, word [rsp + 0x48]
lea rdx, [rsp + 0x820]
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea r8, str._02d:_02d:_02d:_03d___s_n
lea rcx, [rsp + 0x50]
mov edx, 0x3e6
call fcn.14015c460
cmp dword [reloc.DSOUND.dll_DirectSoundCreate], 0
je 0x1400016f9
mov rdx, qword [0x14022e440]
test rdx, rdx
jne 0x1400016e1
call fcn.140001000
mov rdx, qword [0x14022e440]
test rdx, rdx
je 0x140001711
lea rcx, [rsp + 0x50]
call fcn.14015c4c0
mov rcx, qword [0x14022e440]
call fcn.14015c860
jmp 0x140001704
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x14022e3e0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0xff0]
xor rcx, rsp
call fcn.14015d000
add rsp, 0x1008
ret
Function at 0x1400020e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
mov eax, r8d
mov rbp, rdx
mov ebx, r8d
shr eax, 4
mov rsi, rcx
mov r8d, 6
add ax, 1
mov rcx, rbp
movzx edx, ax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
mov r12, rax
je 0x140002242
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140002242
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rdi, rax
je 0x140002242
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rdi
and ebx, 0xf
jbe 0x140002186
nop
cmp rdi, r11
jae 0x140002242
add ebx, 0xffffffff
movzx eax, word [rdi]
lea rdi, [rdi + rax*2 + 2]
jne 0x140002170
cmp rdi, r11
jae 0x140002242
movzx eax, word [rdi]
test ax, ax
je 0x140002242
movzx ebx, ax
mov rax, qword [rsi]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, ebx
or ecx, eax
jge 0x1400021bc
mov edx, ebx
mov rcx, rsi
call fcn.140001df0
movzx ecx, word [rdi]
lea r8, [rdi + 2]
cmp ecx, 0xffffffff
jne 0x1400021d9
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r8
repne scasw ax, word [rdi]
not rcx
and ecx, ecx
movsxd r9, ecx
mov rcx, qword [rsi]
lea rdi, [rbx + rbx]
mov rdx, rdi
add r9, r9
call fcn.14015cd30
test eax, eax
je 0x140002218
cmp eax, 0xc
je 0x140002212
cmp eax, 0x16
je 0x14000220c
cmp eax, 0x22
je 0x14000220c
cmp eax, 0x50
je 0x140002218
call fcn.14013d908
int3
call fcn.14013d908
int3
call fcn.14013d8c0
int3
test ebx, ebx
js 0x140002237
mov rcx, qword [rsi]
cmp ebx, dword [rcx - 0xc]
jg 0x140002237
mov dword [rcx - 0x10], ebx
mov rcx, qword [rsi]
mov eax, 1
mov word [rdi + rcx], 0
jmp 0x140002244
mov ecx, 0x80070057
call fcn.140001c00
int3
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x140002260
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140002293
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rbx, rax
je 0x1400022d7
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x1400022d2
cmp rbx, r11
jae 0x1400022d7
add edi, 0xffffffff
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x1400022c0
cmp rbx, r11
jb 0x1400022db
xor eax, eax
jmp 0x1400022e7
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140007250
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ecx, 0x10
mov ebx, edx
call qword [sym.imp.KERNEL32.dll_GetUserGeoID]
cmp ebx, 1
mov ecx, eax
jne 0x1400072ff
add ecx, 0xfffffff4
cmp ecx, 0xe8
ja case.0x14000729d.13
lea rdx, [0x140000000]
movsxd rax, ecx
movzx eax, byte [rdx + rax + 0x73e4]
mov ecx, dword [rdx + rax*4 + 0x73dc]
add rcx, rdx
jmp rcx
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, str.UA_65945523_4
repne scasw ax, word [rdi]
lea rdx, str.UA_65945523_4
not rcx
lea r8d, [rcx - 1]
lea rcx, [0x14022f730]
call fcn.140002390
lea rax, [0x1402188a0]
lea rdx, [0x140214d88]
mov qword [0x14022e660], rax
mov eax, 9
mov qword [0x14022e658], rdx
mov dword [0x14022e668], eax
mov dword [0x14022e66c], 4
jmp 0x140007382
cmp ebx, 2
jne 0x14000737c
sub ecx, 0x2d
je case.0x14000729d.13
sub ecx, 0x31
je case.0x14000729d.13
cmp ecx, 0x28
je case.0x14000729d.13
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, str.UA_65945523_11
repne scasw ax, word [rdi]
lea rdx, str.UA_65945523_11
not rcx
lea r8d, [rcx - 1]
lea rcx, [0x14022f730]
call fcn.140002390
lea rax, [0x1402188d0]
lea rdx, [0x1402188b0]
mov qword [0x14022e660], rax
mov eax, 6
mov qword [0x14022e658], rdx
mov dword [0x14022e668], eax
mov dword [0x14022e66c], 0x10
jmp 0x140007382
mov eax, dword [0x14022e668]
lea rcx, [0x14022f6e0]
mov edx, eax
mov r8d, eax
mov dword [reloc.DSOUND.dll_DirectSoundCreate], ebx
call fcn.14015208c
mov edx, dword [0x14022e66c]
lea rcx, [0x14022f708]
mov r8, rdx
call fcn.14014ed94
call fcn.1400074d0
mov edx, 0x28
lea rcx, [0x14022f748]
mov r8d, edx
call fcn.140155ef4
mov dword [0x14022e648], 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140007770
Capabilities:
Get file version info

Disassembly:
push rdi
push r12
push r13
mov eax, 0x10070
call fcn.140181870
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x10098], rbx
mov qword [rsp + 0x100a0], rbp
mov qword [rsp + 0x100a8], rsi
mov rax, qword [0x140210348]
xor rax, rsp
mov qword [rsp + 0x10060], rax
mov r13, rcx
mov qword [rsp + 0x58], rcx
xor edi, edi
mov dword [rsp + 0x3c], edi
mov word [rsp + 0x60], di
xor edx, edx
mov r8d, 0xfffc
lea rcx, [rsp + 0x62]
call fcn.140160e90
mov r8d, 0x7fff
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x60]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [rsp + 0x38], eax
test eax, eax
je 0x140007878
mov ecx, eax
call fcn.14013d074
mov rbx, rax
test rax, rax
je 0x140007878
mov r9, rax
mov r8d, dword [rsp + 0x38]
xor edx, edx
lea rcx, [rsp + 0x60]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140007870
mov qword [rsp + 0x40], rdi
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x40]
lea rdx, [0x14019eaf8]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140007870
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140007870
mov eax, dword [rcx + 8]
mov dword [rsp + 0x34], eax
mov eax, dword [rcx + 0xc]
mov dword [rsp + 0x30], eax
mov rcx, rbx
call fcn.14013d06c
jmp 0x140007878
mov rcx, rbx
call fcn.14013d06c
mov ebx, dword [rsp + 0x34]
shr ebx, 0x10
movzx ebp, word [rsp + 0x34]
mov esi, dword [rsp + 0x30]
shr esi, 0x10
movzx r12d, word [rsp + 0x30]
call fcn.14013d07c
test rax, rax
setne dil
test edi, edi
jne 0x1400078ac
mov ecx, 0x80004005
call fcn.140001c00
int3
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [r13], rax
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], esi
mov r9d, ebp
mov r8d, ebx
lea rdx, str._d._d._d._d
mov rcx, r13
call fcn.140001f50
mov rax, r13
mov rcx, qword [rsp + 0x10060]
xor rcx, rsp
call fcn.14015d000
lea r11, [rsp + 0x10070]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x140010880
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov edx, 0xfffffff0
mov rbx, rcx
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1d
jae 0x1400108bf
mov edx, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_UpdateWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
mov esi, eax
je 0x1400108ee
mov r8d, 1
mov edx, eax
mov ecx, edi
call qword [sym.imp.USER32.dll_AttachThreadInput]
xor ebp, ebp
mov dword [rsp + 0x30], 3
xor r9d, r9d
xor r8d, r8d
or rdx, 0xffffffffffffffff
mov rcx, rbx
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_SetWindowPos]
mov dword [rsp + 0x30], 3
lea rdx, [rbp - 2]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
cmp edi, esi
je case.default.0x14001096d
xor r8d, r8d
mov edx, esi
mov ecx, edi
call qword [sym.imp.USER32.dll_AttachThreadInput]
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 1]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
jmp qword [sym.imp.USER32.dll_InvalidateRect]
fdivp st(7)
fdivp st(7)
fdivp st(7)
fdivp st(7)
fdivp st(7)
fdivp st(7)
fdivp st(7)
fdivp st(7)
fdivp st(7)
fdivp st(7)
fdivp st(7)
fdivp st(7)
fdivp st(7)
fdivp st(7)
fdivp st(7)
fdivp st(7)
mov bl, 0xc2
int1
push rsi
idiv esp
cld
push rbx
hlt
cli
invalid
loope 0x14039ffbe
cmc
invalid
int1
dec esi
shr bh, cl
dec ecx
invalid
fdivp st(7)
fdivp st(7)
fdivp st(7)
fdivp st(7)
fdivp st(7)
fdivp st(7)
fdivp st(7)
fdivp st(7)
mov bl, 0xc2
int1
push rsi
idiv esp
push rbx
hlt