joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e4bc0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x278
mov rcx, qword [rsp + 0x280]
call fcn.14000f0c0
lea rdx, [rsp + 0x3c]
mov rcx, rax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1400e4c2a
lea rdx, [0x1402bec8c]
mov rcx, qword [rsp + 0x288]
call fcn.140017a80
lea rdx, [0x1402bed78]
mov rcx, qword [rsp + 0x290]
call fcn.140017a80
xor al, al
jmp 0x1400e4dbe
mov eax, dword [rsp + 0x20]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400e4dbc
mov dword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x280]
call fcn.14000f0c0
mov r9, qword [rsp + 0x28]
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov rcx, rax
call sub.VERSION.dll_GetFileVersionInfoW
nop
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x50]
lea rdx, [0x1402bed7c]
mov rcx, qword [rsp + 0x28]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400e4cae
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 8]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
mov dword [rsp + 0x48], eax
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x30]
lea rdx, [0x1402bed80]
mov rcx, qword [rsp + 0x28]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400e4db0
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax]
mov ecx, 2
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x30]
movzx ecx, word [rdx + rcx]
mov r9d, eax
mov r8d, ecx
lea rdx, str.StringFileInfo_04x_04xFileDescription
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_wsprintfW]
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax]
mov ecx, 2
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x30]
movzx ecx, word [rdx + rcx]
mov r9d, eax
mov r8d, ecx
lea rdx, str.StringFileInfo_04x_04xProductVersion
lea rcx, [rsp + 0x170]
call qword [sym.imp.USER32.dll_wsprintfW]
nop
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400e4d7d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x290]
call fcn.140017a80
nop
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0x28]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400e4db0
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x288]
call fcn.140017a80
nop
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
mov al, 1
add rsp, 0x278
ret
Function at 0x1400e4dd0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2d0
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, str.unknown
mov rcx, qword [rsp + 0x48]
call fcn.140014930
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.1400aaa00
nop
lea rdx, [0x1402bf038]
lea rcx, [rsp + 0x28]
call fcn.140013470
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x38], eax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x1400e4ec2
mov dword [rsp + 0x90], 0x238
lea rax, [rsp + 0x94]
mov rdi, rax
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1400e4eb6
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x98], eax
jne 0x1400e4ea0
lea rdx, [rsp + 0x28]
mov ecx, dword [rsp + 0xb0]
call fcn.1400e51e0
nop
jmp 0x1400e4eb6
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400e4e7f
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x28]
call fcn.14001fd30
movzx eax, al
test eax, eax
je 0x1400e4f2e
lea rax, [rsp + 0x68]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
call fcn.1400133e0
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x2e0]
call fcn.1400aa010
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x28]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x40]
call fcn.1400165c0
nop
mov rax, qword [rsp + 0x2e0]
jmp 0x1400e4f68
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x2e0]
call fcn.1400133e0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x28]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x40]
call fcn.1400165c0
mov rax, qword [rsp + 0x2e0]
add rsp, 0x2d0
pop rdi
ret
Function at 0x1400f94f0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x2a8
mov rax, qword [rsp + 0x2c0]
cmp qword [rax + 0x30], 0
jne 0x1400f9517
jmp 0x1400f9671
mov r8d, 0x100
lea rdx, [rsp + 0xa0]
mov rax, qword [rsp + 0x2c0]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rax, qword [rsp + 0x2c0]
add rax, 8
mov rcx, rax
call fcn.14000f0c0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x2c0]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x28]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call qword [rsp + 0x50]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400f9595
jmp 0x1400f9671
mov eax, 3
mov word [rsp + 0x68], ax
mov dword [rsp + 0x70], 0xc354
mov rax, qword [rsp + 0x2c0]
add rax, 8
mov rcx, rax
call fcn.14000f0c0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rax, qword [rax + 0xb8]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
lea rcx, [rsp + 0x68]
mov rdi, rax
mov rsi, rcx
mov ecx, SafeArrayPutElement
rep movsb byte [rdi], byte [rsi]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x80]
mov edx, 0x7533
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x58]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1400f9660
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x60], rax
mov r9, qword [rsp + 0x2c8]
mov r8, qword [rsp + 0x30]
mov edx, 2
mov rcx, qword [rsp + 0x28]
call qword [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
call qword [rax + reloc.WS2_32.dll_recv]
nop
add rsp, 0x2a8
pop rdi
pop rsi
ret
Function at 0x1400f9680
Capabilities:
Enumerate process modules

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x278
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x28]
call fcn.140013530
nop
mov r8d, dword [rsp + 0x288]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400f96f9
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x280]
call fcn.1400133e0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x28]
call fcn.1400165c0
mov rax, qword [rsp + 0x280]
jmp 0x1400f97a8
lea r9, [rsp + 0x38]
mov r8d, 8
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x1400f976e
mov r9d, 0x104
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_K32GetModuleBaseNameW
test eax, eax
je 0x1400f976e
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call fcn.140013470
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.1400179c0
nop
lea rcx, [rsp + 0x58]
call fcn.1400165c0
nop
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x280]
call fcn.1400133e0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x28]
call fcn.1400165c0
mov rax, qword [rsp + 0x280]
add rsp, 0x278
ret
Function at 0x1401017b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea rdx, [0x14031307c]
mov rcx, qword [rsp + 0x68]
call fcn.1402766a0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1401017e1
jmp 0x14010190c
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.140275354
mov rcx, qword [rsp + 0x28]
call fcn.140278534
cdqe
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x28]
call fcn.1402786b8
mov rcx, qword [rsp + 0x60]
call fcn.1401022d0
mov qword [rsp + 0x48], rax
mov r8d, 0xffffffff
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.14011ade0
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
cmp qword [rsp + 0x30], rax
jle 0x14010185e
mov edx, send
mov rcx, qword [rsp + 0x60]
call fcn.1401026d0
mov rcx, qword [rsp + 0x28]
call fcn.1402744a8
nop
jmp 0x14010190c
cmp qword [rsp + 0x30], 0
je 0x140101872
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
jmp 0x14010187b
mov qword [rsp + 0x40], 1
mov rcx, qword [rsp + 0x40]
call fcn.140119be0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1401018a9
mov rcx, qword [rsp + 0x60]
call fcn.140102690
mov rcx, qword [rsp + 0x28]
call fcn.1402744a8
nop
jmp 0x14010190c
mov r9, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov edx, 1
mov rcx, qword [rsp + 0x38]
call fcn.140274f4c
cmp qword [rsp + 0x30], rax
jne 0x1401018e7
lea r9, [fcn.140119c80]
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.140102500
nop
jmp 0x140101901
mov edx, 0xa
mov rcx, qword [rsp + 0x60]
call fcn.1401026d0
mov rcx, qword [rsp + 0x38]
call fcn.140119c80
nop
mov rcx, qword [rsp + 0x28]
call fcn.1402744a8
nop
add rsp, 0x58
ret

Function at 0x140101b30
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0x8000
mov r8d, 0x8000
xor edx, edx
lea rcx, [0x1403336e0]
call fcn.1402938e0
mov r8d, dword [rsp + 0x20]
lea rdx, [0x1403336e0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140101b81
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jbe 0x140101b87
xor eax, eax
jmp 0x140101b8e
lea rax, [0x1403336e0]
add rsp, 0x38
ret
Function at 0x140153390
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x1c], 1
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x58]
lea rdx, str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
mov rcx, qword [rsp + 0x50]
call fcn.140184b20
cmp dword [rsp + 0x60], 0
jne 0x140153411
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x58]
lea rdx, str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
mov rcx, qword [rsp + 0x50]
call fcn.140184b20
nop
add rsp, 0x48
ret
Function at 0x1401e32d0
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
add rax, 0x28
mov qword [rsp + 0x58], rax
xor edx, edx
mov rcx, qword [rsp + 0x58]
call fcn.1400e9e20
movzx eax, al
test eax, eax
je 0x1401e3302
jmp 0x1401e3413
mov rax, qword [rsp + 0x80]
mov byte [rax + 0xb8], 0
mov rax, qword [rsp + 0x80]
add rax, 0x28
mov rcx, rax
call fcn.14000f0c0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rax, qword [rax + 0x158]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x80]
add rax, 8
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call qword [rsp + 0x60]
mov rax, qword [rsp + 0x80]
add rax, 8
mov rcx, rax
call fcn.1401e54b0
mov rax, qword [rsp + 0x80]
add rax, 8
mov rcx, rax
call fcn.1401e48d0
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x80]
add rax, 8
mov rcx, rax
call fcn.1401e48f0
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 8]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x48]
mov r8d, dword [rsp + 0x4c]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 5
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_ShowWindow]
nop
add rsp, 0x78
ret
Function at 0x1401f0440
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0x70]
add rax, 0x58
mov rcx, rax
call fcn.14000f0c0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401f04c8
cmp dword [rsp + 0x30], 3
je 0x1401f04be
cmp dword [rsp + 0x30], 4
je 0x1401f04be
cmp dword [rsp + 0x30], 0xb
jne 0x1401f04c8
mov eax, dword [rsp + 0x34]
cmp rax, 4
je 0x1401f04cc
xor al, al
jmp 0x1401f0526
mov rax, qword [rsp + 0x70]
add rax, 0x58
mov rcx, rax
call fcn.14000f0c0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1401f0524
xor al, al
jmp 0x1401f0526
mov al, 1
add rsp, 0x68
ret
Function at 0x1401f39f0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov dword [rsp + 0x6c], 1
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov dword [rsp + rax + 0x9c], 2
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
lea rcx, [rsp + 0x6c]
mov qword [rsp + rax + 0xa0], rcx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov dword [rsp + rax + 0x98], 4
mov dword [rsp + 0xa8], 0
mov dword [rsp + 0xac], 1
lea rax, [rsp + 0x98]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xd0]
add rax, 0x30
lea rdx, [rsp + 0xa8]
mov rcx, rax
call qword [sym.imp.Secur32.dll_ApplyControlToken]
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov dword [rsp + rax + 0x8c], 2
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x7c], 1
lea rax, [rsp + 0x88]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x68], 0x811c
mov rax, qword [rsp + 0xd0]
add rax, 0x30
mov rcx, qword [rsp + 0xd0]
add rcx, 0x20
mov qword [rsp + 0x58], 0
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x50], rdx
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.Secur32.dll_InitializeSecurityContextW]
test eax, eax
jne 0x1401f3bd5
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rax, qword [rsp + rax + 0x90]
mov qword [rsp + 0x70], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x88]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1401f3bbe
xor r9d, r9d
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
jg 0x1401f3b97
jmp 0x1401f3bbe
movsxd rax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x60]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x60], eax
jmp 0x1401f3b64
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + rax + 0x90]
call sub.Secur32.dll_FreeContextBuffer
nop
mov edx, 2
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_shutdown]
mov rax, qword [rsp + 0xd0]
add rax, 0x30
mov rcx, rax
call qword [sym.imp.Secur32.dll_DeleteSecurityContext]
mov rax, qword [rsp + 0xd0]
add rax, 0x20
mov rcx, rax
call qword [sym.imp.Secur32.dll_FreeCredentialsHandle]
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
add rsp, 0xc8
ret
Function at 0x1401ff110
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
lea r9, [rsp + 0x28]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jge 0x1401ff174
xor r8d, r8d
lea rdx, [0x1402cea10]
mov rcx, qword [rsp + 0x60]
call fcn.1401f77e0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
jmp 0x1401ff1ba
xor r8d, r8d
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.1400b0490
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
call fcn.14008c750
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140016f70
mov rax, qword [rsp + 0x60]
add rsp, 0x58
ret
Function at 0x14020fd40
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x1078
call fcn.140261360
sub rsp, rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14020fdb3
lea rdx, [0x1402cf98a]
mov rcx, qword [rsp + 0x1080]
call fcn.1400140c0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x1080]
jmp 0x14020feb8
mov rcx, qword [rsp + 0x1088]
call fcn.14000f0c0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14020fe29
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [0x1402cf98b]
mov rcx, qword [rsp + 0x1080]
call fcn.1400140c0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x1080]
jmp 0x14020feb8
lea rcx, [rsp + 0x48]
call fcn.140014770
nop
lea r9, [rsp + 0x34]
mov r8d, 0x1000
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14020fe73
cmp dword [rsp + 0x34], 0
je 0x14020fe73
mov eax, dword [rsp + 0x34]
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140028f70
nop
jmp 0x14020fe34
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x1080]
call fcn.140013f90
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.140016cb0
mov rax, qword [rsp + 0x1080]
add rsp, 0x1078
ret

Function at 0x140216fe0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140216ffc
xor al, al
jmp 0x140217097
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rcx, qword [rsp + 0x50]
call fcn.1400312c0
lea rax, [rax + rax + 2]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0
cmp qword [rsp + 0x28], 0
je 0x14021708c
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14021708c
mov rcx, qword [rsp + 0x50]
call fcn.1400299c0
mov r8, qword [rsp + 0x30]
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call fcn.140293240
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, qword [rsp + 0x28]
mov ecx, recv
call qword [sym.imp.USER32.dll_SetClipboardData]
mov byte [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_CloseClipboard]
movzx eax, byte [rsp + 0x20]
add rsp, 0x48
ret
Function at 0x140224350
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov rcx, qword [rsp + 0x110]
call fcn.140222cf0
nop
mov qword [rsp + 0x60], 0xffffffffffffffff
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x5c], 0
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x110]
call fcn.140226d70
nop
mov edx, 1
mov rax, qword [rsp + 0x110]
mov rcx, qword [rax + 0x48]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rax, qword [rsp + 0x110]
mov rcx, qword [rax + 0x48]
call qword [sym.imp.USER32.dll_UpdateWindow]
lea rcx, [rsp + 0x38]
call fcn.14021f590
nop
lea rcx, [rsp + 0x30]
call fcn.140013980
nop
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x30]
call fcn.1400c7310
mov rdx, qword [rax]
lea rcx, [rsp + 0x38]
call fcn.14021eee0
test eax, eax
jne 0x140224439
lea rcx, [rsp + 0x30]
call fcn.14000f0c0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x68], rax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x68]
nop
lea r8, [0x140226220]
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0x90]
call fcn.14021f2c0
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.14000f0c0
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x38]
call fcn.14000f0c0
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x110]
add rax, 0x28
mov rcx, rax
call fcn.1400299c0
mov qword [rsp + 0x88], rax
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
xor ecx, ecx
call fcn.140001ff2
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x90]
call fcn.1400381c0
nop
cmp dword [rsp + 0x20], 0
jge 0x1402245c8
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x98], rax
lea rdx, str.reasonfailed_to_create_environmenterror_code_lu
mov rcx, qword [rsp + 0x98]
call fcn.140014930
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x48]
call fcn.1400aaa00
nop
lea rcx, [rsp + 0x28]
call fcn.140013530
nop
lea rax, [rsp + 0xd8]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xa8]
call fcn.1400133e0
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0xc8]
call fcn.1400aa010
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.14000f0c0
mov r8d, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14001d4a0
nop
lea rcx, [rsp + 0xc8]
call fcn.1400165c0
nop
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x110]
call fcn.140223b00
nop
lea rcx, [rsp + 0x28]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x48]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x30]
call fcn.1400381c0
nop
lea rcx, [rsp + 0x38]
call fcn.1400381c0
nop
add rsp, 0x108
ret