joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140077590
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 0x1400775e0
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
je 0x14007766f
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call fcn.14007729c
jmp 0x140077698
test al, 1
je 0x140077616
mov rax, qword [r9]
test rax, rax
jne 0x14007769b
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 0x140077675
or rax, 0xffffffffffffffff
jmp 0x14007769b
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 0x1400775d0
and qword [rsp + 0x30], 0
lea r9, [rsp + 0x40]
lea rcx, [0x1400cea38]
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 0x140077675
and qword [rbx], 0
jmp 0x140077698
mov rcx, qword [rbx]
lea rdx, [rsp + 0x70]
mov r8d, 1
call fcn.14007729c
mov rcx, rbx
call fcn.14007724c
mov rax, qword [rsp + 0x70]
mov qword [rbx], rax
mov rax, qword [rbx]
add rsp, 0x60
pop rbx
ret

Function at 0x1400777a0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
and dword [rsp + 0x58], 0
call fcn.140077808
test al, al
je 0x1400777e2
test rdx, rdx
je 0x1400777e2
test r8, r8
je 0x1400777e2
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 0x1400777e2
mov rcx, rbx
call fcn.14007724c
mov eax, dword [rsp + 0x58]
add rsp, 0x30
pop rbx
ret

Function at 0x140077a64
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x58], 0
mov rbx, rcx
jne 0x140077a9b
lea rax, [rsp + 0x40]
mov r9, rcx
lea r8, [0x140077a54]
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 0x140077aa4
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 0x140077b0c
mov eax, dword [rcx + 0x60]
mov ebp, 0x1f6
xchg dword [rcx + 0x60], eax
cmp eax, ebp
je 0x140077b0c
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.14007724c
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 0x14007b324
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.140038b30
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 0x14007b379
xor eax, eax
jmp 0x14007b4b9
lea r8, [rbp + 0xff50]
lea rdx, str.___s
lea rcx, [rsp + 0x50]
call fcn.1400278d0
lea rcx, [rsp + 0x50]
call fcn.140026b28
mov rbx, rax
cmp word [rsp + rax*2 + 0x4e], 0x5c
jne 0x14007b3b4
cmp word [rsp + rax*2 + 0x4c], 0x3a
je 0x14007b3b4
mov word [rsp + rax*2 + 0x4e], r14w
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14007b3c8
test sil, sil
je 0x14007b372
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 0x14007b408
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x14007b372
lea rcx, [rbp + 0x1ff50]
xor edx, edx
mov r8d, 0x2fffa
call fcn.140026d50
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.140028360
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 0x14007b4ae
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14007b3fa
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 0x140081048
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 0x1400810f4
lea rdx, [0x1400ab2d8]
lea rcx, [rsp + 0x5c]
call fcn.140027784
test eax, eax
je 0x1400810e2
lea rdx, [0x1400ceb78]
lea rcx, [rsp + 0x5c]
call fcn.140027784
test eax, eax
je 0x1400810e2
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 0x14008110d
mov sil, 1
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140081089
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [rbp + 0x1d0], bl
jne 0x14008111d
mov al, sil
jmp 0x1400811da
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x1400811da
lea rdx, [rsp + 0x30]
lea rcx, [0x1400ceb70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400811cd
mov rsi, qword [rbp + 0x1b8]
test byte [rsp + 0x30], 0x10
je 0x1400811b7
lea rdx, [0x1400ab2d8]
lea rcx, [rsp + 0x5c]
call fcn.140027784
test eax, eax
je 0x1400811b7
lea rdx, [0x1400ceb78]
lea rcx, [rsp + 0x5c]
call fcn.140027784
test eax, eax
je 0x1400811b7
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.140081048
test al, al
je 0x1400811cf
lea rcx, [0x1400ceb78]
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 0x140081143
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 0x1400811e8
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 0x14008127d
lea rdx, [0x1400ab2d8]
lea rcx, [rsp + 0x5c]
call fcn.140027784
test eax, eax
je 0x14008126b
lea rdx, [0x1400ceb78]
lea rcx, [rsp + 0x5c]
call fcn.140027784
test eax, eax
je 0x14008126b
mov rdx, qword [rsp + 0x2c0]
lea rcx, [rsp + 0x5c]
mov r8d, ebp
call fcn.140074078
test al, al
je 0x14008129b
mov sil, 1
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140081225
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov bpl, byte [rsp + 0x2d0]
test bpl, bpl
jne 0x1400812ab
mov al, sil
jmp 0x140081366
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x140081366
lea rdx, [rsp + 0x30]
lea rcx, [0x1400ceb70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140081359
mov esi, dword [rsp + 0x2c8]
test byte [rsp + 0x30], 0x10
je 0x140081343
lea rdx, [0x1400ab2d8]
lea rcx, [rsp + 0x5c]
call fcn.140027784
test eax, eax
je 0x140081343
lea rdx, [0x1400ceb78]
lea rcx, [rsp + 0x5c]
call fcn.140027784
test eax, eax
je 0x140081343
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.1400811e8
test al, al
je 0x14008135b
lea rcx, [0x1400ceb78]
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 0x1400812d1
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 0x14008157c
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, [0x1400ceb70]
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 0x14008172d
mov sil, byte [rbp + 0x228]
mov rdi, qword [rbp + 0x220]
mov rcx, qword [rbp + 0x200]
call fcn.140007020
cmp eax, 1
je 0x140081726
cmp eax, 0xb
jne 0x140081637
lea ecx, [rax - 1]
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140081612
lea rdx, [0x1400ab2d8]
lea rcx, [rbp - 0x44]
call fcn.140027784
test eax, eax
je 0x14008170d
lea rdx, [0x1400ceb78]
lea rcx, [rbp - 0x44]
call fcn.140027784
test eax, eax
je 0x14008170d
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 0x1400816e7
test sil, sil
je 0x140081692
inc qword [rdi]
cmp byte [rbp + 0x230], 0
je 0x14008170d
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.14008157c
mov bl, al
test al, al
je 0x140081728
jmp 0x14008170d
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 0x14008170d
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 0x140081612
jmp 0x140081728
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 0x1400857b0
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.140026d50
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.140026b28
lea r9, [rbp - 0x39]
xor r8d, r8d
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x140085914
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.140064df0
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 0x14008590a
dec ecx
je 0x1400858fe
mov dword [rsi + 0xe0], 3
jmp 0x140085911
mov dword [rsi + 0xe0], 2
jmp 0x140085911
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 0x140085934
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 0x14008599a
test dl, dl
je 0x14008599a
mov rcx, qword [rcx + 0x190]
test rcx, rcx
je 0x140085968
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, [0x1400859e8]
mov r8, rdi
xor edx, edx
mov qword [rdi + 0x190], rax
call fcn.14002b5a8
cmp dword [rdi + 0x20], ebx
sete al
jmp 0x14008599f
call fcn.140084618
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400918cc
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.140038b30
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 0x140091a55
mov ebx, r15d
lea r12d, [r15 + 0x25]
inc rbx
cmp cx, r12w
jne 0x140091a04
cmp word [rsi + rbx*2], r12w
jne 0x14009195f
lea rcx, [rsp + 0x20]
mov edx, r12d
mov dil, 1
call fcn.14001eae8
inc rbx
jmp 0x140091a11
lea rdx, [0x1400ab2d0]
lea rcx, [rsp + 0x40]
call fcn.14001edf8
jmp 0x140091987
test ax, ax
je 0x140091991
lea rcx, [rsp + 0x40]
movzx edx, ax
call fcn.14001eae8
inc rbx
movzx eax, word [rsi + rbx*2]
cmp ax, r12w
jne 0x140091972
cmp word [rsi + rbx*2], r15w
je 0x140091a20
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 0x1400919d3
lea rdx, [rsp + 0x60]
call fcn.14001ef20
mov dil, 1
jmp 0x140091a11
lea rdx, [0x1400cf3a4]
mov dil, 1
call fcn.14001ef20
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14001ec60
lea rdx, [0x1400cf3a4]
lea rcx, [rsp + 0x20]
call fcn.14001ef20
jmp 0x140091a11
movzx edx, cx
lea rcx, [rsp + 0x20]
call fcn.14001eae8
movzx ecx, word [rsi + rbx*2]
test cx, cx
jne 0x140091933
jmp 0x140091a43
lea rdx, [0x1400cf3a4]
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 0x140091a55
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 0x1400a4fb8
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, [0x1400e51b0]
lea r8d, [rdx + 0x68]
mov rcx, rbp
call fcn.140026d50
xor edx, edx
lea rdi, [0x1400e5218]
lea r8d, [rdx + 0x18]
mov rcx, rdi
call fcn.140026d50
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 [0x1400e51b0], 0x68
mov dword [0x1400e51ec], eax
mov word [0x1400e51f0], ax
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400a5054
mov rcx, qword [0x1400e5218]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400a550c
Capabilities:
Get file size
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rsi
mov qword [r11 + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
xor r12d, r12d
mov r14, r9
mov rax, r8
mov rsi, rdx
cmp word [r8], r12w
je 0x1400a5693
mov qword [r11 - 0x68], r12
mov dword [r11 - 0x70], r12d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, rax
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400a5574
xor eax, eax
jmp 0x1400a56ce
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, 2
mov edx, eax
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r15, rax
test rax, rax
jne 0x1400a55a1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400a556d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea r9, [rbp + 0x30]
mov r8d, ebx
mov rcx, rdi
mov rdx, rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, r15
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1400a556d
lea r8, [rbp - 0x28]
mov edx, 1
mov rcx, r15
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rcx, qword [rbp - 0x28]
lea rax, [rbp - 0x30]
lea r9, [0x1400ae980]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x30], r12
call qword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400a556d
mov rax, qword [rcx]
lea rdx, [rbp + 0x40]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rcx, qword [rbp + 0x40]
lea r8, [rbp - 0x20]
mov edx, reloc.OLEAUT32.dll_RegisterActiveObject
call qword [sym.imp.GDI32.dll_GetObjectW]
mov rcx, qword [rbp + 0x50]
cmp dword [r14], r12d
jne 0x1400a5665
cmp dword [rcx], r12d
jne 0x1400a5665
mov eax, dword [rbp - 0x1c]
mov dword [r14], eax
mov eax, dword [rbp - 0x18]
mov dword [rcx], eax
mov r9d, dword [rcx]
mov r8d, dword [r14]
mov rcx, qword [rbp + 0x40]
xor edx, edx
mov dword [rsp + 0x20], 0x2000
call qword [sym.imp.USER32.dll_CopyImage]
mov rcx, qword [rbp - 0x30]
mov qword [rbp + 0x40], rax
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov r9, qword [rbp + 0x40]
jmp 0x1400a569a
mov r9, r12
mov qword [rbp + 0x40], r12
mov rcx, qword [rsi + 0xc0]
test rcx, rcx
je 0x1400a56b0
call qword [sym.imp.GDI32.dll_DeleteObject]
mov r9, qword [rbp + 0x40]
mov rbx, qword [rsi]
xor r8d, r8d
mov edx, 0x172
mov rcx, rbx
mov qword [rsi + 0xc0], r9
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, rbx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
adc al, 0xa9
pop rcx
cli
add dl, bh
imul ebp, dword [rbp + 0x3d3a4d7a], 0xffffffce
invalid
Function at 0x14000fbb0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
call fcn.14000f840
mov r11, rax
test rax, rax
je 0x14000fc53
mov eax, 0x5a4d
cmp word [r11], ax
jne 0x14000fc53
movsxd rcx, dword [r11 + 0x3c]
cmp dword [rcx + r11], 0x4550
jne 0x14000fc53
mov eax, dword [rcx + r11 + 0x88]
test eax, eax
je 0x14000fc53
mov ebx, dword [rax + r11 + 0x1c]
xor r9d, r9d
mov r10d, dword [rax + r11 + 0x20]
mov ebp, dword [rax + r11 + 0x24]
add r10, r11
add rbp, r11
lea rsi, [r11 + rbx]
test ebx, ebx
je 0x14000fc53
nop dword [rax]
mov r8d, dword [r10]
mov rax, rdi
add r8, r11
sub r8, rdi
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14000fc43
inc rax
test ecx, ecx
jne 0x14000fc30
test edx, edx
je 0x14000fc6a
inc r9d
add r10, 4
cmp r9d, ebx
jb 0x14000fc20
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
movzx ecx, word [rbp + r9*2]
mov eax, dword [rsi + rcx*4]
add rax, r11
jmp 0x14000fc55

Function at 0x1400168d0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x1400168f8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14001691e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140016920
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140016979
test ecx, ecx
jle 0x140016959
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140016979
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140016979
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret