joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14016b740
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1400b5410
sub rsp, rax
mov rax, qword [0x140201180]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x140235be0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_inet_ntoa
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14016b955
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x14016b899
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14016b899
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x14016b879
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, reloc.WS2_32.dll_listen
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x14016b808
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x48]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14016b915
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_inet_ntoa
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14016b974
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x44], eax
jae 0x14016b950
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_inet_ntoa
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14016b974
jmp 0x14016b7de
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_inet_ntoa
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400b5470
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x14016d180
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.1400df3b0
movzx eax, al
test eax, eax
je 0x14016d1a7
mov al, 1
jmp 0x14016d29c
lea rcx, [rsp + 0x60]
call fcn.1400e1c10
movzx eax, al
test eax, eax
je 0x14016d1e6
lea rcx, [rsp + 0x60]
call fcn.1400def00
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x60]
call fcn.1400def00
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x40]
cmp qword [rcx], rax
jne 0x14016d1e6
xor al, al
jmp 0x14016d29c
lea rcx, [rsp + 0x60]
call fcn.1400e0ab0
mov ecx, eax
call fcn.14018c630
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x14016d20b
xor al, al
jmp 0x14016d29c
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov r9d, 1
lea r8, [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x14016d250
xor al, al
jmp 0x14016d29c
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x14016d279
xor al, al
jmp 0x14016d29c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
jne 0x14016d28f
mov dword [rsp + 0x20], 1
jmp 0x14016d297
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x50
pop rdi
ret
Function at 0x140175140
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret

Function at 0x14017f3c0
Capabilities:
Get geographical location

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.14017e5d0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14017f41c
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call fcn.14019ea90
jmp 0x14017f43e
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.14017f8b0
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret
Function at 0x1401895d0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140189460
lea rcx, [rsp + 0x40]
call fcn.140189590
movzx eax, al
test eax, eax
jne 0x140189618
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.140189480
mov rax, qword [rsp + 0x70]
jmp 0x1401897e9
lea rcx, [rsp + 0x40]
call fcn.140189570
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140189520
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.140189570
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.140184310
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1401896be
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.140189480
mov rax, qword [rsp + 0x80]
jmp 0x1401897e9
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.1401251f0
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400bb5d0
lea rcx, [rsp + 0x48]
call fcn.1400bb650
movzx eax, al
test eax, eax
jne 0x140189725
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.1400bb610
lea rcx, [rsp + 0x40]
call fcn.140189480
mov rax, qword [rsp + 0x88]
jmp 0x1401897e9
lea rcx, [rsp + 0x48]
call fcn.1400bb720
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.140189570
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.140184310
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1401897bb
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.1400bb610
lea rcx, [rsp + 0x40]
call fcn.140189480
mov rax, qword [rsp + 0xa0]
jmp 0x1401897e9
lea rcx, [rsp + 0x48]
call fcn.1400de060
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.1400bb610
lea rcx, [rsp + 0x40]
call fcn.140189480
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x140189800
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140189460
lea rcx, [rsp + 0x20]
call fcn.1401894a0
movzx eax, al
test eax, eax
jne 0x140189845
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.140189480
mov rax, qword [rsp + 0x40]
jmp 0x14018993f
lea rcx, [rsp + 0x20]
call fcn.140189570
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140189520
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, rax
call fcn.1401251f0
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140143a50
lea rcx, [rsp + 0x28]
call fcn.140154700
movzx eax, al
test eax, eax
jne 0x1401898df
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.140143a70
lea rcx, [rsp + 0x20]
call fcn.140189480
mov rax, qword [rsp + 0x50]
jmp 0x14018993f
lea rcx, [rsp + 0x20]
call fcn.140189570
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.140145a90
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.14019ead0
lea rcx, [rsp + 0x28]
call fcn.140143bb0
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.140143a70
lea rcx, [rsp + 0x20]
call fcn.140189480
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret

Function at 0x14018b090
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret

Function at 0x140190f60
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
cmp qword [rsp + 0x40], 0
je 0x140190f9f
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
test eax, eax
je 0x140190f9f
lea rdx, [0x1401de318]
mov rcx, qword [rsp + 0x40]
call fcn.14018e980
test eax, eax
jne 0x140190fd6
mov r9d, 2
lea r8, [rsp + 0x20]
mov edx, 0x20001004
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x140190fc5
xor eax, eax
jmp 0x140191025
cmp dword [rsp + 0x20], 0
jne 0x140190fd4
call qword [sym.imp.KERNEL32.dll_GetACP]
jmp 0x140191025
jmp 0x140191021
lea rdx, [0x1401de330]
mov rcx, qword [rsp + 0x40]
call fcn.14018e980
test eax, eax
jne 0x140191013
mov r9d, 2
lea r8, [rsp + 0x20]
mov edx, 0x2000000b
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x140191011
xor eax, eax
jmp 0x140191025
jmp 0x140191021
mov rcx, qword [rsp + 0x40]
call fcn.140160550
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x140191090
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov dword [rsp + 0x20], 0
movzx eax, word [rsp + 0x50]
and eax, 0x3ff
movzx eax, ax
bts eax, 0xa
movzx eax, ax
mov dword [rsp + 0x24], eax
call fcn.140161550
add rax, 0x98
mov qword [rsp + 0x30], rax
mov r9d, 2
lea r8, [rsp + 0x20]
mov edx, 0x20000001
mov ecx, dword [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1401910f3
xor eax, eax
jmp 0x140191133
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x50], eax
je 0x14019112e
cmp dword [rsp + 0x58], 0
je 0x14019112e
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call fcn.140190860
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx]
call fcn.140149d40
mov ecx, dword [rsp + 0x28]
cmp ecx, eax
jne 0x14019112e
xor eax, eax
jmp 0x140191133
mov eax, 1
add rsp, 0x48
ret
Function at 0x140196f40
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x140201180]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x140196f69
jmp 0x140196fee
mov rcx, qword [rbp + 0x30]
call fcn.14019f710
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x140196f82
jmp 0x140196fee
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x140196f9f
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400b5410
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], 0
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.140180b90
test eax, eax
jne 0x140196fee
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1400b5470
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x14019c0b0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.14014a200
lea rcx, [rsp + 0x48]
call fcn.14014a200
call fcn.140174be0
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.14014a0f0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14019c11f
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.14014a290
lea rcx, [rsp + 0x78]
call fcn.14014a290
mov eax, dword [rsp + 0x24]
jmp 0x14019c1b0
call fcn.140174be0
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.14014a0f0
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14019c166
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.14014a290
lea rcx, [rsp + 0x78]
call fcn.14014a290
mov eax, dword [rsp + 0x2c]
jmp 0x14019c1b0
lea rcx, [rsp + 0x48]
call fcn.14014a5e0
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.14014a5e0
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.14014a290
lea rcx, [rsp + 0x78]
call fcn.14014a290
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x1400078c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1350]
mov eax, 0x1450
call fcn.140022b80
sub rsp, rax
mov rax, qword [0x140032040]
xor rax, rsp
mov qword [rbp + 0x1340], rax
mov r14, rcx
mov qword [rbp - 0x78], rcx
xor ebx, ebx
movups xmm0, xmmword [str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [0x140027298]
movups xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [0x1400272a8]
movups xmmword [rsp + 0x68], xmm0
movsd xmm0, qword [0x1400272b8]
movsd qword [rsp + 0x78], xmm0
mov eax, dword [0x1400272c0]
mov dword [rbp - 0x80], eax
movzx eax, word [0x1400272c4]
mov word [rbp - 0x7c], ax
movzx eax, byte [0x1400272c6]
mov byte [rbp - 0x7a], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rbx
mov edi, 0xf
mov qword [rbp - 0x58], rdi
mov byte [rbp - 0x70], bl
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, rax
mov dword [rbp + 0x1334], 0xffffffff
mov dword [rbp - 0x4c], eax
mov edx, 1
nop word [rax + rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [rbp + rdx*4 - 0x4c], ecx
inc rdx
cmp rdx, 0x270
jb 0x140007990
mov dword [rbp - 0x50], 0x270
mov esi, 0xa
mov r15d, 0x80000000
lea rcx, [rbp - 0x50]
call fcn.14001f5b0
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 3
ja 0x1400079e9
lea rcx, [rbp - 0x50]
call fcn.14001f5b0
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 4
jb 0x1400079d5
shr rax, 0x20
sub rax, r15
xor rax, 0xffffffff80000000
movzx r9d, byte [rsp + rax + 0x48]
cmp rbx, rdi
jae 0x140007a21
lea rax, [rbx + 1]
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x70]
cmp rdi, 0xf
cmova rax, qword [rbp - 0x70]
mov byte [rax + rbx], r9b
mov byte [rax + rbx + 1], 0
jmp 0x140007a2a
lea rcx, [rbp - 0x70]
call fcn.140014690
sub rsi, 1
je 0x140007a3a
mov rdi, qword [rbp - 0x58]
mov rbx, qword [rbp - 0x60]
jmp 0x1400079c1
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp - 0x60]
sub rax, rcx
cmp rax, 5
jb 0x140007af3
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r9, qword [rbp - 0x70]
mov qword [rsp + 0x30], 5
lea rax, str..scif
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, r14
call fcn.140015890
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140007ac4
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007abf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007abf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140022240
mov rax, r14
mov rcx, qword [rbp + 0x1340]
xor rcx, rsp
call fcn.140022220
lea r11, [rsp + 0x1450]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400013c0
nop
int3
Function at 0x140009050
Capabilities:
Create http request

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [0x140032040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rax
movups xmmword [rbp - 0x69], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x59], xmm1
mov r8d, 0x16
lea rdx, str.https:__www.google.com
lea rcx, [rbp - 0x69]
call fcn.140004410
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x39], xmm1
mov r8d, 0x14
lea rdx, str.https:__www.bing.com
lea rcx, [rbp - 0x49]
call fcn.140004410
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x19], xmm1
mov r8d, 0x15
lea rdx, str.https:__www.yahoo.com
lea rcx, [rbp - 0x29]
call fcn.140004410
nop
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 7], xmm1
mov r8d, 0x1a
lea rdx, str.https:__www.duckduckgo.com
lea rcx, [rbp - 9]
call fcn.140004410
nop
lea rax, [rbp - 0x69]
mov qword [rbp - 0x79], rax
lea rax, [rbp + 0x17]
mov qword [rbp - 0x71], rax
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rbp - 0x79], xmm0
lea rdx, [rbp - 0x79]
lea rcx, [rbp + 0x17]
call fcn.140004510
nop
lea r9, [fcn.140011790]
mov edx, 0x20
mov r8d, 4
lea rcx, [rbp - 0x69]
call fcn.140022524
mov rbx, qword [rbp + 0x1f]
sub rbx, qword [rbp + 0x17]
sar rbx, 5
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
xor edx, edx
div rbx
shl rdx, 5
add rdx, qword [rbp + 0x17]
lea rcx, [rbp + 0x2f]
call fcn.140004650
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.getRequest
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rbx, rax
test rax, rax
je 0x1400091eb
lea rdx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0xf
cmova rdx, qword [rbp + 0x2f]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
test rax, rax
je 0x1400091e2
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rdx, qword [rbp + 0x47]
cmp rdx, 0xf
jbe 0x140009229
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009224
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009224
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140022240
movdqa xmm0, xmmword [0x140029650]
movdqu xmmword [rbp + 0x3f], xmm0
mov byte [rbp + 0x2f], 0
lea rcx, [rbp + 0x17]
call fcn.140010d20
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140022220
mov rbx, qword [rsp + 0x110]
add rsp, 0x100
pop rbp
ret
Function at 0x140009540
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x80
mov rax, qword [0x140032040]
xor rax, rsp
mov qword [rsp + 0x78], rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.140001b60
mov rbx, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 0xd
jb 0x140009614
lea rax, [r8 + 0xd]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp rcx, 0xf
jbe 0x1400095a9
mov rdi, qword [rbx]
lea rax, [0x1400275ad]
mov r14d, 0xd
lea rsi, str.C:TempExfil
cmp rax, rdi
jbe 0x1400095dc
lea rax, [rdi + r8]
cmp rsi, rax
ja 0x1400095dc
cmp rdi, rsi
ja 0x1400095d4
xor ebp, ebp
jmp 0x1400095df
mov rbp, rdi
sub rbp, rsi
jmp 0x1400095df
mov rbp, r14
inc r8
lea rcx, [rdi + 0xd]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
sub r14, rbp
lea rdx, [rsi + 0xd]
add rdx, rbp
lea rcx, [rdi + rbp]
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140009639
mov r14d, 0xd
mov qword [rsp + 0x28], r14
lea rsi, str.C:TempExfil
mov qword [rsp + 0x20], rsi
mov edx, r14d
mov rcx, rbx
call fcn.14001b620
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x1400096ae
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400096a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400096a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140022240
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rcx, qword [rsp + 0x58]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140009707
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009702
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009702
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140022240
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140022220
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret