joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401a9500
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push r12
push r13
sub rsp, 0x30
xor ebx, ebx
test r8, r8
mov rbp, r9
mov rsi, r8
mov r12d, edx
mov r13, rcx
jne 0x1401a954c
call fcn.1401aad60
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401ab060
xor eax, eax
jmp 0x1401a95f2
mov qword [rsp + 0x50], rdi
call fcn.1400b5030
mov edx, 0x2d8
mov ecx, 1
call fcn.1401aae90
test rax, rax
mov rdi, rax
je 0x1401a95d8
call fcn.1401aa250
mov rcx, rdi
mov rdx, qword [rax + 0xc0]
call fcn.1401aa030
mov rcx, qword [rsp + 0x78]
mov eax, dword [rsp + 0x70]
test rcx, rcx
lea r8, [rsp + 0x60]
mov rdx, r12
cmovne r8, rcx
mov r9, rdi
mov rcx, r13
mov qword [rsp + 0x28], r8
lea r8, [0x1401a9460]
mov qword [rdi + 0x90], rsi
mov qword [rdi + 0x98], rbp
mov qword [rdi + 8], 0xffffffffffffffff
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x1401a95ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call fcn.1401a96e0
test ebx, ebx
je 0x1401a95eb
mov ecx, ebx
call fcn.1401aad90
xor eax, eax
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r13
pop r12
pop rsi
ret
Function at 0x1401a9cc7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14020cc58]
jne 0x1401a8eda
rol rcx, 0x10
test cx, 0xffff
jne 0x1401a8ed6
repz ret
ror rcx, 0x10
jmp 0x1401a9c20
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14020e620]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14020e718]
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 0x1401a9ca5
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, [0x14020e620]
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 0x1401a9cc7
mov rax, qword [rsp + 0x88]
mov qword [0x14020e718], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14020e6b8], rax
mov rax, qword [0x14020e718]
mov qword [0x14020e590], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14020e6a0], rax
mov dword [0x14020e580], 0xc0000409
mov dword [0x14020e584], 1
mov rax, qword [0x14020cc58]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14020cc60]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14020e618], eax
mov ecx, 1
call fcn.1401ad1e0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1401e8f20]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14020e618], 0
jne 0x1401a9d4e
mov ecx, 1
call fcn.1401ad1e0
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 0x1401ab060
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 [0x14020eb60]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.1401a9f30
test rax, rax
je 0x1401ab0b4
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 0x1401ab149
mov ecx, 2
call fcn.1401ad1e0
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.1401a9240
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 0x1401ab135
test ebx, ebx
jne 0x1401ab135
lea ecx, [rax + 2]
call fcn.1401ad1e0
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
Function at 0x1401ab170
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x30
lea r12, reloc.WS2_32.dll_bind
xor esi, esi
mov edi, ecx
mov rax, r12
mov ebx, esi
nop
cmp ecx, dword [rax]
je 0x1401ab1ae
add ebx, 1
add rax, 0x10
cmp ebx, 0x17
jb 0x1401ab190
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
cmp ebx, 0x17
jae 0x1401ab395
mov ecx, 3
call fcn.1401ae1e0
cmp eax, 1
je 0x1401ab34c
mov ecx, 3
call fcn.1401ae1e0
test eax, eax
jne 0x1401ab1e5
cmp dword [reloc.WS2_32.dll_bind], 1
je 0x1401ab34c
cmp edi, 0xfc
je 0x1401ab395
mov qword [rsp + 0x50], rbp
lea rbp, [0x14020eb70]
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rbp
mov edx, 0x314
call fcn.1401ae130
test eax, eax
je 0x1401ab229
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1401aafc0
lea rdx, [0x14020eb89]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x14020ec8d], sil
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1401ab279
lea r8, str._program_name_unknown_
lea rcx, [0x14020eb89]
mov edx, 0x2fb
call fcn.1401ae130
test eax, eax
je 0x1401ab279
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1401aafc0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x14020eb89]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x1401ab2c8
lea rcx, [rcx + rbp - 0x23]
lea rdx, [0x14020ee84]
lea r9d, [rax + 3]
lea r8, [0x1401d2244]
sub rdx, rcx
call fcn.1401ae010
test eax, eax
je 0x1401ab2c8
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1401aafc0
lea r8, [0x1401e9530]
mov edx, 0x314
mov rcx, rbp
call fcn.1401adf50
test eax, eax
je 0x1401ab2f4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1401aafc0
movsxd r8, ebx
mov edx, 0x314
mov rcx, rbp
add r8, r8
mov r8, qword [r12 + r8*8 + 8]
call fcn.1401adf50
test eax, eax
je 0x1401ab324
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1401aafc0
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.1401adcf0
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 0x1401ab395
cmp rax, 0xffffffffffffffff
je 0x1401ab395
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 0x1401ab3b0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov ecx, 3
call fcn.1401ae1e0
cmp eax, 1
je 0x1401ab3e2
mov ecx, 3
call fcn.1401ae1e0
test eax, eax
jne 0x1401ab496
cmp dword [reloc.WS2_32.dll_bind], 1
jne 0x1401ab496
mov qword [rsp + 0x48], rbx
lea rbx, reloc.WS2_32.dll_bind
mov qword [rsp + 0x30], rdi
mov rax, rbx
xor edi, edi
cmp dword [rax], 0xfc
je 0x1401ab40e
add edi, 1
add rax, 0x10
cmp edi, 0x17
jb 0x1401ab3f8
jmp 0x1401ab482
cmp edi, 0x17
jae 0x1401ab482
mov ecx, 3
call fcn.1401ae1e0
cmp eax, 1
je 0x1401ab439
mov ecx, 3
call fcn.1401ae1e0
test eax, eax
jne 0x1401ab482
cmp dword [reloc.WS2_32.dll_bind], 1
jne 0x1401ab482
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x1401ab482
cmp rax, 0xffffffffffffffff
je 0x1401ab482
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.1401ab170
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x38
ret
Function at 0x1401acba0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [0x14020eff8]
test eax, eax
jne 0x1401acbf3
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x1401acbd3
mov dword [0x14020eff8], 1
jmp 0x1401acc0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x1401acbed
mov dword [0x14020eff8], 2
jmp 0x1401acce9
mov eax, dword [0x14020eff8]
cmp eax, 1
jne 0x1401acce0
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x1401acd33
cmp word [rdi], 0
mov qword [rsp + 0x50], rbp
mov rbx, rdi
mov qword [rsp + 0x58], r12
je 0x1401acc35
add rbx, 2
cmp word [rbx], 0
jne 0x1401acc21
add rbx, 2
cmp word [rbx], 0
jne 0x1401acc21
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 0x1401accd3
mov rcx, rbp
call fcn.1401aae20
test rax, rax
mov rsi, rax
je 0x1401accd3
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 0x1401accad
mov rcx, rsi
call fcn.1401a96e0
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 0x1401accb9
cmp eax, 2
je 0x1401acce9
test eax, eax
jne 0x1401acd33
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test rax, rax
mov rbx, rax
je 0x1401acd33
cmp byte [rax], 0
je 0x1401acd12
nop
add rax, 1
cmp byte [rax], 0
jne 0x1401acd00
add rax, 1
cmp byte [rax], 0
jne 0x1401acd00
sub eax, ebx
add eax, 1
movsxd rsi, eax
mov rcx, rsi
call fcn.1401aae20
test rax, rax
mov rdi, rax
jne 0x1401acd45
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.1401a8ef0
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 0x1401adcf0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x50
mov edi, r8d
mov r13, rdx
mov r14, rcx
call fcn.1401a9e40
xor ebx, ebx
cmp qword [0x14020f280], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x1401ade1c
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x1401adf2f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401adf2f
mov rcx, rax
call fcn.1401a9d70
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14020f280], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1401a9d70
lea rdx, [0x1401e9650]
mov rcx, rsi
mov qword [0x14020f288], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1401a9d70
lea rcx, [rsp + 0x98]
mov qword [0x14020f290], rax
call fcn.1401aa9b0
test eax, eax
je 0x1401addcf
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.1401aafc0
cmp dword [rsp + 0x98], 2
jne 0x1401ade1c
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1401a9d70
test rax, rax
mov qword [0x14020f2a0], rax
je 0x1401ade1c
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1401a9d70
mov qword [0x14020f298], rax
mov rcx, qword [0x14020f298]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x1401adec8
cmp qword [0x14020f2a0], rbp
je 0x1401adec8
call fcn.1401a9f30
mov rcx, qword [0x14020f2a0]
mov rsi, rax
call fcn.1401a9f30
test rsi, rsi
mov r12, rax
je 0x1401adec8
test rax, rax
je 0x1401adec8
call rsi
test rax, rax
je 0x1401ade93
lea rcx, [rsp + 0x34]
mov r9d, listen
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1401ade93
test byte [rsp + 0x40], 1
jne 0x1401adec8
lea rcx, [rsp + 0x30]
call fcn.1401aaa00
test eax, eax
je 0x1401adeb5
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.1401aafc0
cmp dword [rsp + 0x30], 4
jb 0x1401adec2
bts edi, 0x15
jmp 0x1401adf06
bts edi, 0x12
jmp 0x1401adf06
mov rcx, qword [0x14020f288]
cmp rcx, rbp
je 0x1401adf06
call fcn.1401a9f30
test rax, rax
je 0x1401adf06
call rax
test rax, rax
mov rbx, rax
je 0x1401adf06
mov rcx, qword [0x14020f290]
cmp rcx, rbp
je 0x1401adf06
call fcn.1401a9f30
test rax, rax
je 0x1401adf06
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14020f280]
call fcn.1401a9f30
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x1401adf2f
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1401adf31
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401af300
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov r9d, 6
mov edx, 0x1004
mov byte [rsp + 0x26], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1401af347
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401a8ec0
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.1401af600
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401a8ec0
add rsp, 0x38
ret
Function at 0x100401000
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
lea rcx, [0x100412270]
call 0x100411cb0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call 0x100411cd0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call 0x100411ce0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call 0x100411cf0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
add rsp, 0x28
jmp 0x100411d00
rol dword [rax + 0x81cac58], 0xc7
xor esi, dword [rbx]
invalid
mov edi, 0x25aa1cfc
xor esi, dword [rbx]
jl 0x100411bb2
sub al, 0x7c
rol dword [rdx + 0xbbf7c74], 0x1c
pop rdi
invalid
iretq
iretd
mov word [rsp + rax*2], ds
sbb al, 0x44
iretd
xor esi, dword [rbx]
jl 0x100411bea
xor edi, dword [rbp + rsi*4 - 8]
clc
invalid
jl 0x100411c12
mov edi, 0x81c17c1e
jl 0x100411c11
invalid
and dword [rsp + rdi*2 - 0x49], 0x761c3cf5
mov edx, 0xb77c3333
cmc
cmp al, 0x1c
jbe 0x100411c19
xor esi, dword [rbx]
jl 0x100411c1a
clc
push rsp
xchg ecx, eax
test dword [rax], 0x7c000000
mov dword [rdi + rsi*4 + 0x20], edi
push rsp
jl 0x100411c32
mov edi, 0x81c17c1e
jl 0x100411c31
invalid
cmc
sbb al, 0x56
mov edx, 0xb77c3333
clc
push rsp
xchg ecx, eax
test dword [rax], 0x7c000000
mov dword [rdi + rsi*4 + 0x20], edi
push rsp
jl 0x100411c52
mov edi, 0x81c17c1e
jl 0x100411c51
invalid
and dword [rsp + rdi*2 - 0x49], 0x361c5cf5
cmc
pop rsp
sbb al, 0x36
mov edx, 0xb77c3333
clc
push rsp
xchg ecx, eax
test dword [rax], 0x7c000000
mov dword [rdi + rsi*4 + 0x20], edi
add byte [rax], al
add byte [rax], al
jl 0x100411c36
add byte [rcx + rcx*4 + 0x7c], bh
mov bh, 0x20
jl 0x100411c66
and byte [rsp + rdi*2 - 0x41], dl
push rsp
jl 0x100411c72
mov edi, 0x81c17c1e
jl 0x100411c71
invalid
mov bh, 0xf5
cmc
insb byte [rdi], dx
sbb al, 0x16
mov ecx, 0xb77c3333
clc
push rsp
xchg ecx, eax
test dword [rax], 0x7c000000
mov dword [rdi + rsi*4 + 0x20], edi
jl 0x100411c56
jl 0x100411c86
and byte [rsp + rdi*2 - 0x41], dl
push rsp
jl 0x100411c92
invalid
sbb ah, byte [rbx]
xor esi, dword [rbx]
jl 0x100411c96
clc
push rsp
xchg ecx, eax
test dword [rax], 0
add byte [rax], al
add byte [rcx + rcx*4 + 0x7c], bh
mov bh, 0x20
push rsp
jl 0x100411cb2
invalid
jl 0x100411cb9
clc
push rsp
xchg ecx, eax
test dword [rax], 0x5880bd78
push rsp
js 0x100411ccb
js 0x100411d68
jl 0x100411cd0
mov byte [rax + 0x44], bl
xchg dword [rcx - 0x778a7476], ecx
jne 0x100411ca7
jne 0x100411caa
jne 0x100411cad
jl 0x100411cd9
and byte [rsi - 0x483cbcc], bl
mov eax, 0x34350c58
xor al, 0x32
xor esi, dword [rbx]
xor edi, dword [rcx - 0x41]
adc eax, 0x801cbf75
mov edi, 0x2dbf7c26
sbb al, 0x55
invalid
xor al, 0x34
fadd qword [rbx - 0x58]
fdiv qword [rsi]
test eax, 0xa938dc40
test eax, 0xa938dc40
cmp al, 0x75
mov edi, 0x4cf71df8
xor al, 0x34
add cl, 0xb3
je 0x100411df9
mov edi, 0x28bc1c03
xor esi, dword [rbx]
cmp byte [rbp + 0x7d6458a0], 0xbf
adc dword [rax - 0x63a71f43], eax
xor eax, 0xbc783434
loopne 0x100411def
cld
xor al, 0x34
xor al, 0x78
mov esp, 0x34fd58e0
xor al, 0x34
js 0x100411d61
loopne 0x100411dff
invalid
test al, 0x40
cmp byte [rdi - 0x427f7b5d], 0xe0
pop rax
hlt
pop rax
cld
xor al, 0x34
xor al, 0xa8
invalid
Function at 0x140011249
Capabilities:
Terminate process

Disassembly:
jmp 0x140013a20
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]
add rsp, 0x28
ret

Function at 0x1400112df
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
jmp 0x1400122f0
push rbp
push rdi
sub rsp, 0x278
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x5a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001e008]
xor rax, rbp
mov qword [rbp + 0x218], rax
lea rcx, [0x1400240f4]
call fcn.140011406
lea rdx, str.Hello_World
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011087
mov r8d, 0x100
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor ecx, ecx
call fcn.140012490
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_srand]
call qword [sym.imp.ucrtbased.dll_rand]
cdq
mov ecx, 0x1f4
idiv ecx
mov eax, edx
mov dword [rbp + 0x144], eax
mov ecx, dword [rbp + 0x144]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x40], 0
lea rax, [rbp + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp qword [rbp + 8], 0
je 0x140012409
lea rcx, [rbp + 0x30]
call fcn.1400111c7
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.testv.exe
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001ac40]
call fcn.14001138e
mov eax, edi
mov rcx, qword [rbp + 0x218]
xor rcx, rbp
call fcn.140011203
lea rsp, [rbp + 0x228]
pop rdi
pop rbp
ret

Function at 0x1400112ee
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014d70
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014d90
xor al, al
jmp 0x140014e11
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014da3
xor al, al
jmp 0x140014e11
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 0x140014dcd
xor al, al
jmp 0x140014e11
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014de1
xor al, al
jmp 0x140014e11
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014df3
xor al, al
jmp 0x140014e11
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014e0f
xor al, al
jmp 0x140014e11
mov al, 1
add rsp, 0x38
ret
Function at 0x416900
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x416aab
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004312c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x41696e
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x416981
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x4169a5
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4169b9
cmp rbx, 0x1000
jae 0x416978
nop
jmp 0x416a29
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x4169cd
xor edx, edx
jmp 0x416a20
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004312c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x4169af
jmp 0x416995
call fcn.004628c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00436420
lea rax, [0x004f9ab9]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.00436d20
mov rax, qword [rsp + 0x38]
call fcn.00436a20
lea rax, [0x004f9b49]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00436d20
mov rax, qword [rsp + 0x30]
call fcn.00436a20
call fcn.00436680
call fcn.004364a0
lea rax, [0x004fbf50]
mov ebx, 0x21
call fcn.00434ca0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045ed20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00416900