joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001dbf0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x140163470]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov edx, 6
mov rbx, rcx
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov rdx, qword [0x140175aa8]
xor edi, edi
mov ecx, edi
cmp eax, 1
sete cl
xor r8d, r8d
shl ecx, 0x19
xor ecx, dword [rdx + 0x24]
and ecx, 0x2000000
xor dword [rdx + 0x24], ecx
mov rcx, qword [0x140175aa8]
lea rdx, [rbp + 0x150]
call fcn.14000da58
test al, al
jne 0x14001dc6a
mov word [rbp + 0x150], di
lea r8, [rsp + 0x40]
mov r9d, 0x104
mov edx, 0x32
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItemTextW]
lea rax, [rbp + 0x150]
lea r8, [rsp + 0x40]
sub r8, rax
movzx ecx, word [rax]
movzx edx, word [rax + r8]
sub ecx, edx
jne 0x14001dca6
add rax, 2
test edx, edx
jne 0x14001dc92
test ecx, ecx
je 0x14001dcd5
lea rcx, [rsp + 0x30]
xor edx, edx
call fcn.14000d8c0
test eax, eax
je 0x14001dccb
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x40]
xor edx, edx
call fcn.14000dbb0
mov rax, qword [0x140175aa8]
mov byte [rax], 1
mov rcx, qword [0x140175aa8]
lea rdx, [rbp + 0x150]
mov word [rbp + 0x150], di
call fcn.14000dc3c
lea r8, [rsp + 0x40]
mov r9d, 0x104
mov edx, 0x33
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItemTextW]
lea rax, [rbp + 0x150]
lea r8, [rsp + 0x40]
sub r8, rax
movzx ecx, word [rax]
movzx edx, word [rax + r8]
sub ecx, edx
jne 0x14001dd2b
add rax, 2
test edx, edx
jne 0x14001dd17
test ecx, ecx
je 0x14001dda4
lea rcx, [rsp + 0x30]
xor edx, edx
call fcn.14000d8c0
test eax, eax
je 0x14001dd99
mov edx, 0x53f05ce4
mov ecx, 0x822b7a56
mov r8d, 0x3de8e361
call fcn.1400014e0
lea rcx, [rsp + 0x40]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x30]
lea eax, [rax*2 + 2]
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x40]
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [0x140175aa8]
mov byte [rax + 1], 1
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.1400e8bc0
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140022128
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rax, rdx
mov rsi, rcx
mov qword [rcx], rdi
test rdx, rdx
je 0x140022191
mov rdx, r8
mov rcx, rax
call fcn.1400eab4c
mov qword [rsi], rax
test rax, rax
je 0x140022191
mov rcx, rax
call fcn.1400eca9c
cmp eax, 0xa00000
jle 0x140022191
mov rbx, qword [rsi]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400ec714
mov rcx, rbx
call fcn.1400ec3e8
mov ecx, eax
call fcn.1400ed028
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp qword [rsi], rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret

Function at 0x14002245c
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0xe0
mov rbx, rdx
xor edx, edx
mov sil, r8b
mov rdi, rcx
lea rcx, [rax - 0x70]
lea r8d, [rdx + 0x60]
call fcn.1400ebf40
lea rax, [rsp + 0x50]
mov ebp, 1
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x70], 0x68
mov dword [rsp + 0xac], ebp
mov word [rsp + 0xb0], bp
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
cmp sil, bpl
jne 0x1400224f5
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0xe0]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140022528
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x140163470]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x28]
xor edx, edx
mov r8d, 0x10c
mov qword [rsp + 0x20], 0x114
xor ebx, ebx
call fcn.1400ebf40
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x24], 6
setae bl
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400e8bc0
add rsp, 0x150
pop rbx
ret

Function at 0x140022590
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
mov r8, rcx
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
add rsp, 0x38
ret
Function at 0x1400225b8
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
or dword [rbp + 0x7f], 0xffffffff
mov rdi, rdx
xor edx, edx
mov rsi, r8
mov rbx, rcx
lea r8d, [rdx + 0x6c]
lea rcx, [rbp - 0x25]
mov r14d, r9d
call fcn.1400ebf40
mov eax, r14d
mov dword [rbp - 0x29], 0x70
neg eax
sbb r9d, r9d
and r9d, 0x40
mov dword [rbp - 0x25], r9d
call fcn.140022528
lea rdx, str.runas
test eax, eax
lea rcx, str.open
mov qword [rbp - 0x11], rbx
cmovne rcx, rdx
mov qword [rbp - 9], rdi
mov qword [rbp - 1], rsi
mov qword [rbp - 0x19], rcx
lea rcx, [rbp - 0x29]
mov dword [rbp + 7], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test r14d, r14d
je 0x140022677
test eax, eax
je 0x140022677
cmp qword [rbp + 0xf], 0x20
jle 0x140022677
mov rcx, qword [rbp + 0x3f]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x3f]
lea rdx, [rbp + 0x7f]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rbp + 0x3f]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x7f]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140022734
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x1b8]
sub rsp, 0x2b8
mov rax, qword [0x140163470]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rsi, rcx
or rax, 0xffffffffffffffff
mov qword [rsp + 0x38], r9
xor ecx, ecx
mov byte [rsp + 0x30], r8b
mov qword [rsp + 0x48], rdx
mov dil, 1
inc rax
cmp word [rsi + rax*2], cx
jne 0x140022774
lea rbx, [rsi + rax*2]
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov dword [rbx], 0x2a
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
je 0x1400228d9
xor r9d, r9d
test byte [rsp + 0x50], 0x10
je 0x140022848
mov r8b, byte [rsp + 0x30]
test r8b, r8b
je 0x1400228ae
cmp word [rsp + 0x7c], 0x2e
jne 0x1400227e7
movzx eax, word [rsp + 0x7e]
test ax, ax
je 0x1400228b3
cmp ax, 0x2e
jne 0x1400227e7
cmp word [rbp - 0x80], r9w
je 0x1400228b3
lea rax, [rsp + 0x7c]
mov rdx, rbx
lea rcx, [rsp + 0x7c]
sub rdx, rax
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400227f7
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], r9w
jne 0x14002280b
mov r9, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
mov dword [rbx + rax*2], 0x5c
mov rax, qword [rbp + 0x208]
mov rcx, rsi
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x200]
mov qword [rsp + 0x20], rax
call fcn.140022734
jmp 0x1400228a4
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x140022861
lea rcx, [rsp + 0x7c]
mov rdx, rax
call fcn.140022948
jmp 0x140022866
mov eax, 1
test eax, eax
je 0x1400228ae
lea rax, [rsp + 0x7c]
mov rdx, rbx
lea rcx, [rsp + 0x7c]
sub rdx, rax
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14002287a
mov r9, qword [rbp + 0x208]
mov r8, qword [rbp + 0x200]
lea rcx, [rsp + 0x50]
mov rdx, rsi
call qword [rsp + 0x38]
xor r9d, r9d
mov dil, al
mov word [rbx], r9w
test dil, dil
je 0x1400228ce
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
xor r9d, r9d
test eax, eax
jne 0x1400227a7
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, dil
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400e8bc0
add rsp, 0x2b8
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x140022928
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002293e
shr eax, 4
and al, 1
jmp 0x140022940
xor al, al
add rsp, 0x28
ret

Function at 0x140022cc4
Capabilities:
Get file size

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
and dword [rsp + 0x30], 0
xor eax, eax
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x34], eax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x140022d5c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
cmp qword [rcx], 0xffffffffffffffff
mov rbx, r8
mov rsi, rdx
mov r14, rcx
jne 0x140022d84
xor eax, eax
jmp 0x140022dc6
xor edi, edi
test ebx, ebx
je 0x140022dc4
and dword [rsp + 0x40], 0
mov rcx, qword [r14]
mov r8d, 0x400
cmp ebx, r8d
lea r9, [rsp + 0x40]
mov rdx, rsi
cmovb r8d, ebx
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140022dc4
mov ecx, dword [rsp + 0x40]
add rsi, rcx
add edi, ecx
sub ebx, ecx
jne 0x140022d8a
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140022e80
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp qword [rcx], 0xffffffffffffffff
jne 0x140022e8e
xor eax, eax
jmp 0x140022eab
mov rcx, qword [rcx]
and dword [rsp + 0x40], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x40]
add rsp, 0x38
ret
Function at 0x1400232f4
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4d8]
sub rsp, 0x5b0
mov rax, qword [0x140163470]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0x290]
mov rbx, rdx
mov qword [rsp + 0x30], rdx
mov esi, 1
call fcn.1400235d8
mov r8, qword [0x140175b28]
lea rdx, str._s___.ini
mov rcx, rax
mov rdi, rax
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, str.English
xor r8d, r8d
mov edx, 0x143
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9d, 0x554e45
mov edx, 0x151
mov r8, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14e
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rsp + 0x44]
xor r14d, r14d
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0x40], r14d
call fcn.1400ebf40
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x290]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x140023519
or r13d, 0xffffffff
test byte [rsp + 0x40], 0x10
jne 0x1400234fa
lea rcx, [rsp + 0x6c]
mov edx, 0x5f
call fcn.1400ea930
test rax, rax
je 0x1400234fa
lea rdx, [rsp + 0x6c]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rax, qword [0x140175b28]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x14002341f
cmp word [rdi + rbx*2], 0x45
jne 0x140023444
cmp word [rdi + rbx*2 + 2], 0x4e
jne 0x140023444
cmp word [rdi + rbx*2 + 4], 0x55
je 0x1400234fa
lea rax, [rbp + 0x290]
lea r9, [rbp + 0x190]
lea r8, [0x140129de8]
mov qword [rsp + 0x28], rax
lea rdx, str.Name
lea rcx, str.INFO
mov dword [rsp + 0x20], pe_nt_image_headers64
call fcn.140023b50
mov rcx, qword [rsp + 0x30]
lea r9, [rbp + 0x190]
xor r8d, r8d
mov edx, 0x143
call qword [sym.imp.USER32.dll_SendMessageW]
movzx r14d, byte [rdi + rbx*2 + 2]
mov edx, 0x151
mov r15, rax
movzx eax, byte [rdi + rbx*2 + 4]
shl r14d, 8
shl eax, 0x10
mov r8, r15
or r14, rax
movzx eax, byte [rdi + rbx*2]
mov rbx, qword [rsp + 0x30]
or r14, rax
mov rcx, rbx
mov r9, r14
call qword [sym.imp.USER32.dll_SendMessageW]
cmp r13d, 0xffffffff
jne 0x1400234f5
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 8]
cmp r14, rax
jne 0x1400234f5
mov r8d, r15d
xor r9d, r9d
mov edx, 0x14e
mov rcx, rbx
mov r13d, r15d
call qword [sym.imp.USER32.dll_SendMessageW]
inc esi
xor r14d, r14d
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400233e3
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.1400e8bc0
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140023b50
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x140163470]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov rcx, qword [rbp + 0x2d8]
xor ebx, ebx
mov r12, r9
mov r15, rdx
mov qword [rsp + 0x30], rbx
lea esi, [rbx + 1]
xor r9d, r9d
mov edx, 0x80000000
mov r8d, esi
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
or rdi, 0xffffffffffffffff
mov r14, rax
cmp rax, rdi
je 0x140023cfb
lea rcx, [rsp + 0x51]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x50], bl
call fcn.1400ebf40
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov r8d, 0x100
mov rcx, r14
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140023c0c
cmp dword [rsp + 0x40], 0x100
je 0x140023c0e
mov esi, ebx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x140023cfb
lea rcx, [rbp + 0x62]
xor edx, edx
mov r8d, 0x206
lea rsi, [rsp + 0x50]
mov word [rbp + 0x60], bx
call fcn.1400ebf40
cmp byte [rsp + 0x50], 0xff
mov al, byte [rsp + 0x51]
jne 0x140023c48
cmp al, 0xfe
je 0x140023c86
cmp byte [rsp + 0x50], 0xfe
jne 0x140023c5a
cmp al, 0xff
jne 0x140023c5a
xor eax, eax
jmp 0x140023cfd
mov r9d, dword [rsp + 0x40]
lea r8, [rsp + 0x50]
xor edx, edx
lea eax, [r9 + 1]
mov ecx, 0xfde9
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rsi, [rbp + 0x60]
inc rdi
cmp word [r15 + rdi*2], bx
jne 0x140023c86
mov rdx, r15
mov rcx, rsi
call fcn.1400eaea8
mov rcx, rax
test rax, rax
je 0x140023cfb
movsxd rax, edi
lea rdi, [rax + rax]
add rcx, rdi
cmp word [rcx], 0x3d
je 0x140023cc9
add rcx, 2
mov rdx, r15
call fcn.1400eaea8
mov rcx, rax
test rax, rax
jne 0x140023caa
jmp 0x140023cfb
add rcx, 2
mov rdx, rcx
jmp 0x140023ce1
cmp word [rcx], 0xa
je 0x140023ce7
cmp word [rcx], bx
je 0x140023ce7
add rcx, 2
cmp word [rcx], 0xd
jne 0x140023cd2
mov r8d, dword [rbp + 0x2d0]
mov word [rcx], bx
mov rcx, r12
call fcn.1400247a8
mov ebx, eax
mov eax, ebx
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.1400e8bc0
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140023d28
Capabilities:
Enumerate files on windows
Identify system language via api

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3f8]
sub rsp, 0x4d0
mov rax, qword [0x140163470]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
lea rcx, [rbp + 0x198]
xor r13d, r13d
mov ebx, r13d
call fcn.140004c24
cmp word [rbp + 0x198], r13w
je 0x140023d84
lea eax, [r13 + 1]
jmp 0x140023f88
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx esi, ax
mov eax, 0x409
cmp si, ax
jne 0x140023d9e
xor eax, eax
jmp 0x140023f88
mov eax, 0x3ff
movzx r14d, si
lea rcx, [rbp + 0x1b0]
and r14w, ax
xor eax, eax
mov word [rbp + 0x180], r13w
mov dword [rbp + 0x182], eax
mov word [rbp + 0x186], ax
call fcn.1400235d8
mov r8, qword [0x140175b28]
lea rdx, str._s___.ini
mov rcx, rax
mov r12, rax
call qword [sym.imp.USER32.dll_wsprintfW]
mov rdx, qword [0x140175b28]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rdx + rcx*2], r13w
jne 0x140023df3
lea rdi, [r12 + rcx*2]
lea rcx, [rsp + 0x34]
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0x30], r13d
call fcn.1400ebf40
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140023f64
test byte [rsp + 0x30], 0x10
jne 0x140023f2e
xor eax, eax
lea rdx, [rsp + 0x5c]
mov rcx, r12
mov word [rbp + 0x188], r13w
mov qword [rbp + 0x18a], rax
mov dword [rbp + 0x192], eax
mov word [rbp + 0x196], ax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rax, [rbp + 0x1b0]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x188]
lea r8, [0x140129de8]
lea rdx, [0x140107edc]
lea rcx, str.INFO
mov dword [rsp + 0x20], 8
call fcn.140023b50
test eax, eax
je 0x140023f2e
cmp word [rbp + 0x188], 0x30
jne 0x140023ed9
movzx eax, word [rbp + 0x18a]
mov ecx, 0xffdf
sub ax, 0x58
test cx, ax
jne 0x140023ed9
mov r8d, InitCommonControls
lea rcx, [rbp + 0x18c]
jmp 0x140023ee6
mov r8d, 0xa
lea rcx, [rbp + 0x188]
xor edx, edx
call fcn.1400ed4d4
mov ecx, eax
movzx eax, si
cmp ecx, eax
je 0x140023f45
cmp word [rbp + 0x180], r13w
jne 0x140023f2e
mov eax, 0x3ff
and cx, ax
cmp cx, r14w
jne 0x140023f2e
movzx eax, word [rdi]
mov word [rbp + 0x180], ax
movzx eax, word [rdi + 2]
mov word [rbp + 0x182], ax
movzx eax, word [rdi + 4]
mov word [rbp + 0x184], ax
lea rdx, [rsp + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140023f57
jmp 0x140023e37
mov rcx, rdi
mov word [rdi + 6], r13w
call fcn.140004d20
mov ebx, 1
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
jne 0x140023f86
cmp word [rbp + 0x180], r13w
je 0x140023f86
cmp r14w, 9
je 0x140023f86
lea rcx, [rbp + 0x180]
call fcn.140004d20
mov ebx, 1
mov eax, ebx
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1400e8bc0
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140025788
Capabilities:
Create thread
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [rcx + 0xb8]
mov rdi, rcx
mov edx, 8
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 7
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, 6
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, 9
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, 0x34
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
lea rax, [rsp + 0x40]
lea r8, [0x140025a58]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov r9, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140025984
Capabilities:
Check os version
Create process on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x140163470]
xor rax, rsp
mov qword [rbp + 0xb0], rax
and dword [rbp - 0x6c], 0
mov rbx, rcx
mov rsi, r8
mov rdi, rdx
lea rcx, [rbp - 0x68]
mov r8d, 0x10c
xor edx, edx
mov dword [rbp - 0x70], 0x114
call fcn.1400ebf40
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor edx, edx
lea rcx, [rsp + 0x24]
lea r8d, [rdx + 0x6c]
call fcn.1400ebf40
and dword [rsp + 0x24], 0
cmp dword [rbp - 0x6c], 6
lea rcx, str.runas
lea rax, str.open
mov dword [rsp + 0x20], 0x70
cmovae rax, rcx
invalid
Function at 0x140025b60
Capabilities:
Check http status code
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov r14, qword [rbp + 0x40]
and dword [rbp - 0x10], 0
and dword [rsp + 0x20], 0
and dword [r14], 0
mov rax, r9
mov r15d, r8d
mov rsi, rdx
mov rbx, rcx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
test rax, rax
je 0x140025c4a
and qword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
mov dword [rsp + 0x20], 0x4080300
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
je 0x140025c41
and dword [rbp + 0x40], 0
lea rax, [rbp + 0x40]
lea r9, [rbp - 0xc]
lea r8, [rbp - 0x10]
mov edx, 0x20000013
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov dword [rbp - 0xc], 4
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x140025c38
cmp dword [rbp - 0x10], 0xc8
jne 0x140025c38
and dword [rbp + 0x40], 0
lea r9, [rbp + 0x40]
mov r8d, r15d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [rbp + 0x40]
mov byte [rax + rsi], 0
mov eax, dword [rbp + 0x40]
mov dword [r14], eax
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [rbp - 0x10]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret
Function at 0x1400265d4
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
mov r15d, r8d
mov r13, rdx
lea rcx, [0x140108150]
xor r12d, r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ebx, 0x4200000
mov dword [rsp + 0x20], r12d
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
test rax, rax
jne 0x140026630
xor eax, eax
jmp 0x140026773
movzx r8d, word [rdi + 0x50]
mov rdx, qword [rdi + 0x40]
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
xor r9d, r9d
mov rcx, rax
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r12
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r14, rax
test rax, rax
je 0x140026629
cmp dword [rdi + 0x50], 0x1bb
mov r8, qword [rdi + 0x48]
mov qword [rsp + 0x38], r12
mov eax, 0x4a00000
lea rdx, str.POST
mov rcx, r14
cmove ebx, eax
lea rax, section..data
xor r9d, r9d
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rbx, rax
test rax, rax
je 0x14002675c
mov r9d, 4
lea r8, [rbp + 0x48]
mov rcx, rax
lea edx, [r9 + 2]
mov dword [rbp + 0x48], 0x493e0
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov r9d, r15d
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
call fcn.140026b0c
xor ecx, ecx
lea rdx, [rbp - 0x40]
mov r12d, eax
lea rax, str.Content_type:_multipart_form_data__boundaryAaBbCc
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x20], rcx
mov dword [rbp - 0x18], ecx
mov qword [rbp - 0x10], rcx
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x40], 0x38
mov qword [rbp - 0x28], 0x32
mov dword [rbp - 0x14], r12d
call qword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
je 0x140026753
mov r9d, r15d
mov r8, r13
mov rdx, rdi
mov rcx, rbx
call fcn.140026b0c
cmp eax, r12d
jne 0x140026753
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpEndRequestA]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 1
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret