joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000267c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
mov ecx, 0x7bac0721
call fcn.1400021d8
mov ecx, 0xf477a895
mov r13, rax
call fcn.1400021d8
lea rcx, [rbp - 0x50]
mov qword [rbp + 0x40], rax
mov dword [rbp - 0x50], 0x6c64746e
xor r15d, r15d
mov dword [rbp - 0x4c], 0x6c642e6c
mov word [rbp - 0x48], 0x6c
mov dword [rbp - 0x20], 0x526c7452
mov dword [rbp - 0x1c], 0x6c6c4165
mov dword [rbp - 0x18], 0x7461636f
mov dword [rbp - 0x14], 0x61654865
mov word [rbp - 0x10], 0x70
call fcn.1400022a0
mov rcx, rax
lea rdx, [rbp - 0x20]
call fcn.1400022c0
lea rcx, [rbp - 0x40]
mov qword [rbp + 0x48], rax
mov dword [rbp - 0x40], 0x6c64746e
mov dword [rbp - 0x3c], 0x6c642e6c
mov word [rbp - 0x38], 0x6c
mov dword [rbp - 0x30], 0x416c7452
mov dword [rbp - 0x2c], 0x636f6c6c
mov dword [rbp - 0x28], 0x48657461
mov dword [rbp - 0x24], 0x706165
call fcn.1400022a0
mov rcx, rax
lea rdx, [rbp - 0x30]
call fcn.1400022c0
mov rcx, qword [rbx]
lea edi, [r15 + 1]
mov r12, qword [rbx + 8]
mov qword [rbp + 0x50], rax
cmp dword [rcx + 0x94], r15d
jbe 0x14000288f
mov esi, dword [rcx + 0x90]
lea edx, [rdi + 0x13]
add rsi, r12
mov rcx, rsi
call r13
test eax, eax
jne 0x14000288f
add rsi, 0x10
mov edi, 1
cmp dword [rsi - 4], r15d
je 0x14000288f
mov ecx, dword [rsi - 4]
mov rdx, qword [rbx + 0x38]
add rcx, r12
call qword [rbx + 0x20]
mov r14, rax
test rax, rax
je 0x14000288c
mov ecx, dword [rbx + 0x18]
mov r15, qword [rbx + 0x10]
inc ecx
movsxd rdi, ecx
shl rdi, 3
call qword [rbp + 0x40]
mov rcx, rax
test r15, r15
je 0x1400027d2
mov r9, rdi
mov r8, r15
xor edx, edx
call qword [rbp + 0x48]
jmp 0x1400027dd
mov r8, rdi
mov edx, 8
call qword [rbp + 0x50]
mov rcx, rax
test rax, rax
je 0x14000287e
mov qword [rbx + 0x10], rax
movsxd rax, dword [rbx + 0x18]
mov qword [rcx + rax*8], r14
inc dword [rbx + 0x18]
mov eax, dword [rsi - 0x10]
test eax, eax
jne 0x140002801
mov eax, dword [rsi]
mov r15d, eax
mov edi, 1
add r15, r12
mov rax, qword [r15]
test rax, rax
je 0x140002853
mov edi, dword [rsi]
add rdi, r12
mov r8, qword [rbx + 0x38]
mov rcx, r14
test rax, rax
jns 0x14000282b
movzx edx, word [r15]
jmp 0x140002835
mov rdx, qword [r15]
add rdx, 2
add rdx, r12
call qword [rbx + 0x28]
mov qword [rdi], rax
test rax, rax
je 0x140002870
add r15, 8
add rdi, 8
mov rax, qword [r15]
test rax, rax
jne 0x140002819
lea edi, [rax + 1]
add rsi, 0x14
mov edx, 0x14
lea rcx, [rsi - 0x10]
call r13
xor r15d, r15d
test eax, eax
je 0x140002782
jmp 0x14000288f
mov rdx, qword [rbx + 0x38]
xor edi, edi
mov rcx, r14
call qword [rbx + 0x30]
jmp 0x14000288f
mov rdx, qword [rbx + 0x38]
mov rcx, r14
call qword [rbx + 0x30]
xor edi, edi
jmp 0x14000288f
mov edi, r15d
mov rbx, qword [rsp + 0xc8]
mov eax, edi
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400028ec
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r9
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov r15, rcx
mov ecx, 0x4faef192
call fcn.1400021d8
mov ecx, 0x9e5a8833
mov r12, rax
call fcn.1400021d8
mov ecx, 0xf477a895
mov rbx, rax
call fcn.1400021d8
mov ecx, 0xc9f93d32
mov rdi, rax
call fcn.1400021d8
lea rcx, [rbp - 0x20]
mov qword [rbp + 0x48], rax
mov dword [rbp - 0x20], 0x6c64746e
mov dword [rbp - 0x1c], 0x6c642e6c
mov word [rbp - 0x18], 0x6c
mov dword [rbp - 0x10], 0x416c7452
mov dword [rbp - 0xc], 0x636f6c6c
mov dword [rbp - 8], 0x48657461
mov dword [rbp - 4], 0x706165
call fcn.1400022a0
mov rcx, rax
lea rdx, [rbp - 0x10]
call fcn.1400022c0
mov r13, rax
mov eax, 0x5a4d
cmp word [r15], ax
jne 0x140002a09
movsxd rsi, dword [r15 + 0x3c]
add rsi, r15
cmp dword [rsi], 0x4550
jne 0x140002a09
mov edx, dword [rsi + 0x50]
mov r9d, 4
mov rcx, qword [rsi + 0x30]
mov r8d, 0x3000
call rbx
mov r14, rax
test rax, rax
jne 0x1400029df
mov edx, dword [rsi + 0x50]
lea r9d, [rax + 4]
xor ecx, ecx
mov r8d, 0x3000
call rbx
mov r14, rax
test rax, rax
je 0x140002a09
call rdi
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0x38]
call r13
xor r13d, r13d
mov rdi, rax
mov rcx, r14
test rax, rax
jne 0x140002a29
xor edx, edx
mov r8d, 0x8000
call r12
xor eax, eax
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov qword [rax + 8], r14
mov r9d, 4
mov qword [rax + 0x18], r13
mov r8d, 0x1000
mov qword [rax + 0x10], r13
lea rax, [0x1400028ac]
mov qword [rdi + 0x20], rax
lea rax, [0x1400028b4]
mov qword [rdi + 0x28], rax
lea rax, [0x1400028bc]
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], r13
mov edx, dword [rsi + 0x54]
call rbx
mov r8d, dword [rsi + 0x54]
mov rdx, r15
mov rcx, rax
mov rbx, rax
call qword [rbp + 0x48]
movsxd rax, dword [r15 + 0x3c]
mov r8, rdi
add rax, rbx
mov rdx, rsi
mov qword [rdi], rax
mov rcx, r15
mov qword [rax + 0x30], r14
call fcn.1400022f0
mov rdx, r14
sub rdx, qword [rsi + 0x30]
je 0x140002aa8
mov rcx, rdi
call fcn.1400025e0
mov rcx, rdi
call fcn.14000267c
test eax, eax
je 0x140002a09
mov rcx, rdi
call fcn.1400023e4
mov rcx, rdi
call fcn.140002594
mov rax, qword [rdi]
cmp dword [rax + 0x28], r13d
je 0x140002af0
mov eax, dword [rax + 0x28]
xor r8d, r8d
add rax, r14
mov rcx, r14
lea ebx, [r8 + 1]
mov edx, ebx
call rax
test eax, eax
je 0x140002a09
mov dword [rdi + 0x1c], ebx
mov rax, rdi
jmp 0x140002a0b

Function at 0x140002bc0
Capabilities:
Encode data using xor

Disassembly:
movsxd r8, edx
test edx, edx
jle 0x140002bd3
xor byte [rcx], 0x3a
inc rcx
sub r8, 1
jne 0x140002bc7
mov eax, 1
ret
Function at 0x140183154
Capabilities:
Parse pe header

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

Function at 0x140186b5c
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 0x140186bcb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140186bcb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140186bcb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140186bcb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140186bcb
cmp dword [rcx + 0x84], 0xe
jbe 0x140186bcb
cmp dword [rcx + 0xf8], 0
je 0x140186bcb
mov ecx, ebx
call fcn.140186c7c
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.140186a58
nop
cmp dword [rbp + 0x20], 0
je 0x140186c19
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140186c24
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140186b5c

Function at 0x140186d60
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140186b5c
Function at 0x14018b51c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14018b5a3
mov rsi, rbx
cmp word [rax], bp
je 0x14018b562
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14018b54c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14018b548
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14018996c
mov rdi, rax
test rax, rax
je 0x14018b590
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1401915f0
mov rbp, rdi
xor ecx, ecx
call fcn.14018a280
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140190d60
Capabilities:
Parse pe header

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

Disassembly:
cmp rcx, qword [0x14000a008]
jne 0x1400010ba
rol rcx, 0x10
test cx, 0xffff
jne 0x1400010b6
repz ret
ror rcx, 0x10
jmp 0x1400012ac
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000b0e0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14000b1d8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140001331
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14000b0e0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140001353
mov rax, qword [rsp + 0x88]
mov qword [0x14000b1d8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14000b178], rax
mov rax, qword [0x14000b1d8]
mov qword [0x14000b050], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14000b160], rax
mov dword [0x14000b040], 0xc0000409
mov dword [0x14000b044], 1
mov rax, qword [0x14000a008]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000a010]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14000b0d8], eax
mov ecx, 1
call fcn.140002a8c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400072b0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14000b0d8], 0
jne 0x1400013da
mov ecx, 1
call fcn.140002a8c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x14000179c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140002ce4
nop
cmp dword [0x14000b600], 1
je 0x140001748
mov dword [0x14000b5fc], 1
mov byte [0x14000b5f8], r12b
test ebx, ebx
jne 0x140001734
mov rcx, qword [0x14000c158]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140001721
mov rcx, qword [0x14000c150]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x1400016c0
call fcn.140002638
cmp qword [rdi], rax
jne 0x1400016c0
jmp 0x1400016a6
cmp rdi, rsi
jb 0x140001721
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140002638
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14000c158]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14000c150]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1400016ff
cmp r13, rax
je 0x14000171f
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1400016a6
lea rdx, [0x140007270]
lea rcx, [0x140007268]
call fcn.1400014f0
lea rdx, [0x140007280]
lea rcx, [0x140007278]
call fcn.1400014f0
nop
test r12d, r12d
je 0x140001757
mov ecx, 8
call fcn.140002be4
test r12d, r12d
jne 0x140001782
mov dword [0x14000b600], 1
lea ecx, [r12 + 8]
call fcn.140002be4
mov ecx, r15d
call fcn.140001484
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140001610

Function at 0x1400017a8
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140001610
Function at 0x1400034e0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140002638
xor ebx, ebx
mov rdi, rax
cmp qword [0x14000bdd8], rbx
jne 0x1400035e6
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400036bb
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400036bb
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14000bdd8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14000bde0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x14000bde8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14000bdf8], rax
test rax, rax
je 0x1400035dd
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14000bdf0], rax
jmp 0x1400035ed
mov rax, qword [0x14000bdf0]
jmp 0x1400035f4
mov rax, qword [0x14000bdf0]
mov r11, qword [0x14000bdf8]
cmp rax, rdi
je 0x14000365c
cmp r11, rdi
je 0x14000365c
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14000bdf8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14000365c
test rax, rax
je 0x14000365c
call rsi
test rax, rax
je 0x140003656
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140003656
test byte [rsp + 0x38], 1
jne 0x14000365c
bts ebp, 0x15
jmp 0x14000369a
mov rcx, qword [0x14000bde0]
cmp rcx, rdi
je 0x14000369a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000369a
call rax
mov rbx, rax
test rax, rax
je 0x14000369a
mov rcx, qword [0x14000bde8]
cmp rcx, rdi
je 0x14000369a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000369a
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14000bdd8]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400036bb
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1400036bd
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret

Function at 0x140006720
Capabilities:
Hide graphical window

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x30], 0x80
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0xfffffe70
mov r8d, 0xfffffe70
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_SetWindowPos]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_ShowWindow]
add rsp, 0x48
ret
Function at 0x140006780
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x30], 0x80
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0xfffffe70
mov r8d, 0xfffffe70
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_SetWindowPos]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, 0x68
mov rcx, qword [rsp + 0x50]
call fcn.140001000
mov eax, 1
add rsp, 0x48
ret
Function at 0x1800012f0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
movzx ebp, r8w
mov r12, rdx
mov rdi, rcx
xor r13d, r13d
mov dword [rcx + 8], r13d
lea rax, vtable.CCoreManage.0
mov qword [rcx], rax
mov qword [rcx + 0x18], r13
lea rbx, [rcx + 0x20]
mov qword [rsp + 0x88], rbx
lea ecx, [r13 + 8]
call fcn.18000a478
test rax, rax
je 0x18000134c
mov qword [rax], rbx
jmp 0x18000134f
mov rax, r13
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800089b0
mov qword [rbx + 0x30], rax
mov byte [rax + 0x29], 1
mov rax, qword [rbx + 0x30]
mov qword [rax + 8], rax
mov rax, qword [rbx + 0x30]
mov qword [rax], rax
mov rax, qword [rbx + 0x30]
mov qword [rax + 0x10], rax
mov qword [rbx + 0x38], r13
mov qword [rdi + 0x60], r13
lea rbx, [rdi + 0x78]
mov qword [rsp + 0x88], rbx
mov ecx, 8
call fcn.18000a478
test rax, rax
je 0x1800013a1
mov qword [rax], rbx
jmp 0x1800013a4
mov rax, r13
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800089b0
mov qword [rbx + 0x30], rax
mov byte [rax + 0x29], 1
mov rax, qword [rbx + 0x30]
mov qword [rax + 8], rax
mov rax, qword [rbx + 0x30]
mov qword [rax], rax
mov rax, qword [rbx + 0x30]
mov qword [rax + 0x10], rax
mov qword [rbx + 0x38], r13
lea r9, str.2B99178A_21A2_4176_8D32_81DA708CFD0A_Event
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0xe8], rax
mov qword [rdi + 0xf0], r13
mov qword [rdi + 0xf8], r13
mov qword [rdi + 0x10], r12
mov word [rdi + 0x70], bp
mov dword [rdi + 0xe0], r13d
mov ecx, 0xc8
call fcn.18000a478
test rax, rax
je 0x180001424
mov rcx, rax
call fcn.180009300
jmp 0x180001427
mov rax, r13
mov qword [rdi + 0x68], rax
mov qword [rax + 0x40], rdi
mov rbx, qword [rdi + 0x68]
mov qword [rsp + 0x88], rbx
test rbx, rbx
je 0x18000144a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
lea rdx, [rdi + 0x60]
call qword [rax + 0x20]
test eax, eax
jne 0x1800014d1
mov rcx, qword [rdi + 0x60]
test rcx, rcx
je 0x1800014d1
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x28]
lea rcx, [rdi + 0xb8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea r8, str.2B99178A_21A2_4176_8D32_81DA708CFD0A_FileMap
xor edx, edx
lea ecx, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov qword [rdi + 0xf0], rax
test rax, rax
je 0x1800014b8
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 0xf8], rax
test rbx, rbx
je 0x1800014cc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
nop
mov rax, rdi
jmp 0x1800014e8
mov rax, rdi
jmp 0x1800014e8
test rbx, rbx
je 0x1800014e5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
nop
mov rax, rdi
jmp 0x1800014e8
mov rax, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180001b50
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xb00
mov rax, qword [0x18001f090]
xor rax, rsp
mov qword [rsp + 0xaf0], rax
sub ecx, 2
je 0x180001ba1
sub ecx, 1
je 0x180001b98
sub ecx, 1
je 0x180001b8f
cmp ecx, 1
je 0x180001b86
xor eax, eax
jmp 0x180001caa
lea rbx, str._op:7
jmp 0x180001ba8
lea rbx, str._op:6
jmp 0x180001ba8
lea rbx, str._op:8
jmp 0x180001ba8
lea rbx, str._op:9
lea rdx, [rsp + 0xe0]
mov r8d, 0x104
xor ecx, ecx
mov qword [rsp + 0xb10], rdi
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0xe0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea rdx, str.Update.exe
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rsp + 0x2f2]
xor edi, edi
xor edx, edx
mov r8d, 0x7fe
mov word [rsp + 0x2f0], di
call fcn.18000b250
lea r8, [rsp + 0xe0]
lea rdx, str.__s___s
lea rcx, [rsp + 0x2f0]
mov r9, rbx
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8d, [rdi + 0x60]
lea rcx, [rsp + 0x78]
xor edx, edx
call fcn.18000b250
mov eax, 5
lea rdx, [rsp + 0x2f0]
mov word [rsp + 0xb0], ax
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x70], 0x68
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rdi, qword [rsp + 0xb10]
mov ebx, eax
test eax, eax
je 0x180001ca8
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0xaf0]
xor rcx, rsp
call fcn.18000a170
add rsp, 0xb00
pop rbx
ret

Function at 0x1800050b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x1800050e3
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x180005127
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x180005122
cmp rbx, r11
jae 0x180005127
add edi, 0xffffffff
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x180005110
cmp rbx, r11
jb 0x18000512b
xor eax, eax
jmp 0x180005137
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800054b0
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x60
mov rsi, rdx
mov byte [rdx], 0
xor ecx, ecx
xor edx, edx
mov r8d, 0x20000
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x1800054eb
mov eax, 0x80004005
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rsi
ret
lea rdx, str.KuaiZipDrive
mov r8d, 4
mov rcx, rax
mov qword [rsp + 0x70], rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x180005520
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
jne 0x180005577
jmp 0x1800055ab
xor eax, eax
xor ecx, ecx
lea r8, [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x78]
lea r9d, [rcx + 0x24]
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x78], ecx
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x180005598
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x70]
mov eax, 0x80004005
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rsi
ret
cmp dword [rsp + 0x34], 4
jne 0x1800055a2
mov byte [rsi], 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x80]
xor eax, eax
add rsp, 0x60
pop rsi
ret