joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001008
Capabilities:
Register network filter via wfp api

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x14000b100]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rdi, rdx
xor edx, edx
mov rsi, r8
mov rbx, rcx
lea rcx, [rbp]
lea r8d, [rdx + 0x58]
call fcn.1400086e0
mov rcx, qword [0x14000b140]
and dword [rbp + 0x20], 0
movups xmm0, xmmword [rbx]
lea rax, [0x140008d80]
lea r15, [0x140008db0]
lea rdx, [rbp]
movdqu xmmword [rbp], xmm0
movups xmm0, xmmword [rdi]
movdqu xmmword [rbp + 0x40], xmm0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
movups xmm1, xmmword [rsp + 0x20]
xor r8d, r8d
movdqu xmmword [rbp + 0x10], xmm1
call sub.fwpkclnt.sys_FwpmCalloutAdd0
test eax, eax
js 0x1400010f1
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0xc8
call fcn.1400086e0
mov rcx, qword [0x14000b140]
and qword [rbp - 0x58], 0
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rsi]
and dword [rbp - 0x70], 0
and dword [rbp - 0x60], 0
lea rdx, [rsp + 0x30]
movdqu xmmword [rsp + 0x70], xmm0
movdqu xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rbx]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x40], r15
movdqu xmmword [rbp - 0x4c], xmm0
mov qword [rsp + 0x48], r15
mov dword [rbp - 0x50], 0x5003
call sub.fwpkclnt.sys_FwpmFilterAdd0
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140008910
add rsp, 0x170
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x14000147c
Capabilities:
Register network filter via wfp api

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x14000b100]
xor rax, rsp
mov qword [rbp + 0x88], rax
mov rdi, rdx
xor edx, edx
mov rsi, r8
mov rbx, rcx
lea rcx, [rbp]
lea r8d, [rdx + 0x58]
call fcn.1400086e0
mov rcx, qword [0x14000b140]
and dword [rbp + 0x20], 0
movups xmm0, xmmword [rbx]
lea rax, [0x140008d00]
lea r15, [0x140008d40]
lea rdx, [rbp]
movdqu xmmword [rbp], xmm0
movups xmm0, xmmword [rdi]
movdqu xmmword [rbp + 0x40], xmm0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
movups xmm1, xmmword [rsp + 0x20]
xor r8d, r8d
movdqu xmmword [rbp + 0x10], xmm1
call sub.fwpkclnt.sys_FwpmCalloutAdd0
test eax, eax
js 0x14000159f
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0xc8
call fcn.1400086e0
and dword [rbp - 0x70], 0
lea rax, [rbp + 0x60]
movups xmm0, xmmword [rdi]
lea rcx, [rbp + 0x60]
xor edx, edx
mov qword [rsp + 0x40], r15
movdqu xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rbx]
mov ebx, 1
mov qword [rsp + 0x48], r15
mov dword [rbp - 0x50], 0x5003
movdqu xmmword [rbp - 0x4c], xmm0
movups xmm0, xmmword [rsi]
movdqu xmmword [rbp - 0x80], xmm0
lea r8d, [rbx + 0x27]
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x60], ebx
call fcn.1400086e0
mov rcx, qword [0x14000b140]
and dword [rbp + 0x70], 0
movups xmm0, xmmword [0x14000a618]
lea rdx, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
movdqu xmmword [rbp + 0x60], xmm0
mov dword [rbp + 0x78], ebx
mov byte [rbp + 0x80], 6
call sub.fwpkclnt.sys_FwpmFilterAdd0
mov rcx, qword [rbp + 0x88]
xor rcx, rsp
call fcn.140008910
add rsp, 0x190
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400015c4
Capabilities:
Register network filter via wfp api

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x14000b100]
xor rax, rsp
mov qword [rbp + 0x88], rax
mov rdi, rdx
xor edx, edx
mov rsi, r8
mov rbx, rcx
lea rcx, [rbp]
lea r8d, [rdx + 0x58]
call fcn.1400086e0
mov rcx, qword [0x14000b140]
and dword [rbp + 0x20], 0
movups xmm0, xmmword [rbx]
lea rax, [0x140008d00]
lea r15, [0x140008d40]
lea rdx, [rbp]
movdqu xmmword [rbp], xmm0
movups xmm0, xmmword [rdi]
movdqu xmmword [rbp + 0x40], xmm0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
movups xmm1, xmmword [rsp + 0x20]
xor r8d, r8d
movdqu xmmword [rbp + 0x10], xmm1
call sub.fwpkclnt.sys_FwpmCalloutAdd0
test eax, eax
js 0x1400016e7
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0xc8
call fcn.1400086e0
and dword [rbp - 0x70], 0
lea rax, [rbp + 0x60]
movups xmm0, xmmword [rdi]
lea rcx, [rbp + 0x60]
xor edx, edx
mov qword [rsp + 0x40], r15
movdqu xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rbx]
mov ebx, 1
mov qword [rsp + 0x48], r15
mov dword [rbp - 0x50], 0x5003
movdqu xmmword [rbp - 0x4c], xmm0
movups xmm0, xmmword [rsi]
movdqu xmmword [rbp - 0x80], xmm0
lea r8d, [rbx + 0x27]
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x60], ebx
call fcn.1400086e0
mov rcx, qword [0x14000b140]
and dword [rbp + 0x70], 0
movups xmm0, xmmword [0x14000a618]
lea rdx, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
movdqu xmmword [rbp + 0x60], xmm0
mov dword [rbp + 0x78], ebx
mov byte [rbp + 0x80], 0x11
call sub.fwpkclnt.sys_FwpmFilterAdd0
mov rcx, qword [rbp + 0x88]
xor rcx, rsp
call fcn.140008910
add rsp, 0x190
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000ae94
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14000aec1
xor eax, eax
jmp 0x14000afbe
cmp qword [rcx + 0x68], 0
je 0x14000aed2
call fcn.140008fb0
jmp 0x14000afbe
mov rax, qword [rcx + 0x38]
mov rbp, rdi
mov rdx, qword [rax]
test rdx, rdx
je 0x14000aee9
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000aeeb
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000af20
cmp rax, rdi
mov rbx, rdi
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14000ca40
mov rax, qword [rsi + 0x50]
sub rbp, rbx
add r14, rbx
mov r8, rbp
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000afb8
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x14000af5b
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov r15d, 0xfff
mov rbx, r8
cmp r8, r15
jbe 0x14000af93
mov r9, qword [rsi + 0x80]
mov r8, r15
mov edx, 1
mov rcx, r14
call fcn.1400142b4
sub rbp, rax
add r14, rax
mov rbx, rbp
cmp rax, r15
jne 0x14000afd7
cmp rbp, r15
ja 0x14000af69
mov r8, rbx
test rbx, rbx
je 0x14000afb8
mov r9, qword [rsi + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, r14
call fcn.1400142b4
mov r8, rbx
sub r8, rax
sub rdi, r8
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
sub rdi, rbp
jmp 0x14000afbb

Function at 0x1400182b8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400180e4
Function at 0x100190e90
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x100190e9d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x100190ead
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x100190e95
lea eax, [rcx + 1]
jmp 0x100190ebb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x100190ece
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x100190eb4
sub eax, 3
jb 0x100190eee
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x100190f3d
sar eax, 1
movsxd rbp, eax
jb 0x100190f24
jmp 0x100190efc
add ebx, ebx
jne 0x100190efa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100190f24
inc ecx
add ebx, ebx
jne 0x100190f0a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100190f24
call r11
adc ecx, ecx
add ebx, ebx
jne 0x100190f1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x100190f0c
add ecx, 2
jmp 0x100190f29
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.100190e52
jmp 0x100190e9d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x8d2c0
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x100190f89
cmp rsi, rcx
jae 0x100190f91
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x100190f70
cmp al, 0x8f
ja 0x100190f70
cmp byte [rsi - 2], 0xf
je 0x100190f76
sub al, 0xe8
cmp al, 1
ja 0x100190f5a
cmp rsi, rcx
jae 0x100190f91
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x100190f60
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x100190f91
lodsb al, byte [rsi]
jmp 0x100190f70
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x18e000]
mov eax, dword [rdi]
or eax, eax
je 0x100190fee
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x192748]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x100190f9e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x100190fe8
mov qword [rbx], rax
add rbx, 8
jmp 0x100190fbe
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.100191071], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.100191071
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x100191061
sub rsp, 0xffffffffffffff80
jmp 0x100001950
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14000aa50]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14000aa60]
mov dword [rax], 1
mov rax, qword [0x14000aa70]
mov dword [rax], 1
mov rax, qword [0x14000aa40]
mov dword [rax], 1
mov rax, qword [0x14000a900]
cmp word [rax], 0x5a4d
jne 0x140001067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010d0
mov rax, qword [0x14000aa30]
mov dword [0x14000d00c], ecx
mov eax, dword [rax]
test eax, eax
jne 0x1400010c0
mov ecx, 1
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x14000a9f0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x14000a9d0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x14000a8b0]
cmp dword [rax], 1
je 0x140001108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 2
call sym.__set_app_type
jmp 0x140001084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001120
cmp dx, 0x20b
jne 0x140001067
cmp dword [rax + 0x84], 0xe
jbe 0x140001067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x140001067
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x140001067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x140001067

Function at 0x14000183d
Capabilities:
Create process on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov rax, qword [0x14000d030]
mov r8, qword [rbp + 0x10]
lea rdx, str.Trying_to_create_child_process:__s_n
mov rcx, rax
call sym.fprintf
mov rax, qword [rbp + 0x20]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x18]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x1000020
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov rdx, qword [rbp + 0x10]
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
test eax, eax
jne 0x1400018ef
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
mov rax, qword [0x14000d030]
mov r8d, edx
lea rdx, str.Could_not_create_child_process__errorcode:__d_n
mov rcx, rax
call sym.fprintf
mov ecx, 1
call sym.exit
mov rax, qword [0x14000d030]
lea rdx, str.Child_process_created_n
mov rcx, rax
call sym.fprintf
nop
add rsp, 0x50
pop rbp
ret

Function at 0x140001b1d
Capabilities:
Query environment variable

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov rcx, qword [rbp + 0x10]
call sym.getenv
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
je 0x140001b4e
mov rax, qword [rbp - 8]
movzx eax, byte [rax]
test al, al
je 0x140001b4e
mov rax, qword [rbp - 8]
jmp 0x140001b72
mov rax, qword [0x14000d030]
mov r8, qword [rbp + 0x10]
lea rdx, str.You_must_set_environment_variable:__s_n
mov rcx, rax
call sym.fprintf
mov ecx, 1
call sym.exit
add rsp, 0x30
pop rbp
ret
Function at 0x140001b78
Capabilities:
Query environment variable

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
lea rax, str.CHROME_LOADER_LOG
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.getenv
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x140001bc6
mov rax, qword [rbp - 0x10]
movzx eax, byte [rax]
test al, al
je 0x140001bc6
mov rax, qword [rbp - 8]
mov rdx, rax
lea rcx, str.chrome_loader_log_file:__s_n
call sym.printf
mov rax, qword [rbp - 0x10]
jmp 0x140001be3
mov rax, qword [rbp - 8]
mov rdx, rax
lea rcx, str.You_must_set_environment_variable:__s_n
call sym.printf
mov ecx, 1
call sym.exit
add rsp, 0x30
pop rbp
ret

Function at 0x140001ec0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]
Function at 0x140001f30
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x14000d0b4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x1400020e0
mov rax, qword [0x14000d0b8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x140001f7c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140002007
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x140001f60
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rbp, rax
test rax, rax
je 0x14000213d
mov rax, qword [0x14000d0b8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x14000d0b8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002122
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002000
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002090
add dword [0x14000d0b4], 1
cmp ebx, 8
jae 0x140002038
test bl, 4
jne 0x1400020f0
test ebx, ebx
je 0x140002029
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x140002110
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x140002029
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x14000206a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x14000d0b8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002000
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
xor edi, edi
jmp 0x140001f87
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x140002029
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x140002029
mov rax, qword [0x14000d0b8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop dword [rax]
Function at 0x140002650
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x14000d120]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000d100]
test rbx, rbx
je 0x1400026a4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x14000269b
test r12, r12
je 0x14000269b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002680
lea rcx, [0x14000d120]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400028d0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
jne 0x1400028e0
jmp sym._ValidateImageBase.part.0
xor eax, eax
ret

Function at 0x1400028f0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x140002935
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x14000292c
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x140002937
add rax, 0x28
cmp rax, r9
jne 0x140002918
xor eax, eax
ret

Function at 0x1400029e0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x14000a900]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x140002a59
mov rcx, r10
call sym._ValidateImageBase.part.0
test eax, eax
je 0x140002a59
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x140002a56
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x140002a4d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x140002a59
add r8, 0x28
cmp r8, r9
jne 0x140002a38
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x140002b40
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x14000a900]
xor eax, eax
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x140002baf
mov rcx, r9
call sym._ValidateImageBase.part.0
test eax, eax
je 0x140002baf
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
movzx edx, word [r9 + 6]
lea rax, [r9 + rax + 0x18]
test edx, edx
je 0x140002bad
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002ba4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002bb8
add rax, 0x28
cmp rax, r9
jne 0x140002b90
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x140002bd0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x14000a900]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x140002c48
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x140002c48
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x140002c48
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x140002c48
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r9d, dword [rdx + 0xc]
mov rcx, r9
cmp rax, r9
jb 0x140002c3c
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x140002c50
add rdx, 0x28
cmp rdx, r10
jne 0x140002c28
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
add rax, r11
jmp 0x140002c60
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x140002c6e
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002c45
test r8d, r8d
jg 0x140002c58
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
add rsp, 0x28
ret
Function at 0x140001ee0
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x140033080]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r8d, 0x104
lea rdx, [rbp - 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
lea rax, [rbp - 0x70]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140001f40
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.140001de0
nop
lea rcx, str.APPDATA
call fcn.14000e1cc
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
inc rbx
cmp byte [rax + rbx], 0
jne 0x140001f76
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140001de0
nop
mov r8d, 0x3a
lea rdx, str.MicrosoftWindowsStart_MenuProgramsStartup_svchost.exe
lea rcx, [rsp + 0x28]
call fcn.140004f30
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140002019
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002014
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400020ed
call fcn.140006850
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rcx, qword [rsp + 0x68]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14000207c
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002077
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400020f3
call fcn.140006850
movdqa xmm0, xmmword [0x14002e6f0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x1400020c7
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400020e7
call fcn.140006850
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140006830
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1b0
pop rbp
ret
call fcn.14000e068
nop
call fcn.14000e068
nop
call fcn.14000e068
int3