joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a2d30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x3c18]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
movss xmm0, dword [rax + 0x3c20]
movss dword [rsp + 0x24], xmm0
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x24]
divss xmm0, dword [rax + 0x14]
movss dword [rsp + 0x3c], xmm0
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x70]
call fcn.14000cdc0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x30], rax
jae 0x1400a2e7f
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0xa
jne 0x1400a2e41
movss xmm1, dword [rsp + 0x20]
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax]
call fcn.14006f110
mov rax, qword [rsp + 0x70]
movss dword [rax], xmm0
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0xa0]
test eax, eax
je 0x1400a2e3c
jmp 0x1400a2e7f
jmp 0x1400a2db2
cmp dword [rsp + 0x28], 0xd
jne 0x1400a2e4d
jmp 0x1400a2db2
movzx edx, word [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.140099e30
mulss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x20]
addss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x20], xmm0
jmp 0x1400a2db2
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [rax]
jbe 0x1400a2e9e
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
movss dword [rax], xmm0
cmp qword [rsp + 0x98], 0
je 0x1400a2eda
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
movaps xmm2, xmm0
movss xmm1, dword [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.14000cdc0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x98]
mov qword [rcx], rax
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [0x14015e9e8]
ja 0x1400a2ef7
mov rax, qword [rsp + 0x70]
xorps xmm0, xmm0
ucomiss xmm0, dword [rax + 4]
jne 0x1400a2f11
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
cmp qword [rsp + 0x90], 0
je 0x1400a2f2c
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x1400cfa20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x10]
and eax, 7
test eax, eax
je 0x1400cfa51
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x10]
and eax, 7
mov edx, eax
mov rcx, qword [rsp + 0x50]
call fcn.1400cf030
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x10], 0
jle 0x1400cfaac
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x14]
and eax, 0xff
movsxd rcx, dword [rsp + 0x20]
mov byte [rsp + rcx + 0x28], al
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x14]
shr eax, 8
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x14], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x10]
sub eax, 8
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x10], eax
jmp 0x1400cfa59
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x10], 0
jge 0x1400cfac8
lea rcx, [0x140151f60]
call fcn.1400c2390
jmp 0x1400cfc0c
cmp dword [rsp + 0x20], 4
jge 0x1400cfaee
mov rcx, qword [rsp + 0x50]
call fcn.1400cef20
movsxd rcx, dword [rsp + 0x20]
mov byte [rsp + rcx + 0x28], al
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x1400cfac8
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x28]
imul eax, eax, 0x100
mov ecx, 1
imul rcx, rcx, 0
movzx ecx, byte [rsp + rcx + 0x28]
add eax, ecx
mov dword [rsp + 0x24], eax
mov eax, 1
imul rax, rax, 3
movzx eax, byte [rsp + rax + 0x28]
imul eax, eax, 0x100
mov ecx, 1
imul rcx, rcx, 2
movzx ecx, byte [rsp + rcx + 0x28]
add eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x24]
xor eax, 0xffff
cmp dword [rsp + 0x2c], eax
je 0x1400cfb5e
lea rcx, str.zlib_corrupt
call fcn.1400c2390
jmp 0x1400cfc0c
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x50]
cmp rax, qword [rcx + 8]
jbe 0x1400cfb87
lea rcx, str.read_past_buffer
call fcn.1400c2390
jmp 0x1400cfc0c
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
add rax, qword [rcx + 0x18]
mov rcx, qword [rsp + 0x50]
cmp rax, qword [rcx + 0x28]
jbe 0x1400cfbc0
mov r8d, dword [rsp + 0x24]
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x50]
call fcn.1400cf2c0
test eax, eax
jne 0x1400cfbc0
xor eax, eax
jmp 0x1400cfc0c
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x50]
mov rdi, qword [rcx + 0x18]
mov rsi, qword [rdx]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x50]
mov qword [rcx], rax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
add rax, qword [rcx + 0x18]
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x18], rax
mov eax, 1
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x1400da820
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x48]
lea rdx, [0x1401528cc]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
add rsp, 0x38
ret
Function at 0x1400e8600
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140170340]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.140008ed0
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.1400e8790
nop
lea rax, [0x1400e8810]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.140009d30
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x1400e86a3
lea rcx, [rsp + 0x40]
call fcn.14003d970
jmp 0x1400e86bb
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x40]
call fcn.1400e86e0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14011f530
add rsp, 0x58
ret
Function at 0x140116840
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
sub rsp, 0x28
mov ebx, dword [rcx + 0x14]
mov rsi, rcx
call fcn.140116570
mov rcx, rsi
mov byte [rsp + 0x40], al
call fcn.140116570
mov rdx, qword [rsi]
mov byte [rsp + 0x41], al
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
je 0x1401169cb
xor eax, eax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r14
cmp ebx, 2
mov qword [rsp + 0x20], r15
lea r14, [rsp + 0x40]
setne al
lea r15, [rsp + 0x40]
add r14, rax
xor rax, 1
add r15, rax
movzx edi, byte [r14]
movzx eax, byte [r15]
shl edi, 8
or edi, eax
lea eax, [rdi - 0xdc00]
cmp eax, 0x3ff
ja 0x1401168d5
lea rcx, [rsi + 0x18]
mov edx, 0xfffd
call fcn.140116610
jmp 0x1401169bc
lea eax, [rdi - 0xd800]
mov qword [rsp + 0x48], rbp
cmp eax, 0x3ff
ja 0x1401169a9
mov rcx, rsi
call fcn.140116570
mov rcx, rsi
mov byte [rsp + 0x40], al
call fcn.140116570
mov rdx, qword [rsi]
mov byte [rsp + 0x41], al
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
lea rbp, [rsi + 0x18]
test al, al
je 0x140116989
nop
movzx eax, byte [r15]
movzx ebx, byte [r14]
shl ebx, 8
or ebx, eax
lea eax, [rbx - 0xdc00]
cmp eax, 0x3ff
jbe 0x140116990
lea rbp, [rsi + 0x18]
mov edx, 0xfffd
mov rcx, rbp
call fcn.140116610
lea eax, [rbx - 0xd800]
cmp eax, 0x7ff
ja 0x1401169ad
mov rcx, rsi
mov edi, ebx
call fcn.140116570
mov rcx, rsi
mov byte [rsp + 0x40], al
call fcn.140116570
mov rdx, qword [rsi]
mov byte [rsp + 0x41], al
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
jne 0x140116920
mov edx, 0xfffd
jmp 0x1401169af
and edi, 0x3ff
and ebx, 0x3ff
shl edi, 0xa
or edi, ebx
add edi, 0x10000
jmp 0x1401169ad
lea rbp, [rsi + 0x18]
mov edx, edi
mov rcx, rbp
call fcn.140116610
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
Function at 0x14011eb8c
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 0x14011ebc6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14011ebcb
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 0x14011ec14
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14012f330]
cmp byte [rcx + rax], 0
je 0x14011ec14
dec r8
sub rdx, 1
jne 0x14011ebfa
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1401203f0
Capabilities:
Parse pe header

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

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

Disassembly:
call 0x1406efe3f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1406efce9
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406efccf
add dl, dl
jne 0x1406efcf6
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406efd56
xor eax, eax
add dl, dl
jne 0x1406efd05
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406efe0d
add dl, dl
jne 0x1406efd16
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406efd23
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406efd30
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406efd3d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406efd4a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406efcde
mov eax, 1
add dl, dl
jne 0x1406efd66
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406efd73
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406efd5b
sub eax, ebx
mov ebx, 1
jne 0x1406efdac
mov ecx, 1
add dl, dl
jne 0x1406efd8e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406efd9b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406efd83
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406efcde
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406efdc8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406efdd5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406efdbd
cmp eax, 0x7d00
jae 0x1406efdfb
cmp eax, 0x500
jb 0x1406efdf6
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406efcde
cmp eax, 0x7f
ja 0x1406efdfe
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406efcde
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406efe32
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1406efcde
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001230
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140064030
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
jne 0x14006408e
lea rax, str.m_hKey___0
mov qword [rsp + 0x28], rax
lea rax, [0x140214388]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x17aa
lea rdx, [0x140215fa0]
mov ecx, 2
call qword [sym.imp.MSVCR120D.dll__CrtDbgReportW]
cmp eax, 1
jne 0x14006408e
int3
xor eax, eax
test eax, eax
jne 0x140064048
cmp qword [rsp + 0x68], 0
jne 0x1400640d7
lea rax, str.pnChars___0
mov qword [rsp + 0x28], rax
lea rax, [0x140214388]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x17ab
lea rdx, [0x140215fa0]
mov ecx, 2
call qword [sym.imp.MSVCR120D.dll__CrtDbgReportW]
cmp eax, 1
jne 0x1400640d7
int3
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
shl rax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x68]
mov dword [rax], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x140064133
mov eax, dword [rsp + 0x34]
jmp 0x1400641bd
cmp dword [rsp + 0x38], 1
je 0x140064148
cmp dword [rsp + 0x38], 2
je 0x140064148
mov eax, recv
jmp 0x1400641bd
cmp qword [rsp + 0x60], 0
je 0x1400641a6
cmp dword [rsp + 0x30], 0
je 0x140064192
mov eax, dword [rsp + 0x30]
xor edx, edx
mov ecx, 2
div rcx
mov rax, rdx
test rax, rax
jne 0x140064189
mov eax, dword [rsp + 0x30]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x60]
movzx eax, word [rcx + rax*2 - 2]
test eax, eax
je 0x140064190
mov eax, recv
jmp 0x1400641bd
jmp 0x1400641a6
mov eax, 2
imul rax, rax, 0
xor ecx, ecx
mov rdx, qword [rsp + 0x60]
mov word [rdx + rax], cx
mov eax, dword [rsp + 0x30]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x68]
mov dword [rcx], eax
xor eax, eax
add rsp, 0x48
ret

Function at 0x140001415
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1400a5d30
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [rsp + 0x70]
add rax, 0x20
mov rcx, rax
call fcn.1400032b5
nop
mov rax, qword [rsp + 0x70]
add rax, 0x48
mov rcx, rax
call fcn.14000404d
mov rax, qword [rsp + 0x70]
mov qword [rax], 0xffffffffffffffff
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x70]
mov qword [rax + 8], 0
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x50]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x140001532
Capabilities:
Read file via mapping

Disassembly:
jmp 0x1400a60b0
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov qword [rsp + 0x90], 0xfffffffffffffffe
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x3c], eax
xor edx, edx
mov eax, dword [rsp + 0xe8]
mov rcx, qword [rsp + 0xe0]
div dword [rcx + 0x10]
mov eax, edx
mov ecx, dword [rsp + 0xe8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0xe8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0xe0]
add rax, 0x20
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140003edb
nop
mov rax, qword [rsp + 0xe0]
add rax, 0x48
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.1400032e7
nop
mov rax, qword [rsp + 0xe0]
add rax, 0x48
lea rdx, [rsp + 0x98]
mov rcx, rax
call fcn.1400051cd
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.14000293c
mov byte [rsp + 0x30], al
lea rcx, [rsp + 0x98]
call fcn.140004edf
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400a61bd
lea rcx, [rsp + 0x70]
call fcn.140005d8a
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0xf0]
add ecx, eax
mov eax, ecx
mov eax, eax
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x34]
xor r8d, r8d
mov edx, 4
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xe0]
add rax, 0x48
lea rdx, [rsp + 0xb0]
mov rcx, rax
call fcn.1400051cd
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x70]
call fcn.14000293c
mov byte [rsp + 0x31], al
lea rcx, [rsp + 0xb0]
call fcn.140004edf
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x1400a6266
lea rcx, [rsp + 0x70]
call fcn.140005d8a
mov rcx, qword [rsp + 0x40]
mov qword [rax + 8], rcx
jmp 0x1400a6287
mov rax, qword [rsp + 0xe0]
add rax, 0x48
lea rdx, [rsp + 0x3c]
mov rcx, rax
call fcn.140002fc2
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x70]
call fcn.140004edf
nop
lea rcx, [rsp + 0x60]
call fcn.1400053da
mov rax, qword [rsp + 0x50]
add rsp, 0xd8
ret

Function at 0x14000159b
Capabilities:
Read file on windows

Disassembly:
jmp 0x1400a6500
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCR120D.dll_rewind]
mov r9, qword [rsp + 0x40]
mov r8d, 2
mov edx, 1
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCR120D.dll_fread]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 2
je 0x1400a653e
xor eax, eax
jmp 0x1400a6553
movzx eax, word [rsp + 0x20]
cmp eax, 0xd8ff
jne 0x1400a6551
mov eax, 1
jmp 0x1400a6553
xor eax, eax
add rsp, 0x38
ret
Function at 0x1400017c1
Capabilities:
Read file via mapping

Disassembly:
jmp 0x14000ca00
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
xor edx, edx
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
div dword [rcx + 0x10]
mov eax, edx
mov ecx, dword [rsp + 0x68]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x68]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x70]
add ecx, eax
mov eax, ecx
mov eax, eax
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x34]
xor r8d, r8d
mov edx, 6
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
add rax, 0x20
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14000342c
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
add rsp, 0x58
ret
Function at 0x140001abe
Capabilities:
Initialize winsock library

Disassembly:
jmp 0x1400dc720
mov qword [rsp + 8], rcx
sub rsp, 0x1f8
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x14028c8d0]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x200]
mov rcx, rax
call fcn.140002d51
nop
mov rax, qword [rsp + 0x200]
add rax, 0x10
mov rcx, rax
call fcn.140002d51
nop
mov rax, qword [rsp + 0x200]
add rax, 0x18
mov rcx, rax
call fcn.140002d51
lea rdx, [rsp + 0x40]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400dc7d6
lea rax, [0x1402327d0]
mov qword [rsp + 0x28], rax
lea rax, [0x1402327e8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x7d
lea rdx, [0x1402327f0]
mov ecx, 2
call qword [sym.imp.MSVCR120D.dll__CrtDbgReportW]
cmp eax, 1
jne 0x1400dc7d6
int3
mov rax, qword [rsp + 0x200]
mov dword [rax + 8], 0x19
mov rax, qword [rsp + 0x200]
mov qword [rax + 0x28], 0
mov rax, qword [rsp + 0x200]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x200]
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.1401b0dd0
add rsp, 0x1f8
ret

Function at 0x140001e24
Capabilities:
Delete registry value

Disassembly:
jmp 0x140054690
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
jne 0x1400546e4
lea rax, str.m_hKey___0
mov qword [rsp + 0x28], rax
lea rax, [0x140214388]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x16ab
lea rdx, [0x140215fa0]
mov ecx, 2
call qword [sym.imp.MSVCR120D.dll__CrtDbgReportW]
cmp eax, 1
jne 0x1400546e4
int3
xor eax, eax
test eax, eax
jne 0x14005469e
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
add rsp, 0x38
ret
Function at 0x140001f0a
Capabilities:
Read file on windows

Disassembly:
jmp 0x1400a6480
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [0x14028c8d0]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCR120D.dll_rewind]
mov r9, qword [rsp + 0x40]
mov r8d, 8
mov edx, 1
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCR120D.dll_fread]
mov r8d, 8
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140186310
test eax, eax
je 0x1400a64d8
xor eax, eax
jmp 0x1400a64dd
mov eax, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401b0dd0
add rsp, 0x38
ret

Function at 0x140001ffa
Capabilities:
Read .ini file

Disassembly:
jmp 0x140016560
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x860
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x14028c8d0]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov dword [rsp + 0x30], 0
movzx eax, word [0x1402155f8]
mov word [rsp + 0x50], ax
lea rax, [rsp + 0x52]
mov rdi, rax
xor eax, eax
mov ecx, 0x7fe
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x878]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x50]
lea r8, [0x1402155fc]
mov rdx, qword [rsp + 0x888]
mov rcx, qword [rsp + 0x880]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.140002b67
nop
lea r8, [0x140215600]
lea rdx, [0x140215604]
lea rcx, [rsp + 0x38]
call fcn.1400042dc
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x870]
call fcn.140001a7d
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x38]
call fcn.1400053e9
mov rax, qword [rsp + 0x870]
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.1401b0dd0
add rsp, 0x860
pop rdi
ret