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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov al, byte [rcx + 8]
test al, al
je 0x1401a0f27
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1401a7275.0]
test al, al
je 0x1401a0f27
xor eax, eax
xchg byte [rbx + 8], al
mov rdi, qword [rbx + 0x10]
test rdi, rdi
je 0x1401a0ec9
mov rcx, qword [rdi + 0x10]
cmp rcx, 0xffffffffffffffff
je 0x1401a0ebc
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov edx, 0x18
mov rcx, rdi
call fcn.14016b110
mov ecx, 0x18
call fcn.14016b0d4
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1401a0ef5
lea rax, [0x1401a0e30]
mov qword [rdi], rax
mov qword [rdi + 8], rbx
or qword [rdi + 0x10], 0xffffffffffffffff
jmp 0x1401a0ef7
xor edi, edi
mov qword [rbx + 0x10], rdi
and dword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov r9, rdi
lea r8, [0x1401a0fe0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x10], rax
mov al, byte [rbx + 8]
test al, al
sete al
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1401a77f4
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
or rsi, 0xffffffffffffffff
mov dword [r8], 7
cmp qword [rcx + 0x10], 0
mov rbx, r8
mov rdi, rcx
jne 0x1401a7827
mov dword [r8], 1
jmp 0x1401a78df
and qword [rsp + 0x70], 0
lea r8, [rsp + 0x70]
xor r9d, r9d
lea rcx, str.S:_ML__NW___LW_
lea edx, [r9 + 1]
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
and dword [rsp + 0x50], 0
cmp qword [rdi + 0x18], 8
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], 0x18
jb 0x1401a7866
mov rdi, qword [rdi]
mov al, byte [0x1402635e8]
mov r9d, 0xff
neg al
mov r8d, 8
lea rax, [rsp + 0x40]
mov rcx, rdi
mov qword [rsp + 0x38], rax
sbb edx, edx
and dword [rsp + 0x30], 0
mov eax, 0x400
and edx, 0x80000
mov dword [rsp + 0x28], eax
inc edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rcx, qword [rsp + 0x70]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp rsi, 0xffffffffffffffff
jne 0x1401a78d5
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], eax
call fcn.1401a75dc
mov dword [rbx], eax
jmp 0x1401a78df
and dword [rbx], 0
mov byte [0x1402635e8], 0
lea r11, [rsp + 0x60]
mov rax, rsi
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1401a7a2c
Capabilities:
Connect pipe

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rcx, qword [rcx]
mov rsi, rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
xor ebx, ebx
test eax, eax
jne 0x1401a7a77
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x1401a7a77
mov dil, bl
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x38], eax
call fcn.1401a75dc
mov ebx, eax
jmp 0x1401a7a7a
mov dil, 1
mov dword [rsi], ebx
mov al, dil
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1401a7a90
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x50
mov rdi, rdx
mov rbx, rcx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbp + 0x20], rax
mov ecx, 0x18
call fcn.14016b0d4
test rax, rax
je 0x1401a7add
lea rcx, [rbp + 0x30]
mov qword [rax], rcx
lea rcx, [rbp + 0x20]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rbx
mov qword [rbp + 0x38], rax
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1401a7470]
xor edx, edx
xor ecx, ecx
call fcn.140185cac
mov qword [rbp - 0x20], rax
test rax, rax
je 0x1401a7b73
mov rdx, rdi
mov rcx, rbx
call fcn.1401a7a2c
mov bl, al
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [rbp - 0x18], 0
je 0x1401a7b82
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rbp - 0x18], eax
je 0x1401a7b8d
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x10], xmm0
xor edx, edx
lea rcx, [rbp - 0x10]
call fcn.14014ab60
test eax, eax
jne 0x1401a7b98
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [rbp - 0x18], 0
jne 0x1401a7b6d
mov al, bl
add rsp, 0x50
pop rdi
pop rbx
pop rbp
ret
call fcn.1401852f8
nop
and dword [rbp - 0x18], 0
mov ecx, 6
call fcn.14014b358
nop
mov ecx, 1
call fcn.14014b358
int3
mov ecx, 5
call fcn.14014b358
int3
mov ecx, 2
call fcn.14014b358
int3
Function at 0x1401d5d00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x1401d5d25
mov rcx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
cmp eax, 0xffffffff
jne 0x1401d5d45
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call fcn.1401d5c00
jmp 0x1401d5e6e
mov edx, ebp
mov rcx, rsi
call fcn.1401d5ad0
mov r15d, eax
xor r12d, r12d
bt ebp, 0xa
jae 0x1401d5e2c
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1401d5d6c
mov rdx, qword [rsi]
movdqa xmm0, xmmword [0x1401ea420]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r12w
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], r12w
jne 0x1401d5d90
lea rcx, [rsp + 0x48]
call fcn.140054f4c
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x48]
call fcn.140051390
cmp rbx, 0xffffffffffffffff
jne 0x1401d5e02
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call fcn.1401d5c00
nop
jmp 0x1401d5e6e
mov rcx, rsi
call fcn.1401d59b0
test al, al
jne 0x1401d5e23
mov dword [rdi], 9
mov dword [rdi + 4], r15d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1401d5e6e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14, r14
je 0x1401d5e44
mov dword [r14], r12d
mov byte [r14 + 4], 0
lea rax, [0x1401f4858]
mov qword [r14 + 8], rax
and ebp, 0x10
je 0x1401d5e4f
mov eax, dword [rsp + 0x40]
jmp 0x1401d5e57
mov eax, r15d
mov r15d, dword [rsp + 0x40]
test ebp, ebp
setne r12b
add r12d, 2
mov dword [rdi], r12d
test ebp, ebp
cmove r15d, eax
mov dword [rdi + 4], r15d
mov rax, rdi
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140002b10
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140002b6d
lea rbx, [0x140034ae0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002b54
cmp r10, 2
jb 0x140002b54
cmp byte [r9], r8b
jne 0x140002b54
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140002b30
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140002baf
lea rbx, [0x140034ae0]
cmp r8b, 0x23
jne 0x140002b93
cmp byte [r9], r8b
jne 0x140002b93
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140002b80
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002cf0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140002d0a
mov qword [r8], 0
lea rdx, [0x140034844]
call fcn.140002bc0
mov rbx, rax
test rax, rax
jne 0x140002d2a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140002e01
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002e01
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140002e01
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002e01
cmp rdi, 0xffffffffffffffff
je 0x140002e01
mov rax, qword [0x140040918]
test rax, rax
je 0x140002d9e
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140002e01
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140002dee
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140040918]
test rax, rax
je 0x140002de3
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002e0a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140002dfc
mov qword [r14], rdi
mov rax, rsi
jmp 0x140002e0c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140004b00
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xc8]
mov rax, qword [rcx + 0xd0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x140034ae0]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, qword [0x140040918]
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rax + 0x3e74], ebx
jne 0x140004b8d
mov dword [rax + 0x3e78], ebx
cmp dword [rax + 0x3ec0], ebx
jne 0x140004b9c
mov byte [rax + 0x3ec4], 1
cmp dword [rax + 0x3e5c], ebx
jne 0x140004bb3
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140015b30
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x14000fcb0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140040010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140040918]
mov edi, ecx
cmp byte [rbx + 0x41cd], 0
jne 0x14000fd11
cmp byte [rbx + 0x41ce], 0
jne 0x14000fd11
movsx r9d, word [rbx + 0x52ae]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002a90
test dil, 1
je 0x14000fe38
jmp 0x14000fd9a
movss xmm1, dword [rbx + 0x3830]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x52ae]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400395f4]
mulss xmm1, dword [0x1400395e8]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xd0c]
addss xmm1, dword [rbx + 0xd10]
mov qword [rbx + 0x3f48], rax
mov dword [rbx + 0x3f34], 1
movss dword [rbx + 0x3f40], xmm0
movss dword [rbx + 0x3f44], xmm1
movss xmm0, dword [rbx + 0x388c]
mulss xmm0, dword [0x140039564]
or dword [rbx + 0x3f30], 0x41
movss dword [rbx + 0x3f90], xmm0
call fcn.140002a90
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14000fdf0
lea r11, [0x140034ae0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x14000fdd3
cmp byte [r8], r9b
jne 0x14000fdd3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14000fdc0
not ecx
call fcn.140009630
test rax, rax
je 0x14000fe38
cmp byte [rax + 0x8e], 0
je 0x14000fe38
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x52ae]
mov edx, 0x10
movsx r9d, word [rbx + 0x52ae]
call fcn.140002a90
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000bdc0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140031740
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140014880
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5360], 0
lea rbx, [rcx + 0x5368]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140014927
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400148da
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1400168b0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400030c0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5360]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5370]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140040910]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001492f
mov rcx, rbx
call fcn.1400030c0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400321b8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140032202
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140032202
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140032202
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140032202
cmp dword [rcx + 0x84], 0xe
jbe 0x140032202
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140032204
xor al, al
add rsp, 0x28
ret
Function at 0x1400010c3
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x1403e163c
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1403e16c9
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1403e16c9
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1403e16c9
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1403e16b0
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1403e16aa
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1403e16b2
add rdx, 0x28
jmp 0x1403e168f
xor edx, edx
test rdx, rdx
jne 0x1403e16bb
xor al, al
jmp 0x1403e16cf
cmp dword [rdx + 0x24], 0
jge 0x1403e16c5
xor al, al
jmp 0x1403e16cf
mov al, 1
jmp 0x1403e16cf
xor al, al
jmp 0x1403e16cf
add rsp, 0x18
ret

Function at 0x14000111d
Capabilities:
Terminate process

Disassembly:
jmp 0x1403e0e30
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x14000114f
Capabilities:
Terminate process

Disassembly:
jmp 0x1403e0e18
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.1400011ea
test al, al
je 0x1403e0ce3
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.1400011c7
mov bl, al
mov ecx, dword [0x1403e87e8]
cmp ecx, 1
je 0x1403e0cee
test ecx, ecx
jne 0x1403e0c19
mov dword [0x1403e87e8], 1
lea rdx, [0x1403e6660]
lea rcx, [0x1403e6330]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
test eax, eax
je 0x1403e0bfa
mov eax, 0xff
jmp 0x1403e0cd3
lea rdx, [0x1403e6220]
lea rcx, [section..rdata]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [0x1403e87e8], 2
jmp 0x1403e0c21
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.1400011b3
call fcn.140001172
mov rbx, rax
cmp qword [rax], 0
je 0x1403e0c54
mov rcx, rax
call fcn.1400010c3
test al, al
je 0x1403e0c54
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x1403ec020]
call fcn.140001190
mov rbx, rax
cmp qword [rax], 0
je 0x1403e0c76
mov rcx, rax
call fcn.1400010c3
test al, al
je 0x1403e0c76
mov rcx, qword [rbx]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_narrow_environment
mov rdi, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov rbx, qword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
mov r8, rdi
mov rdx, rbx
mov ecx, dword [rax]
call fcn.14000114a
mov ebx, eax
call fcn.140001154
test al, al
je 0x1403e0cf8
test sil, sil
jne 0x1403e0cad
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
xor edx, edx
mov cl, 1
call fcn.1400010b9
mov eax, ebx
jmp 0x1403e0cd3
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.1400011bd
nop
mov ecx, 7
call fcn.1400011bd
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
nop
int3
sub rsp, 0x28
call fcn.140001163
add rsp, 0x28
jmp 0x1403e0b8c

Function at 0x140001154
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
mov rdi, rdx
mov ecx, 0xde698
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp ebx, 2
jge 0x1403e083d
lea rcx, str.____Missing_PID..._Finding..._n
call fcn.1400010f0
jmp 0x1403e084b
mov rcx, qword [rdi + 8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
test eax, eax
jne 0x1403e0863
lea rcx, str.____Process_not_found_n
call fcn.1400010f0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, eax
call fcn.1400010aa
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x1403e1bf0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
xor ecx, ecx
call fcn.140010d0c
xor eax, 4
mov ecx, eax
call fcn.140010ab0
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
mov qword [0x14005cfe8], rax
call qword [sym.imp.USER32.dll_GetDC]
call fcn.140003d70
mov ecx, 8
call fcn.14000a4f0
lea rcx, [0x1400010e0]
xor ebx, ebx
mov r9, rax
lea r8, [0x1400011e0]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call fcn.140010c00
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400011ca
cmp dword [rsp + 0x38], ebx
jne 0x140001186
lea ecx, [rbx + 1]
call fcn.1400088ac
int3
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.1400089a0
test eax, eax
je 0x1400011a7
mov ecx, eax
call fcn.140008870
int3
mov ebx, 0x1f4
nop dword [rax]
mov edi, ebx
call fcn.140004370
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
add ebx, 0xfffffffb
cmp edi, 0xa
cmovle ebx, edi
jmp 0x1400011b0
mov ecx, 6
mov dword [rsp + 0x38], ebx
call fcn.1400088ac
int3
Function at 0x140005070
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140005092
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14000510c
mov rdi, r14
mov rcx, rbx
call fcn.140006480
test rax, rax
jle 0x1400050e4
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.14000c520
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400050fc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140005104
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400050a6
sub r14, rdi
jmp 0x1400051ef
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140005123
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140005125
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140005157
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14000c520
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400051ec
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140005192
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x1400051cd
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140012390
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x1400051ec
cmp rbp, rax
ja 0x1400051a0
test rbp, rbp
je 0x1400051ec
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140012390
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret

Function at 0x1400089c4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140008a48
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400296b0]
cmp byte [rcx + rax], 0
je 0x140008a48
dec r8
sub rdx, 1
jne 0x140008a2e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14000b284
Capabilities:
Parse pe header

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

Function at 0x140016fc0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140016db0