joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400044d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140004535
lea rbx, [0x1400dec40]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140004514
cmp r10, 2
jb 0x140004514
cmp byte [r9], r8b
jne 0x140004514
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
xor rdx, rcx
mov ecx, eax
shr ecx, 8
mov eax, dword [rbx + rdx*4]
xor eax, ecx
test r10, r10
jne 0x1400044f0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000457b
lea rbx, [0x1400dec40]
cmp r8b, 0x23
jne 0x14000455b
cmp byte [r9], r8b
jne 0x14000455b
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
mov ecx, eax
inc r9
shr ecx, 8
mov eax, dword [rbx + rdx*4]
xor eax, ecx
test r8b, r8b
jne 0x140004548
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140004720
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x140004739
mov qword [r8], 0
lea rdx, [0x1400de860]
call fcn.140004590
mov rbx, rax
test rax, rax
jne 0x140004758
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call fcn.1400046a0
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140004789
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x38]
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x140149698]
mov qword [rsp + 0x30], rbp
test rax, rax
je 0x1400047a0
inc dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
jne 0x1400047be
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
jmp 0x140004810
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x1400047ff
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140149698]
test rax, rax
je 0x1400047f2
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
jmp 0x140004810
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x14000480d
mov qword [rdi], rsi
mov rax, rbp
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400078f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400f7008]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, dword [rcx + 0xf0]
lea r11, [0x1400dec40]
dec eax
mov dword [rsp + 0x20], edx
movsxd r8, eax
mov r10, rcx
mov rax, qword [rcx + 0xf8]
mov r9d, 4
mov ebx, dword [rax + r8*4]
lea r8, [rsp + 0x20]
not ebx
nop word [rax + rax]
movzx eax, byte [r8]
lea r8, [r8 + 1]
movzx ecx, bl
xor rcx, rax
mov eax, ebx
shr eax, 8
mov ebx, dword [r11 + rcx*4]
xor ebx, eax
sub r9, 1
jne 0x140007940
mov rax, qword [r10]
not ebx
cmp dword [rax + 0x3f40], ebx
jne 0x14000797a
movsxd r8, edx
mov ecx, ebx
lea edx, [r9 + 4]
call fcn.14001bfa0
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400bdec0
add rsp, 0x30
pop rbx
ret

Function at 0x140007990
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1400f7008]
xor rax, rsp
mov qword [rsp + 0x20], rax
movsd xmm0, qword [rcx + 0x110]
lea r10, [rsp + 8]
mov eax, dword [rcx + 0xf0]
lea r11, [0x1400dec40]
movss xmm1, dword [rdx]
mov r8, rcx
movsd qword [rsp], xmm0
dec eax
subss xmm1, dword [rsp]
movss xmm0, dword [rdx + 4]
mov r9d, 0x10
subss xmm0, dword [rsp + 4]
movsxd rcx, eax
mov rax, qword [r8 + 0xf8]
movss dword [rsp + 8], xmm1
movss xmm1, dword [rdx + 0xc]
subss xmm1, dword [rsp + 4]
mov r8d, dword [rax + rcx*4]
movss dword [rsp + 0xc], xmm0
not r8d
movss xmm0, dword [rdx + 8]
subss xmm0, dword [rsp]
movss dword [rsp + 0x14], xmm1
movss dword [rsp + 0x10], xmm0
nop
movzx eax, byte [r10]
lea r10, [r10 + 1]
movzx edx, r8b
mov ecx, r8d
xor rdx, rax
shr ecx, 8
mov r8d, dword [r11 + rdx*4]
xor r8d, ecx
sub r9, 1
jne 0x140007a20
not r8d
mov eax, r8d
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.1400bdec0
add rsp, 0x38
ret
Function at 0x1400149b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400f7008]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140149698]
mov edi, ecx
cmp byte [rbx + 0x4a7d], 0
jne 0x1400149e4
cmp byte [rbx + 0x4a7e], 0
je 0x140014a5e
movss xmm1, dword [rbx + 0x389c]
xorps xmm2, xmm2
movaps xmm0, xmm1
mulss xmm1, dword [0x1400e5700]
mulss xmm0, dword [0x1400e5720]
addss xmm1, dword [rbx + 0xe0c]
addss xmm0, dword [rbx + 0xe08]
or dword [rbx + 0x47d0], 1
mov dword [rbx + 0x47d4], 1
unpcklps xmm0, xmm1
movaps xmm1, xmm2
unpcklps xmm1, xmm2
movsd qword [rbx + 0x47e8], xmm1
movsd qword [rbx + 0x47e0], xmm0
movss xmm1, dword [rbx + 0x3904]
mulss xmm1, dword [0x1400e5654]
or dword [rbx + 0x47d0], 0x40
or edi, 1
movss dword [rbx + 0x4830], xmm1
movsx r9d, word [rbx + 0x5ba2]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140004320
test dil, 1
je 0x140014b29
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
or r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x140014ad8
lea r11, [0x1400dec40]
cmp r9b, 0x23
jne 0x140014ab7
cmp byte [r8], r9b
jne 0x140014ab7
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
mov eax, edx
inc r8
shr eax, 8
mov edx, dword [r11 + rcx*4]
xor edx, eax
test r9b, r9b
jne 0x140014aa4
not edx
mov ecx, edx
call fcn.14000b5b0
test rax, rax
je 0x140014b29
cmp byte [rax + 0xb6], 0
je 0x140014b29
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5ba2]
movsx r9d, word [rbx + 0x5ba2]
call fcn.140004320
mov r8d, 0x20c0347
lea rcx, [rsp + 0x20]
call fcn.14000e1a0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400bdec0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001a4b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x5c88], 0
mov rbp, r8
mov r14, rdx
mov rdi, rcx
je 0x14001a56d
mov qword [rsp + 0x30], rbx
lea rbx, [rcx + 0x5c90]
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x38], rsi
xor esi, esi
test ecx, ecx
jns 0x14001a512
je 0x14001a4fe
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14001a503
mov eax, 8
test eax, eax
mov edx, esi
mov rcx, rbx
cmovg edx, eax
call fcn.14001caf0
mov r8, rbp
mov dword [rbx], esi
mov rdx, r14
mov rcx, rbx
call fcn.140004e00
mov eax, dword [rbx]
test eax, eax
je 0x14001a52b
lea esi, [rax - 1]
mov rax, qword [rbx + 8]
lea rcx, [0x140149690]
mov r9, qword [rdi + 0x5c88]
test rax, rax
movsxd r8, esi
mov edx, 1
cmovne rcx, rax
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add rcx, 0x5c90
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.140004e00

Function at 0x14001a9b0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140149698]
or r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001aa17
mov qword [rsp], rbx
lea rbx, [0x1400dec40]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x14001a9f3
cmp byte [r8], r9b
jne 0x14001a9f3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
mov ecx, eax
inc r8
shr ecx, 8
mov eax, dword [rbx + rdx*4]
xor eax, ecx
test r9b, r9b
jne 0x14001a9e0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c00]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001aa4b
mov r10, qword [r10 + 0x5c08]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001aa52
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001aa38
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret

Function at 0x14001ad10
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x140149698]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x5bec], ecx
test rbx, rbx
je 0x14001ad7f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.14001ad90
lea rdx, [0x1400de864]
mov rcx, rbx
mov rdi, rax
call fcn.140004590
mov rbx, rax
test rax, rax
je 0x14001ad7a
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 rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x1400315a0
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
mov r10, rdx
mov eax, 0x5e6ea9af
mul r8d
mov edi, r8d
xor r9d, r9d
shr edx, 0xb
mov esi, r8d
imul eax, edx, 0x15b0
mov ecx, 1
sub edi, eax
test r8d, r8d
je 0x1400316dc
mov qword [rsp + 0x10], rbx
xor edx, edx
cmp edi, 7
jbe 0x140031642
lea r8d, [rdx + 7]
movzx eax, byte [r10]
add edx, 8
add ecx, eax
add r8d, 8
movzx eax, byte [r10 + 1]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 2]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 3]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 4]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 5]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 6]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 7]
add r9d, ecx
add ecx, eax
add r10, 8
add r9d, ecx
cmp r8d, edi
jb 0x1400315e3
xor r8d, r8d
xor r11d, r11d
cmp edx, edi
jae 0x1400316a4
mov eax, edi
sub eax, edx
cmp eax, 2
jb 0x14003168d
mov eax, edi
sub eax, edx
sub eax, 2
shr eax, 1
inc eax
mov ebx, eax
lea edx, [rdx + rax*2]
nop word [rax + rax]
movzx eax, byte [r10]
add ecx, eax
movzx eax, byte [r10 + 1]
add r8d, ecx
add r10, 2
add ecx, eax
add r11d, ecx
sub rbx, 1
jne 0x140031670
cmp edx, edi
jae 0x14003169d
movzx eax, byte [r10]
add ecx, eax
add r9d, ecx
inc r10
lea eax, [r11 + r8]
add r9d, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul edx, edx, 0xffff000f
add r9d, edx
sub esi, edi
mov edi, 0x15b0
jne 0x1400315d8
mov rbx, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
shl r9d, 0x10
lea eax, [rcx + r9]
pop rdi
ret
Function at 0x1400336f0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x140149698]
mov edx, 0x210
call fcn.140011290
cmp byte [rax], 0
je 0x140033766
xor edx, edx
mov ecx, 0x210
call fcn.1400135d0
test al, al
je 0x140033766
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140033766
mov rbx, qword [0x140149698]
cmp byte [rbx + 0x37b9], 0
je 0x140033752
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.140003be0
mov dword [rbx + 0x380], 0x210
mov dword [rbx + 0x940], 0xa0
mov rcx, qword [0x140149698]
mov edx, 0x214
call fcn.140011290
cmp byte [rax], 0
je 0x1400337d6
xor edx, edx
mov ecx, 0x214
call fcn.1400135d0
test al, al
je 0x1400337d6
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1400337d6
mov rbx, qword [0x140149698]
cmp byte [rbx + 0x37b9], 0
je 0x1400337c2
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.140003be0
mov dword [rbx + 0x384], 0x214
mov dword [rbx + 0x950], 0xa1
mov rcx, qword [0x140149698]
mov edx, 0x212
call fcn.140011290
cmp byte [rax], 0
je 0x140033846
xor edx, edx
mov ecx, 0x212
call fcn.1400135d0
test al, al
je 0x140033846
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140033846
mov rbx, qword [0x140149698]
cmp byte [rbx + 0x37b9], 0
je 0x140033832
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.140003be0
mov dword [rbx + 0x26c], 0x212
mov dword [rbx + 0x948], 0x5b
mov rcx, qword [0x140149698]
mov edx, 0x216
call fcn.140011290
cmp byte [rax], 0
je 0x1400338b6
xor edx, edx
mov ecx, 0x216
call fcn.1400135d0
test al, al
je 0x1400338b6
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1400338b6
mov rbx, qword [0x140149698]
cmp byte [rbx + 0x37b9], 0
je 0x1400338a2
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.140003be0
mov dword [rbx + 0x270], 0x216
mov dword [rbx + 0x958], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x1400338c0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, qword [0x140149698]
mov ecx, 0x11
add rbx, 8
movaps xmmword [rsp + 0x20], xmm6
call qword [sym.imp.USER32.dll_GetKeyState]
movss xmm6, dword [0x1400e5684]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x37b1], 0
je 0x140033914
test al, al
je 0x140033900
movaps xmm3, xmm6
jmp 0x140033903
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x1000
mov rcx, rbx
call fcn.140003be0
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x37b1], 0
je 0x14003394a
test al, al
je 0x140033936
movaps xmm3, xmm6
jmp 0x140033939
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x2000
mov rcx, rbx
call fcn.140003be0
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x37b1], 0
je 0x140033980
test al, al
je 0x14003396c
movaps xmm3, xmm6
jmp 0x14003396f
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x4000
mov rcx, rbx
call fcn.140003be0
mov ecx, 0x5d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x37b1], 0
je 0x1400339b4
test al, al
jne 0x1400339a0
xorps xmm6, xmm6
movaps xmm3, xmm6
movzx r8d, al
mov edx, 0x8000
mov rcx, rbx
call fcn.140003be0
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rbx
ret
Function at 0x140035a60
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
sub rsp, 0x78
xor eax, eax
lea r8, [0x1400e3e75]
mov qword [r11 - 0x50], rax
or r10d, 0xffffffff
mov qword [r11 - 0x48], rax
mov r9b, 0x54
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
lea rax, str.Table
mov qword [r11 - 0x58], rax
mov eax, r10d
lea r11, [0x1400dec40]
nop dword [rax]
cmp r9b, 0x23
jne 0x140035ac3
cmp byte [r8], r9b
jne 0x140035ac3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
mov ecx, eax
inc r8
shr ecx, 8
mov eax, dword [r11 + rdx*4]
xor eax, ecx
test r9b, r9b
jne 0x140035ab0
mov rcx, qword [0x140149698]
lea rdx, [rsp + 0x20]
not eax
add rcx, 0x5c00
mov dword [rsp + 0x28], eax
lea rax, [0x1400351f0]
mov qword [rsp + 0x30], rax
lea rax, [0x1400352e0]
mov qword [rsp + 0x40], rax
lea rax, [0x140035400]
mov qword [rsp + 0x48], rax
lea rax, [0x140035290]
mov qword [rsp + 0x50], rax
lea rax, [0x1400356b0]
mov qword [rsp + 0x58], rax
call fcn.14001c420
add rsp, 0x78
ret
Function at 0x140050720
Capabilities:
Check if file exists

Disassembly:
push rdi
sub rsp, 0x150
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x160], rbx
mov rax, qword [0x1400f7008]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rdx
test rdx, rdx
je 0x14005076d
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x140050760
test eax, eax
jne 0x1400507ad
mov r8d, 0x104
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov rcx, rax
test rax, rax
jne 0x14005079a
xor eax, eax
jmp 0x140050933
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x1400507a0
test eax, eax
je 0x140050793
xor edi, edi
mov rcx, qword [0x140149a20]
test rcx, rcx
jne 0x14005084b
lea ecx, [rdi + 0x30]
call fcn.1400be180
mov qword [rsp + 0x20], rax
mov qword [rax], rdi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rdi
mov qword [rax + 0x28], rdi
mov dword [rax + 0x10], 0x200
mov qword [0x140149a20], rax
lea ecx, [rdi + 0x30]
call fcn.1400be180
mov qword [rsp + 0x20], rax
mov qword [rax], rdi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rdi
mov qword [rax + 0x28], rdi
mov dword [rax + 0x10], 0x200
mov qword [0x140149a28], rax
lea ecx, [rdi + 0x30]
call fcn.1400be180
mov qword [rsp + 0x20], rax
mov qword [rax], rdi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rdi
mov qword [rax + 0x28], rdi
mov dword [rax + 0x10], 0x200
mov qword [0x140149a30], rax
jmp 0x140050868
call fcn.140053b60
mov rcx, qword [0x140149a28]
call fcn.140053b60
mov rcx, qword [0x140149a30]
call fcn.140053b60
or edx, 0xffffffff
mov rcx, qword [0x140149a18]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [0x140149a10], 2
mov rcx, qword [0x140149a20]
mov dword [rcx + 8], edi
or r8d, 0xffffffff
lea rdx, str.config
call fcn.140053c90
mov rcx, qword [0x140149a38]
test rcx, rcx
jne 0x1400508c9
mov ecx, 0x10
call fcn.1400be180
mov qword [rsp + 0x20], rax
mov rcx, rax
call fcn.1400530f0
nop
mov qword [0x140149a38], rax
jmp 0x1400508ce
call fcn.140053170
test rbx, rbx
je 0x140050921
mov rdx, qword [0x140149a30]
mov rcx, rbx
call fcn.140054ba0
mov rax, qword [0x140149a30]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400508f7
cmp dword [rax + 8], 0
jg 0x1400508fa
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x140050921
mov rax, qword [0x140149a30]
mov rdx, qword [rax]
test rdx, rdx
je 0x140050919
cmp dword [rax + 8], 0
jg 0x14005091c
mov rdx, rdi
call fcn.140050960
mov rcx, qword [0x140149a18]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400bdec0
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rdi
ret
Function at 0x140052de0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 8], rcx
push rbp
sub rsp, 0x70
mov rbp, r8
mov rax, rdx
test rdx, rdx
je 0x140052f8c
test r8, r8
je 0x140052f8c
cmp qword [0x140149a28], 0
je 0x140052f8c
cmp byte [rdx], 0
je 0x140052f8c
mov qword [r11 + 0x10], rbx
lea rdx, [r11 - 0x48]
xor ebx, ebx
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x48], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [r11 - 0x40], rbx
mov rcx, rax
mov qword [r11 - 0x20], rbx
mov qword [r11 - 0x10], rdi
mov dword [rsp + 0x40], 0x200
mov qword [r11 - 0x18], r14
call fcn.140054ed0
mov r14d, dword [rsp + 0x38]
mov eax, 0x100
mov rsi, qword [rsp + 0x30]
mov dword [rsp + 0x98], eax
mov dword [rsp + 0x80], 1
nop dword [rax + rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rax
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
test rsi, rsi
je 0x140052eaa
mov r8, rsi
test r14d, r14d
jg 0x140052ead
mov r8, rbx
mov rax, qword [0x140149a28]
mov rdx, qword [rax]
test rdx, rdx
je 0x140052ec1
cmp dword [rax + 8], ebx
jg 0x140052ec4
mov rdx, rbx
lea rax, [rsp + 0x98]
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
je 0x140052f0b
cmp eax, 0xea
jne 0x140052f2b
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rsp + 0x98]
jmp 0x140052e80
mov eax, dword [rsp + 0x80]
dec eax
cmp eax, 1
ja 0x140052f2b
mov rdx, rbp
mov rcx, rdi
mov ebx, 1
call fcn.140054da0
jmp 0x140052f33
mov rcx, rbp
call fcn.140053b60
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r14, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
test rsi, rsi
je 0x140052f54
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x90]
test rcx, rcx
je 0x140052f6c
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140052f7c
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret
xor eax, eax
add rsp, 0x70
pop rbp
ret
Function at 0x140052fa0
Capabilities:
Read .ini file

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x60
mov rdi, r8
mov rax, rdx
test rdx, rdx
je 0x1400530e7
test r8, r8
je 0x1400530e7
cmp qword [0x140149a20], 0
je 0x1400530e7
cmp byte [rdx], 0
je 0x1400530e7
mov qword [r11 + 8], rbx
lea rdx, [r11 - 0x38]
mov qword [r11 + 0x10], rbp
xorps xmm0, xmm0
mov qword [r11 + 0x18], rsi
mov rcx, rax
xor esi, esi
mov qword [r11 - 0x38], rsi
movdqu xmmword [rsp + 0x48], xmm0
mov qword [r11 - 0x30], rsi
mov qword [r11 - 0x10], rsi
mov dword [rsp + 0x40], 0x200
call fcn.140054ed0
mov ecx, 0x801
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor edx, edx
mov r8d, 0x801
mov rcx, rax
mov rbp, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [0x140149a28]
mov r8, qword [rcx]
test r8, r8
je 0x140053040
cmp dword [rcx + 8], esi
jg 0x140053043
mov r8, rsi
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140053056
mov rdx, rbx
cmp dword [rsp + 0x38], esi
jg 0x140053059
mov rdx, rsi
mov rax, qword [0x140149a20]
mov rcx, qword [rax]
test rcx, rcx
je 0x14005306d
cmp dword [rax + 8], esi
jg 0x140053070
mov rcx, rsi
mov qword [rsp + 0x28], r8
mov r9, rbp
xor r8d, r8d
mov dword [rsp + 0x20], 0x800
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rdx, rdi
mov rcx, rbp
mov esi, eax
call fcn.140054da0
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbp, qword [rsp + 0x78]
test rbx, rbx
je 0x1400530b2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400530c7
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400530d7
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, esi
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
xor eax, eax
add rsp, 0x60
pop rdi
ret