joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140075288
Capabilities:
Delete directory
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0xff60]
mov eax, 0x10060
call fcn.140038c40
sub rsp, rax
mov rcx, qword [rcx]
mov bl, dl
lea r8, [rsp + 0x60]
mov edx, 0x7fff
call fcn.1400745c4
lea rcx, [rsp + 0x60]
call fcn.140074ad4
xor edi, edi
test al, al
je 0x14007532f
lea rcx, [rsp + 0x60]
test bl, bl
jne 0x1400752e2
call qword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
test eax, eax
setne al
jmp 0x14007532f
call fcn.140026c38
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
mov word [rsp + rax*2 + 0x62], di
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rdi
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x30], rax
mov eax, 0x614
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
lea r11, [rsp + 0x10060]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x140075344
Capabilities:
Shutdown system

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov esi, edx
mov edi, ecx
lea rdx, str.SeShutdownPrivilege
lea rcx, [rsp + 0x30]
call fcn.140073004
lea rcx, [rsp + 0x30]
call fcn.14006609c
xor ebx, ebx
test al, al
je 0x1400753d3
cmp edi, 0x20
je 0x1400753c2
cmp edi, 0x40
je 0x1400753c7
test dil, 0xb
jne 0x140075394
xor edx, edx
mov ecx, edi
call qword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x1400753d1
test dil, 0x14
mov r9d, ebx
mov eax, 1
cmovne r9d, eax
test dil, 2
mov dword [rsp + 0x28], esi
cmovne ebx, eax
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExW]
jmp 0x1400753d1
mov ebx, 1
xor edx, edx
mov ecx, ebx
call qword [sym.imp.KERNEL32.DLL_SetSystemPowerState]
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.1400657a8
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x1400753f0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
test ecx, ecx
js 0x140075471
push rbx
sub rsp, 0x20
mov ebx, ecx
test ecx, ecx
je 0x140075466
cmp ecx, 0xf
jae 0x140075464
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
test eax, eax
je 0x140075464
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_Sleep]
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
mov rax, qword [rsp + 0x38]
xorps xmm1, xmm1
xorps xmm0, xmm0
sub rax, qword [rsp + 0x40]
cvtsi2sd xmm0, qword [rsp + 0x48]
cvtsi2sd xmm1, rax
divsd xmm1, xmm0
mulsd xmm1, qword [0x1400ba340]
cvttsd2si rax, xmm1
cmp eax, ebx
jb 0x14007541e
jmp 0x14007546c
mov ecx, ebx
call qword [sym.imp.KERNEL32.DLL_Sleep]
add rsp, 0x20
pop rbx
ret
Function at 0x140075614
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x40
xor r9d, r9d
xor r8d, r8d
mov rbx, rcx
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
xor r9d, r9d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea edx, [r9 + 0x10]
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], 0x1f4
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
jne 0x140075696
lea rdx, [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x58]
xor edx, edx
mov ecx, 0x1f0fff
call qword [sym.imp.KERNEL32.DLL_OpenProcess]
xor edx, edx
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
add rsp, 0x40
pop rbx
ret

Function at 0x140077628
Capabilities:
Create pipe

Disassembly:
push rbx
sub rsp, 0x60
mov eax, dword [rcx]
and dword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
mov rbx, r9
mov dword [rsp + 0x40], reloc.OLEAUT32.dll_SafeArrayGetElement
test al, 0x10
je 0x140077676
mov ecx, r8d
call qword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
je 0x140077703
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call fcn.140077444
jmp 0x14007772c
test edx, eax
je 0x1400776ac
mov rax, qword [r9]
test rax, rax
jne 0x14007772f
mov rcx, qword [rsp + 0x90]
lea r8, [rsp + 0x40]
xor r9d, r9d
mov rdx, rbx
call qword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
jne 0x140077709
or rax, 0xffffffffffffffff
jmp 0x14007772f
mov ecx, r8d
call qword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov qword [rbx], rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
jbe 0x140077660
and qword [rsp + 0x30], 0
lea r9, [rsp + 0x40]
lea rcx, [0x1400d06b8]
mov edx, 0x40000000
mov r8d, 2
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov qword [rbx], rax
inc rax
test rax, 0xfffffffffffffffe
jne 0x140077709
and qword [rbx], 0
jmp 0x14007772c
mov rcx, qword [rbx]
lea rdx, [rsp + 0x70]
mov r8d, 1
call fcn.140077444
mov rcx, rbx
call fcn.1400773f4
mov rax, qword [rsp + 0x70]
mov qword [rbx], rax
mov rax, qword [rbx]
add rsp, 0x60
pop rbx
ret
Function at 0x140077738
Capabilities:
Create pipe

Disassembly:
push rbx
sub rsp, 0x60
mov eax, dword [rcx]
and dword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
mov rbx, r9
mov dword [rsp + 0x40], reloc.OLEAUT32.dll_SafeArrayGetElement
test al, 0x10
je 0x140077788
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
je 0x140077817
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call fcn.140077444
jmp 0x140077840
test al, 1
je 0x1400777be
mov rax, qword [r9]
test rax, rax
jne 0x140077843
mov rdx, qword [rsp + 0x90]
lea r8, [rsp + 0x40]
xor r9d, r9d
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
jne 0x14007781d
or rax, 0xffffffffffffffff
jmp 0x140077843
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov r8d, 1
lea rcx, [rax - 1]
mov qword [rbx], rax
cmp rcx, 0xfffffffffffffffd
jbe 0x140077778
and qword [rsp + 0x30], 0
lea r9, [rsp + 0x40]
lea rcx, [0x1400d06b8]
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov qword [rbx], rax
inc rax
test rax, 0xfffffffffffffffe
jne 0x14007781d
and qword [rbx], 0
jmp 0x140077840
mov rcx, qword [rbx]
lea rdx, [rsp + 0x70]
mov r8d, 1
call fcn.140077444
mov rcx, rbx
call fcn.1400773f4
mov rax, qword [rsp + 0x70]
mov qword [rbx], rax
mov rax, qword [rbx]
add rsp, 0x60
pop rbx
ret

Function at 0x140077948
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
and dword [rsp + 0x58], 0
call fcn.1400779b0
test al, al
je 0x14007798a
test rdx, rdx
je 0x14007798a
test r8, r8
je 0x14007798a
and qword [rsp + 0x20], 0
lea rbx, [rcx + 0x28]
lea r9, [rsp + 0x58]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x14007798a
mov rcx, rbx
call fcn.1400773f4
mov eax, dword [rsp + 0x58]
add rsp, 0x30
pop rbx
ret

Function at 0x140077c0c
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x58], 0
mov rbx, rcx
jne 0x140077c43
lea rax, [rsp + 0x40]
mov r9, rcx
lea r8, [0x140077bfc]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateThread]
mov qword [rbx + 0x58], rax
add rsp, 0x30
pop rbx
ret

Function at 0x140077c4c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea rsi, [rcx + 0x58]
mov rdi, rcx
cmp qword [rsi], 0
je 0x140077cb4
mov eax, dword [rcx + 0x60]
mov ebp, 0x1f6
xchg dword [rcx + 0x60], eax
cmp eax, ebp
je 0x140077cb4
add rcx, 0x28
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov rcx, qword [rsi]
mov edx, ebp
call qword [sym.imp.KERNEL32.DLL_TerminateThread]
mov rcx, qword [rsi]
mov edx, 0x3e8
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rcx, rsi
call fcn.1400773f4
xchg dword [rdi + 0x60], ebp
lea rcx, [rdi + 0x28]
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14007b4cc
Capabilities:
Create directory
Delete directory

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rax - 0x4ff68]
mov eax, 0x50050
call fcn.140038c40
sub rsp, rax
mov sil, r9b
mov rdi, r8
mov rcx, rdx
lea r9, [rsp + 0x40]
lea r8, [rbp + 0xff50]
mov edx, 0x7fff
call qword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
xor r14d, r14d
test eax, eax
jne 0x14007b521
xor eax, eax
jmp 0x14007b661
lea r8, [rbp + 0xff50]
lea rdx, str.___s
lea rcx, [rsp + 0x50]
call fcn.1400279e0
lea rcx, [rsp + 0x50]
call fcn.140026c38
mov rbx, rax
cmp word [rsp + rax*2 + 0x4e], 0x5c
jne 0x14007b55c
cmp word [rsp + rax*2 + 0x4c], 0x3a
je 0x14007b55c
mov word [rsp + rax*2 + 0x4e], r14w
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x14007b570
test sil, sil
je 0x14007b51a
mov qword [rsp + 0x30], r14
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rdi
mov dword [rsp + 0x28], 0x2200000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14007b5b0
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
jmp 0x14007b51a
lea rcx, [rbp + 0x1ff50]
xor edx, edx
mov r8d, 0x2fffa
call fcn.140026e60
add bx, bx
lea rdx, [rsp + 0x50]
mov word [rbp + 0x1ff5a], bx
lea rcx, [rbp + 0x1ff60]
add bx, 2
mov r8d, 0x7fff
mov dword [rbp + 0x1ff50], 0xa0000003
mov word [rbp + 0x1ff5c], bx
call fcn.140028470
movzx eax, word [rbp + 0x1ff5a]
mov qword [rsp + 0x38], r14
add ax, 0xc
lea r8, [rbp + 0x1ff50]
mov edx, 0x900a4
movzx r9d, ax
mov word [rbp + 0x1ff54], ax
lea rax, [rbp + 0x4ff70]
mov qword [rsp + 0x30], rax
add r9d, 8
mov rcx, rsi
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.DLL_DeviceIoControl]
mov rcx, rsi
test eax, eax
jne 0x14007b656
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x14007b5a2
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, 1
lea r11, [rsp + 0x50050]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400811f0
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set current directory
Set file attributes

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
lea rbp, [rax - 0x1a8]
sub rsp, 0x288
mov rcx, rdx
lea rdx, [rsp + 0x30]
xor ebx, ebx
mov sil, bl
call qword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14008129c
lea rdx, [0x1400ab2d8]
lea rcx, [rsp + 0x5c]
call fcn.140027894
test eax, eax
je 0x14008128a
lea rdx, [0x1400d07f8]
lea rcx, [rsp + 0x5c]
call fcn.140027894
test eax, eax
je 0x14008128a
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
lea rcx, [rsp + 0x5c]
mov edx, eax
mov eax, dword [rbp + 0x1c8]
or edx, dword [rbp + 0x1c0]
not eax
and edx, eax
call qword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
test eax, eax
je 0x1400812b5
mov sil, 1
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x140081231
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_FindClose]
cmp byte [rbp + 0x1d0], bl
jne 0x1400812c5
mov al, sil
jmp 0x140081382
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_FindClose]
xor al, al
jmp 0x140081382
lea rdx, [rsp + 0x30]
lea rcx, [0x1400d07f0]
call qword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140081375
mov rsi, qword [rbp + 0x1b8]
test byte [rsp + 0x30], 0x10
je 0x14008135f
lea rdx, [0x1400ab2d8]
lea rcx, [rsp + 0x5c]
call fcn.140027894
test eax, eax
je 0x14008135f
lea rdx, [0x1400d07f8]
lea rcx, [rsp + 0x5c]
call fcn.140027894
test eax, eax
je 0x14008135f
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
mov al, byte [rbp + 0x1d0]
mov r9d, dword [rbp + 0x1c8]
mov r8d, dword [rbp + 0x1c0]
mov rcx, qword [rbp + 0x1b0]
mov rdx, rsi
mov byte [rsp + 0x20], al
call fcn.1400811f0
test al, al
je 0x140081377
lea rcx, [0x1400d07f8]
call qword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x1400812eb
mov bl, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov al, bl
add rsp, 0x288
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140081390
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set current directory

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x288
mov rcx, rdx
lea rdx, [rsp + 0x30]
xor ebx, ebx
mov ebp, r9d
mov sil, bl
call qword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140081425
lea rdx, [0x1400ab2d8]
lea rcx, [rsp + 0x5c]
call fcn.140027894
test eax, eax
je 0x140081413
lea rdx, [0x1400d07f8]
lea rcx, [rsp + 0x5c]
call fcn.140027894
test eax, eax
je 0x140081413
mov rdx, qword [rsp + 0x2c0]
lea rcx, [rsp + 0x5c]
mov r8d, ebp
call fcn.140074220
test al, al
je 0x140081443
mov sil, 1
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x1400813cd
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov bpl, byte [rsp + 0x2d0]
test bpl, bpl
jne 0x140081453
mov al, sil
jmp 0x14008150e
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_FindClose]
xor al, al
jmp 0x14008150e
lea rdx, [rsp + 0x30]
lea rcx, [0x1400d07f0]
call qword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140081501
mov esi, dword [rsp + 0x2c8]
test byte [rsp + 0x30], 0x10
je 0x1400814eb
lea rdx, [0x1400ab2d8]
lea rcx, [rsp + 0x5c]
call fcn.140027894
test eax, eax
je 0x1400814eb
lea rdx, [0x1400d07f8]
lea rcx, [rsp + 0x5c]
call fcn.140027894
test eax, eax
je 0x1400814eb
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
mov r8, qword [rsp + 0x2c0]
mov rdx, qword [rsp + 0x2b8]
mov rcx, qword [rsp + 0x2b0]
mov r9d, esi
mov byte [rsp + 0x20], bpl
call fcn.140081390
test al, al
je 0x140081503
lea rcx, [0x1400d07f8]
call qword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x140081479
mov bl, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov al, bl
add rsp, 0x288
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140081724
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
lea rbp, [rax - 0x1f8]
sub rsp, 0x2e0
lea rcx, [rsp + 0x48]
call fcn.14001f0bc
mov rax, qword [rsp + 0x48]
lea rdx, [0x1400d07f0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x50]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
inc dword [rax]
mov qword [rbp - 0x80], rax
call fcn.14001ef20
mov rcx, qword [rsp + 0x48]
lea rdx, [rbp - 0x70]
mov bl, 1
call qword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
je 0x1400818d5
mov sil, byte [rbp + 0x228]
mov rdi, qword [rbp + 0x220]
mov rcx, qword [rbp + 0x200]
call fcn.140007020
cmp eax, 1
je 0x1400818ce
cmp eax, 0xb
jne 0x1400817df
lea ecx, [rax - 1]
call qword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x1400817ba
lea rdx, [0x1400ab2d8]
lea rcx, [rbp - 0x44]
call fcn.140027894
test eax, eax
je 0x1400818b5
lea rdx, [0x1400d07f8]
lea rcx, [rbp - 0x44]
call fcn.140027894
test eax, eax
je 0x1400818b5
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.14001f350
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x48]
call fcn.14001ef20
test byte [rbp - 0x70], 0x10
je 0x14008188f
test sil, sil
je 0x14008183a
inc qword [rdi]
cmp byte [rbp + 0x230], 0
je 0x1400818b5
lea rdx, [0x1400ab2ec]
lea rcx, [rsp + 0x48]
call fcn.14001ef20
mov al, byte [rbp + 0x230]
mov r9, qword [rbp + 0x218]
mov r8, qword [rbp + 0x210]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rbp + 0x200]
mov byte [rsp + 0x30], al
mov byte [rsp + 0x28], sil
mov qword [rsp + 0x20], rdi
call fcn.140081724
mov bl, al
test al, al
je 0x1400818d0
jmp 0x1400818b5
mov eax, dword [rbp - 0x50]
mov ecx, dword [rbp - 0x54]
shl rcx, 0x20
or rcx, rax
mov rax, qword [rbp + 0x210]
add qword [rax], rcx
test sil, sil
je 0x1400818b5
mov rax, qword [rbp + 0x218]
inc qword [rax]
mov rcx, qword [rsp + 0x40]
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x1400817ba
jmp 0x1400818d0
xor bl, bl
mov rax, qword [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_FindClose]
lea rcx, [rsp + 0x68]
call fcn.14001c29c
lea rcx, [rsp + 0x48]
call fcn.14001c29c
mov al, bl
mov rbx, qword [rsp + 0x308]
add rsp, 0x2e0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140085958
Capabilities:
Parse url

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rbx, rdx
xor edx, edx
mov rsi, r8
lea r8d, [rdx + 0x60]
lea rcx, [rbp - 0x31]
call fcn.140026e60
mov r14d, 1
mov rcx, rbx
mov dword [rbp - 9], r14d
mov dword [rbp - 0x19], r14d
mov dword [rbp - 0x29], r14d
mov dword [rbp + 0x27], r14d
mov dword [rbp + 0x17], r14d
mov dword [rbp + 7], r14d
mov dword [rbp - 0x39], 0xf0
call fcn.140026c38
lea r9, [rbp - 0x39]
xor r8d, r8d
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x140085abc
mov r9d, dword [rbp - 0x29]
mov rdx, qword [rbp - 0x31]
xor r8d, r8d
mov rcx, rsi
call fcn.14001e718
mov r9d, dword [rbp - 0x19]
mov rdx, qword [rbp - 0x21]
lea rcx, [rsi + 0x20]
xor r8d, r8d
call fcn.14001e718
mov r9d, dword [rbp - 9]
mov rdx, qword [rbp - 0x11]
lea rcx, [rsi + 0x40]
xor r8d, r8d
call fcn.14001e718
mov r9d, dword [rbp + 7]
mov rdx, qword [rbp - 1]
lea rcx, [rsi + 0x60]
xor r8d, r8d
call fcn.14001e718
mov r9d, dword [rbp + 0x17]
mov rdx, qword [rbp + 0xf]
lea rdi, [rsi + 0x80]
xor r8d, r8d
mov rcx, rdi
call fcn.14001e718
mov r9d, dword [rbp + 0x27]
mov rdx, qword [rbp + 0x1f]
lea rbx, [rsi + 0xa0]
xor r8d, r8d
mov rcx, rbx
call fcn.14001e718
lea rdx, [rbp + 0x37]
mov r8, rbx
mov rcx, rdi
call fcn.140064f98
lea rcx, [rsi + 0xc0]
mov rdx, rax
call fcn.14001f350
lea rcx, [rbp + 0x37]
call fcn.14001c29c
mov ecx, dword [rbp - 0x25]
movzx eax, word [rbp - 0x15]
mov dword [rsi + 0xe4], ecx
mov word [rsi + 0xe8], ax
dec ecx
je 0x140085ab2
dec ecx
je 0x140085aa6
mov dword [rsi + 0xe0], 3
jmp 0x140085ab9
mov dword [rsi + 0xe0], 2
jmp 0x140085ab9
mov dword [rsi + 0xe0], r14d
mov al, r14b
lea r11, [rsp + 0xb0]
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

Function at 0x140085adc
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rcx
cmp byte [rcx + 0x188], bl
je 0x140085b42
test dl, dl
je 0x140085b42
mov rcx, qword [rcx + 0x190]
test rcx, rcx
je 0x140085b10
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rdi + 0x190], rbx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.DLL_CreateEventW]
lea rcx, [0x140085b90]
mov r8, rdi
xor edx, edx
mov qword [rdi + 0x190], rax
call fcn.14002b6b8
cmp dword [rdi + 0x20], ebx
sete al
jmp 0x140085b47
call fcn.1400847c0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140091ac4
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x1f78]
mov eax, 0x2060
call fcn.140038c40
sub rsp, rax
lea rcx, [rsp + 0x20]
mov r14, rdx
call fcn.14001e640
lea rcx, [rsp + 0x40]
call fcn.14001e640
mov rcx, r14
call fcn.140006dd4
xor r15d, r15d
movzx ecx, word [rax]
mov rsi, rax
mov dil, r15b
test cx, cx
je 0x140091c4d
mov ebx, r15d
lea r12d, [r15 + 0x25]
inc rbx
cmp cx, r12w
jne 0x140091bfc
cmp word [rsi + rbx*2], r12w
jne 0x140091b57
lea rcx, [rsp + 0x20]
mov edx, r12d
mov dil, 1
call fcn.14001eae8
inc rbx
jmp 0x140091c09
lea rdx, [0x1400ab2d0]
lea rcx, [rsp + 0x40]
call fcn.14001edf8
jmp 0x140091b7f
test ax, ax
je 0x140091b89
lea rcx, [rsp + 0x40]
movzx edx, ax
call fcn.14001eae8
inc rbx
movzx eax, word [rsi + rbx*2]
cmp ax, r12w
jne 0x140091b6a
cmp word [rsi + rbx*2], r15w
je 0x140091c18
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov r8d, 0xfff
inc rbx
mov word [rsp + 0x60], r15w
call qword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
lea rcx, [rsp + 0x20]
test eax, eax
je 0x140091bcb
lea rdx, [rsp + 0x60]
call fcn.14001ef20
mov dil, 1
jmp 0x140091c09
lea rdx, [0x1400d1024]
mov dil, 1
call fcn.14001ef20
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14001ec60
lea rdx, [0x1400d1024]
lea rcx, [rsp + 0x20]
call fcn.14001ef20
jmp 0x140091c09
movzx edx, cx
lea rcx, [rsp + 0x20]
call fcn.14001eae8
movzx ecx, word [rsi + rbx*2]
test cx, cx
jne 0x140091b2b
jmp 0x140091c3b
lea rdx, [0x1400d1024]
lea rcx, [rsp + 0x20]
mov dil, 1
call fcn.14001ef20
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14001ec60
test dil, dil
je 0x140091c4d
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140006a84
lea rcx, [rsp + 0x40]
call fcn.14001c29c
lea rcx, [rsp + 0x20]
call fcn.14001c29c
lea r11, [rsp + 0x2060]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400a51e0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x50
mov rbx, rdx
xor edx, edx
lea rbp, [0x1400e71b0]
lea r8d, [rdx + 0x68]
mov rcx, rbp
call fcn.140026e60
xor edx, edx
lea rdi, [0x1400e7218]
lea r8d, [rdx + 0x18]
mov rcx, rdi
call fcn.140026e60
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rbp
xor edi, edi
mov eax, 1
xor r9d, r9d
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_RegisterActiveObject
mov dword [0x1400e71b0], 0x68
mov dword [0x1400e71ec], eax
mov word [0x1400e71f0], ax
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x1400a527c
mov rcx, qword [0x1400e7218]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret