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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c78], 0
lea rbx, [rcx + 0x5c80]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14000ccf5
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x14000ccad
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001907c
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.140018778
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c78]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1400881b8]
movsxd r8, eax
mov rax, qword [rdi + 0x5c88]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x14000ccfd
mov rcx, rbx
call fcn.140018778
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140013f90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1400881b0]
mov rbx, rcx
and dword [rax + 0x5bdc], 0
test rcx, rcx
je 0x140013ff9
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140014004
lea rdx, [0x14006114c]
mov rcx, rbx
mov rdi, rax
call fcn.14000a9f8
mov rbx, rax
test rax, rax
je 0x140013ff9
mov r8, qword [rsp + 0x30]
mov r9, rax
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 + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140028d4c
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140088080]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.140009d84
mov rcx, qword [0x140088218]
lea rdx, [rbp - 0x18]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [rbp - 0x10]
sub ecx, dword [rbp - 0x18]
movd xmm1, ecx
mov ecx, dword [rbp - 0xc]
sub ecx, dword [rbp - 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
lea rcx, [rbp - 0x20]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 8], xmm1
movss dword [rdi + 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x20]
xorps xmm1, xmm1
sub rax, qword [0x140088220]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x140088228]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rbp - 0x20]
mov qword [0x140088220], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov bl, 1
and al, bl
mov ecx, 0x10
mov byte [rdi + 0xe1c], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, bl
mov byte [rdi + 0xe1d], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
mov byte [rdi + 0xe1f], 0
mov byte [rdi + 0xe1e], al
call fcn.140009d84
cmp byte [rax + 0xd3], 0
lea rbx, [rax + 0xe00]
je 0x140028e75
cvttss2si ecx, dword [rbx]
lea rdx, [rbp - 0x30]
cvttss2si eax, dword [rax + 0xe04]
mov dword [rbp - 0x30], ecx
mov rcx, qword [0x140088218]
mov dword [rbp - 0x2c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x2c]
mov ecx, dword [rbp - 0x30]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, 0xff7fffff
mov dword [rbx], eax
mov dword [rbx + 4], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x140088218]
jne 0x140028eca
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140028eca
mov rcx, qword [0x140088218]
lea rdx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140028eca
movd xmm0, dword [rbp - 0x28]
movd xmm1, dword [rbp - 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0x70], 0
je 0x140028ed5
or eax, 0xffffffff
jmp 0x140028eda
call fcn.14000a058
cmp dword [0x140070010], eax
je 0x140028eed
mov dword [0x140070010], eax
call fcn.140028f18
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14005c5f0
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret

Function at 0x14003534c
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, 1
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003536f
xor ecx, ecx
call fcn.14000bb08
test al, al
jne 0x140035371
xor bl, bl
mov al, bl
add rsp, 0x20
pop rbx
ret

Function at 0x1400443b0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9d, 0x6c078965
mov r8d, 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.14004436c
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x140045da8
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jne 0x140045dca
mov rcx, qword [rsp + 0x40]
call fcn.14004e408
jmp 0x140045de1
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x140045de1
mov rcx, qword [rsp + 0x40]
call fcn.14004e214
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0xb
mov rcx, qword [rsp + 0x40]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x12
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x14004aecc
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x20], r9
movss dword [rsp + 0x18], xmm2
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x140088080]
xor rax, rsp
mov qword [rsp + 0x78], rax
movss xmm1, dword [rsp + 0xa0]
lea rcx, [rsp + 0x38]
call fcn.140059e64
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.14004ea80
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x20
lea r9, [rsp + 0x58]
mov r8, rax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rsp + 0x38]
call fcn.140030554
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
cvtsd2ss xmm0, xmm0
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14005c5f0
add rsp, 0x88
ret

Function at 0x14004af7c
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov rax, qword [0x140088080]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], 0
cmp dword [rsp + 0x90], 0
jl 0x14004afd5
cmp dword [rsp + 0x90], 0x7c
jge 0x14004afd5
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x90]
lea rcx, [0x140086cf0]
call fcn.14004b28c
lea rcx, [rsp + 0x50]
call fcn.140044290
nop
cmp qword [rsp + 0x30], 0
jne 0x14004affb
lea rdx, [0x140067668]
lea rcx, [rsp + 0x50]
call fcn.140044cb0
jmp 0x14004b00a
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140044cb0
cmp dword [rsp + 0xa0], 1
jne 0x14004b025
lea rdx, [0x140067678]
lea rcx, [rsp + 0x50]
call fcn.140044cb0
movss xmm2, dword [0x140061394]
movss xmm1, dword [0x140069540]
lea rcx, [rsp + 0x48]
call fcn.140044748
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
call fcn.14004ea80
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.140030bfc
movzx eax, al
test eax, eax
je 0x14004b09a
cmp dword [rsp + 0xa0], 0
jne 0x14004b09a
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
lea rcx, [rsp + 0x50]
call fcn.140030554
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14005c5f0
add rsp, 0x88
ret
Function at 0x14004b0bc
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x38
lea rcx, [0x140065ac0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x140065ab0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14004b145
lea rcx, [0x140065ad8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtUserSendInput
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14004b145
lea rcx, [0x140065aec]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.SendInput
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14004b145
xor al, al
jmp 0x14004b1f7
lea rcx, str.win32u
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x140065af8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14004b1c7
lea rcx, [0x140065b30]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtUserGetAsyncKeyState
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14004b1c7
lea rcx, str.user32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x140065b38]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14004b1c7
xor al, al
jmp 0x14004b1f7
mov r8d, 0x1e
mov rdx, qword [rsp + 0x20]
lea rcx, [0x1400897d0]
call fcn.14005d435
mov r8d, 0x1e
mov rdx, qword [rsp + 0x28]
lea rcx, [0x1400897f0]
call fcn.14005d435
mov al, 1
add rsp, 0x38
ret

Function at 0x14004befc
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14004bf2e
xor eax, eax
jmp 0x14004bf84
mov r8d, 0x1e
lea rdx, [0x1400897f0]
mov rcx, qword [rsp + 0x28]
call fcn.14005d435
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
call qword [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x20]
add rsp, 0x48
ret
Function at 0x14004e214
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0x26f
mov qword [rsp + 0x30], 0xe3
mov qword [rsp], 0
jmp 0x14004e244
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0xe3
jae 0x14004e2c6
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x14004e292
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x14004e29a
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x10]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14004e239
mov qword [rsp + 8], 0xe3
jmp 0x14004e2de
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x26f
jae 0x14004e365
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x18]
and eax, 1
test eax, eax
je 0x14004e32f
mov dword [rsp + 0x1c], 0x9908b0df
jmp 0x14004e337
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x18]
shr eax, 1
xor eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14004e2d1
mov qword [rsp + 0x38], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x14004e3b9
mov dword [rsp + 0x24], 0x9908b0df
jmp 0x14004e3c1
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x20]
shr eax, 1
xor eax, dword [rsp + 0x24]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rsp + 0x50]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rsp + 0x50]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rsp + 0x50]
mov dword [rax], 0
add rsp, 0x48
ret
Function at 0x14004e408
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x14004e429
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x14004e4ad
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 - 0x9bc]
and eax, 0x80000000
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 - 0x9b8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x14004e478
mov dword [rsp + 4], 0x9908b0df
jmp 0x14004e480
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14004e41c
add rsp, 0x18
ret
Function at 0x140050978
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x170
mov rax, qword [0x140088080]
xor rax, rsp
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x130
rep stosb byte [rdi], al
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0x130
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140050a14
mov rdx, qword [rsp + 0x188]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x140050a01
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
jmp 0x140050a21
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1400509d9
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14005c5f0
add rsp, 0x170
pop rdi
ret
Function at 0x14005a2d0
Capabilities:
Create thread
Hide graphical window

Disassembly:
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14004d3bc]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rsp + 0xa0], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x88], 0
lea rax, [0x14004d984]
mov qword [rsp + 0x78], rax
lea rax, [0x140065a80]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x70], 3
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
jne 0x14005a388
lea rdx, str._n_n_FireFox
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14003f3a8
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x60], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x80000000
xor r8d, r8d
lea rdx, str.FireFox_29.1.5
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x140089830], rax
mov edx, 5
mov rcx, qword [0x140089830]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [0x140065a70]
mov rcx, qword [0x140089830]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r8d, 0x800a0
mov edx, 0xffffffec
mov rcx, qword [0x140089830]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140089830]
call qword [sym.imp.USER32.dll_UpdateWindow]
add rsp, 0xc0
pop rdi
ret
Function at 0x14005d19c
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov r8d, 0x834
xor edx, edx
mov rbx, rcx
call fcn.14002e0e0
xor esi, esi
mov dword [rbx], esi
movzx eax, byte [rdi + 0x412]
lea r8, [rbx + 0x741]
lea r9, [rdi + 0x300]
lea r10d, [rsi + 0x32]
mov byte [rbx + 0x18], al
nop
nop
nop
nop
mov ecx, dword [r9]
add r8, 4
add r9, 4
mov edx, ecx
mov eax, ecx
shl ecx, 4
shr edx, 4
shl eax, 4
xor edx, eax
and edx, 0xf0f0f0f
xor edx, ecx
mov ecx, edx
lea eax, [rdx*4]
shr ecx, 2
xor ecx, eax
lea eax, [rdx*4]
and ecx, 0x33333333
xor ecx, eax
mov edx, ecx
shr edx, 1
lea eax, [rcx + rcx]
xor edx, eax
lea eax, [rcx + rcx]
and edx, 0x55555555
xor edx, eax
mov eax, edx
mov byte [r8 - 5], dl
shr eax, 8
mov byte [r8 - 4], al
mov eax, edx
shr edx, 0x18
shr eax, 0x10
sub r10, 1
mov byte [r8 - 2], dl
mov byte [r8 - 3], al
jne 0x140001fa0
mov eax, dword [rdi + 0x400]
lea rcx, [rbx + 0x1c]
mov rdx, rdi
mov dword [rbx + 0x14], eax
call fcn.140001e20
movzx eax, byte [rdi + 0x410]
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x14004440c]
movss dword [rbx + 8], xmm0
cmp byte [rdi + 0x410], sil
jne 0x140002053
mov dword [rbx + 8], 0x3a800000
movzx eax, byte [rdi + 0x413]
mov byte [rbx + 0x808], al
mov eax, dword [rdi + 0x40c]
mov dword [rbx + 0x82c], eax
movzx eax, byte [rdi + 0x411]
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x140044418]
movss dword [rbx + 0xc], xmm0
movzx eax, word [rdi + 0x404]
mov word [rbx + 0x10], ax
movzx eax, word [rdi + 0x406]
mov word [rbx + 0x12], ax
movzx eax, byte [rdi + 0x414]
mov dword [rbx + 0x81c], eax
mov eax, dword [rdi + 0x408]
mov dword [rbx + 0x830], eax
movzx eax, byte [rdi + 0x416]
mov dword [rbx + 0x80c], eax
movzx eax, byte [rdi + 0x417]
mov dword [rbx + 0x810], eax
movzx eax, byte [rdi + 0x418]
mov dword [rbx + 0x814], eax
movzx eax, word [rdi + 0x41a]
mov dword [rbx + 0x818], eax
movzx eax, byte [rdi + 0x419]
mov dword [rbx + 0x820], eax
cmp dword [rdi + 0x40c], 1
mov eax, 2
cmove eax, esi
mov rsi, qword [rsp + 0x38]
mov dword [rbx + 4], eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140003a00
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
mov ebx, dword [r8 + 8]
mov edi, dword [r8 + 0xc]
mov r13, rdx
mov edx, dword [r8]
movzx r14d, r9b
mov r9d, dword [r8 + 4]
xor ebx, 0x51806878
xor edi, 0x91341639
xor edx, 0x23650935
xor r9d, 0x79642590
mov r10d, 0x35096523
mov r11d, 0x78688051
mov dword [rsp], r10d
xor r8d, r8d
test r13, r13
mov dword [rax - 0x30], edx
mov dword [rax - 0x2c], r9d
mov r12, rcx
mov dword [rax - 0x34], r11d
mov dword [rax - 0x28], ebx
mov dword [rax - 0x24], edi
je 0x140003b4f
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rsi
nop
test r8b, 7
jne 0x140003adc
xor esi, esi
lea ebp, [rsi + 0x20]
nop
nop
add esi, 0x9e3779b9
mov ecx, r11d
mov eax, r11d
sar ecx, 5
shl eax, 4
add ecx, r9d
add eax, edx
xor ecx, eax
lea eax, [rsi + r11]
xor ecx, eax
add r10d, ecx
mov ecx, r10d
mov eax, r10d
sar ecx, 5
shl eax, 4
add ecx, edi
add eax, ebx
xor ecx, eax
lea eax, [rsi + r10]
xor ecx, eax
add r11d, ecx
sub rbp, 1
jne 0x140003a90
mov dword [rsp], r10d
mov dword [rsp + 4], r11d
movzx eax, r8b
lea rdx, [rsp + 4]
lea rcx, [rsp]
and al, 7
shl al, 3
test al, 0x20
cmove rdx, rcx
test r14b, r14b
je 0x140003b04
and al, 0x18
mov ecx, 0x18
sub cl, al
jmp 0x140003b08
and al, 0x18
mov cl, al
movzx eax, byte [r8 + r12]
movzx ecx, cl
add r8, 1
shl eax, cl
xor dword [rdx], eax
mov eax, dword [rdx]
sar eax, cl
cmp r8, r13
mov byte [r8 + r12 - 1], al
jae 0x140003b45
mov edi, dword [rsp + 0x14]
mov ebx, dword [rsp + 0x10]
mov r9d, dword [rsp + 0xc]
mov edx, dword [rsp + 8]
mov r11d, dword [rsp + 4]
mov r10d, dword [rsp]
jmp 0x140003a80
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
Function at 0x1400299c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
mov dword [rsp + 0x40], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x50], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x14005e930]
mov rcx, 0xffffffff80000002
lea r9d, [rbx + 1]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140029a43
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, str.Log_Enable
lea rax, [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x48], 1
mov rcx, qword [rsp + 0x50]
sete bl
mov dword [0x1400c6980], ebx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x30
pop rbx
ret