joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401273a0
Capabilities:
Create process on windows
Get explorer pid
Spoof parent pid

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rbp], rax
mov rsi, rcx
mov qword [rsp + 0x50], rcx
call qword [sym.imp.USER32.dll_GetShellWindow]
xor r14d, r14d
mov dword [rsp + 0x58], r14d
lea rdx, [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x58]
xor edx, edx
mov ecx, 0x80
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x68], rax
xor dil, dil
test rax, rax
je 0x14012753d
mov qword [rsp + 0x60], r14
lea r9, [rsp + 0x60]
xor r8d, r8d
lea edx, [r14 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140127531
call fcn.140203268
mov rbx, rax
test rax, rax
je 0x140127531
lea r9, [rsp + 0x60]
xor r8d, r8d
lea edx, [r14 + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
test eax, eax
je 0x140127529
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], 8
lea r9, [rsp + 0x68]
xor edx, edx
mov r8d, 0x20000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x140127529
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
mov dword [rbp - 0xc], eax
mov qword [rbp - 8], rbx
mov dword [rbp - 0x70], 0x70
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rax
mov rcx, rsi
call fcn.140017c50
mov rdx, rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80010
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140127529
mov dil, 1
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.140203254
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140127563
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x140038716.0]
movzx eax, dil
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1401f3bf0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14012a880
Capabilities:
Get memory capacity

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
mov qword [rsp + 0x20], 0x40
mov rbx, rcx
xor eax, eax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x58], rax
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x28]
shr rax, 0x14
mov dword [rbx + 0x118], eax
mov rax, qword [rsp + 0x30]
shr rax, 0x14
mov dword [rbx + 0x11c], eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401f3bf0
add rsp, 0x70
pop rbx
ret

Function at 0x14012e490
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
xor ebp, ebp
mov eax, dword [rcx + rax]
cmp dword [0x140310528], eax
jg 0x14012e602
cmp qword [0x140310530], 0
je 0x14012e4f5
cmp qword [0x140310540], 0
jne 0x14012e5b3
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rcx, qword [rbx]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
call fcn.14012e650
test eax, eax
jne 0x14012e5b3
lea rcx, [rsp + 0x30]
call fcn.140019790
lea rcx, [rsp + 0x30]
call fcn.140019740
nop
call fcn.14012e480
mov esi, eax
mov r8d, eax
lea rdx, str.ERROR._Cannot_load_lm.dll._Code:__u
lea rcx, [rsp + 0x30]
call fcn.14001c3d0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
mov rcx, rax
call fcn.140127f40
movzx ebx, al
call fcn.1401285c0
lea rcx, [0x1402620b8]
lea r8, [0x1402620c0]
cmp dword [rax + 0x88], 0
cmovne r8, rcx
lea rcx, [rsp + 0x30]
call fcn.140018a90
mov rdx, rax
test bl, bl
cmovne rbp, rdi
mov r9d, 0x1030
mov rcx, rbp
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14012e5d9
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
lea rax, [0x140310530]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401f3bf0
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
lea rcx, [0x140310528]
call fcn.1401f3cb8
cmp dword [0x140310528], 0xffffffff
jne 0x14012e4dd
mov qword [0x140310538], rbp
mov qword [0x140310530], rbp
mov qword [0x140310540], rbp
lea rcx, [0x14023c880]
call fcn.1401f3f94
nop
lea rcx, [0x140310528]
call fcn.1401f3c4c
jmp 0x14012e4dd
Function at 0x14012ed40
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 0x401
xor eax, eax
mov qword [rcx], rax
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x14012ee1c
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rbx], rax
mov r8d, 1
mov dword [rsp + 0x20], r8d
mov rax, qword [rbx]
sub r8d, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, 0x401
or r8d, ecx
jge 0x14012edc6
mov edx, 0x401
mov rcx, rbx
call fcn.140018ec0
lea rdx, [rsp + 0x30]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14012ede0
mov eax, edi
jmp 0x14012eded
movsxd rdx, dword [rcx - 0xc]
call fcn.1401fa6e8
test eax, eax
js 0x14012ee27
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14012ee27
mov dword [rcx - 0x10], eax
mov edx, eax
mov rcx, qword [rbx]
mov word [rcx + rdx*2], di
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401f3bf0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov ecx, 0x80004005
call fcn.140019320
int3
mov ecx, 0x80070057
call fcn.140019320
int3
Function at 0x140130950
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rcx
lea rax, [rcx + 0x40]
cmp r8, rax
jne 0x140130b48
lea rcx, [rsp + 0x38]
call fcn.1400e0690
nop
mov rbx, qword [rax]
xor r14d, r14d
mov qword [rsp + 0x50], r14
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x140130b77
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov r8, rbx
lea rdx, str.explorer.exe__s
lea rcx, [rsp + 0x50]
call fcn.14001c3d0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rdi, qword [rsp + 0x50]
lea rcx, [rdi - 0x18]
call fcn.1400191a0
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.1401273a0
movzx ebp, al
mov rbx, 0xffffffffffffffff
mov ecx, ebx
lock xadd dword [rdi - 8], ecx
sub ecx, 1
jg 0x140130a29
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
lea rdx, [rdi - 0x18]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140130a4e
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
test bpl, bpl
jne 0x140130b39
mov qword [rsp + 0x48], r14
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x140130b6c
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdi, str.explorer.exe
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140018bd0
test al, al
jne 0x140130ab9
mov r8, rbx
nop
inc r8
cmp word [rdi + r8*2], 0
jne 0x140130aa0
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140018f70
nop
mov qword [rsp + 0x58], r14
lea rcx, [rsp + 0x58]
call fcn.1400e0690
nop
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r14
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x48]
lea rdx, [0x140265d30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140130b16
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140130b39
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov edx, 2
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401f3bf0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.140019320
nop
mov ecx, 0x80004005
call fcn.140019320
int3
Function at 0x1401329c0
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbp, r8
call fcn.140133750
test eax, eax
jne 0x1401329f9
mov eax, 2
jmp 0x140132b9e
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
lea r8, [0x1402620c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rsi, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140132a30
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140132a30
xor edi, edi
jmp 0x140132a35
mov edi, 1
mov dword [rsp + 0x30], edi
call fcn.1401285c0
mov qword [0x140310548], rax
call fcn.140163500
mov qword [0x140310550], rax
mov qword [0x140310558], rbp
call fcn.1400ef2a0
mov qword [0x140310560], rax
mov qword [rsp + 0x20], 0
lea rcx, [fcn.140050df0]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rbx, rax
mov qword [rsp + 0x20], rax
lea rcx, [0x140050e80]
call fcn.1401fad44
lea rdx, [0x140050e80]
mov ecx, 0x16
call fcn.140212998
lea rdx, [0x140050e80]
mov ecx, 2
call fcn.140212998
lea rdx, [0x140050e80]
mov ecx, 4
call fcn.140212998
lea rdx, [0x140050e80]
mov ecx, 0xb
call fcn.140212998
lea rdx, [0x140050e80]
mov ecx, InitCommonControls
call fcn.140212998
nop
mov rcx, rbp
call fcn.140132780
mov ebp, eax
lea rcx, [0x1402ff8f0]
call fcn.140017fa0
lea rcx, [0x1402ff920]
call fcn.140017fa0
lea rcx, [0x1402ff950]
call fcn.140017fa0
lea rcx, [0x1402ff980]
call fcn.14001e090
call fcn.1400ef2a0
mov rcx, rax
call fcn.1400ef410
call fcn.1401285c0
cmp dword [rax + 0xc8], 0
jne 0x140132b51
call fcn.140163500
mov rcx, rax
xor edx, edx
call fcn.14016a570
test edi, edi
je 0x140132b51
call fcn.1400ceae0
call fcn.140163500
mov rdi, rax
lea rcx, [rax + 0x5b8]
call fcn.140029c30
lea rcx, [rdi + 0x660]
call fcn.140029c30
call fcn.1401285c0
mov rcx, rax
call fcn.14012a440
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call fcn.140134010
nop
test rsi, rsi
je 0x140132b9c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401f3bf0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140136230
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rsi, rdx
mov rdi, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
xor r14d, r14d
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], r14d
mov qword [rsp + 0x50], r14
mov r9d, dword [rcx + 8]
or r9d, 0x2001f
mov r8, rdx
mov rdx, qword [rcx]
lea rcx, [rsp + 0x40]
call fcn.140136120
mov ebx, eax
test eax, eax
jne 0x140136368
mov dword [rsp + 0x58], 0x100
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140136341
nop word [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140136230
mov ebx, eax
test eax, eax
jne 0x140136368
mov dword [rsp + 0x58], 0x100
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1401362f0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140136356
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], r14d
mov rdx, rsi
mov rcx, rdi
call fcn.140136470
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14013637d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r14
mov eax, ebx
mov dword [rsp + 0x48], r14d
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1401f3bf0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140136470
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, qword [rcx + 0x10]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x140136529
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x1401364f5
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140136514
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140136514
mov rdx, qword [rdi]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rbx
mov rdx, rsi
call qword [case.0x140038716.0]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
cmp dword [rdi + 8], 0
je 0x140136514
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
cmp byte [0x14030fbc8], 0
jne 0x140136574
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140136564
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14030fbc0], rax
mov byte [0x14030fbc8], 1
jmp 0x14013657b
mov rax, qword [0x14030fbc0]
mov byte [0x14030fbc8], 1
jmp 0x14013657b
mov rax, qword [0x14030fbc0]
mov rcx, qword [rbx]
mov rdx, rsi
test rax, rax
je 0x1401364fe
mov r8d, dword [rbx + 8]
xor r9d, r9d
call qword [case.0x140038716.0]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140137ad0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], r14
xor edx, edx
mov r8d, 0x408
lea rcx, [rsp + 0x60]
call fcn.1401f6840
mov qword [rsp + 0x60], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140137b6c
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140137b6c
call fcn.140135410
mov ebx, eax
jmp 0x140137c8e
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x140137b8d
call fcn.140135410
jmp 0x140137c7d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140137bb0
call fcn.140135410
jmp 0x140137c7d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x140137bd2
mov ebx, 0x8007000e
jmp 0x140137c7f
mov ecx, eax
test eax, eax
je 0x140137c07
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x140137cc6
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x140137c07
lea rcx, [rsp + 0x60]
call fcn.1401353e0
jmp 0x140137c11
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
jmp 0x140137c24
mov rax, qword [rsp + 0x60]
test rax, rax
jne 0x140137c35
mov ebx, 0x8007000e
jmp 0x140137c7f
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x140137c5a
call fcn.140135410
jmp 0x140137c7d
mov ecx, eax
mov rax, qword [rsp + 0x60]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.140137600
mov ebx, eax
test rdi, rdi
je 0x140137c8e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x60], rax
je 0x140137ca5
lea rcx, [rsp + 0x60]
call fcn.1401353c0
nop
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1401f3bf0
add rsp, 0x480
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.140019320
int3
Function at 0x140141c80
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x130
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x128], rax
xor esi, esi
mov ebx, esi
sub edx, 0x818b
je 0x140141cba
cmp edx, 8
jne 0x140141cbf
lea ebx, [rsi + 3]
jmp 0x140141cbf
mov ebx, 1
mov rdi, qword [rcx + 8]
mov qword [rsp + 0x30], rsi
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x140141ddb
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
mov ecx, ebx
call fcn.14010b050
test eax, eax
je 0x140141d2d
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
mov r8, rbx
lea rdx, [0x140265d30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
lea rdx, [rbx - 0x18]
jmp 0x140141d97
mov dword [0x140306110], 1
xor edx, edx
mov r8d, 0xe0
lea rcx, [rsp + 0x40]
call fcn.1401f6840
lea rcx, [rsp + 0x40]
call fcn.14010b3a0
nop
mov dword [rsp + 0x88], ebx
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14010d460
nop
lea rcx, [rsp + 0x40]
cmp rax, 1
jne 0x140141d82
call fcn.14010b5c0
nop
mov dword [0x140306110], esi
jmp 0x140141d8e
call fcn.14010b5c0
nop
mov dword [0x140306110], esi
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140141db6
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.1401f3bf0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004005
call fcn.140019320
int3
Function at 0x1401426f0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor r12d, r12d
mov dword [rsp + 0x30], r12d
call fcn.1400dfe10
cmp dword [rax + 0x10], r12d
je 0x14014275a
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8, str.https:__www.bandisoft.com_bandizip_
lea rdx, [0x140265d30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rsp + 0x88]
call fcn.140022bf0
mov r13, rax
mov qword [rsp + 0x80], r12
mov rcx, qword [rax]
mov rcx, qword [rcx - 0x18]
test rcx, rcx
je 0x140142793
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x20]
call qword [case.0x140038716.0]
mov rcx, rax
test rax, rax
jne 0x1401427b7
call fcn.1400195b0
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x20]
mov rcx, rdx
call qword [case.0x140038716.0]
mov rcx, rax
test rax, rax
je 0x14014291c
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x80], rbx
mov r14d, 1
mov dword [rsp + 0x30], r14d
lea rcx, str.updater.exe
mov rsi, 0xffffffffffffffff
mov rdi, rsi
nop dword [rax]
inc rdi
cmp word [rcx + rdi*2], 0
jne 0x1401427f0
mov r13, qword [r13]
movsxd r15, dword [r13 - 0x10]
lea ebp, [r15 + rdi]
test ebp, ebp
js 0x140142927
mov ecx, r14d
sub ecx, dword [rax + 0x10]
mov eax, dword [rax + 0xc]
sub eax, ebp
or eax, ecx
jge 0x140142834
mov edx, ebp
lea rcx, [rsp + 0x80]
call fcn.140018ec0
mov rbx, qword [rsp + 0x80]
add r15, r15
je 0x14014286a
test rbx, rbx
je 0x14014285a
mov r8, r15
mov rcx, rbx
test r13, r13
je 0x140142853
mov rdx, r13
call fcn.1401f61a0
jmp 0x14014286a
xor edx, edx
call fcn.1401f6840
call fcn.1401fae4c
mov dword [rax], 0x16
call fcn.1401facac
movsxd r8, edi
add r8, r8
lea rcx, [r15 + rbx]
je 0x140142899
test rcx, rcx
jne 0x14014288d
call fcn.1401fae4c
mov dword [rax], 0x16
call fcn.1401facac
jmp 0x140142899
lea rdx, str.updater.exe
call fcn.1401f61a0
cmp ebp, dword [rbx - 0xc]
jg 0x140142927
mov dword [rbx - 0x10], ebp
movsxd rax, ebp
mov word [rbx + rax*2], r12w
call fcn.1401b0030
mov rcx, rax
mov r9d, r14d
xor r8d, r8d
mov rdx, rbx
call fcn.1401b00b0
and r14d, 0xfffffffe
mov dword [rsp + 0x30], r14d
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401428ed
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140142742
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
jmp 0x140142742
mov ecx, 0x80004005
call fcn.140019320
int3
mov ecx, 0x80070057
call fcn.140019320
int3