joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b280
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x1400101c0]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0xa0034
mov dword [rbp - 0x1c], 0x3b000f
mov dword [rbp - 0x18], 0x51000b
mov dword [rbp - 0x14], 0x40005a
mov dword [rbp - 0x10], 0x24001c
mov dword [rbp - 0xc], 0x63001c
call fcn.140002a50
mov rcx, rax
call rbx
mov rbx, qword [0x1400101c0]
lea rcx, [rbp - 0x20]
mov qword [0x1400101a0], rax
mov dword [rbp - 0x20], 0xb0030
mov dword [rbp - 0x1c], 0x3e0004
mov dword [rbp - 0x18], 0x70009
mov dword [rbp - 0x14], 0x40001c
mov dword [rbp - 0x10], 0x24001c
mov dword [rbp - 0xc], 0x63001c
call fcn.140002a50
mov rcx, rax
call rbx
movdqa xmm0, xmmword [str.__r_a:]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140010130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400101b0], rax
mov word [rbp - 0x10], 0xf03
mov byte [rbp - 0xe], 0x4c
call fcn.1400043c0
mov rcx, qword [0x1400101a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140010130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x3b0f0a34
mov dword [rbp - 0x1c], 0xb10270b
mov dword [rbp - 0x18], 0x6043d1b
mov word [rbp - 0x14], 0x4a07
call fcn.140001180
mov rcx, qword [0x1400101a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140010130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x321e0c2e
mov dword [rbp - 0x1c], 0x1a0d0c15
mov dword [rbp - 0x18], 0xd153837
mov word [rbp - 0x14], 0x4a11
call fcn.140001180
mov rcx, qword [0x1400101b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x14000edb0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140010130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400100e8], rax
mov byte [rbp - 0x10], 0x75
call fcn.1400014c0
mov rcx, qword [0x1400101b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x14000ed20]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140010130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400100f0], rax
mov dword [rbp - 0x10], 0x63293411
call fcn.1400026f0
mov rcx, qword [0x1400101b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x14000ecf0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140010130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400100e0], rax
mov byte [rbp - 0x10], 0x75
call fcn.1400014c0
mov rcx, qword [0x1400101b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x14000eca0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140010130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400100d8], rax
mov dword [rbp - 0x10], 0x2222371c
mov byte [rbp - 0xc], 0x61
call fcn.1400031c0
mov rcx, qword [0x1400101b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x14000ed40]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140010130]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x191b
mov byte [rbp - 0xe], 0x4c
call fcn.1400043c0
mov rcx, qword [0x1400101b0]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp rax
Function at 0x14000c950
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movsxd rax, dword [rcx + 0x3c]
mov r12, rdx
mov rdx, rcx
mov ecx, dword [rax + rcx + 0x88]
xor eax, eax
add rcx, rdx
mov dword [rbp - 0x2c], eax
mov qword [rbp - 0x28], rcx
mov r8d, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x20]
add r8, rdx
mov r10d, dword [rcx + 0x24]
add r9, rdx
add r10, rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], r10
cmp dword [rcx + 0x18], eax
jbe 0x14000cb7e
mov word [rbp + 0x50], 0x6267
mov word [rbp + 0x58], 0x6267
nop
mov esi, dword [r9 + rax*4]
lea rcx, [rbp + 0x50]
movzx eax, word [r10 + rax*2]
add rsi, rdx
xor edi, edi
mov r15d, dword [r8 + rax*4]
add r15, rdx
mov qword [rbp - 8], r15
call fcn.140001850
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000ca04
nop dword [rax]
lea rcx, [rbp + 0x50]
inc rdi
call fcn.140001850
movzx ecx, byte [rax]
cmp byte [rdi + rsi], cl
jne 0x14000c9f0
lea rcx, [rbp + 0x58]
xor ebx, ebx
call fcn.140001850
movzx ecx, byte [rax]
cmp byte [r12], cl
je 0x14000ca35
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
inc rbx
call fcn.140001850
movzx ecx, byte [rax]
cmp byte [rbx + r12], cl
jne 0x14000ca20
cmp rdi, rbx
jne 0x14000cb52
mov r13, rsi
mov word [rbp - 0x50], 0x6267
sub r13, r12
mov r14, r12
nop dword [rax]
lea rcx, [rbp - 0x50]
xor ebx, ebx
call fcn.140001850
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000ca76
lea rcx, [rbp - 0x50]
inc rbx
call fcn.140001850
movzx ecx, byte [rax]
cmp byte [rbx + rsi], cl
jne 0x14000ca62
mov rax, r14
sub rax, r12
dec rbx
cmp rax, rbx
jae 0x14000cb78
movsx r15d, byte [r14 + r13]
lea rcx, [rbp - 0x4e]
mov dword [rbp - 0x4e], 0x620006
call fcn.140002520
movzx eax, word [rax]
cmp r15d, eax
jl 0x14000cae8
lea rcx, [rbp - 0x4a]
mov dword [rbp - 0x4a], 0x62001d
call fcn.140002520
movzx ecx, word [rax]
cmp r15d, ecx
jg 0x14000cae8
lea rcx, [rbp - 0x46]
mov dword [rbp - 0x46], 0x620006
mov dword [rbp - 0x42], 0x620026
call fcn.140002520
lea rcx, [rbp - 0x42]
movzx ebx, byte [rax]
call fcn.140002520
movzx ecx, byte [rax]
sub cl, bl
add r15b, cl
movsx edi, byte [r14]
lea rcx, [rbp - 0x3e]
mov dword [rbp - 0x3e], 0x620006
call fcn.140002520
movzx eax, word [rax]
cmp edi, eax
jl 0x14000cb45
lea rcx, [rbp - 0x3a]
mov dword [rbp - 0x3a], 0x62001d
call fcn.140002520
movzx ecx, word [rax]
cmp edi, ecx
jg 0x14000cb45
lea rcx, [rbp - 0x36]
mov dword [rbp - 0x36], 0x620006
mov dword [rbp - 0x32], 0x620026
call fcn.140002520
lea rcx, [rbp - 0x32]
movzx ebx, byte [rax]
call fcn.140002520
movzx ecx, byte [rax]
sub cl, bl
add dil, cl
cmp r15b, dil
jne 0x14000cb52
inc r14
jmp 0x14000ca50
mov eax, dword [rbp - 0x2c]
mov rcx, qword [rbp - 0x28]
inc eax
mov dword [rbp - 0x2c], eax
cmp eax, dword [rcx + 0x18]
jae 0x14000cb7e
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
jmp 0x14000c9c0
mov rax, qword [rbp - 8]
jmp 0x14000cb80
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001910
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x14000b008]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov edi, ecx
xor esi, esi
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x20], rax
cmp rax, 0xffffffffffffffff
je 0x140001997
xor edx, edx
mov r8d, 0x238
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001997
cmp dword [rsp + 0x38], edi
je 0x140001993
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x140001979
mov esi, dword [rsp + 0x50]
cmp rbx, 0xffffffffffffffff
je 0x1400019a6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140005220
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140002bf0
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 case.default.0x140002c11
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 0x140002c3e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140002c40
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140002c99
test ecx, ecx
jle 0x140002c79
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 0x140002c99
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140002c99
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
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x140003210
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14000b008]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000323d
xor eax, eax
jmp 0x14000339a
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140003268
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140003268
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x14000339a
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000338d
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x1400032ab
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400032d6
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140003392
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140003345
sub eax, 1
je 0x140003345
cmp eax, 2
jne 0x14000338d
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140003392
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140003373
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000338d
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140003392
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140005220
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400036b0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14000b008]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140003783
cmp byte [rcx + 0x71], 0
je 0x140003783
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000377f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140003744
sub eax, 1
je 0x140003748
cmp eax, 2
jne 0x14000377f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140005220
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140003776
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000377f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000372c
xor al, al
jmp 0x14000372c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140005220
add rsp, 0x60
pop rbx
ret
Function at 0x140005bb4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005bfe
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005bfe
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005bfe
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005bfe
cmp dword [rcx + 0x84], 0xe
jbe 0x140005bfe
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140005c00
xor al, al
add rsp, 0x28
ret
Function at 0x140001568
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rdx
cmp qword [0x14003abf0], rbx
je 0x14000158f
call fcn.140001718
cmp qword [0x14003abf8], rbx
mov esi, 0x400
jne 0x1400015d9
mov rcx, qword [0x14003ac08]
call fcn.140011578
mov qword [0x14003abf8], rax
test rax, rax
jne 0x1400015d9
mov ecx, esi
mov qword [0x14003ac08], rsi
call fcn.140011578
mov qword [0x14003abf8], rax
test rax, rax
jne 0x1400015d9
mov eax, 0xb
jmp 0x140001708
cmp qword [0x14003ac00], rbx
jne 0x140001615
mov rcx, qword [0x14003ac10]
call fcn.140011578
mov qword [0x14003ac00], rax
test rax, rax
jne 0x140001615
mov rcx, rsi
mov qword [0x14003ac10], rsi
call fcn.140011578
mov qword [0x14003ac00], rax
test rax, rax
je 0x1400015cf
lea r8, [0x140033154]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400114e0
mov rcx, qword [rsp + 0x30]
test rcx, rcx
jne 0x14000165d
mov ecx, 2
call fcn.140012920
mov rcx, rax
lea rdx, str.ERROR:_could_not_open_file_in_mar_wopen___n
call fcn.140002508
mov rcx, rdi
call fcn.140017ee8
mov qword [0x14003abf0], rbx
jmp 0x14000166e
call fcn.140008d34
mov qword [0x14003abf0], rax
test rax, rax
jne 0x140001678
mov eax, 6
jmp 0x140001708
mov edx, ebx
lea r9, [0x14003e0e0]
mov edi, 8
mov r10d, 0x100
mov r8d, edx
mov r11, rdi
mov ecx, r8d
mov eax, r8d
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
mov r8d, ecx
xor r8d, eax
sub r11, 1
jne 0x140001692
mov dword [r9], r8d
inc edx
add r9, 4
cmp edx, r10d
jb 0x14000168c
lea rdx, [0x14003d8e0]
mov r8, rbx
mov r9, rdi
mov rcx, r8
movabs rax, 0xc96c5795d7870f42
and ecx, 1
dec rcx
not rcx
and rcx, rax
mov rax, r8
shr rax, 1
mov r8, rcx
xor r8, rax
sub r9, 1
jne 0x1400016cc
mov qword [rdx], r8
inc rbx
add rdx, rdi
sub r10, 1
jne 0x1400016c6
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140001ae8
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov eax, dword [rcx + 8]
mov rsi, rcx
mov ecx, dword [rcx + 0x18]
add rax, r8
mov r14, r8
mov qword [rsp + 0x70], rax
mov r12, rdx
add ecx, dword [rsi + 0x1c]
add ecx, dword [rsi + 0x14]
call fcn.140011578
xor edi, edi
mov r13, rax
test rax, rax
jne 0x140001b35
lea eax, [rdi + 0xc]
jmp 0x140001cae
mov edx, dword [rsi + 0x18]
mov r15, r13
mov ecx, dword [rsi + 0x14]
mov r8d, dword [rsi + 0x1c]
lea ebp, [rcx + rdx]
add ebp, r8d
je 0x140001b8c
mov eax, 0x7fffffff
cmp rbp, rax
mov rbx, rbp
mov r9, r12
mov edx, 1
cmova rbx, rax
mov rcx, r15
mov r8, rbx
call fcn.140011814
cmp rax, rbx
jne 0x140001c91
add r15, rax
sub rbp, rax
mov eax, 0x7fffffff
jne 0x140001b4f
mov ecx, dword [rsi + 0x14]
mov edx, dword [rsi + 0x18]
mov r8d, dword [rsi + 0x1c]
mov esi, ecx
lea rbx, [r13 + 4]
add rsi, r13
mov ebp, edx
add rbp, rsi
mov r12d, r8d
mov r15, rbp
mov qword [rsp + 0x28], rbp
add r12, rbp
mov qword [rsp + 0x20], rsi
mov ecx, dword [rbx - 4]
mov qword [rsp + 0x80], rbx
call qword [sym.imp.WSOCK32.dll_ntohl]
mov ecx, dword [rbx]
mov dword [rbx - 4], eax
call qword [sym.imp.WSOCK32.dll_ntohl]
mov ecx, dword [rbx + 4]
mov dword [rbx], eax
call qword [sym.imp.WSOCK32.dll_ntohl]
mov ecx, dword [rbx - 4]
mov dword [rbx + 4], eax
lea rax, [rcx + r14]
cmp rax, qword [rsp + 0x70]
ja 0x140001c9f
lea rax, [rcx + rsi]
cmp rax, r15
ja 0x140001c9f
mov edx, edi
test ecx, ecx
je 0x140001c0f
mov ecx, edx
inc edx
mov al, byte [rcx + r14]
add byte [rcx + rsi], al
cmp edx, dword [rbx - 4]
jb 0x140001bfc
mov ecx, dword [rbx - 4]
mov r9, qword [rsp + 0x88]
mov edx, 1
mov r15d, dword [rbx - 4]
mov r8d, ecx
mov rcx, rsi
call fcn.140011388
cmp eax, r15d
jne 0x140001c98
mov r8d, dword [rbx]
add r14, r15
add rsi, r15
lea rax, [r8 + rbp]
cmp rax, r12
ja 0x140001c9f
mov r9, qword [rsp + 0x88]
mov edx, 1
mov r15d, dword [rbx]
mov rcx, rbp
call fcn.140011388
cmp eax, r15d
jne 0x140001c98
movsxd rax, dword [rbx + 4]
add rbp, r15
add r14, rax
cmp r14, qword [rsp + 0x70]
ja 0x140001c9f
mov rax, qword [rsp + 0x80]
add rbx, 0xc
add rax, 8
cmp rax, qword [rsp + 0x20]
jae 0x140001ca4
mov r15, qword [rsp + 0x28]
jmp 0x140001bad
mov edi, 6
jmp 0x140001ca4
mov edi, 0x40
jmp 0x140001ca4
mov edi, 0x29
mov rcx, r13
call fcn.140011538
mov eax, edi
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140002c80
Capabilities:
Create directory

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, 0x20
xor ebp, ebp
mov rdi, rcx
mov ebx, ebp
lea r14d, [rbp + 0x2f]
mov edx, r14d
call fcn.14000e61c
mov rsi, rax
test rax, rax
je 0x140002d0d
mov rcx, rdi
mov word [rax], bp
call fcn.140002c80
mov ebx, eax
test eax, eax
jne 0x140002d09
cmp word [rdi], bp
je 0x140002d09
mov rcx, rdi
call fcn.1400122d0
test eax, eax
jns 0x140002d07
call fcn.140017324
cmp dword [rax], 0x11
je 0x140002d07
call fcn.140017324
mov rbx, rax
call fcn.140002608
mov r9d, dword [rbx]
lea rdx, str.ensure_parent_dir:_failed_to_create_directory:__S__err:__d
mov rcx, rax
mov r8, rdi
call fcn.14000a0ec
lea ebx, [rbp + 7]
jmp 0x140002d09
mov ebx, ebp
mov word [rsi], r14w
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140002d2c
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14003a010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rcx
mov bl, r8b
mov rcx, rdx
mov rdi, rdx
call fcn.140002c80
test eax, eax
jne 0x140002e7d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400121c0
test eax, eax
je 0x140002da0
call fcn.140017324
mov rbx, rax
call fcn.140002608
mov r9d, dword [rbx]
lea rdx, str.rename_file:_failed_to_read_file_status_info:__S__err:__d
mov rcx, rax
mov r8, rsi
call fcn.14000a0ec
mov eax, 6
jmp 0x140002e7d
movzx eax, word [rsp + 0x36]
mov ecx, 0xf000
and ax, cx
mov ecx, 0x8000
cmp ax, cx
je 0x140002e05
test bl, bl
je 0x140002df1
mov ecx, 0x4000
cmp ax, cx
je 0x140002df1
call fcn.140017324
mov rbx, rax
call fcn.140002608
mov r9d, dword [rbx]
lea rdx, str.rename_file:_path_present__but_not_a_file:__S__err:__d
mov rcx, rax
mov r8, rsi
call fcn.14000a0ec
mov eax, 0x30
jmp 0x140002e7d
call fcn.140002608
mov rcx, rax
lea rdx, str.rename_file:_proceeding_to_rename_the_directory
call fcn.14000a0ec
xor edx, edx
mov rcx, rdi
call fcn.140012210
test eax, eax
jne 0x140002e3d
mov rcx, rdi
call fcn.140002998
test eax, eax
je 0x140002e3d
call fcn.140002608
mov rcx, rax
lea rdx, str.rename_file:_destination_file_exists_and_could_not_be_removed:__S
mov r8, rdi
call fcn.14000a0ec
mov eax, 0x3e
jmp 0x140002e7d
mov rdx, rdi
mov rcx, rsi
call fcn.140017344
test eax, eax
je 0x140002e7b
call fcn.140017324
mov rbx, rax
call fcn.140002608
mov rcx, rax
lea rdx, str.rename_file:_failed_to_rename_file___src:__S__dst:_S__err:__d
mov eax, dword [rbx]
mov r9, rdi
mov r8, rsi
mov dword [rsp + 0x20], eax
call fcn.14000a0ec
mov eax, 7
jmp 0x140002e7d
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14000d4c0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140002e9c
Capabilities:
Get common file path
Move file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x14003a010]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rdx
mov rbp, rcx
lea rdx, [rsp + 0x30]
call fcn.1400121c0
test eax, eax
jne 0x140003080
movzx eax, word [rsp + 0x36]
mov ecx, 0xf000
and ax, cx
mov ecx, 0x4000
cmp ax, cx
je 0x140002f67
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, [0x140032a88]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea rcx, [rsp + 0x60]
call fcn.1400129a8
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rbp
call fcn.140002d2c
test eax, eax
lea rdi, [rsp + 0x60]
mov esi, eax
cmovne rdi, rbp
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, eax
call fcn.140002608
test ebx, ebx
lea rcx, str.remove_recursive_on_reboot:_failed_to_schedule_OS_reboot_removal_of_file:__S
lea rdx, str.remove_recursive_on_reboot:_file_will_be_removed_on_OS_reboot:__S
mov r8, rdi
cmove rdx, rcx
mov rcx, rax
call fcn.14000a0ec
mov eax, esi
jmp 0x140003080
mov rcx, rbp
call fcn.140007da8
mov rbx, rax
test rax, rax
jne 0x140003014
call fcn.140017324
mov rbx, rax
call fcn.140002608
mov rcx, rax
lea rdx, str.remove_recursive_on_reboot:_unable_to_open_directory:__S__rv:__d__err:__d
mov eax, dword [rbx]
xor r9d, r9d
mov r8, rbp
mov dword [rsp + 0x20], eax
call fcn.14000a0ec
xor eax, eax
jmp 0x140003080
movzx ecx, word [rdx]
cmp cx, word [0x140032858]
jne 0x140002fc3
movzx ecx, word [rdx + 2]
cmp cx, word [0x14003285a]
je 0x140003014
movzx eax, word [rdx]
cmp ax, word [0x140032798]
jne 0x140002fe9
movzx eax, word [rdx + 2]
cmp ax, word [0x14003279a]
jne 0x140002fe9
movzx eax, word [rdx + 4]
cmp ax, word [0x14003279c]
je 0x140003014
mov qword [rsp + 0x20], rdx
lea r8, str._s__s
mov edx, 0x104
lea rcx, [rsp + 0x60]
mov r9, rbp
call fcn.1400025a4
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140002e9c
mov rcx, rbx
call fcn.140007e34
mov rdx, rax
test rax, rax
jne 0x140002faa
cmp qword [rbx], 0xffffffffffffffff
je 0x140003033
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rbx
call fcn.14000dda4
mov edx, 0x180
mov rcx, rbp
call fcn.1400171d0
mov rcx, rbp
call fcn.1400129d0
mov edi, eax
test eax, eax
je 0x14000307e
call fcn.140017324
mov rbx, rax
call fcn.140002608
mov edx, dword [rbx]
mov rcx, rax
mov dword [rsp + 0x20], edx
mov r9d, edi
lea rdx, str.remove_recursive_on_reboot:_unable_to_remove_directory:__S__rv:__d__err:__d
mov r8, rbp
call fcn.14000a0ec
mov eax, edi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14000d4c0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret