joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140038e00
Capabilities:
Check mutex on windows

Disassembly:
push r12
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov ebp, 1
mov r14d, ebp
lea rdi, [0x140096850]
lea r12, [0x1400967e0]
xor r15d, r15d
movsxd rax, r14d
lea rcx, [rax + rax*4]
add rcx, rcx
mov dword [r12 + rcx*8 + 0x38], r15d
mov qword [r12 + rcx*8 + 8], r15
mov qword [rdi + 0x10], r15
mov rax, qword [rdi]
mov rsi, qword [rax + 8]
mov rbx, rsi
cmp byte [rsi + 0x19], 0
jne 0x140038e98
nop dword [rax + rax]
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call fcn.140033580
mov rbx, qword [rbx]
mov edx, 0x30
mov rcx, rsi
call fcn.14003ce44
mov rsi, rbx
cmp byte [rbx + 0x19], 0
je 0x140038e70
mov rax, qword [rdi]
mov qword [rax + 8], rax
mov rax, qword [rdi]
mov qword [rax], rax
mov rax, qword [rdi]
mov qword [rax + 0x10], rax
mov qword [rdi + 8], r15
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexA]
mov qword [rdi - 0x20], rax
test rax, rax
je 0x140038f30
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexA]
mov qword [rdi - 0x10], rax
test rax, rax
je 0x140038f30
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexA]
mov qword [rdi - 8], rax
test rax, rax
je 0x140038f30
inc r14d
add rdi, 0x50
cmp r14d, 5
jl 0x140038e40
lea rbx, [0x14007bed4]
nop word [rax + rax]
movsxd rcx, ebp
mov edx, dword [rbx]
call fcn.140038c80
mov edi, eax
test eax, eax
jne 0x140038f35
inc ebp
add rbx, 4
cmp ebp, 4
jl 0x140038f10
jmp 0x140038fb8
mov edi, listen
lea rbx, [0x140096860]
mov esi, 3
mov rax, qword [rbx - 0x28]
test rax, rax
je 0x140038f73
mov rcx, qword [rbx - 0x28]
call qword [0x1400957b8]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140038f6a
mov edx, 0xffffffff
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rbx], r15
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x140038f86
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rbx - 0x18], r15
mov rcx, qword [rbx - 0x20]
test rcx, rcx
je 0x140038f99
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rbx - 0x20], r15
mov rcx, qword [rbx - 0x30]
test rcx, rcx
je 0x140038fac
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rbx - 0x30], r15
add rbx, 0x50
sub rsi, 1
jne 0x140038f41
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
Function at 0x140039450
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x100
mov rax, qword [0x140092008]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0x30], 0
mov esi, edx
mov qword [rsp + 0x38], 0
mov rdi, rcx
test rcx, rcx
jne 0x140039497
lea eax, [rcx + 6]
jmp 0x14003969b
mov rax, qword [0x140095798]
test rax, rax
jne 0x1400394c6
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexA]
mov qword [0x140095798], rax
test rax, rax
jne 0x1400394c6
mov eax, listen
jmp 0x14003969b
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexA]
mov qword [0x1400957c0], rax
test rax, rax
jne 0x1400394f5
lea ebx, [rax + 0xb]
jmp 0x14003968c
mov eax, dword [0x14009575c]
cmp eax, 1
jne 0x140039508
lea ebx, [rax + 0xb]
jmp 0x14003968c
movups xmm0, xmmword [rdi]
xor ebx, ebx
movups xmmword [0x1400957a0], xmm0
movups xmm1, xmmword [rdi + 0x10]
movq rax, xmm1
movups xmmword [0x1400957b0], xmm1
test rax, rax
je 0x140039544
cmp qword [0x1400957b8], rbx
je 0x140039544
cmp qword [0x1400957a0], rbx
je 0x140039544
cmp qword [0x1400957a8], rbx
jne 0x140039549
mov ebx, 6
test ebx, ebx
jne 0x14003968c
call fcn.140038e00
mov ebx, eax
test eax, eax
jne 0x14003968c
test esi, esi
je 0x1400395d4
lea ecx, [rax + 2]
call fcn.1400390c0
mov ebx, eax
test eax, eax
jne 0x14003967b
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.140039180
mov rdi, qword [rsp + 0x38]
mov ebx, eax
test eax, eax
jne 0x1400395ad
cmp dword [rsp + 0x30], eax
jbe 0x1400395ad
mov edx, dword [rdi]
lea ecx, [rax + 4]
call fcn.140038c80
mov ebx, eax
test eax, eax
jne 0x1400395ad
call fcn.1400392f0
mov ebx, eax
test rdi, rdi
je 0x1400395ba
mov rcx, rdi
call fcn.140047100
test ebx, ebx
jne 0x14003967b
lea ecx, [rbx + 3]
call fcn.1400390c0
mov ebx, eax
test eax, eax
jne 0x14003967b
xor edx, edx
lea rcx, [rsp + 0x80]
lea r8d, [rdx + 0x64]
call fcn.140041d80
xor eax, eax
mov dword [rsp + 0x90], 0x1a
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea ecx, [rax + 2]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
call fcn.140038060
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x80]
mov dword [rsp + 0x20], 0
lea r8d, [r9 + 0x18]
lea ecx, [r9 + 2]
call fcn.140038630
mov rcx, qword [rsp + 0x50]
mov ebx, eax
test eax, eax
jne 0x14003966d
mov ebx, dword [rsp + 0x48]
test ebx, ebx
jne 0x14003966d
test rcx, rcx
je 0x140039668
cmp dword [rsp + 0x4c], 0x10
je 0x14003966d
mov ebx, 8
test rcx, rcx
je 0x140039677
call fcn.140047100
test ebx, ebx
je 0x140039682
call fcn.140038fe0
jmp 0x14003968c
mov dword [0x14009575c], 1
mov rcx, qword [0x140095798]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex]
mov eax, ebx
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.14003ce20
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14003c6f0
Capabilities:
Print debug messages

Disassembly:
test ecx, ecx
jg 0x14003c792
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rdi
sub rsp, 0x448
mov rax, qword [0x140092008]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov qword [r11 - 0x18], rsi
mov rbx, rdx
lea rsi, [r11 + 0x18]
mov edi, ecx
call fcn.140001f50
mov qword [rsp + 0x28], rsi
lea rdx, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], 0
mov r8d, 0x400
mov rcx, qword [rax]
call fcn.140045ba0
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
mov rsi, qword [rsp + 0x440]
test edi, edi
jne 0x14003c779
lea rcx, [rsp + 0x30]
call fcn.140020340
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.14003ce20
add rsp, 0x448
pop rdi
pop rbx
ret

Function at 0x14003c6f8
Capabilities:
Print debug messages

Disassembly:
test ecx, ecx
jg 0x14003c792
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rdi
sub rsp, 0x448
mov rax, qword [0x140092008]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov qword [r11 - 0x18], rsi
mov rbx, rdx
lea rsi, [r11 + 0x18]
mov edi, ecx
call fcn.140001f50
mov qword [rsp + 0x28], rsi
lea rdx, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], 0
mov r8d, 0x400
mov rcx, qword [rax]
call fcn.140045ba0
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
mov rsi, qword [rsp + 0x440]
test edi, edi
jne 0x14003c779
lea rcx, [rsp + 0x30]
call fcn.140020340
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.14003ce20
add rsp, 0x448
pop rdi
pop rbx
ret

Function at 0x1400418a4
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x14006f9f8]
xor ecx, ecx
lea r8, [0x14006f9f0]
lea rdx, str.FlsAlloc
call fcn.1400416cc
mov rbx, rax
test rax, rax
je 0x1400418e4
mov rcx, rax
call fcn.14003dd3c
mov rcx, rdi
call rbx
jmp 0x1400418ea
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14004194c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x14006fa08]
mov ecx, 2
lea r8, [0x14006fa00]
lea rdx, str.FlsGetValue
call fcn.1400416cc
mov rdi, rax
test rax, rax
je 0x14004198d
mov rcx, rax
call fcn.14003dd3c
mov ecx, ebx
call rdi
jmp 0x140041995
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400419a0
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x14006fa10]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x14006fa08]
call fcn.1400416cc
mov rsi, rax
test rax, rax
je 0x1400419ec
mov rcx, rax
call fcn.14003dd3c
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x1400419f7
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140047c74
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
test eax, eax
jne 0x140047c94
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, eax
call fcn.140046e58
or eax, 0xffffffff
jmp 0x140047c96
xor eax, eax
add rsp, 0x28
ret

Function at 0x14004fc24
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14004fa48
Function at 0x140f6a8e0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f6a8ea
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f6a913
pop rbp
sub rbp, 0x33
sub rbp, 0xf6a8e0
sub rsp, 0x20
jmp 0x140f6a932
mov rax, 0xf6a8e0
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffff83cfcf8c
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f6a951
jmp 0x140f6a968
invalid
Function at 0x1400047e4
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1400128b8]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea r14, str.en_US
mov rsi, rcx
mov qword [rcx], r14
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov word [rsp + 0x30], ax
mov ebx, 0x10
mov r9d, ebx
lea rdx, [0x140008110]
lea rax, [0x140004df0]
mov r8d, 0x1b3
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call sub.api_ms_win_crt_private_l1_1_0.dll__o_bsearch
xor ebp, ebp
test rax, rax
jne 0x14000485f
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400048e5
cmp dword [rax + 0xc], 0x7c
jne 0x14000486c
cmp word [rax + 8], 0x7f
jne 0x14000484f
mov r8, qword [rax]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [r8 + rcx*2], bp
jne 0x140004873
inc rcx
cmp rcx, 0x7ffffffe
jbe 0x140004890
mov word [rsp + 0x38], bp
jmp 0x1400048d7
lea rax, [rsp + 0x38]
mov r9d, ebp
sub r8, rax
lea rdx, [rsp + 0x38]
lea rax, [rbx - 0x10]
add rax, rcx
je 0x1400048c0
movzx eax, word [r8 + rdx]
test ax, ax
je 0x1400048c0
mov word [rdx], ax
add rdx, 2
sub rbx, 1
jne 0x1400048a0
test rbx, rbx
jne 0x1400048cf
sub rdx, 2
mov r9d, 0x8007007a
mov word [rdx], bp
test r9d, r9d
jns 0x1400048e1
mov ecx, 0x7a
jmp 0x140004854
test ecx, ecx
jne 0x1400048f1
mov rcx, qword [rsp + 0x78]
call fcn.14000494c
jmp 0x14000492a
mov rbx, rbp
mov rdi, rbp
mov rdx, qword [rdi + r14]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
test eax, eax
je 0x14000491c
inc rbx
add rdi, 0x30
cmp rdi, 0x750
jb 0x1400048f7
jmp 0x14000492a
lea rax, [rbx + rbx*2]
shl rax, 4
add rax, r14
mov qword [rsi], rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400050e0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140005104
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140012e60], eax
call fcn.1400056f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140012e60], 0
jne case.default.0x14000515a
mov ecx, 1
call fcn.1400056f0
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]
movabs rdi, 0xea7648a2142bb00b
movabs eax, dword [0xff212fe3982a55bc]
neg ebp
adc eax, 0xe8b16696
wait
mov ebx, 0x4b0097f1
mov ecx, 0x8a5f767b
int3
Function at 0x14000d470
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x1c8], 0
mov ebx, edx
mov rdi, rcx
jne 0x14000d498
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14001d93c
test ebx, ebx
jne 0x14000d4b3
mov qword [0x1402724f0], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14027f9fc], eax
cmp qword [0x1402724f0], 0
je 0x14000d4e1
mov edx, ebx
mov rcx, rdi
call fcn.14001d93c
movsxd rcx, eax
mov qword [0x1402724f0], rcx
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ebx, 2
jl 0x14000d4d1
lea rcx, [0x14027fcb0]
call fcn.140016d70
mov rax, qword [rdi + 0x1c8]
mov rbx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x14027f9fc]
mov rcx, qword [rdi + 0x1c8]
mov edx, eax
mov rax, qword [rbx + 0xa0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax

Function at 0x14000ef30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x14027fde8]
mov rax, qword [rbx + 0x38]
test rax, rax
jne 0x14000efc7
mov rcx, qword [rbx + 0x18]
mov qword [rbx + 0x38], 1
test rcx, rcx
je 0x14000ef61
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea rax, [0x14000ebf0]
mov qword [rbx + 0x30], 0
lea rcx, [rbx + 0x20]
mov qword [rbx + 0x40], rax
mov qword [rsp + 0x28], rcx
lea rax, [0x14027fdd0]
lea r9, [rbx + 0x10]
mov qword [rbx + 0x48], rax
lea r8, [0x140016be0]
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x14000efc7
mov qword [rbx + 0x38], rax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x30
pop rdi
ret
Function at 0x140013f60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rbx, r8
mov edi, edx
test r8, r8
je 0x140014130
mov rax, qword [rcx]
call qword [rax]
mov rbp, rax
test edi, edi
je 0x140013fd0
cmp edi, 3
je 0x140013fd0
sub edi, 1
je 0x140013fbf
cmp edi, 1
jne 0x140014130
movzx edx, bx
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadIconW]
jmp 0x140014132
movzx edx, bx
mov rcx, rbp
call qword [sym.imp.USER32.dll_LoadCursorW]
jmp 0x140014132
movzx edx, bx
mov r8d, 0xa
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r15, rax
test rax, rax
je 0x140014130
xor ebx, ebx
mov esi, ebx
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
test rax, rax
je 0x140014130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
test rax, rax
je 0x140014096
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], rbx
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r8d, eax
mov rdx, r12
lea rcx, [rsp + 0x50]
call fcn.1400110d0
test rax, rax
je 0x14001406f
mov rsi, qword [rsp + 0x50]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], rbx
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140014096
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeResource]
test rsi, rsi
je 0x140014130
cmp edi, 3
jne 0x14001412b
lea r8, [rsp + 0x30]
lea edx, [rdi + 0x1d]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x14001411d
mov edx, dword [rsp + 0x38]
test edx, edx
je 0x14001411d
lea ecx, [rdx + 1]
and ecx, 0xfffffffe
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8d, [rdi + 0x1e]
call qword [sym.imp.COMCTL32.dll_ImageList_Create]
mov rdi, rax
test rax, rax
je 0x14001411d
mov r8d, 0xff00ff
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
test eax, eax
jns 0x14001411a
mov rcx, rdi
call qword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rax, rbx
jmp 0x140014132
mov rbx, rdi
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rax, rbx
jmp 0x140014132
mov rax, rsi
jmp 0x140014132
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x1400141f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x20
xor esi, esi
mov r14, r9
mov qword [r8 + 0x28], rsi
mov rbx, r8
mov rbp, rdx
test rdx, rdx
jne 0x140014222
lea eax, [rdx + 1]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rsi
pop rbp
ret
mov rax, qword [rcx]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], r15
call qword [rax]
movzx edx, bp
mov r8, r14
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r15, rax
test rax, rax
je 0x140014317
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbp, rax
test rax, rax
je 0x140014317
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x14001430e
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov qword [rbx + 0x28], rsi
cmp qword [rbx + 0x20], rdi
jl 0x1400142ec
cmp rdi, 1
jne 0x1400142aa
movzx ecx, byte [r14]
mov rax, qword [rbx + 0x18]
mov byte [rax], cl
inc qword [rbx + 0x28]
jmp 0x140014309
cmp rdi, 2
jne 0x1400142c1
movzx ecx, word [r14]
mov rax, qword [rbx + 0x18]
mov word [rax], cx
add qword [rbx + 0x28], rdi
jmp 0x140014309
cmp rdi, 4
jne 0x1400142d6
mov ecx, dword [r14]
mov rax, qword [rbx + 0x18]
mov dword [rax], ecx
add qword [rbx + 0x28], rdi
jmp 0x140014309
cmp rdi, 8
jne 0x1400142ec
mov rcx, qword [r14]
mov rax, qword [rbx + 0x18]
mov qword [rax], rcx
add qword [rbx + 0x28], rdi
jmp 0x140014309
test eax, eax
je 0x140014309
mov rdx, rdi
mov rcx, rbx
call fcn.140016060
mov r8, rdi
mov rdx, r14
mov rcx, rax
call fcn.1401b7180
mov esi, 1
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov r15, qword [rsp + 0x48]
mov rax, rsi
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rsi
pop rbp
ret
Function at 0x140015520
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
test rcx, rcx
je 0x140015689
cmp word [rcx], 0
je 0x140015689
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
mov dword [rbp - 0x60], 0x68
psrldq xmm0, 0xc
movd eax, xmm0
or eax, 1
mov dword [rbp - 0x24], eax
xor edi, edi
mov word [rbp - 0x20], di
lea rax, vtable.CVolCommonBaseWithMemManager.0
mov qword [rsp + 0x50], rax
lea rsi, vtable.CVolObject.0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
lea r14, vtable.CVolMem.0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], 0x40
mov rdx, rcx
lea rcx, [rsp + 0x50]
call fcn.1400161b0
mov rdx, qword [rsp + 0x68]
cmp qword [rsp + 0x78], rdi
cmove rdx, rdi
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14001562b
mov ebx, edi
jmp 0x140015653
mov edx, 0x1f4
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.USER32.dll_WaitForInputIdle]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
mov qword [rsp + 0x50], r14
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x140015670
lea rcx, [rsp + 0x50]
mov r8, qword [rsp + 0x50]
call qword [r8 + 0x18]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x50], rsi
mov rax, rbx
jmp 0x14001568b
xor eax, eax
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret