joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006404
Capabilities:
Create thread
Resume thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
xor ebx, ebx
xor edi, edi
mov r13d, 0x20
and dword [rax - 0x40], ebx
xor esi, esi
cmp dword [rcx + 0x50], ebx
mov r14, rcx
mov dword [rax - 0x3c], r13d
mov qword [rax - 0x48], rdi
mov dword [rax - 0x38], ebx
jle 0x1400064f9
mov edx, esi
mov rcx, r14
call fcn.14000a488
and dword [rsp + 0x80], 0
lea rdx, [rsp + 0x80]
lea rcx, [rax + 0x193]
xor r8d, r8d
mov r12, rax
call fcn.140001af0
test eax, eax
je 0x1400064ec
mov ebp, dword [rsp + 0x80]
xor ecx, ecx
xor eax, eax
test ebx, ebx
mov dword [r12 + 0x3a4], ebp
jle 0x1400064a7
test rax, rax
js 0x140006496
cmp ecx, ebx
jge 0x140006496
mov edx, dword [rdi + rax*4]
jmp 0x140006498
xor edx, edx
cmp edx, ebp
je 0x1400064ec
add ecx, 1
add rax, 1
cmp ecx, ebx
jl 0x140006488
test ebx, ebx
movsxd r12, ebx
js 0x1400064ec
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x30]
mov r9d, 4
mov edx, ebx
mov dword [rsp + 0x20], r13d
call fcn.140008580
mov ebx, dword [rsp + 0x40]
mov rdi, qword [rsp + 0x30]
mov r13d, dword [rsp + 0x3c]
lea r11d, [r12 + 1]
mov dword [rdi + r12*4], ebp
cmp ebx, r11d
cmovl ebx, r11d
mov dword [rsp + 0x40], ebx
add esi, 1
cmp esi, dword [r14 + 0x50]
jl 0x140006441
xor ebp, ebp
xor esi, esi
test ebx, ebx
jle 0x140006604
mov edx, 0x400
or r12, 0xffffffffffffffff
test rsi, rsi
js 0x14000651d
cmp ebp, ebx
jge 0x14000651d
mov r13d, dword [rdi + rsi*4]
jmp 0x140006520
xor r13d, r13d
mov rcx, qword [0x140018e78]
test rcx, rcx
jne 0x14000656d
call fcn.140010f4c
mov ecx, 0x400
mov eax, InitCommonControls
mul rcx
cmovo rax, r12
mov rcx, rax
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
xor edx, edx
mov r8d, 0x4000
mov rcx, rax
mov qword [0x140018e78], rax
call sub.msvcrt.dll_memset
mov rcx, qword [0x140018e78]
mov edx, 0x400
xor r9d, r9d
mov rax, rcx
cmp qword [rax], 0
je 0x140006589
add r9, 1
add rax, 0x10
cmp r9, rdx
jl 0x140006573
mov r9, r12
test r9, r9
js 0x1400065e5
mov r12, r9
lea rax, [rsp + 0x80]
lea r8, [0x140010f9c]
mov qword [rsp + 0x28], rax
shl r12, 4
xor edx, edx
add r12, rcx
xor ecx, ecx
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1400065e1
mov qword [r12], rax
mov ecx, dword [r14 + 0x260]
mov dword [r12 + 0xc], r13d
mov dword [r12 + 8], ecx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
or r12, 0xffffffffffffffff
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
add ebp, 1
add rsi, 1
cmp ebp, ebx
mov edx, 0x400
jl 0x14000650e
test rdi, rdi
je 0x140006611
mov rcx, rdi
call sub.msvcrt.dll_free
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140007b98
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x240
cmp dword [rcx + 0x18], 0
jne 0x140007c9f
mov dword [rcx + 0x18], 1
mov rcx, qword [rcx + 8]
mov edx, 0x3ef
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
lea rcx, [rsp + 0x131]
xor edx, edx
mov r8d, 0x104
mov byte [rsp + 0x130], 0
mov edi, eax
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x130]
call fcn.1400087a8
mov ebx, 2
bt edi, ebx
jae 0x140007c93
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x104
call sub.msvcrt.dll_memset
lea r11d, [rbx + 0x41]
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x20], r11b
mov byte [rsp + 0x21], 0x3a
mov byte [rsp + 0x22], 0x5c
mov byte [rsp + 0x23], 0
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
je 0x140007c4c
cmp eax, 3
jne 0x140007c93
lea rdx, str.Windows
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll_strcat
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll__strcmpi
test eax, eax
je 0x140007c93
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140007c93
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov rcx, rsi
call fcn.140008628
add ebx, 1
cmp ebx, 0x20
jb 0x140007c04
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x1400082b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, rdx
mov rbx, rdx
call sub.msvcrt.dll_strlen
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400083bc
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
xor ebx, ebx
call qword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, ebx
je 0x140008446
call qword [sym.imp.USER32.dll_EmptyClipboard]
cmp rdi, rbx
je 0x140008440
mov rcx, rdi
call sub.msvcrt.dll_strlen
mov ecx, 0x2000
add eax, 1
movsxd rbp, eax
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp rax, rbx
mov rsi, rax
je 0x140008440
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [rbx + 1]
mov rdx, rsi
call qword [sym.imp.USER32.dll_SetClipboardData]
cmp rax, rbx
setne bl
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140008460
Capabilities:
Get file size
Read file on windows
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
mov rbx, rcx
xor edi, edi
call qword [sym.imp.USER32.dll_EmptyClipboard]
xor edx, edx
mov rcx, rbx
call fcn.140008280
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x14000850b
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, 0x2000
mov ebp, eax
lea edx, [rbp + 1]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp rax, rdi
mov rsi, rax
je 0x1400084f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea r9, [rsp + 0x58]
mov r8d, ebp
mov rcx, rbx
mov rdx, rax
mov qword [rsp + 0x20], rdi
mov r12, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, edi
je 0x1400084f8
mov rcx, rsi
mov byte [rbp + r12], dil
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [rdi + 1]
mov rdx, rsi
call qword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x140008500
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140008513
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov eax, edi
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret

Function at 0x1400087a8
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [0x140018ee0], 0
mov rbx, rcx
jne 0x1400087d2
lea rcx, [0x140018ee0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov dword [0x140018fe8], eax
lea rdx, [0x140018ee0]
mov rcx, rbx
call fcn.140012ab4
mov eax, dword [0x140018fe8]
add rsp, 0x20
pop rbx
ret

Function at 0x1400087f0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [0x140018ff0], 0
mov rbx, rcx
jne 0x14000881a
lea rcx, [0x140018ff0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [0x1400190f8], eax
lea rdx, [0x140018ff0]
mov rcx, rbx
call fcn.140012ab4
mov eax, dword [0x1400190f8]
add rsp, 0x20
pop rbx
ret

Function at 0x140009ba0
Capabilities:
Read .ini file

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [0x140018b00]
mov rbx, rdx
mov byte [rdx], 0
mov r9, rdx
mov qword [rsp + 0x28], rax
mov rdx, rcx
mov dword [rsp + 0x20], r8d
lea r8, [0x140014821]
lea rcx, [0x140018c10]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x140009be0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x1040
call fcn.140012e50
sub rsp, rax
mov rbx, rcx
mov rdi, rdx
lea r8d, [rax - 0x40]
lea rcx, [rsp + 0x31]
xor edx, edx
mov byte [rsp + 0x30], 0
call sub.msvcrt.dll_memset
lea r11, [0x140018b00]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], r11
lea r8, [0x140014821]
lea rcx, [0x140018c10]
mov rdx, rbx
mov dword [rsp + 0x20], 0x1000
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [rsp + 0x30], 0
je 0x140009c59
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140012ab4
mov eax, 1
jmp 0x140009c5b
xor eax, eax
mov rbx, qword [rsp + 0x1050]
add rsp, 0x1040
pop rdi
ret
Function at 0x140009c6c
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
mov eax, 0x1040
call fcn.140012e50
sub rsp, rax
mov rbx, rcx
mov rdi, rdx
lea r8d, [rax - 0x40]
lea rcx, [rsp + 0x31]
xor edx, edx
mov byte [rsp + 0x30], 0
call sub.msvcrt.dll_memset
lea rbp, [0x140018b00]
lea r9, [rsp + 0x30]
lea r8, [0x140014821]
lea rcx, [0x140018c10]
mov rdx, rbx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 0x1000
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [rsp + 0x30], 0
jne 0x140009cee
lea rcx, [0x140018c10]
mov r9, rbp
mov r8, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x140009cf0
xor eax, eax
lea r11, [rsp + 0x1040]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14000a084
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push rbx
sub rsp, 0x130
lea rcx, [rsp + 0x21]
xor ebx, ebx
xor edx, edx
mov r8d, 0x104
mov byte [rsp + 0x20], bl
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x20]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [rbx + 0x2e]
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll_strrchr
cmp rax, rbx
je 0x14000a0cc
mov byte [rax], bl
lea rdx, str._lng.ini
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll_strcat
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000a189
lea rdx, [rsp + 0x20]
lea rcx, [0x140018b00]
call fcn.140012ab4
lea rdx, str.general
lea rcx, [0x140018c10]
call fcn.140012ab4
lea r9, [0x140018b00]
lea rdx, [0x140015114]
lea rcx, [0x140018c10]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea rdx, [0x140018c60]
lea rcx, str.charset
cmp eax, 1
sete bl
mov dword [0x140018a4c], ebx
mov ebx, 0x3f
mov r8d, ebx
call fcn.140009ba0
lea rdx, [0x140018ca0]
lea rcx, str.TranslatorName
mov r8d, ebx
call fcn.140009ba0
lea rdx, [0x140018ce0]
lea rcx, str.TranslatorURL
mov r8d, 0xff
call fcn.140009ba0
add rsp, 0x130
pop rbx
ret

Function at 0x14000b59c
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
xor r12d, r12d
mov rbp, r8
mov rdi, rdx
cmp dword [rcx + 0x40], r12d
mov rbx, rcx
jle 0x14000b620
xor esi, esi
test rbp, rbp
mov rax, qword [rbx + 0x48]
movsxd rdx, dword [rsi + rax]
jne 0x14000b5e8
mov rax, qword [rbx + 0x238]
lea rcx, [rdx + rdx*2]
mov rax, qword [rax + rcx*8 + 0x10]
jmp 0x14000b5f8
mov rax, qword [rbp]
mov r8, qword [rbx + 0x80]
mov rcx, rbp
call qword [rax]
mov rdx, rax
mov rcx, rdi
call fcn.1400082b0
lea rdx, [0x140015154]
mov rcx, rdi
call fcn.1400082b0
add r12d, 1
add rsi, 4
cmp r12d, dword [rbx + 0x40]
jl 0x14000b5c9
lea rdx, [0x140015150]
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
jmp fcn.1400082b0
Function at 0x14000bcd4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x130
mov rdi, rdx
mov rsi, rcx
lea rdx, str._item__r_n
mov rcx, rdi
mov r13, r8
call fcn.1400082b0
xor r12d, r12d
cmp dword [rsi + 0x40], r12d
jle 0x14000bdba
xor ebp, ebp
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0xfe
mov byte [rsp + 0x30], 0
call sub.msvcrt.dll_memset
mov r11, qword [rsi + 0x48]
movsxd rbx, dword [r11 + rbp]
mov rax, qword [r13]
mov r8, qword [rsi + 0x80]
mov edx, ebx
mov rcx, r13
call qword [rax]
mov rcx, qword [rsi + 0x88]
mov rdx, rax
call fcn.14001263c
mov r8, qword [rsi + 0x60]
lea rax, [rbx + rbx*2]
mov r8, qword [r8 + rax*8 + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14000b314
mov r9, qword [rsi + 0x88]
mov rcx, qword [rsi + 0x90]
lea r11, [rsp + 0x30]
lea r8, [rsp + 0x30]
lea rdx, str.__s__s___s__r_n
mov qword [rsp + 0x20], r11
call sub.msvcrt.dll_sprintf
mov rdx, qword [rsi + 0x90]
mov rcx, rdi
call fcn.1400082b0
add r12d, 1
add rbp, 4
cmp r12d, dword [rsi + 0x40]
jl 0x14000bd16
lea rdx, str.__item__r_n
mov rcx, rdi
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
jmp fcn.1400082b0

Function at 0x14000ece4
Capabilities:
Delete file
Get common file path
Open clipboard

Disassembly:
push rbx
sub rsp, 0x250
mov rbx, rcx
lea rdx, [rsp + 0x140]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x14000ed1a
lea rcx, [rsp + 0x140]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea r9, [rsp + 0x30]
lea rdx, [0x140015470]
lea rcx, [rsp + 0x140]
xor r8d, r8d
mov byte [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov r9d, 1
lea rdx, [rsp + 0x30]
lea r8d, [r9 + 1]
mov rcx, rbx
mov dword [rsp + 0x20], r9d
call fcn.14000ec78
test eax, eax
je 0x14000edaa
mov rcx, qword [rbx + 0x110]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14000ed79
lea rcx, [rsp + 0x30]
call fcn.140008460
jmp 0x14000ed7f
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov edx, eax
je 0x14000ed9f
mov rax, qword [0x140018a40]
mov rcx, qword [rbx + 0x110]
mov r8d, dword [rax + 0x590]
call fcn.140008de0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
add rsp, 0x250
pop rbx
ret
Function at 0x14000ef44
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x350
cmp dword [rcx + 0x1b8], 0
mov edi, edx
mov rbx, rcx
je 0x14000ef7d
lea rdx, str.SoftwareNirSoftProduKey
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x14000f10c
mov esi, 0x104
lea rcx, [rsp + 0x241]
xor edx, edx
mov r8, rsi
mov byte [rsp + 0x240], 0
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x240]
mov r8d, esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rsp + 0x240]
mov edx, 0x2e
call sub.msvcrt.dll_strrchr
test rax, rax
je 0x14000efc9
mov byte [rax], 0
lea rdx, str..cfg
lea rcx, [rsp + 0x240]
call sub.msvcrt.dll_strcat
lea r11, [0x1400159d0]
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], r11
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x135], 0
mov dword [rsp + 0x28], edi
call fcn.140012ab4
lea rdx, str.General
lea rcx, [rsp + 0x135]
call fcn.140012ab4
mov rcx, qword [rbx + 0x2d0]
lea rdx, [rsp + 0x20]
call fcn.140001ff8
mov edi, dword [rsp + 0x28]
mov esi, 0x2c
test edi, edi
je 0x14000f05b
mov rcx, qword [rbx + 0x110]
test rcx, rcx
je 0x14000f06c
lea rdx, [rbx + 0x17c]
mov dword [rdx], esi
call qword [sym.imp.USER32.dll_GetWindowPlacement]
jmp 0x14000f06c
lea rcx, [rbx + 0x17c]
mov r8, rsi
xor edx, edx
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0x20]
lea r8, [rbx + 0x17c]
lea rdx, str.WinPos
lea rcx, [rsp + 0x20]
mov r9d, esi
call qword [rax + 0x18]
test edi, edi
jne 0x14000f096
mov rcx, rbx
call fcn.140001824
mov edi, dword [rsp + 0x28]
mov rbx, qword [rbx + 0x2d8]
test edi, edi
je 0x14000f0b1
mov rcx, qword [rbx + 0x220]
call fcn.14000a3dc
mov r8, qword [rbx + 0x220]
mov rax, qword [rsp + 0x20]
lea rdx, str.Columns
mov r9d, dword [r8 + 8]
mov r8, qword [r8]
lea rcx, [rsp + 0x20]
shl r9d, 2
call qword [rax + 0x18]
mov r10, qword [rsp + 0x20]
lea r8, [rbx + 0x230]
lea rdx, str.Sort
lea rcx, [rsp + 0x20]
xor r9d, r9d
mov esi, eax
call qword [r10 + InitCommonControls]
test edi, edi
jne 0x14000f10c
test esi, esi
je 0x14000f10c
mov rcx, qword [rbx + 0x220]
call fcn.14000a2fc
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14000f124
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor r9d, r9d
mov dword [rsp + 0x20], edx
lea rdx, [rcx + 0x1bc]
lea r8d, [r9 + 4]
mov rbx, rcx
call fcn.14000ec78
test eax, eax
je 0x14000f17b
mov rcx, qword [rbx + 0x110]
lea r9, [0x140014821]
lea r8, [rbx + 0x1bc]
lea rdx, str.open
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], r9
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400110ac
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
xor eax, eax
mov rsi, rcx
movzx ecx, dx
mov rbx, r8
mov word [rsp + 0x20], 2
mov qword [rsp + 0x22], rax
mov dword [rsp + 0x2a], eax
mov word [rsp + 0x2e], ax
call sub.WS2_32.dll_htons
xor edi, edi
mov word [rsp + 0x22], ax
cmp rbx, rdi
je 0x14001113d
mov rax, qword [rbx + 0x18]
lea r8d, [rdi + 0x10]
lea rdx, [rsp + 0x20]
mov rcx, qword [rax]
mov eax, dword [rcx]
mov rcx, qword [rsi + 8]
mov dword [rsp + 0x24], eax
call sub.WS2_32.dll_connect
cmp eax, edi
jne 0x140011116
mov edi, 1
jmp 0x140011139
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x14001110f
mov ecx, eax
call sub.WS2_32.dll_WSASetLastError
mov rbx, qword [rsi]
call sub.WS2_32.dll_WSAGetLastError
mov edx, eax
mov rcx, rsi
call qword [rbx + 0x30]
mov eax, edi
jmp 0x14001114d
mov rax, qword [rsi]
or dx, 0xffff
mov rcx, rsi
call qword [rax + 0x30]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14001139c
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x140018e80], 0
jne 0x14001146a
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
mov rbx, rax
je 0x14001146a
lea rdx, str.CreateToolhelp32Snapshot
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x1400188f0], rax
je 0x14001146a
lea rdx, str.Module32First
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x1400188e0], rax
je 0x14001146a
lea rdx, str.Module32Next
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x1400188d8], rax
je 0x14001146a
lea rdx, str.Process32First
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x1400187b8], rax
je 0x14001146a
lea rdx, str.Process32Next
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x140018e80]
mov edx, 1
test rax, rax
mov qword [0x1400188d0], rax
cmovne ecx, edx
mov dword [0x140018e80], ecx
add rsp, 0x20
pop rbx
ret
Function at 0x140011470
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x140018e84], 0
jne 0x140011553
lea rcx, str.psapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rbx, rax
je 0x140011553
lea rdx, str.GetModuleBaseNameA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x140018908], rax
je 0x140011540
lea rdx, str.EnumProcessModules
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x1400188f8], rax
je 0x140011540
lea rdx, str.GetModuleFileNameExA
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x1400188e8], rax
je 0x140011540
lea rdx, str.EnumProcesses
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x140018a38], rax
je 0x140011540
lea rdx, str.GetModuleInformation
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x140018e84]
mov edx, 1
test rax, rax
mov qword [0x140018900], rax
cmovne ecx, edx
mov dword [0x140018e84], ecx
jmp 0x140011546
mov ecx, dword [0x140018e84]
test ecx, ecx
jne 0x140011553
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
add rsp, 0x20
pop rbx
ret

Function at 0x140011e28
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x2040
call fcn.140012e50
sub rsp, rax
mov rdi, rdx
xor edx, edx
mov rbx, r8
test ecx, ecx
mov rsi, r9
lea r8d, [rax - 0x40]
lea rcx, [rsp + 0x31]
je 0x140011ea6
call sub.msvcrt.dll_memset
mov r11, qword [rsp + 0x2090]
mov byte [rsp + 0x30], 0
mov edx, dword [r11]
test edx, edx
je 0x140011e85
lea r8, [rsp + 0x30]
mov rcx, rsi
call fcn.140008c1c
mov r9, qword [rsp + 0x2098]
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov r13d, eax
jmp 0x140011f64
mov byte [rsp + 0x30], 0
call sub.msvcrt.dll_memset
mov r11, qword [rsp + 0x2098]
mov qword [rsp + 0x28], r11
lea r9, [rsp + 0x30]
lea r8, [0x140014821]
mov rdx, rbx
mov rcx, rdi
mov dword [rsp + 0x20], 0x2000
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor r13d, r13d
lea rcx, [rsp + 0x30]
test eax, eax
setne r13b
call sub.msvcrt.dll_strlen
test eax, eax
je 0x140011f64
mov rbp, qword [rsp + 0x2090]
xor edi, edi
xor ebx, ebx
test eax, eax
mov r14d, dword [rbp]
movsxd r12, eax
jle 0x140011f64
mov al, byte [rsp + rbx + 0x30]
cmp al, 0x20
jne 0x140011f19
add rbx, 1
jmp 0x140011f58
cmp edi, r14d
mov byte [rsp + 0x2070], al
mov al, byte [rsp + rbx + 0x31]
mov byte [rsp + 0x2071], al
mov byte [rsp + 0x2072], 0
jae 0x140011f5d
xor edx, edx
lea rcx, [rsp + 0x2070]
lea r8d, [rdx + 0x10]
call sub.msvcrt.dll_strtoul
add edi, 1
mov byte [rsi], al
add rsi, 1
add rbx, 2
cmp rbx, r12
jl 0x140011f0b
test edi, edi
je 0x140011f64
mov dword [rbp], edi
lea r11, [rsp + 0x2040]
mov eax, r13d
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140011f84
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x120
test ecx, ecx
mov eax, r9d
mov rdi, r8
mov rsi, rdx
je 0x140011fef
mov rax, qword [rsp + 0x150]
lea rcx, [rsp + 0x21]
xor edx, edx
mov ebx, dword [rax]
mov r8d, 0xfe
mov byte [rsp + 0x20], 0
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x20]
mov r8d, 0xa
mov ecx, ebx
call sub.msvcrt.dll__itoa
mov r9, qword [rsp + 0x158]
mov rdx, rdi
mov r8, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x140012010
mov r9, qword [rsp + 0x158]
mov r8d, eax
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov rcx, qword [rsp + 0x150]
mov dword [rcx], eax
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x140012028
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x40
mov rbx, r8
lea rax, [r11 + 0x20]
mov dword [r11 + 0x20], r9d
mov qword [r11 - 0x20], rax
lea r9, [r11 - 0x18]
xor r8d, r8d
mov qword [r11 - 0x28], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001205e
mov ecx, dword [rsp + 0x68]
add ecx, 0xffffffff
mov byte [rcx + rbx], al
add rsp, 0x40
pop rbx
ret

Function at 0x1400120d4
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
sub rsp, 0x58
lea rax, [r11 - 0x18]
lea r9, [r11 + 0x20]
mov dword [rsp + 0x78], 0xff
mov qword [r11 - 0x20], rax
xor eax, eax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x38], rax
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
add rsp, 0x58
ret

Function at 0x140012290
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
sub rsp, 0x68
mov qword [r11 - 0x10], rdx
xor eax, eax
xor r9d, r9d
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x40], rax
xor r8d, r8d
xor edx, edx
mov qword [r11 - 0x48], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
add rsp, 0x68
ret