joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004c7e0
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r8d, dword [rcx + 0x20]
mov edi, 0x38
mov rsi, qword [rcx + 0x20]
and r8d, 0x3f
shl rsi, 3
mov r14, rdx
mov rbx, rcx
mov byte [r8 + rcx + 0x28], 0x80
inc r8d
cmp r8d, edi
je 0x14004c861
jbe 0x14004c84a
lea edx, [rdi + 8]
cmp r8d, edx
jae 0x14004c83f
mov ecx, r8d
sub edx, r8d
add rcx, 0x28
mov r8d, edx
add rcx, rbx
xor edx, edx
call fcn.14005f2f0
mov rcx, rbx
call fcn.14004c9e4
xor r8d, r8d
mov ecx, r8d
sub edi, r8d
add rcx, 0x28
mov r8d, edi
add rcx, rbx
xor edx, edx
call fcn.14005f2f0
mov rax, rsi
mov rcx, rbx
shr rax, 0x20
bswap eax
bswap esi
mov dword [rbx + 0x60], eax
mov dword [rbx + 0x64], esi
call fcn.14004c9e4
mov eax, dword [rbx]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
bswap eax
mov dword [r14], eax
mov eax, dword [rbx + 4]
bswap eax
mov dword [r14 + 4], eax
mov eax, dword [rbx + 8]
bswap eax
mov dword [r14 + 8], eax
mov eax, dword [rbx + 0xc]
bswap eax
mov dword [r14 + 0xc], eax
mov eax, dword [rbx + 0x10]
bswap eax
mov dword [r14 + 0x10], eax
mov eax, dword [rbx + 0x14]
bswap eax
mov dword [r14 + 0x14], eax
mov eax, dword [rbx + 0x18]
bswap eax
mov dword [r14 + 0x18], eax
mov eax, dword [rbx + 0x1c]
bswap eax
mov dword [r14 + 0x1c], eax
and qword [rbx + 0x20], 0
mov dword [rbx], 0x6a09e667
mov dword [rbx + 4], 0xbb67ae85
mov dword [rbx + 8], 0x3c6ef372
mov dword [rbx + 0xc], 0xa54ff53a
mov dword [rbx + 0x10], 0x510e527f
mov dword [rbx + 0x14], 0x9b05688c
mov dword [rbx + 0x18], 0x1f83d9ab
mov dword [rbx + 0x1c], 0x5be0cd19
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r14
ret

Function at 0x14004c914
Capabilities:
Hash data using sha256

Disassembly:
and qword [rcx + 0x20], 0
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
ret
Function at 0x14004c9e4
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
mov rax, qword [0x14008b948]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor edi, edi
mov qword [rsp + 0x20], rcx
mov r9, rcx
lea r8, [rsp + 0x30]
mov ecx, edi
lea eax, [rcx*4]
inc ecx
mov eax, dword [rax + r9 + 0x28]
bswap eax
mov dword [r8], eax
lea r8, [r8 + 4]
cmp ecx, 0x10
jb 0x14004ca26
lea r11, [rsp + 0x70]
mov ebx, 0x30
lea r10, [rsp + 0x68]
mov ecx, dword [r10 - 0x34]
mov r8d, ecx
mov edx, dword [r10]
mov eax, ecx
rol r8d, 0xe
lea r10, [r10 + 4]
shr ecx, 3
ror eax, 7
xor r8d, eax
mov eax, edx
xor r8d, ecx
rol eax, 0xd
mov ecx, edx
shr edx, 0xa
rol ecx, 0xf
xor ecx, eax
xor ecx, edx
add r8d, ecx
add r8d, dword [r10 - 0x3c]
add r8d, dword [r10 - 0x18]
mov dword [r11], r8d
lea r11, [r11 + 4]
sub rbx, 1
jne 0x14004ca51
movups xmm0, xmmword [r9]
lea r12d, [rbx + 0x40]
movups xmm1, xmmword [r9 + 0x10]
movups xmmword [rsp], xmm0
mov ebx, dword [rsp + 8]
mov esi, dword [rsp + 4]
mov r11d, dword [rsp]
mov r9d, dword [rsp + 0xc]
movups xmmword [rsp + 0x10], xmm1
mov r13d, dword [rsp + 0x1c]
mov r14d, dword [rsp + 0x18]
mov r15d, dword [rsp + 0x14]
mov r10d, dword [rsp + 0x10]
mov eax, r10d
mov r8d, r10d
rol eax, 7
mov ecx, r10d
ror r8d, 0xb
not ecx
xor r8d, eax
and ecx, r14d
mov eax, r10d
mov edx, r11d
ror eax, 6
xor r8d, eax
ror edx, 0xd
mov eax, r15d
and eax, r10d
xor ecx, eax
lea rax, [0x1400786a0]
add r8d, ecx
mov ecx, esi
add r8d, dword [rdi + rax]
xor ecx, ebx
add r8d, dword [rsp + rdi + 0x30]
lea rdi, [rdi + 4]
add r8d, r13d
and ecx, r11d
mov eax, r11d
mov r13d, r14d
rol eax, 0xa
mov r14d, r15d
xor edx, eax
mov r15d, r10d
mov eax, r11d
lea r10d, [r9 + r8]
ror eax, 2
mov r9d, ebx
xor edx, eax
mov eax, esi
and eax, ebx
mov ebx, esi
xor ecx, eax
mov esi, r11d
add edx, ecx
lea r11d, [rdx + r8]
sub r12, 1
jne 0x14004cad5
mov dword [rsp + 0xc], r9d
lea rcx, [rsp]
mov r9, qword [rsp + 0x20]
lea edx, [r12 + 8]
sub rcx, r9
mov dword [rsp + 0x10], r10d
mov dword [rsp], r11d
mov dword [rsp + 8], ebx
mov dword [rsp + 4], esi
mov dword [rsp + 0x18], r14d
mov dword [rsp + 0x14], r15d
mov dword [rsp + 0x1c], r13d
mov eax, dword [rcx + r9]
add dword [r9], eax
lea r9, [r9 + 4]
sub rdx, 1
jne 0x14004cb96
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14005cc60
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14005da4c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x140073358]
test rax, rax
je 0x14005da96
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005da96
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005da96
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005da96
cmp dword [rcx + 0x84], 0xe
jbe 0x14005da96
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14005da98
xor al, al
add rsp, 0x28
ret

Function at 0x140065db8
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140065b8c
xor ecx, ecx
call qword [0x140073358]
test rax, rax
je 0x140065b8c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140065b8c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140065b8c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140065b8c
cmp dword [rcx + 0x84], 0xe
jbe 0x140065b8c
cmp dword [rcx + 0xf8], esi
je 0x140065b8c
mov ecx, r14d
call fcn.140065cd4
mov ecx, 2
call fcn.140069ca8
nop
cmp byte [0x1400a7b20], 0
jne 0x140065c56
mov r15d, 1
mov eax, r15d
xchg dword [0x1400a7b10], eax
test ebx, ebx
jne 0x140065bff
mov rdi, qword [0x14008b948]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1400a7b18]
cmp rcx, rax
je 0x140065bf6
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140020880]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1400a7c88]
jmp 0x140065c0b
cmp ebx, r15d
jne 0x140065c11
lea rcx, [0x1400a7ca0]
call fcn.140067840
nop
test ebx, ebx
jne 0x140065c28
lea rdx, [0x1400736a0]
lea rcx, [0x140073680]
call fcn.140067b40
lea rdx, [0x1400736b0]
lea rcx, [0x1400736a8]
call fcn.140067b40
movzx eax, byte [0x1400a7b20]
test esi, esi
cmove eax, r15d
mov byte [0x1400a7b20], al
jmp 0x140065c56
mov ecx, 2
call fcn.140069d08
test esi, esi
jne 0x140065c6d
mov ecx, r14d
call fcn.140065c88
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140065b1c
Function at 0x140002b40
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140004780
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140004780
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140002bb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000a0a4]
mov rbx, rcx
test esi, esi
jle 0x140002ce0
mov rax, qword [0x14000a0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002bfb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002c85
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002be0
mov rcx, rbx
call fcn.140003600
mov rdi, rax
test rax, rax
je 0x140002d02
mov rax, qword [0x14000a0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140003740
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000a0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002ce7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002c7e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002c90
add dword [0x14000a0a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000a0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002c7e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002b40
nop dword [rax]
xor esi, esi
jmp 0x140002c08
mov rax, qword [0x14000a0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002b40
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002b40
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003270
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000a100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000a0e0]
test rbx, rbx
je 0x1400032cc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400032c3
test rsi, rsi
je 0x1400032c3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400032a8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140003600
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140006b00]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003620
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003628
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003620
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000367d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140003674
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140003620
add rax, 0x28
cmp rax, r9
jne 0x140003660
xor eax, eax
ret

Function at 0x140003680
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006b00]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000369f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400036a8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000369f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140003740
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006b00]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000375f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003768
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x422dd0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x468
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], 2
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x20], rax
xor esi, esi
mov r14d, 0xffffffff
xor edi, edi
xor r15d, r15d
cmp r8, 0x201
jae 0x422e50
jmp 0x422e3f
jae 0x422ef4
cmp r8, 0x201
jae 0x422e50
lea r12, [rsp + 0x68]
mov r13d, 0x200
mov rbp, r8
jmp 0x422e97
sub r8, r15
sub rdi, r15
cmp rdi, r8
jae 0x422e77
lea rcx, [rsp + 0x30]
mov rdx, r15
call fcn.00410520
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rsi, qword [rsp + 0x38]
cmp rsi, r14
mov r15d, 0xffffffff
cmovb r15, rsi
mov qword [rsp + 0x40], r15
mov rdi, rsi
mov r12, qword [rsp + 0x20]
mov r13, r15
mov rbp, r15
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov ecx, ebp
mov rdx, r12
call sub.KERNEL32.dll_GetCurrentDirectoryW
mov ebx, eax
test eax, eax
jne 0x422ebb
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x422f52
mov r8d, ebx
cmp rbp, r8
jne 0x422e30
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x422f72
add rbp, rbp
cmp rbp, r14
cmovae rbp, r14
mov r8, rbp
cmp r8, 0x201
jb 0x422e3f
jmp 0x422e50
cmp r13, r8
jb 0x422f8c
lea rcx, [rsp + 0x48]
mov rdx, r12
call fcn.00431590
movups xmm0, xmmword [rsp + 0x48]
movups xmm1, xmmword [rsp + 0x58]
mov rdi, qword [rsp + 0x28]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
test rsi, rsi
je 0x422f3b
add rsi, rsi
mov r8d, 2
mov rcx, qword [rsp + 0x20]
mov rdx, rsi
call fcn.004024f0
mov rax, rdi
add rsp, 0x468
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rdi, qword [rsp + 0x28]
mov qword [rdi], rax
mov byte [rdi + 0x18], 2
test rsi, rsi
jne 0x422f25
jmp 0x422f3b
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.00499580
jmp 0x422fa1
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r13
mov r8, rax
call fcn.004a02a0
ud2
Function at 0x423520
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a8
mov rdi, rcx
lea rcx, [rsp + 0xa8]
call fcn.00451c90
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x423689
mov qword [rsp + 0x40], rdi
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], 2
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x28], rax
xor esi, esi
mov r14d, 0xffffffff
xor r15d, r15d
xor ebx, ebx
cmp r8, 0x201
jae 0x4235e0
jmp 0x4235bf
jae 0x42369f
cmp r8, 0x201
jae 0x4235e0
lea r12, [rsp + 0xa8]
mov r13d, 0x200
mov rbp, r8
jmp 0x423626
sub r8, rbx
sub r15, rbx
cmp r15, r8
jae 0x423607
lea rcx, [rsp + 0x48]
mov rdx, rbx
call fcn.00410520
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rsi, qword [rsp + 0x50]
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rsp + 0x58], rbx
mov r15, rsi
mov r12, qword [rsp + 0x28]
mov r13, rbx
mov rbp, rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, qword [rsp + 0x38]
mov rdx, r12
mov r8d, ebp
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov edi, eax
test eax, eax
jne 0x423650
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x42375b
mov r8d, edi
cmp rbp, r8
jne 0x4235b0
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x423785
add rbp, rbp
cmp rbp, r14
cmovae rbp, r14
mov r8, rbp
cmp r8, 0x201
jb 0x4235bf
jmp 0x4235e0
lea rcx, [rsp + 0xb0]
call fcn.00405e10
mov byte [rdi + 0x18], 2
jmp 0x423727
cmp r13, r8
jb 0x42379f
lea rcx, [rsp + 0x88]
mov rdx, r12
call fcn.00431590
movups xmm0, xmmword [rsp + 0x88]
movups xmm1, xmmword [rsp + 0x98]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
mov rdi, qword [rsp + 0x40]
test rsi, rsi
je 0x4236f2
add rsi, rsi
mov r8d, 2
mov rcx, qword [rsp + 0x28]
mov rdx, rsi
call fcn.004024f0
cmp byte [rsp + 0x78], 2
jne 0x42373e
mov byte [rdi + 0x18], 2
lea rcx, [rsp + 0x60]
mov rsi, qword [rsp + 0x30]
call fcn.00405e10
test rsi, rsi
je 0x423727
add rsi, rsi
mov r8d, 2
mov rcx, qword [rsp + 0x38]
mov rdx, rsi
call fcn.004024f0
mov rax, rdi
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movaps xmm0, xmmword [rsp + 0x60]
movaps xmm1, xmmword [rsp + 0x70]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov rsi, qword [rsp + 0x30]
test rsi, rsi
jne 0x423711
jmp 0x423727
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x78], 2
mov rdi, qword [rsp + 0x40]
test rsi, rsi
jne 0x4236dc
jmp 0x4236f2
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.00499580
jmp 0x4237b4
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r13
mov r8, rax
call fcn.004a02a0
ud2
Function at 0x432a40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x432a70
test ecx, ecx
jne 0x432ac0
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x432a7c
test ecx, ecx
jne 0x432ac0
mov rcx, rdi
call fcn.00432920
movzx eax, al
test bpl, bpl
jne 0x432ac7
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x432ab3.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x00432c38]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x432ab3.2
xor eax, eax
test bpl, bpl
je 0x432a8c
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x432c19
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x432afa
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x432b79
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x432b40
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x432b5b
inc rax
dec rdi
cmp rax, 1
jne 0x432b20
jmp 0x432b79
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x432b5b
cmp ebx, 0x5c
je 0x432b5b
inc rax
dec rdi
cmp rax, 1
jne 0x432b40
jmp 0x432b79
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x432c27
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x432ba3
mov al, 9
cmp rdx, 2
je 0x432ba7
cmp rdx, 1
jne 0x432bb7
cmp byte [r8], 0x2e
jne 0x432bb7
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x432bb7
mov al, 0xa
jmp 0x432bb7
cmp byte [r8], 0x2e
jne 0x432bb7
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov byte [rsi + 8], al
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x432ab3.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x432ab3.2
mov ecx, 2
jmp case.0x432ab3.2
lea r8, [0x004c3258]
call fcn.004a0220
ud2
lea r8, [0x004c3270]
call fcn.004a0220
ud2
Function at 0x439a00
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov ebp, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.0048b280
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x439a5b
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x439ad2
mov r8d, 1
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.004024f0
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call sub.WS2_32.dll_getaddrinfo
test eax, eax
je 0x439adf
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
je 0x439ad2
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.004024f0
nop
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bp
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
jne 0x439ac1
jmp 0x439ad2
Function at 0x43a670
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1098
call fcn.004bc870
sub rsp, rax
movaps xmmword [rsp + 0x1080], xmm6
mov rsi, rdx
mov rdi, rcx
lea r14, [rsp + 0x80]
mov r8d, 0x1000
mov rcx, r14
xor edx, edx
call sub.msvcrt.dll_memset
lea r15, [rsp + 0x40]
xorps xmm6, xmm6
lea rbx, [rsp + 0x30]
lea r12, [0x0044a1b0]
lea r13, [rsp + 0x60]
mov qword [rsp + 0x28], rdi
mov r9d, 0x1000
mov rcx, r15
mov rdx, rdi
mov r8, r14
call fcn.004494b0
cmp qword [rsp + 0x40], 0
jne 0x43a7f6
mov rbp, qword [rsp + 0x48]
test rbp, rbp
je 0x43a7ca
cmp rbp, 0x1000
ja 0x43a816
mov rdi, r14
mov r14, r15
xor r15d, r15d
nop word cs:[rax + rax]
mov r8d, ebp
sub r8d, r15d
lea rdx, [rsp + r15]
add rdx, 0x80
mov dword [rsp + 0x30], 0
movaps xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x20], r12
mov rcx, rsi
mov r9, r13
call sub.KERNEL32.dll_WriteFileEx
test eax, eax
je 0x43a7a0
mov ecx, 0xffffffff
mov edx, 1
call sub.KERNEL32.dll_SleepEx
cmp dword [rsp + 0x30], 0
je 0x43a760
mov eax, dword [rsp + 0x34]
test rax, rax
jne 0x43a7a5
mov eax, dword [rsp + 0x38]
add r15, rax
cmp r15, rbp
je 0x43a790
jbe 0x43a720
jmp 0x43a802
mov r15, r14
mov r14, rdi
mov rdi, qword [rsp + 0x28]
jmp 0x43a6cd
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], 1
lea rcx, [rsp + 0x58]
mov rdi, qword [rsp + 0x28]
call fcn.00405e10
mov rcx, rdi
call sub.KERNEL32.dll_CloseHandle
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
movaps xmm6, xmmword [rsp + 0x1080]
add rsp, 0x1098
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x48]
call fcn.00405e10
jmp 0x43a7ca
lea r8, str.library_std_src_syswindowspipe.rs
mov rcx, r15
mov rdx, rbp
call fcn.004a0320
jmp 0x43a82a
lea r8, str.library_std_src_syswindowspipe.rs
mov edx, 0x1000
mov rcx, rbp
call fcn.004a02a0
ud2

Function at 0x441580
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.00451c90
mov rax, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
test rax, rax
je 0x441635
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov r8b, 1
call fcn.00448240
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
test rdi, rdi
je 0x441635
mov rcx, rdi
xor edx, edx
call sub.KERNEL32.dll_CreateDirectoryW
test eax, eax
je 0x44160a
test rsi, rsi
je 0x441606
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.004024f0
xor esi, esi
jmp 0x441635
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rsi, rsi
je 0x441632
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.004024f0
mov rsi, rbx
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret