joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140245d10
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
cmp byte [rbx + 9], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x38], eax
je 0x140245d8f
movabs rax, 0x346dc5d63886594b
lea rcx, str.Target_process_still_running_after_the__s_timeout_period_elapsed._n
imul qword [rsp + 0x38]
mov r8, rdx
lea rdx, str.response
sar r8, 0xb
mov rax, r8
shr rax, 0x3f
add r8, rax
lea rax, str.unilateral
cmp r8, qword [rbx + 0x30]
cmovg rdx, rax
call fcn.1400c4880
mov r8d, dword [rbx + 0x28]
lea rcx, str.Response_timeout___d_seconds__unilateral_timeout___d_seconds._n
mov edx, dword [rbx + 0x18]
call fcn.1400c4880
mov rcx, qword [rbx + 0x6f8]
mov edx, 0xffff
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov byte [rbx + 0x48], 0
add rsp, 0x20
pop rbx
ret

Function at 0x140245e20
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
mov rcx, rdi
lea rdx, str.keepalive
call sub.VCRUNTIME140.dll_strstr
movabs rbp, 0x346dc5d63886594b
movabs rsi, 0x7fffffffffffffff
test rax, rax
je 0x140245ea0
cmp qword [rbx + 0x30], rsi
je 0x140245ea0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [rsp + 0x44]
imul rcx, qword [rbx + 0x28], 0x3e8
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x50], eax
mov rax, rbp
imul qword [rsp + 0x50]
sar rdx, 0xb
mov rax, rdx
add rdx, rcx
shr rax, 0x3f
add rax, rdx
mov qword [rbx + 0x30], rax
cmp qword [rbx + 0x20], rsi
je 0x140245ee6
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [rsp + 0x44]
mov rax, rbp
mov dword [rsp + 0x54], ecx
mov ecx, dword [rsp + 0x40]
mov dword [rsp + 0x50], ecx
imul qword [rsp + 0x50]
imul rcx, qword [rbx + 0x18], 0x3e8
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rcx
add rax, rdx
mov qword [rbx + 0x20], rax
cmp byte [rbx + 9], 0
je 0x140245f22
mov rdx, rdi
lea rcx, [0x1403778e0]
call fcn.1400c4880
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140245f0e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x140258980
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
push r14
push r15
sub rsp, 0x30
mov rbx, rcx
mov dword [rsp + 0x20], 1
mov rdi, r9
mov r15, rdx
add rcx, 0x20
lea rdx, [rsp + 0x50]
mov r9d, dword [rbx + 0x18]
mov r8d, dword [rbx + 0x10]
call fcn.14026e220
cmp byte [rsp + 0x50], 0
je 0x140258ac2
mov r10d, dword [rsp + 0x54]
xor edx, edx
mov rax, rdi
mov qword [rsp + 0x58], rbp
div r10
mov rcx, rbx
mov ebp, r10d
mov r14d, edx
mov edx, r10d
call fcn.140239720
xor r10d, r10d
mov rdi, rax
cmp qword [rbx + 0x10], r10
jbe 0x140258a8f
mov qword [rsp + 0x60], rsi
nop dword [rax + rax]
mov rcx, qword [rbx + 8]
mov r9, qword [rcx + r10*8]
test r9, r9
je 0x140258a7d
mov rsi, rbp
mov rcx, qword [r9 + 8]
movsxd r8, dword [r9]
movsxd r11, dword [r9 + 4]
mov eax, 0x811c9dc5
movzx edx, byte [rcx]
inc rcx
test edx, edx
je 0x140258a44
nop word [rax + rax]
imul eax, eax, 0x1000193
lea rcx, [rcx + 1]
xor eax, edx
movzx edx, byte [rcx - 1]
test edx, edx
jne 0x140258a30
mov rcx, qword [rbx + 8]
add rax, rax
xor rax, r11
xor edx, edx
add rax, rax
xor rax, r8
div rsi
mov rax, qword [r9 + 0x18]
mov qword [rcx + r10*8], rax
mov r8d, edx
mov rax, qword [rdi + r8*8]
mov qword [r9 + 0x18], rax
mov qword [rdi + r8*8], r9
mov rax, qword [rbx + 8]
mov r9, qword [rax + r10*8]
test r9, r9
jne 0x140258a10
inc r10
cmp r10, qword [rbx + 0x10]
jb 0x140258a00
mov rsi, qword [rsp + 0x60]
mov r8, qword [rbx + 0x10]
cmp r8, 1
jbe 0x140258ab3
mov rax, qword [rbx + 0x30]
lea r8, [r8*8 + 8]
mov rdx, qword [rbx + 8]
mov rcx, rax
mov r9, qword [rax]
call qword [r9 + 0x18]
mov qword [rbx + 0x10], rbp
mov rbp, qword [rsp + 0x58]
mov qword [rbx + 8], rdi
jmp 0x140258ac7
mov r14, qword [rsp + 0x70]
mov rax, qword [rbx + 8]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rax + r14*8]
mov qword [rdx + 0x18], rcx
mov rax, qword [rbx + 8]
mov qword [rax + r14*8], rdx
mov rax, qword [rbx + 8]
inc qword [rbx + 0x18]
mov rbx, qword [rsp + 0x68]
mov qword [r15], rdx
lea rcx, [rax + r14*8]
mov byte [r15 + 0x10], 1
mov qword [r15 + 8], rcx
mov rax, r15
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x14025c8e0
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14025c912
cmp word [rcx], 0
je 0x14025c912
call fcn.14025d850
test al, al
je 0x14025c905
mov al, 1
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14025c2a0
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14025cf20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12, qword [rcx + 0x68]
mov r15, rdx
mov rbp, qword [rcx + 0x88]
mov rdx, rcx
mov r14, qword [rcx + 0x78]
mov rbx, rcx
mov rdi, qword [rcx + 0x80]
mov r13, r8
mov rsi, qword [rcx + 0x60]
mov rcx, r12
call fcn.14025aee0
mov qword [rbx + 0x70], rax
mov r9, rdi
shr r9, 0x20
mov r8d, ebp
mov rdx, r14
mov rcx, rsi
mov dword [rax + 0x1c], r9d
lea r9, [rsp + 0x70]
mov dword [rax + 0x18], edi
add rax, 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14025cfc2
mov rax, qword [r12]
mov rcx, r12
call qword [rax + gethostname]
cmp eax, 1
jne 0x14025cfad
xor al, al
jmp 0x14025cfd9
mov rcx, qword [rsp + 0x88]
mov eax, dword [rsp + 0x70]
mov qword [rcx], rax
mov byte [r15], 0
jmp 0x14025cfd7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x14025cfa9
mov dword [r13], eax
mov byte [r15], 1
mov al, 1
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x14025d080
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12, qword [rcx + 0x68]
mov r15, rdx
mov rbp, qword [rcx + 0x88]
mov rdx, rcx
mov r14, qword [rcx + 0x78]
mov rbx, rcx
mov rdi, qword [rcx + 0x80]
mov r13, r8
mov rsi, qword [rcx + 0x60]
mov rcx, r12
call fcn.14025aee0
mov qword [rbx + 0x70], rax
mov r9, rdi
shr r9, 0x20
mov r8d, ebp
mov rdx, r14
mov rcx, rsi
mov dword [rax + 0x1c], r9d
lea r9, [rsp + 0x70]
mov dword [rax + 0x18], edi
add rax, 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14025d122
mov rax, qword [r12]
mov rcx, r12
call qword [rax + gethostname]
cmp eax, 1
jne 0x14025d10d
xor al, al
jmp 0x14025d139
mov rcx, qword [rsp + 0x88]
mov eax, dword [rsp + 0x70]
mov qword [rcx], rax
mov byte [r15], 0
jmp 0x14025d137
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x14025d109
mov dword [r13], eax
mov byte [r15], 1
mov al, 1
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14025ebf0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x18], 0xffffffffffffffff
mov rbx, rcx
je 0x14025ec5a
cmp qword [rcx + 0x248], 0xffffffffffffffff
je 0x14025ec17
mov rax, qword [rcx + 0x248]
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rcx + 0x18]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14025ec4e
test byte [rbx + 0x230], 2
mov rax, qword [rsp + 0x30]
jne 0x14025ec61
test byte [rbx + 0x238], 6
jne 0x14025ec61
mov qword [rbx + 0x248], rax
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x240], eax
mov rax, 0xffffffffffffffff
add rsp, 0x20
pop rbx
ret

Function at 0x14025ee00
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x140
mov rax, qword [0x1404f4fb8]
xor rax, rsp
mov qword [rsp + 0x130], rax
xor r12d, r12d
movsxd rdi, ecx
mov esi, r9d
movzx r14d, r8b
mov word [rdx], r12w
mov rbx, rdx
lea r15, [0x140000000]
cmp edi, 0x13
ja case.0x14025ee4f.0
mov ecx, dword [r15 + rdi*4 + 0x25efdc]
add rcx, r15
jmp rcx
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
setne al
test al, al
je 0x14025efb3
mov rdx, rsi
mov rcx, rbx
call fcn.14025c950
jmp 0x14025ef98
mov edx, esi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
jmp 0x14025ee59
xor r8d, r8d
lea rcx, [rsp + 0x30]
mov edx, 0x100
call fcn.140269520
cmp rax, rsi
jae 0x14025efb3
mov r8, rsi
lea rdx, [rsp + 0x30]
mov r9, 0xffffffffffffffff
mov rcx, rbx
call fcn.14026c660
jmp 0x14025ef98
mov edi, 0xa
jmp 0x14025eec9
test edi, edi
js 0x14025efb3
movsxd rax, edi
cmp rax, 0x12
jae 0x14025efb3
cmp edi, 3
movzx eax, r14b
mov ebp, r12d
sete bpl
neg al
movsxd rax, edi
sbb esi, esi
and esi, 0x8000
mov edx, dword [r15 + rax*8 + 0x438dc0]
test edx, edx
je 0x14025ef16
or edx, esi
mov qword [rsp + 0x20], rbx
mov r9d, ebp
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x14025ef42
movsxd rax, edi
mov edx, dword [r15 + rax*8 + 0x438dc4]
test edx, edx
je 0x14025efb3
or edx, esi
mov qword [rsp + 0x20], rbx
mov r9d, ebp
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14025efb3
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp word [rbx + rcx*2], r12w
jne 0x14025ef50
test rcx, rcx
je 0x14025ef98
movzx eax, word [rbx + rcx*2 - 2]
add eax, 0xffffffd1
cmp eax, 0x2d
ja 0x14025ef81
movabs rdx, 0x200000000801
bt rdx, rax
mov eax, 1
jb 0x14025ef84
mov eax, r12d
test al, al
jne 0x14025ef98
cmp rcx, 0x103
jae 0x14025efb3
mov dword [rbx + rcx*2], 0x5c
test r14b, r14b
je 0x14025efa9
mov rcx, rbx
call fcn.14025d850
test al, al
je 0x14025efb3
mov rcx, rbx
call fcn.14026cd10
jmp 0x14025efb8
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140233ef0
add rsp, 0x140
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14025f060
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x1404f4fb8]
xor rax, rsp
mov qword [rsp + 0x230], rax
cmp word [0x14051e000], 0
mov rbx, rcx
mov edi, edx
je 0x14025f0a6
mov r8d, edi
lea rdx, [0x14051e000]
mov r9, 0xffffffffffffffff
call fcn.14026c260
jmp 0x14025f0ee
lea rdx, [rsp + 0x20]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14025f0e9
mov r8d, 0x100
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov r8, rdi
lea rdx, [rsp + 0x20]
mov r9, 0xffffffffffffffff
mov rcx, rbx
call fcn.14026c260
jmp 0x14025f0ee
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140233ef0
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
ret
Function at 0x140260920
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x18], 0xffffffffffffffff
mov rbx, rcx
je 0x140260962
mov rcx, qword [rcx + 0x18]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140260956
mov eax, dword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x240], eax
mov rax, 0xffffffffffffffff
add rsp, 0x30
pop rbx
ret

Function at 0x1402611b0
Capabilities:
Delete directory

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1404f4fb8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
test dl, dl
je 0x1402611fe
mov rdx, rcx
mov r8d, 0x104
lea rcx, [rsp + 0x20]
call fcn.14026cc20
lea rcx, [rsp + 0x20]
call fcn.14026cd10
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140261470
jmp 0x14026124b
call fcn.14026cd10
movzx ecx, word [rbx + rax*2 - 2]
add ecx, 0xffffffd1
cmp ecx, 0x2d
ja 0x140261227
movabs rdx, 0x200000000801
bt rdx, rcx
jae 0x140261227
mov ecx, 1
jmp 0x140261229
xor ecx, ecx
test cl, cl
je 0x14026123d
mov r8, rax
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.14026cc20
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140233ef0
add rsp, 0x240
pop rbx
ret
Function at 0x140261270
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rbx, rcx
mov rax, qword [0x14051e210]
test rax, rax
jne 0x1402612aa
call fcn.14002ccd0
mov qword [0x14051e210], rax
mov rdi, rax
xor esi, esi
mov word [rsp + 0x20], si
mov byte [rsp + 0x37], reloc.WS2_32.dll_inet_addr
test rax, rax
jne 0x1402612ca
call fcn.14002ccd0
mov qword [0x14051e210], rax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], esi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x40], esi
mov word [rsp + 0x20], si
mov byte [rsp + 0x37], reloc.WS2_32.dll_inet_addr
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
movabs rax, 0x80000000000000ff
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov word [rsp + 0x50], si
mov r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call fcn.14026c660
mov edi, eax
mov r9d, eax
movsx rdx, byte [rsp + 0x37]
movzx ecx, dl
shr cl, 7
mov r8, qword [rsp + 0x28]
test cl, 1
je 0x140261347
mov rcx, r8
jmp 0x14026134f
mov ecx, reloc.WS2_32.dll_inet_addr
sub rcx, rdx
cmp r9, rcx
jae 0x140261395
movzx eax, dl
shr al, 7
mov rcx, qword [rsp + 0x20]
test al, 1
je 0x140261369
lea r8, [rcx + r8*2]
jmp 0x140261377
mov rax, rdx
add rax, rax
lea r8, [rsp + 0x36]
sub r8, rax
shr dl, 7
lea rax, [rsp + 0x20]
test dl, dl
cmovne rax, rcx
lea rdx, [rax + rdi*2]
lea rcx, [rsp + 0x20]
call fcn.140250250
jmp 0x1402613aa
jbe 0x1402613af
xor r8d, r8d
sub r9, rcx
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.14024fb50
movzx edx, byte [rsp + 0x37]
shr dl, 7
lea rcx, [rsp + 0x20]
test dl, dl
cmovne rcx, qword [rsp + 0x20]
lea r8d, [rdi + 1]
mov r9, 0xffffffffffffffff
mov rdx, rbx
call fcn.14026c660
movzx eax, byte [rsp + 0x37]
shr al, 7
test al, 1
je 0x140261422
mov rcx, qword [rsp + 0x20]
test rcx, rcx
jne 0x140261427
xor bl, bl
movzx ecx, byte [rsp + 0x37]
movzx eax, cl
shr al, 7
test al, 1
je 0x140261454
mov r8, qword [rsp + 0x30]
movabs rax, 0x7fffffffffffffff
and r8, rax
inc r8
shr cl, 7
test cl, 1
je 0x14026143a
mov rdx, qword [rsp + 0x20]
test rdx, rdx
jne 0x14026143f
jmp 0x140261454
lea rcx, [rsp + 0x20]
cmp word [rcx], 0
je 0x1402613e8
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
jmp 0x1402613ea
lea rdx, [rsp + 0x20]
cmp rdx, qword [rsp + 0x48]
je 0x140261454
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
add r8, r8
call qword [rax + 0x18]
movzx eax, bl
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140261470
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x90
mov r14, rdx
mov rsi, rcx
cmp word [rcx], 0
je 0x14026167f
mov rax, qword [0x14051e210]
test rax, rax
jne 0x1402614b9
call fcn.14002ccd0
mov qword [0x14051e210], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
xor r12d, r12d
mov dword [rsp + 0x78], r12d
mov qword [rsp + 0x80], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov r15, r14
mov bpl, 1
mov byte [rsp + 0x30], bpl
mov qword [rsp + 0x28], 0x100000
mov dword [rsp + 0x20], 3
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140260490
test rax, rax
je 0x140261657
test r14, r14
je 0x14026156c
movzx ecx, word [rsi + r14*2 - 2]
lea eax, [rcx - 0x2f]
cmp eax, 0x2d
ja 0x14026154c
movabs rdx, 0x200000000801
bt rdx, rax
lea eax, [r12 + 1]
jb 0x14026154f
mov eax, r12d
test al, al
jne 0x14026156c
cmp ecx, 0x3a
je 0x14026156c
cmp r14, 0x103
jae 0x14026156c
mov word [rsi + r14*2], 0x5c
lea r15, [r14 + 1]
mov rbx, qword [rsp + 0x60]
lea rax, [rsp + 0x60]
cmp rbx, rax
je 0x140261657
nop
movzx eax, byte [rbx + 0x2f]
shr al, 7
test al, 1
je 0x140261591
mov rdi, qword [rbx + 0x20]
jmp 0x14026159e
movsx rax, byte [rbx + 0x2f]
mov edi, reloc.WS2_32.dll_inet_addr
sub rdi, rax
lea rax, [rdi + r14]
cmp rax, 0x103
ja 0x140261643
lea rdx, [rbx + 0x18]
movzx eax, byte [rdx + 0x17]
shr al, 7
test al, 1
je 0x1402615c3
mov rcx, qword [rdx + 8]
jmp 0x1402615d0
movsx rax, byte [rdx + 0x17]
mov ecx, reloc.WS2_32.dll_inet_addr
sub rcx, rax
mov r8, rdi
cmp rcx, rdi
cmovb r8, rcx
movzx eax, byte [rdx + 0x17]
shr al, 7
test al, 1
je 0x1402615ea
mov rax, qword [rdx]
jmp 0x1402615ed
mov rax, rdx
lea r8, [rax + r8*2]
movzx eax, byte [rdx + 0x17]
shr al, 7
test al, 1
je 0x1402615ff
mov rdx, qword [rdx]
sub r8, rdx
sar r8, 1
add r8, r8
lea rcx, [rsi + r15*2]
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + r15]
mov word [rsi + rax*2], r12w
cmp dword [rbx + 0x10], 1
jne 0x140261630
lea rdx, [rdi + r15]
mov rcx, rsi
call fcn.140261470
test al, al
jmp 0x140261641
cmp word [rsi], 0
je 0x140261643
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140261646
xor bpl, bpl
mov rbx, qword [rbx]
lea rax, [rsp + 0x60]
cmp rbx, rax
jne 0x140261580
mov word [rsi + r14*2], r12w
xor edx, edx
mov rcx, rsi
call fcn.1402611b0
movzx ebx, bpl
test al, al
cmove ebx, r12d
lea rcx, [rsp + 0x60]
call fcn.14020db50
movzx eax, bl
jmp 0x140261681
xor al, al
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x1402624c0
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x18], 0xffffffffffffffff
mov rsi, rdx
mov rbx, rcx
je 0x14026254f
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [rbx + 0x18]
lea r8, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov rdx, rsi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140262534
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x140262534
mov rax, qword [rbx]
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [rax + 0x50]
mov al, 1
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx]
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [rax + 0x50]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x240], eax
mov rbx, qword [rsp + 0x38]
xor al, al
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1402630b0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x18], 0xffffffffffffffff
mov rbx, rcx
je 0x1402630f0
mov rcx, qword [rcx + 0x18]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1402630e4
mov al, 1
add rsp, 0x30
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x240], eax
xor al, al
add rsp, 0x30
pop rbx
ret

Function at 0x140269330
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1404f7148]
xorps xmm1, xmm1
movaps xmmword [rsp + 0x60], xmm6
xorps xmm2, xmm2
movss xmm6, dword [0x1404397f0]
mov rbx, 0xffffffffffffffff
movaps xmmword [rsp + 0x50], xmm7
movaps xmm0, xmm6
movss xmm7, dword [0x1403967a4]
mov esi, 8
cvtsi2ss xmm1, rax
mov rdi, rbx
mov ebp, esi
cvtsi2ss xmm2, rax
divss xmm0, xmm1
xorps xmm1, xmm1
movaps xmmword [rsp + 0x40], xmm8
movss xmm8, dword [0x1403a5010]
movss dword [0x14051e328], xmm0
movaps xmm0, xmm7
divss xmm0, xmm2
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm10
xorps xmm2, xmm2
movss xmm9, dword [0x140439820]
movss xmm10, dword [0x140439824]
movss dword [0x14051e324], xmm0
movaps xmm0, xmm8
cvtsi2ss xmm1, rax
cvtsi2ss xmm2, rax
divss xmm0, xmm1
xorps xmm1, xmm1
movss dword [0x14051e320], xmm0
movaps xmm0, xmm9
divss xmm0, xmm2
cvtsi2ss xmm1, rax
movss dword [0x14051e31c], xmm0
movaps xmm0, xmm10
divss xmm0, xmm1
movss dword [0x14051e318], xmm0
lea rcx, [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x90]
sub rax, qword [rsp + 0x98]
cmp rdi, rax
cmova rdi, rax
sub rbp, 1
jne 0x140269411
mov rax, qword [0x1404f7150]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov qword [0x14051e348], rdi
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, rax
divss xmm6, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm7, xmm1
xorps xmm1, xmm1
movss dword [0x14051e33c], xmm6
divss xmm8, xmm0
xorps xmm0, xmm0
movss dword [0x14051e338], xmm7
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, rax
divss xmm10, xmm0
divss xmm9, xmm1
movss dword [0x14051e32c], xmm10
movss dword [0x14051e334], xmm8
movss dword [0x14051e330], xmm9
rdtsc
shl rdx, 0x20
or rax, rdx
mov rcx, rax
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, rcx
cmp rbx, rax
cmova rbx, rax
sub rsi, 1
jne 0x1402694c2
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x20]
mov qword [0x14051e340], rbx
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x140269780
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, eax
test eax, eax
jne 0x1402697b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
jne 0x1402697bf
mov rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp rbx, rdi
jbe 0x1402697bf
dec ebx
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret