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

Disassembly:
push rbx
sub rsp, 0x30
test rcx, rcx
jne 0x14009d6ab
xor eax, eax
add rsp, 0x30
pop rbx
ret
mov r8, rcx
mov dword [rsp + 0x28], 0x1000
lea rbx, [0x14030c3a0]
mov ecx, 0xfde9
or r9d, 0xffffffff
mov qword [rsp + 0x20], rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp fcn.1401e9944

Function at 0x14009d6e0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbx
sub rsp, 0x230
mov rax, qword [0x140301ed0]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov eax, dword [0x14030ada4]
inc eax
mov dword [0x14030ada4], eax
cmp eax, 1
jg 0x14009d7b1
xor edx, edx
xor ecx, ecx
call fcn.1401a6f60
xor edx, edx
mov ecx, 0x200002
call fcn.1401a6f60
xor edx, edx
lea ecx, [rdx + 2]
call fcn.1400e60e0
xor edx, edx
lea ecx, [rdx + 0xc]
call fcn.1400e60e0
xor edx, edx
lea ecx, [rdx + 4]
call fcn.1400e60e0
xor edx, edx
lea ecx, [rdx + 8]
call fcn.1400e60e0
xor edx, edx
lea rcx, str.ADVAPI32.DLL
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rbx, rax
test rax, rax
je 0x14009d7b1
lea rdx, str.SystemFunction036
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14009d7a8
mov edx, 0x40
lea rcx, [rsp + 0x20]
call rax
test al, al
je 0x14009d7a8
movsd xmm2, qword [0x1402e0c70]
lea rcx, [rsp + 0x20]
mov edx, 0x40
call fcn.1400e7ab0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1401d9820
add rsp, 0x230
pop rbx
ret

Function at 0x14009df80
Capabilities:
Create udp socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rbx, rdx
lea r9, [rax + 0x18]
xor edx, edx
mov rdi, r8
mov rbp, rcx
lea r8, [rax + 0x10]
lea ecx, [rdx + 0x68]
call fcn.14009f674
mov rax, qword [rsp + 0x80]
lea rcx, str.ILibIPAddressMonitor
mov rsi, qword [rsp + 0x78]
mov qword [rsi + 0x28], rax
call fcn.14009f08c
mov ecx, gethostname
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x40], rbx
mov qword [rsi + 0x48], rdi
call fcn.1401e3650
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
lea edx, [r9 + 0x20]
call fcn.14009f390
xor r8d, r8d
mov qword [rsi + 0x60], rax
mov qword [rax + 0x18], rsi
lea ecx, [r8 + 2]
mov edx, ecx
call qword [sym.imp.WS2_32.dll_socket]
lea rdx, [rsi + 0x58]
xor r9d, r9d
lea rcx, [0x14009de84]
mov qword [rsi + 0x50], rax
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov rcx, qword [rsi + 0x60]
mov qword [rsp + 0x38], rcx
mov rcx, rax
mov qword [rsp + 0x30], rdx
mov edx, 0x28000017
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.WS2_32.dll_WSAIoctl]
lea rax, [0x14009df58]
mov rdx, rsi
mov rcx, rbp
mov qword [rsi + 0x10], rax
call fcn.1400a0168
mov rbx, qword [rsp + 0x70]
mov rax, rsi
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009ee9c
Capabilities:
Get local ipv4 addresses

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
xor edi, edi
mov ecx, 0x1c0
mov dword [rsp + 0x48], ecx
call fcn.1401e3650
mov rbx, rax
test rax, rax
je 0x14009efb8
lea rax, [rsp + 0x48]
mov r9, rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea edx, [rdi + 0x2a]
lea ecx, [rdi + 0x17]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
cmp eax, 0x6f
jne 0x14009ef08
mov rcx, rbx
call fcn.1401e2208
mov ecx, dword [rsp + 0x48]
call fcn.1401e3650
mov rbx, rax
test rax, rax
je 0x14009effe
xor r8d, r8d
lea rax, [rsp + 0x48]
mov r9, rbx
mov qword [rsp + 0x20], rax
lea edx, [r8 + 0x2a]
lea ecx, [rdx - 0x13]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
test eax, eax
je 0x14009ef35
mov rcx, rbx
call fcn.1401e2208
xor eax, eax
jmp 0x14009efa8
mov rax, rbx
test rbx, rbx
je 0x14009ef5a
cmp dword [rax + 0x58], 0
je 0x14009ef51
test byte [rax + 0x5c], 0x18
jne 0x14009ef51
cmp dword [rax + 0x68], 1
jne 0x14009ef51
inc edi
mov rax, qword [rax + 8]
test rax, rax
jne 0x14009ef3d
movsxd rcx, edi
shl rcx, 2
call fcn.1401e3650
mov qword [rsi], rax
test rax, rax
je 0x14009f044
mov rdx, rbx
test rbx, rbx
je 0x14009ef9e
cmp dword [rdx + 0x58], 0
je 0x14009ef95
test byte [rdx + 0x5c], 0x18
jne 0x14009ef95
cmp dword [rdx + 0x68], 1
jne 0x14009ef95
mov ecx, dword [rdx + 4]
mov dword [rax], ecx
add rax, 4
mov rdx, qword [rdx + 8]
test rdx, rdx
jne 0x14009ef7a
mov rcx, rbx
call fcn.1401e2208
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xfe
lea rdx, str...microstackILibParsers.c
mov edi, 0x272
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, edi
xor ecx, ecx
call fcn.1400a8e8c
mov r8d, edi
lea rdx, str...microstackILibParsers.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.1400010e4
mov ecx, ebx
call fcn.1401dbf18
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xfe
lea rdx, str...microstackILibParsers.c
mov edi, 0x276
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, edi
xor ecx, ecx
call fcn.1400a8e8c
mov r8d, edi
lea rdx, str...microstackILibParsers.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.1400010e4
mov ecx, ebx
call fcn.1401dbf18
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xfe
lea rdx, str...microstackILibParsers.c
mov edi, 0x28e
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, edi
xor ecx, ecx
call fcn.1400a8e8c
mov r8d, edi
lea rdx, str...microstackILibParsers.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.1400010e4
mov ecx, ebx
call fcn.1401dbf18
int3
Function at 0x14009ffc8
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x3e0
mov rax, qword [0x140301ed0]
xor rax, rsp
mov qword [rsp + 0x3d0], rax
cmp dword [0x14030ade0], 0
lea rbp, str...microstackILibParsers.c
movsxd rbx, ecx
mov esi, 1
jne 0x1400a006b
xor r9d, r9d
lea r8d, [rsi + 0x3f]
mov edx, esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
cmp qword [0x14030adb8], 0
mov qword [0x14030adf0], rax
je 0x1400a006b
mov dword [rsp + 0x28], 0x7c1
lea r9, [0x14030adf0]
lea r8, str.__p___s:_d
mov qword [rsp + 0x20], rbp
mov edx, 0x200
lea rcx, [rsp + 0x1d0]
call fcn.140001138
mov rdx, qword [0x14030ada8]
lea rcx, [rsp + 0x1d0]
mov r8d, esi
call qword [0x14030adb8]
add dword [0x14030ade0], esi
lea rdx, [rsp + 0x30]
mov ecx, 2
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400a0124
mov rdx, rbx
xor r9d, r9d
xor r8d, r8d
mov ecx, 0x9b0
call fcn.14009f674
mov ecx, reloc.WS2_32.dll_recv
mov rbx, rax
call fcn.1400a70bc
xor ecx, ecx
mov qword [rbx + 0x950], rax
call fcn.1400a70bc
mov qword [rbx + 0x958], rax
mov dword [rbx], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, esi
xor edx, edx
mov rcx, rax
mov qword [rbx + 0x28], rax
call qword [sym.imp.dbghelp.dll_SymInitialize]
test eax, eax
jne 0x1400a00e1
and qword [rbx + 0x28], 0
and dword [rbx], 0
mov rcx, rbx
call fcn.1400a6e50
mov qword [rbx + 0x938], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rbx + 0x20], eax
mov rax, rbx
mov rcx, qword [rsp + 0x3d0]
xor rcx, rsp
call fcn.1401d9820
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0x7ca
mov r9d, esi
mov r8d, ebx
mov dword [rsp + 0x20], eax
mov rdx, rbp
xor ecx, ecx
call fcn.1400a8e8c
mov r8d, ebx
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
mov rdx, rbp
call fcn.1400010e4
mov ecx, esi
call fcn.1401dbf18
int3
Function at 0x1400a1c20
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x790]
sub rsp, 0x890
mov rax, qword [0x140301ed0]
xor rax, rsp
mov qword [rbp + 0x780], rax
mov rcx, qword [rcx + 0x950]
call fcn.1400a7200
xor r15d, r15d
mov dword [rsp + 0x30], 0x5265c00
mov dword [rsp + 0x40], r15d
mov rbx, rax
mov qword [rsp + 0x38], r15
mov r14d, r15d
lea rsi, [0x14030f3a0]
test rax, rax
je 0x1400a1d9a
mov r12d, 0x208
mov rcx, rbx
call fcn.14009f5c0
test eax, eax
je 0x1400a1ca0
mov rdi, qword [rbx]
jmp 0x1400a1ca3
mov rdi, r15
test rdi, rdi
je 0x1400a1d9a
cmp qword [rdi], r15
je 0x1400a1d86
lea rax, [rsp + 0x30]
mov dword [rbp + 0x570], r15d
lea r9, [rbp + 0x150]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x360]
mov dword [rbp + 0x150], r15d
lea rdx, [rbp + 0x570]
mov dword [rbp + 0x360], r15d
mov rcx, rdi
call qword [rdi]
mov r8, r12
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x570]
call fcn.1401daea0
test eax, eax
jne 0x1400a1d36
mov r8, r12
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x360]
call fcn.1401daea0
test eax, eax
jne 0x1400a1d36
mov r8, r12
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x150]
call fcn.1401daea0
test eax, eax
je 0x1400a1d86
lea rax, [rsp + 0x38]
mov ecx, 0x40
lea r9, [rbp + 0x150]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x360]
lea rdx, [rbp + 0x570]
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x1400a1d86
mov r9, qword [rdi + 0x30]
lea r8, [0x1402da7d8]
movsxd rax, r14d
mov edx, 0x1000
sub rdx, rax
lea rcx, [rax + rsi]
call fcn.140001138
add r14d, eax
mov rcx, rbx
call fcn.1400a7224
mov rbx, rax
test rax, rax
jne 0x1400a1c8f
test r14d, r14d
lea rax, str.UNKNOWN
cmovle rsi, r15
test rsi, rsi
cmovne rax, rsi
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.1401d9820
lea r11, [rsp + 0x890]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400a2970
Capabilities:
Write file on windows

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
mov ebp, dword [rsp + 0x60]
mov rdi, r9
mov rsi, rdx
mov rbx, r8
mov r14, rcx
mov qword [rax - 0x18], rbx
mov rdx, rdi
mov rcx, rsi
xor r9d, r9d
mov r8d, ebp
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400a2a39
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1400a2a32
mov ecx, 0x50
call fcn.1401e3650
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
lea edx, [r9 + 0x38]
call fcn.14009f390
mov rcx, qword [rsp + 0x68]
lea r9, [0x1400a2750]
or r8d, 0xffffffff
and dword [rax + 0x14], 0
mov qword [rax], rcx
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x28], rcx
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov rcx, r14
mov qword [rax + 8], rdi
mov dword [rax + 0x10], ebp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], rsi
mov rdx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call fcn.1400a3148
xor eax, eax
jmp 0x1400a2a3e
mov eax, 0xfffffffc
jmp 0x1400a2a3e
mov eax, 1
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 0x1400a2ed4
Capabilities:
Read file on windows

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
push r14
push r15
sub rsp, 0x30
mov rbp, qword [rsp + 0x88]
mov r15, r9
mov r14, r8
mov r12, rdx
test rbp, rbp
jne 0x1400a2f0b
xor eax, eax
jmp 0x1400a2f18
mov edx, 0x400
mov rcx, rbp
call fcn.1401e2fbc
add eax, 8
movsxd rsi, eax
mov eax, 0xffffffff
lea rbx, [rsi + 0x20]
cmp rbx, rax
jae 0x1400a2f4b
mov eax, 0xffffffdf
cmp rax, rsi
je 0x1400a2f4b
mov eax, 0xffffffe7
cmp rbx, rax
jae 0x1400a2f4b
lea rcx, [rsi + 0x38]
call fcn.1401e3650
jmp 0x1400a2f4d
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call fcn.14009f390
mov ecx, 0x48
mov rdi, rax
call fcn.1401e3650
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
lea edx, [r9 + 0x30]
call fcn.14009f390
mov r8d, dword [rsp + 0x70]
xor r9d, r9d
mov rdx, r15
mov qword [rsp + 0x20], r14
mov rcx, r12
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x80]
lea rax, [fcn.14007c718]
mov qword [rbx + 8], rax
lea r8, str._s__READ_
mov qword [rbx + 0x20], rcx
test rbp, rbp
mov qword [rbx], r15
lea rcx, [rdi + 0x20]
mov qword [rbx + 0x18], r14
mov rdx, rsi
mov qword [rbx + 0x10], r12
mov rax, qword [r14 + 0x18]
mov qword [rdi], rax
lea rax, [0x1400a2864]
mov qword [rdi + 8], rax
lea rax, [0x1402662c8]
cmove rbp, rax
mov qword [rdi + 0x10], rbx
mov r9, rbp
call fcn.140001138
mov rbx, qword [rsp + 0x50]
mov rax, rdi
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
Function at 0x1400a5498
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x30
and dword [rsp + 0x40], 0
mov rsi, rcx
cmp word [rcx], 0x17
jne 0x1400a54e6
cmp dword [0x140302b60], 0
jne 0x1400a54e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 1
mov r8d, 0x1ab1
lea rdx, str...microstackILibParsers.c
mov dword [rsp + 0x20], eax
xor ecx, ecx
call fcn.1400a8e8c
or rax, 0xffffffffffffffff
jmp 0x1400a5589
movzx ecx, word [rcx]
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400a550a
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9d, [rbx + 3]
mov r8d, 0x1ab2
jmp 0x1400a54cb
cmp word [rsi], 0x17
jne 0x1400a5533
mov edx, 0x29
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x40]
mov rcx, rbx
lea r8d, [rdx - 0xe]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x1400a5594
cmp word [rsi], 0x17
mov eax, 0x1c
mov rdx, rsi
mov rcx, rbx
lea r8d, [rax - 0xc]
cmove r8d, eax
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x1400a5586
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 3
lea rdx, str...microstackILibParsers.c
mov r8d, 0x1ac6
mov dword [rsp + 0x20], eax
xor ecx, ecx
call fcn.1400a8e8c
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x1400a54dd
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
and dword [rsp + 0x20], 0
lea rdx, str...microstackILibParsers.c
mov r9d, eax
mov r8d, 0x1abd
xor ecx, ecx
call fcn.1400a8e8c
mov ecx, 0xfd
call fcn.1401dbf18
int3
Function at 0x1400a835c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
mov dword [rax - 0x10], 0x1000
mov r8, rdx
lea rdi, [0x14030c3a0]
xor ebx, ebx
mov qword [rax - 0x18], rdi
and qword [rax + 0x18], rbx
xor edx, edx
mov ecx, 0xfde9
or r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [0x1402670cc]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1401e07d0
mov rcx, qword [rsp + 0x50]
test rcx, rcx
jne 0x1400a83c3
and qword [rsi], rbx
xor eax, eax
jmp 0x1400a8449
xor edx, edx
lea r8d, [rdx + 2]
call fcn.1401e113c
mov rcx, qword [rsp + 0x50]
call fcn.1401dc45c
cmp eax, 0x7fffffff
jge 0x1400a83f5
mov rcx, qword [rsp + 0x50]
call fcn.1401dc45c
mov ebx, eax
test eax, eax
jns 0x1400a83f5
and qword [rsi], 0
jmp 0x1400a83bc
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
xor edx, edx
call fcn.1401e113c
lea eax, [rbx + 1]
movsxd rcx, eax
call fcn.1401e3650
mov rdi, rax
test rax, rax
je 0x1400a8459
test ebx, ebx
jle 0x1400a8433
mov r9, qword [rsp + 0x50]
mov edx, 1
movsxd r8, ebx
mov rcx, rax
call fcn.1401e3588
mov rbx, rax
movsxd rcx, ebx
mov byte [rcx + rdi], 0
mov rcx, qword [rsp + 0x50]
call fcn.1401e0d80
mov eax, ebx
mov qword [rsi], rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0xfe
lea rdx, str...microstackILibParsers.c
mov ebx, 0x2544
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8d, ebx
xor ecx, ecx
call fcn.1400a8e8c
mov r8d, ebx
lea rdx, str...microstackILibParsers.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.1400010e4
mov ecx, edi
call fcn.1401dbf18
int3

Function at 0x1400a84a0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
and qword [rax + 0x20], 0
lea rsi, [0x14030c3a0]
movsxd rbx, r8d
mov rdi, rdx
mov r8, rcx
mov dword [rax - 0x10], 0x1000
mov ecx, 0xfde9
mov qword [rax - 0x18], rsi
or r9d, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [0x140268ec0]
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.1401e07d0
mov r9, qword [rsp + 0x58]
test r9, r9
je 0x1400a8519
mov r8, rbx
mov edx, 1
mov rcx, rdi
call fcn.1401e1f74
mov rcx, qword [rsp + 0x58]
call fcn.1401e0d80
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400a852c
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], r9
push rdi
sub rsp, 0x30
mov rbx, qword [0x140302b48]
lea rsi, [0x14030c3a0]
and qword [rax + 0x20], 0
or r9d, 0xffffffff
movsxd rdi, r8d
xor edx, edx
mov r8, qword [0x14030adb0]
mov ecx, 0xfde9
mov dword [rax - 0x10], 0x1000
mov qword [rax - 0x18], rsi
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [0x1402daab0]
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.1401e07d0
mov r9, qword [rsp + 0x58]
test r9, r9
je 0x1400a85dc
test rbx, rbx
je 0x1400a85be
xor edx, edx
mov rcx, r9
lea r8d, [rdx + 2]
call fcn.1401e113c
mov rcx, qword [rsp + 0x58]
call fcn.1401dc44c
cmp rax, rbx
jae 0x1400a85d2
mov r9, qword [rsp + 0x58]
mov r8, rdi
lea rcx, [0x14030b3a0]
mov edx, 1
call fcn.1401e1f74
mov rcx, qword [rsp + 0x58]
call fcn.1401e0d80
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400a85ec
Capabilities:
Copy file

Disassembly:
push rbx
mov eax, 0x4030
call fcn.1401d9d90
sub rsp, rax
mov rax, qword [0x140301ed0]
xor rax, rsp
mov qword [rsp + 0x4020], rax
mov rbx, rdx
lea r8, [rsp + 0x2020]
or edx, 0xffffffff
mov r9d, 0x1000
call fcn.14009eca8
mov r9d, 0x1000
lea r8, [rsp + 0x20]
or edx, 0xffffffff
mov rcx, rbx
call fcn.14009eca8
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x2020]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
mov rcx, qword [rsp + 0x4020]
xor rcx, rsp
call fcn.1401d9820
add rsp, 0x4030
pop rbx
ret
Function at 0x1400a9188
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea r8, [rcx + 0x18]
mov rax, rcx
neg rax
mov rdi, rcx
sbb rdx, rdx
and rdx, r8
xor r8d, r8d
mov rbx, qword [rdx]
xor edx, edx
mov rcx, rbx
call fcn.1401e113c
mov edx, 1
mov r9, rbx
mov rcx, rdi
lea r8d, [rdx + 0xf]
call fcn.1401e3588
mov rbx, qword [rsp + 0x30]
xor ecx, ecx
test rax, rax
sete cl
mov eax, ecx
add rsp, 0x20
pop rdi
ret

Function at 0x1400a91e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea r8, [rcx + 0x18]
mov rax, rcx
neg rax
mov rdi, rcx
sbb rdx, rdx
and rdx, r8
xor r8d, r8d
mov rbx, qword [rdx]
xor edx, edx
mov rcx, rbx
call fcn.1401e113c
mov edx, 1
mov r9, rbx
mov rcx, rdi
lea r8d, [rdx + 0xf]
call fcn.1401e1f74
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1401e98d4

Function at 0x1400a92c8
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
lea rbx, [0x14030c3a0]
mov r8, rcx
mov ebp, 0x1000
mov dword [rax - 0x10], ebp
or r9d, 0xffffffff
xor edx, edx
mov qword [rax - 0x18], rbx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, str.rbN
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1401e07d0
xor edi, edi
test eax, eax
je 0x1400a9351
mov dword [rsp + 0x28], ebp
or r9d, 0xffffffff
mov r8, rsi
mov qword [rsp + 0x20], rbx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [0x1402dab60]
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1401e07d0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
jne 0x1400a9362
xor eax, eax
jmp 0x1400a9484
xor edx, edx
lea r8d, [rdx + 2]
call fcn.1401e113c
mov rcx, qword [rsp + 0x58]
call fcn.1401dc45c
mov ebp, reloc.WS2_32.dll_recv
cmp eax, ebp
jge 0x1400a93ee
test rsi, rsi
je 0x1400a9395
mov edx, 0x104
mov rcx, rsi
call fcn.1401e2fbc
mov rdi, rax
lea eax, [rdi + 0x1011]
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
mov rcx, rbp
call fcn.14009f674
mov rdx, rsi
mov rbx, rax
mov dword [rax + 4], 0x1f4000
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x18], rcx
mov rcx, rax
call fcn.1400a9234
mov r9, qword [rsp + 0x58]
mov r8, rbp
mov edx, 1
mov rcx, rbx
call fcn.1401e1f74
mov rcx, qword [rsp + 0x58]
call fcn.1401e98d4
jmp 0x1400a9481
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
xor edx, edx
call fcn.1401e113c
test rsi, rsi
jne 0x1400a9407
mov rax, rdi
jmp 0x1400a9414
mov edx, 0x104
mov rcx, rsi
call fcn.1401e2fbc
add eax, 0x1011
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
mov rcx, rbp
call fcn.14009f674
mov r9, qword [rsp + 0x58]
mov r8, rbp
mov edx, 1
mov rcx, rax
mov rbx, rax
call fcn.1401e3588
cmp rax, rbp
je 0x1400a945e
mov rcx, rbx
call fcn.1401e2208
mov rcx, qword [rsp + 0x58]
mov rbx, rdi
call fcn.1401e0d80
jmp 0x1400a9481
lea rcx, [rbx + 0x18]
mov rax, rbx
neg rax
mov rax, qword [rsp + 0x58]
sbb rdx, rdx
and rdx, rcx
mov rcx, rbx
mov qword [rdx], rax
mov rdx, rsi
call fcn.1400a9234
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400a949c
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
lea r12d, [r8 + 8]
mov rax, rcx
lea r9, [rcx + 0x18]
mov r13, rdx
mov r14, rcx
xor r15d, r15d
neg rax
sbb r8, r8
xor edx, edx
and r8, r9
mov rbx, qword [r8]
xor r8d, r8d
mov rcx, rbx
call fcn.1401e113c
lea edi, [r15 + 0x10]
mov r9, rbx
lea esi, [rdi - 0xf]
mov r8d, edi
mov edx, esi
mov rcx, r14
call fcn.1401e3588
cmp rax, rdi
je 0x1400a9508
mov eax, esi
jmp 0x1400a969b
mov edx, dword [r14 + 0xc]
test edx, edx
je 0x1400a9556
add edx, 4
xor r8d, r8d
mov rcx, rbx
call fcn.1401e113c
mov r9, rbx
lea rcx, [rbp + 0x40]
mov r8d, 4
mov rdx, rsi
call fcn.1401e3588
cmp rax, 4
jne 0x1400a9501
mov eax, dword [rbp + 0x40]
mov edi, dword [r14 + 0xc]
add eax, 8
add edi, eax
mov dword [rbp + 0x40], edi
lea eax, [rdi + r12]
cmp eax, dword [r14 + 4]
jbe 0x1400a9559
mov edi, dword [r14 + 8]
mov dword [rbp + 0x40], edi
lea rsi, [r14 + 8]
cmp dword [rsi], r15d
je 0x1400a95a6
cmp edi, dword [rsi]
ja 0x1400a95a6
lea eax, [rdi + r12]
cmp eax, dword [rsi]
jbe 0x1400a95a6
mov edx, dword [rsi]
xor r8d, r8d
mov rcx, rbx
call fcn.1401e113c
mov edi, 1
mov r9, rbx
mov edx, edi
mov rcx, rsi
lea r8d, [rdi + 3]
call fcn.1401e3588
cmp rax, 4
jne 0x1400a96b0
cmp dword [rsi], 0
mov r15d, edi
mov edi, dword [rbp + 0x40]
jne 0x1400a9562
cmp dword [rsi], 0
mov r12d, 1
jne 0x1400a95b6
mov dword [rsi], edi
mov r15d, r12d
test r15d, r15d
je 0x1400a95e9
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 8]
call fcn.1401e113c
mov r9, rbx
mov r8d, 4
mov rdx, r12
mov rcx, rsi
call fcn.1401e1f74
mov rcx, rbx
call fcn.1401e98d4
mov edi, dword [rbp + 0x40]
xor r8d, r8d
mov edx, edi
mov rcx, rbx
call fcn.1401e113c
and dword [rbp + 0x58], 0
lea rcx, [rbp + 0x58]
mov edi, 4
mov r9, rbx
mov r8d, edi
mov rdx, r12
call fcn.1401e1f74
mov r9, rbx
lea rcx, [rbp + 0x50]
mov r8d, edi
mov rdx, r12
call fcn.1401e1f74
mov eax, dword [rbp + 0x50]
test eax, eax
je 0x1400a963b
mov r8d, eax
mov r9, rbx
mov rdx, r12
mov rcx, r13
call fcn.1401e1f74
mov rcx, rbx
call fcn.1401e98d4
mov edx, dword [r14 + 0xc]
test edx, edx
je 0x1400a9670
xor r8d, r8d
mov rcx, rbx
call fcn.1401e113c
mov r9, rbx
lea rcx, [rbp + 0x40]
mov r8, rdi
mov rdx, r12
call fcn.1401e1f74
mov rcx, rbx
call fcn.1401e98d4
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 0xc]
call fcn.1401e113c
mov r9, rbx
lea rcx, [rbp + 0x40]
mov r8, rdi
mov rdx, r12
call fcn.1401e1f74
mov rcx, rbx
call fcn.1401e98d4
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, edi
jmp 0x1400a969b