joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800ae150
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, 0x51eb851f
mov edi, r8d
mov r8d, edx
xor ebx, ebx
mov rsi, rcx
mov rcx, qword [rcx]
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 2
je 0x1800ae1a2
lea rdx, str.Couldnt_set_desired_mode
call fcn.180097330
lea eax, [rbx + 0x11]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp r8d, 0xc8
je 0x1800ae1b7
lea rdx, str.Got_a__03d_response_code_instead_of_the_assumed_200_n
call fcn.180097280
cmp edi, 0x13
jne 0x1800ae1c6
mov rcx, rsi
call fcn.1800ae0d0
jmp 0x1800ae1f1
cmp edi, 0x14
jne 0x1800ae1d5
mov rcx, rsi
call fcn.1800aad30
jmp 0x1800ae1f1
cmp edi, 0x15
jne 0x1800ae1e4
mov rcx, rsi
call fcn.1800ae130
jmp 0x1800ae1f1
cmp edi, 0x16
jne 0x1800ae1f3
mov rcx, rsi
call fcn.1800ae140
mov ebx, eax
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1800ae910
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, qword [rcx]
mov ebx, dword [rcx + 0x5cc]
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov rdi, rcx
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 2
je 0x1800ae99c
test ebx, ebx
jne 0x1800ae95a
lea rdx, str.disabling_EPRT_usage_n
mov rcx, rsi
call fcn.180097280
mov dword [rdi + 0x2bc], ebx
inc ebx
cmp ebx, 2
jne 0x1800ae983
lea rdx, str.Failed_to_do_PORT
mov rcx, rsi
call fcn.180097330
lea eax, [rbx + 0x1c]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, ebx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1800aa540
lea rdx, str.Connect_data_stream_actively_n
mov rcx, rsi
call fcn.180097280
xor edx, edx
mov rcx, rdi
call fcn.1800aa3f0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1800ae750
Function at 0x1800b36e0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov r9d, ecx
mov rcx, r8
call fcn.1800b3640
mov ecx, r9d
mov r8d, eax
call fcn.180081030
cdqe
add rsp, 0x28
ret
Function at 0x1800b5b20
Capabilities:
Parse pe header

Disassembly:
movsx eax, cl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x1800b5b3f
lea r8, [0x180000000]
cdqe
mov edx, dword [r8 + rax*4 + 0xb5b94]
add rdx, r8
jmp rdx
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, Ordinal_79
ret
mov al, reloc.WLDAP32.dll_Ordinal_79
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret
mov al, cl
ret

Function at 0x1800b5d50
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x148
mov rax, qword [0x180106f10]
xor rax, rsp
mov qword [rsp + 0x130], rax
call fcn.180081bb8
mov byte [rsp + 0x20], 0
test rax, rax
je 0x1800b5db6
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rsp + 0x20], 0
je 0x1800b5db6
lea rcx, [rsp + 0x20]
call qword [fcn.180089480]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1800564b0
add rsp, 0x148
ret
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1800564b0
add rsp, 0x148
ret
jmp 0x1800b5d50

Function at 0x1800b5dd0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x148
mov rax, qword [0x180106f10]
xor rax, rsp
mov qword [rsp + 0x130], rax
call fcn.180081bb8
mov byte [rsp + 0x20], 0
test rax, rax
je 0x1800b5db6
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rsp + 0x20], 0
je 0x1800b5db6
lea rcx, [rsp + 0x20]
call qword [fcn.180089480]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1800564b0
add rsp, 0x148
ret
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1800564b0
add rsp, 0x148
ret
jmp 0x1800b5d50

Function at 0x1800ba910
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
xor eax, eax
test edx, edx
lea r8, [rsp + 0x38]
setne al
mov edx, 0x8004667e
mov dword [rsp + 0x38], eax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
add rsp, 0x28
ret

Function at 0x1800bd1f0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rbx, edx
mov rdi, rcx
mov byte [rcx], 0
mov edx, ebx
call qword [sym.imp.WS2_32.dll_gethostname]
mov byte [rbx + rdi - 1], 0
test eax, eax
jne 0x1800bd229
lea edx, [rax + 0x2e]
mov rcx, rdi
call fcn.1800895f0
test rax, rax
je 0x1800bd227
mov byte [rax], 0
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1800bd460
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x180106f10]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rcx
mov rsi, r8
mov rbx, rdx
lea rcx, [rsp + 0x48]
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x40], 8
mov dword [rsp + 0x20], 0xf0000000
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1800bd538
xor eax, eax
lea rdx, [rsp + 0x64]
mov rcx, rsi
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x58], 8
mov byte [rsp + 0x59], 2
mov dword [rsp + 0x5c], 0x6601
mov dword [rsp + 0x60], 8
mov dword [rsp + 0x68], eax
call fcn.1800bd3c0
lea rcx, [rsp + 0x64]
mov edx, 8
call fcn.1800c0510
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
lea r11, [rsp + 0x50]
lea r8d, [r9 + 0x14]
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x1800bd53c
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
jmp 0x1800bd589
mov ecx, dword [rsp + 0x40]
mov rax, qword [rdi]
xor r9d, r9d
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x50]
xor edx, edx
mov qword [rbx], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800564b0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1800bd5b0
Capabilities:
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov r8, rcx
mov rdx, rdi
mov rcx, rsi
call fcn.1800bd460
lea r8, [rbx + 7]
lea rdx, [rdi + 8]
mov rcx, rsi
call fcn.1800bd460
lea r8, [rbx + 0xe]
lea rdx, [rdi + 0x10]
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1800bd460
Function at 0x1800bd750
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
repne scasb al, byte [rdi]
mov rbx, r8
mov rbp, rdx
not rcx
dec rcx
mov rsi, rcx
add rcx, rcx
call qword [fcn.180062e8c]
mov rdi, rax
test rax, rax
jne 0x1800bd797
lea eax, [rdi + 0x1b]
jmp 0x1800bd853
mov r8, rsi
mov rdx, rbp
mov rcx, rax
call fcn.1800bd6c0
lea rcx, [rsp + 0x38]
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0xf0000000
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1800bd840
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1800bd833
mov rcx, qword [rsp + 0x30]
lea r8d, [rsi + rsi]
xor r9d, r9d
mov rdx, rdi
mov dword [rsp + 0x68], reloc.WS2_32.dll_recv
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x68]
mov r8, rbx
mov edx, 2
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, rdi
mov dword [rbx + 0x10], eax
mov byte [rbx + 0x14], al
call qword [fcn.180057358]
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x1800bdb70
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push rbx
sub rsp, 0x30
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rbx, rcx
mov dword [rsp + 0x20], 0xf0000000
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1800bdbb3
mov rcx, qword [rbx]
lea rax, [rbx + 8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
add rsp, 0x30
pop rbx
ret
Function at 0x1800c0340
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r12
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov r12d, r8d
lea r9d, [rax + rax]
mov eax, dword [rcx + 0x20]
mov rbp, rdx
lea rcx, [r9 + rax + 0x18]
call qword [fcn.180062e8c]
mov rdi, rax
test rax, rax
jne 0x1800c0381
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r12
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rsp + 0x48], rsi
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rdi + 0x10], rax
cmp r12d, dword [rbx + 0x1c]
jbe 0x1800c03c5
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, r12d
mov rdx, rbp
call qword [rbx + VariantCopy]
mov ebp, dword [rbx + 0x18]
mov rdx, qword [rdi + 8]
add rbp, qword [rdi + 0x10]
mov rcx, rbp
call qword [rbx + reloc.WS2_32.dll_recv]
mov r12d, dword [rbx + 0x20]
mov rcx, qword [rdi + 8]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test r12, r12
je 0x1800c0425
mov rsi, r12
nop dword [rax + rax]
movzx eax, byte [rbp]
lea rdx, [rsp + 0x40]
mov r8d, 1
xor al, 0x36
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + VariantCopy]
movzx r11d, byte [rbp]
lea rdx, [rsp + 0x40]
xor r11b, 0x5c
mov r8d, 1
inc rbp
mov byte [rsp + 0x40], r11b
mov rcx, qword [rdi + 0x10]
call qword [rbx + VariantCopy]
sub r12, 1
jne 0x1800c03e0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1800c0463
nop dword [rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1800e309b]
mov r8d, 1
call qword [rbx + VariantCopy]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1800e309c]
mov r8d, 1
call qword [rbx + VariantCopy]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1800c0430
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rax, rdi
add rsp, 0x20
pop r12
pop rdi
pop rbp
ret

Function at 0x1800c1120
Capabilities:
Move file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x1800c1136
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800c1138
xor eax, eax
test eax, eax
je 0x1800c1148
mov ecx, eax
call fcn.180060544
or eax, 0xffffffff
jmp 0x1800c114a
xor eax, eax
add rsp, 0x28
ret

Function at 0x1800c59c0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rcx, qword [rsp + 0x50]
call fcn.1800c5980
movzx eax, al
test eax, eax
jne 0x1800c59eb
mov eax, 0xffffffff
jmp 0x1800c5a1d
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x30]
add rsp, 0x48
ret

Function at 0x1800c5cf0
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x38]
call fcn.180004200
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
add rsp, 0x28
ret
Function at 0x1800c6ef0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [rsp + 8], cl
sub rsp, 0x28
mov rax, qword [0x180106f10]
xor rax, rsp
mov qword [rsp + 0x18], rax
mov byte [rsp + 8], Ordinal_50
mov byte [rsp + 9], Ordinal_50
mov byte [rsp + 0xa], reloc.WLDAP32.dll_Ordinal_50
mov byte [rsp + 0xb], 0x33
mov byte [rsp + 0xc], 0x34
mov byte [rsp + 0xd], gethostname
mov byte [rsp + 0xe], gethostname
mov byte [rsp + 0xf], gethostname
mov byte [rsp + 0x10], gethostname
mov byte [rsp + 0x11], reloc.WS2_32.dll_gethostname
mov byte [rsp + 0x12], 0x41
mov byte [rsp + 0x13], 0x42
mov byte [rsp + 0x14], 0x43
mov byte [rsp + 0x15], 0x44
mov byte [rsp + 0x16], 0x45
mov byte [rsp + 0x17], 0x46
movzx eax, byte [rsp + 0x30]
mov al, byte [rsp + rax + 8]
mov rcx, qword [rsp + 0x18]
xor rcx, rsp
call fcn.1800564b0
add rsp, 0x28
ret

Function at 0x1800c9200
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rcx, qword [rsp + 0x50]
call fcn.1800c8de0
movzx eax, al
test eax, eax
jne 0x1800c9228
xor al, al
jmp 0x1800c928b
mov dword [rsp + 0x34], 4
mov rcx, qword [rsp + 0x58]
call fcn.180004200
mov rdx, rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1800c927a
cmp dword [rsp + 0x30], 4
je 0x1800c927e
cmp dword [rsp + 0x30], 5
je 0x1800c927e
xor al, al
jmp 0x1800c928b
mov rcx, qword [rsp + 0x60]
mov eax, dword [rsp + 0x38]
mov dword [rcx], eax
mov al, 1
add rsp, 0x48
ret

Function at 0x1800c92a0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rcx, qword [rsp + 0x50]
call fcn.1800c8de0
movzx eax, al
test eax, eax
jne 0x1800c92c8
xor al, al
jmp 0x1800c9311
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x58]
call fcn.180004200
mov rdx, rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x1800c930f
xor al, al
jmp 0x1800c9311
mov al, 1
add rsp, 0x48
ret
Function at 0x1800ca080
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov qword [rsp + 0x270], 0xfffffffffffffffe
mov rax, qword [0x180106f10]
xor rax, rsp
mov qword [rsp + 0x278], rax
mov rcx, qword [rsp + 0x290]
call fcn.1800c8de0
mov dword [rsp + 0x174], 0
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x174]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x290]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x1800ca13f
jmp 0x1800ca210
mov dword [rsp + 0x170], 0x100
mov dword [rsp + 0x178], 0
jmp 0x1800ca168
mov eax, dword [rsp + 0x178]
add eax, 1
mov dword [rsp + 0x178], eax
mov eax, dword [rsp + 0x174]
cmp dword [rsp + 0x178], eax
jae 0x1800ca210
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x170]
lea r8, [rsp + 0x70]
mov edx, dword [rsp + 0x178]
mov rcx, qword [rsp + 0x290]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1800ca200
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x180]
call fcn.180003820
nop
lea rdx, [rsp + 0x180]
mov rcx, qword [rsp + 0x298]
call fcn.180016470
nop
lea rcx, [rsp + 0x180]
call fcn.1800040e0
mov dword [rsp + 0x170], 0x100
jmp 0x1800ca157
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1800564b0
add rsp, 0x288
ret
Function at 0x1800ca230
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov qword [rsp + 0x128], 0xfffffffffffffffe
mov rax, qword [0x180106f10]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea rcx, [rsp + 0x30]
call fcn.180016310
nop
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x150]
call fcn.1800ca080
mov rcx, qword [rsp + 0x150]
call fcn.1800c8da0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.1800199d0
jmp 0x1800ca29f
lea rcx, [rsp + 0x60]
call fcn.18002cca0
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x30]
call fcn.180018350
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.18002ccc0
movzx eax, al
test eax, eax
je 0x1800ca35c
mov rdx, qword [rsp + 0x150]
add rdx, 8
lea rcx, [rsp + 0x78]
call fcn.180003e80
nop
lea rdx, [0x1800e47b0]
lea rcx, [rsp + 0x78]
call fcn.180025760
lea rcx, [rsp + 0x60]
call fcn.18002cc80
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.18000b150
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x78]
mov rdx, qword [rsp + 0x150]
mov rdx, qword [rdx]
lea rcx, [rsp + 0xa0]
call fcn.1800c9530
nop
lea rcx, [rsp + 0xa0]
call fcn.1800ca230
nop
lea rcx, [rsp + 0xa0]
call fcn.1800c9500
nop
lea rcx, [rsp + 0x78]
call fcn.1800040e0
jmp 0x1800ca295
mov rax, qword [rsp + 0x150]
cmp dword [rax + 0x3c], 0
je 0x1800ca471
lea rcx, str.ADVAPI32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.18002c9c0
nop
lea rcx, [rsp + 0xe0]
call fcn.18002ca00
test rax, rax
je 0x1800ca464
lea rcx, [rsp + 0xe0]
call fcn.18002ca00
lea rdx, str.RegDeleteKeyExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xe8], rax
cmp qword [rsp + 0xe8], 0
je 0x1800ca464
mov rcx, qword [rsp + 0x150]
add rcx, 8
call fcn.180004200
mov rdx, rax
xor r9d, r9d
mov rax, qword [rsp + 0x150]
mov r8d, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x150]
mov rcx, qword [rcx]
call qword [rsp + 0xe8]
test eax, eax
je 0x1800ca43b
mov byte [rsp + 0x100], 0
lea rcx, [rsp + 0xe0]
call fcn.18002c9e0
nop
lea rcx, [rsp + 0x30]
call fcn.180014db0
mov al, byte [rsp + 0x100]
jmp 0x1800ca4ce
mov byte [rsp + 0x101], 1
lea rcx, [rsp + 0xe0]
call fcn.18002c9e0
nop
lea rcx, [rsp + 0x30]
call fcn.180014db0
mov al, byte [rsp + 0x101]
jmp 0x1800ca4ce
lea rcx, [rsp + 0xe0]
call fcn.18002c9e0
mov rcx, qword [rsp + 0x150]
add rcx, 8
call fcn.180004200
mov rdx, rax
mov rcx, qword [rsp + 0x150]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x1800ca4b5
mov byte [rsp + 0x102], 0
lea rcx, [rsp + 0x30]
call fcn.180014db0
mov al, byte [rsp + 0x102]
jmp 0x1800ca4ce
mov byte [rsp + 0x103], 1
lea rcx, [rsp + 0x30]
call fcn.180014db0
mov al, byte [rsp + 0x103]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1800564b0
add rsp, 0x148
ret
Function at 0x1800ca730
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
cmp qword [rsp + 0x38], 0
je 0x1800ca7b1
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x30]
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 0x30]
add ecx, 1
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x30], ecx
cmp edx, 0x186a0
jl 0x1800ca795
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.1800c5910
mov rcx, qword [rsp + 0x30]
call fcn.1800c5960
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov r11, qword [rsp + 0x30]
mov dword [r11 + 0x30], 0
mov rcx, qword [rsp + 0x38]
call fcn.18005ce20
mov r8d, eax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.1800c59c0
add rsp, 0x28
ret
Function at 0x1800ca840
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2d8
mov qword [rsp + 0x260], 0xfffffffffffffffe
mov rax, qword [0x180106f10]
xor rax, rsp
mov qword [rsp + 0x2c8], rax
mov rcx, qword [rsp + 0x2e0]
call fcn.1800c5ad0
nop
mov rax, qword [rsp + 0x2e0]
mov dword [rax + 0x30], 0
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea rcx, [rsp + 0xd8]
call fcn.1800c8a40
mov qword [rsp + 0x268], rax
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0x270], rax
lea r8, str.Logger
mov rdx, qword [rsp + 0x270]
lea rcx, [rsp + 0xb0]
call fcn.1800253b0
nop
lea rcx, [rsp + 0xd8]
call fcn.1800040e0
lea rcx, [rsp + 0x88]
call fcn.1800c8970
nop
mov r8, 0xffffffffffffffff
mov dl, reloc.WLDAP32.dll_Ordinal_46
lea rcx, [rsp + 0x88]
call fcn.18002dca0
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x88]
call fcn.180014ae0
nop
movzx edx, word [rsp + 0x7e]
lea rcx, [rsp + 0x100]
call fcn.1800c8610
mov qword [rsp + 0x278], rax
mov rax, qword [rsp + 0x278]
mov qword [rsp + 0x280], rax
lea r8, [0x1800e44e4]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x128]
call fcn.1800253b0
mov qword [rsp + 0x288], rax
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0x290], rax
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x150]
call fcn.18000aba0
mov qword [rsp + 0x298], rax
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0x2a0], rax
lea r8, [0x1800e44e0]
mov rdx, qword [rsp + 0x2a0]
lea rcx, [rsp + 0x178]
call fcn.1800253b0
mov qword [rsp + 0x2a8], rax
mov rax, qword [rsp + 0x2a8]
mov qword [rsp + 0x2b0], rax
mov r8, qword [rsp + 0x280]
mov rdx, qword [rsp + 0x2b0]
lea rcx, [rsp + 0x1a0]
call fcn.18000aba0
mov qword [rsp + 0x2b8], rax
mov rax, qword [rsp + 0x2b8]
mov qword [rsp + 0x2c0], rax
lea r8, str..log
mov rdx, qword [rsp + 0x2c0]
lea rcx, [rsp + 0x28]
call fcn.1800253b0
nop
lea rcx, [rsp + 0x1a0]
call fcn.1800040e0
nop
lea rcx, [rsp + 0x178]
call fcn.1800040e0
nop
lea rcx, [rsp + 0x150]
call fcn.1800040e0
nop
lea rcx, [rsp + 0x128]
call fcn.1800040e0
nop
lea rcx, [rsp + 0x100]
call fcn.1800040e0
lea rcx, [rsp + 0xb0]
call fcn.180004200
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rcx, [rsp + 0x28]
call fcn.180004200
mov rdx, rax
lea rcx, [rsp + 0x1c8]
call fcn.180003820
nop
mov r9d, 1
mov r8d, 2
lea rdx, [rsp + 0x1c8]
mov rcx, qword [rsp + 0x2e0]
call fcn.1800c5b70
nop
lea rcx, [rsp + 0x1c8]
call fcn.1800040e0
mov rax, qword [rsp + 0x2e0]
mov dword [rax + 0x30], 0
lea rcx, [rsp + 0x28]
call fcn.1800040e0
nop
lea rcx, [rsp + 0x50]
call fcn.1800040e0
nop
lea rcx, [rsp + 0x88]
call fcn.1800040e0
nop
lea rcx, [rsp + 0xb0]
call fcn.1800040e0
nop
mov rax, qword [rsp + 0x2e0]
mov rcx, qword [rsp + 0x2c8]
xor rcx, rsp
call fcn.1800564b0
add rsp, 0x2d8
ret
Function at 0x1800cad00
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rdi
sub rsp, 0x1c8
mov rax, qword [0x180106f10]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
mov dword [rsp + 0x170], 0
mov byte [rsp + 0x40], 0
lea rdi, [rsp + 0x41]
xor eax, eax
mov ecx, Ordinal_301
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x1e0]
call fcn.180004200
mov rbx, rax
mov rcx, qword [rsp + 0x1f8]
call fcn.180004200
mov rdi, rax
mov rcx, qword [rsp + 0x1f0]
call fcn.180004200
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], Ordinal_301
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x1e8]
call fcn.180003820
mov eax, dword [rsp + 0x170]
or eax, 1
mov dword [rsp + 0x170], eax
mov rax, qword [rsp + 0x1e8]
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.1800564b0
add rsp, 0x1c8
pop rdi
pop rbx
ret