joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009c470
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x14017b4c0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbp, qword [rcx + 0x248]
lea r8, [rsp + 0x20]
mov rsi, qword [rcx]
lea rdx, [rsp + 0x30]
mov rdi, rcx
mov dword [rsp + 0x20], 0x80
mov rcx, rbp
mov rbx, 0xffffffffffffffff
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x14009c4ea
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x80
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_accept]
mov rbx, rax
mov rdx, rbp
mov rcx, rdi
call fcn.14007d970
mov rcx, rsi
cmp rbx, 0xffffffffffffffff
jne 0x14009c50f
lea rdx, str.Error_accept__ing_server_connect
call fcn.14007cda0
lea eax, [rbx + 0x1f]
jmp 0x14009c588
lea rdx, str.Connection_accepted_from_server_n
call fcn.14007ceb0
mov edx, 1
mov byte [rdi + 0x3cc], 0
mov rcx, rbx
mov qword [rdi + 0x248], rbx
call fcn.1400a6810
mov byte [rdi + 0x261], 1
cmp qword [rsi + 0x738], 0
je 0x14009c586
mov dl, 1
mov rcx, rsi
call fcn.14006dde0
mov rcx, qword [rsi + 0x740]
mov r8d, 1
mov rdx, rbx
call qword [rsi + 0x738]
xor edx, edx
mov rcx, rsi
mov ebx, eax
call fcn.14006dde0
test ebx, ebx
je 0x14009c586
mov rcx, rdi
call fcn.14009ca70
mov eax, Ordinal_46
jmp 0x14009c588
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400ce1f0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14009d660
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rcx + 0x822], 0
mov rbx, rcx
jne 0x14009d706
xor edx, edx
mov dword [rcx + 0x844], edx
mov eax, edx
mov rcx, qword [rcx]
cmp dword [rcx + 0xbac], 2
sete al
mov dword [rbx + 0x848], eax
cmp dword [rcx + 0xba8], 2
jne 0x14009d6a4
cmp dword [rbx + 0x824], edx
je 0x14009d703
cmp byte [rbx + 0x3c2], dl
je 0x14009d6c0
mov r8, qword [rbx + 0x800]
test r8, r8
je 0x14009d6c0
mov dword [rbx + 0x824], edx
jmp 0x14009d6dc
cmp dword [rbx + 0x810], edx
je 0x14009d703
mov r8, qword [rbx + 0x808]
mov dword [rbx + 0x824], 1
mov r8, qword [r8]
lea rdx, str.CWD__s
lea rcx, [rbx + 0x790]
call fcn.1400ab1a0
test eax, eax
jne 0x14009d710
lea edx, [rax + 0x10]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14009ca60
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14009db00
add rsp, 0x20
pop rbx
ret

Function at 0x14009db00
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
add rcx, 0x790
cmp byte [rax + 0xbc1], 0
jne 0x14009db25
cmp dword [rax + 0xa08], 0
je 0x14009db51
mov r8, qword [rcx + 0x88]
test r8, r8
je 0x14009db51
lea rdx, str.MDTM__s
call fcn.1400ab1a0
test eax, eax
jne 0x14009db5e
lea edx, [rax + 0x12]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14009ca60
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14009eb70
add rsp, 0x20
pop rbx
ret
Function at 0x14009e2a0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
lea eax, [rdx - 0xc8]
mov rbx, rcx
mov rcx, qword [rcx]
cmp eax, 0x64
jb 0x14009e30f
mov eax, dword [rbx + 0x840]
mov qword [rsp + 0x30], rdi
lea edi, [rax + 1]
test eax, eax
jne 0x14009e2f0
lea rdx, str.disabling_EPRT_usage_n
call fcn.14007ceb0
mov byte [rbx + 0x3d5], 0
mov edx, edi
mov rcx, rbx
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
jmp 0x14009ef30
cmp edi, 2
jne 0x14009e2dc
lea rdx, str.Failed_to_do_PORT
call fcn.14007cda0
lea eax, [rdi + 0x1c]
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
lea rdx, str.Connect_data_stream_actively_n
call fcn.14007ceb0
xor edx, edx
mov rcx, rbx
call fcn.14009ca60
add rsp, 0x20
pop rbx
jmp fcn.14009cbd0
Function at 0x14009e640
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
mov rdx, qword [rax + 0x1f8]
cmp dword [rdx + 0x28], 0
je 0x14009e68d
cmp qword [rcx + 0x818], 0
je 0x14009e68d
add rcx, 0x790
lea rdx, str.REST__d
xor r8d, r8d
call fcn.1400ab1a0
test eax, eax
jne 0x14009e697
lea edx, [rax + 0x1a]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14009ca60
add rsp, 0x20
pop rbx
jmp fcn.14009e330
add rsp, 0x20
pop rbx
ret

Function at 0x14009e940
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
add rcx, 0x790
mov rax, qword [rbx]
mov rdx, qword [rax + 0x1f8]
cmp dword [rdx + 0x28], 1
jne 0x14009e98c
mov r8, qword [rcx + 0x88]
test r8, r8
je 0x14009e98c
lea rdx, str.SIZE__s
call fcn.1400ab1a0
test eax, eax
jne 0x14009e999
lea edx, [rax + 0x17]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14009ca60
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14009e640
add rsp, 0x20
pop rbx
ret

Function at 0x14009eb70
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub rsp, 0x28
mov r10, qword [rcx]
mov r9, rcx
cmp byte [r10 + 0xbd0], 0
je 0x14009ebc7
cmp qword [rcx + 0x818], 0
je 0x14009ebc7
movzx edx, byte [r10 + 0xbc3]
call fcn.14009ce20
test eax, eax
je 0x14009ebc7
mov rax, qword [r10 + 0x1f8]
mov r8d, reloc.WS2_32.dll_send
mov rcx, r9
mov dword [rax + 0x28], 1
movzx edx, byte [r10 + 0xbc3]
add rsp, 0x28
jmp fcn.14009cd90
mov rcx, r9
add rsp, 0x28
jmp fcn.14009e940
Function at 0x1400ad420
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x40
mov rbp, r8
mov rsi, rdx
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x1400ad440
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x50], rdi
cmp rbx, rax
ja 0x1400ad549
test rbx, rbx
je 0x1400ad472
lea rcx, [rbx + rbx]
call qword [section..data]
jmp 0x1400ad47f
lea rcx, [0x140150c29]
call qword [case.0x140072169.0]
mov rdi, rax
test rax, rax
je 0x1400ad549
mov r8, rbx
mov rdx, rsi
mov rcx, rax
call fcn.1400ad570
mov r9d, 1
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1400ad534
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8002
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400ad527
mov rcx, qword [rsp + 0x30]
lea r8d, [rbx + rbx]
xor r9d, r9d
mov dword [rsp + 0x68], reloc.WS2_32.dll_recv
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x68]
mov r8, rbp
mov dword [rsp + 0x20], 0
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, rdi
mov dword [rbp + 0x10], eax
mov byte [rbp + 0x14], al
call qword [fcn.1400e44e0]
xor eax, eax
jmp 0x1400ad54e
mov eax, reloc.WLDAP32.dll_Ordinal_27
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret
Function at 0x1400ad5a0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14017b4c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rsi, r8
mov dword [rsp + 0x40], 8
mov rbx, rdx
mov dword [rsp + 0x20], 0xf0000000
mov rdi, rcx
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1400ad66c
mov qword [rsp + 0xa0], rbp
lea rdx, [rsp + 0x64]
xor ebp, ebp
mov dword [rsp + 0x58], 0x208
mov rcx, rsi
mov qword [rsp + 0x64], rbp
mov dword [rsp + 0x5c], 0x6601
mov dword [rsp + 0x60], 8
call fcn.1400ad6e0
lea rcx, [rsp + 0x64]
lea edx, [rbp + 8]
call fcn.1400b00a0
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r8d, [rbp + 0x14]
xor r9d, r9d
mov dword [rsp + 0x20], ebp
lea rdx, [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
mov rbp, qword [rsp + 0xa0]
test eax, eax
jne 0x1400ad670
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor al, al
jmp 0x1400ad6ba
mov rax, qword [rdi]
xor r9d, r9d
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov qword [rbx], rax
xor edx, edx
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400ce1f0
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400b0180
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [section..data]
mov rdi, rax
test rax, rax
jne 0x1400b01c2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400b0209
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400b0262
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400b0220
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400b02a3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14011eb3b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14011eb3c]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400b0270
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400b7020
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x14017b4c0]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rcx
mov qword [rcx], 0
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1400b70b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [rsp + 0x20], 8
mov r9d, 1
xor r8d, r8d
lea rdx, str.Crypto_RNG
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1400b70b8
mov dword [rsp + 0x20], Ordinal_41
mov r9d, 1
xor r8d, r8d
lea rdx, str.Crypto_RNG
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1400b70dc
mov rax, rbx
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400ce1f0
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, str.CryptAcquireContext
lea rcx, [rsp + 0x30]
call fcn.1400050e0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400b7190
lea rdx, [0x140178968]
lea rcx, [rsp + 0x50]
call fcn.1400d08d0
int3
Function at 0x1400b7590
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x14017b4c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, r8
mov rdi, rdx
mov ecx, dword [0x140187b40]
mov rax, qword gs:[0x58]
mov edx, 0x130
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x140185ad8], ecx
jg 0x1400b766f
mov eax, ebx
cmp rbx, rax
jne 0x1400b7631
xor ecx, ecx
mov eax, ecx
test rbx, rbx
setne al
test ebx, ebx
setne cl
cmp eax, ecx
jne 0x1400b7631
mov r8, rdi
mov edx, ebx
mov rcx, qword [0x140185ad0]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x1400b76b2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400ce1f0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
mov ecx, 0x5b6
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, str.GenerateBlock_size
lea rcx, [rsp + 0x20]
call fcn.1400050e0
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.1400b7190
lea rdx, [0x140178968]
lea rcx, [rsp + 0x40]
call fcn.1400d08d0
nop
lea rcx, [0x140185ad8]
call fcn.1400ce794
cmp dword [0x140185ad8], 0xffffffff
jne 0x1400b75dc
lea rcx, [0x140185ad0]
call fcn.1400b7020
lea rcx, [0x140110af0]
call fcn.1400ce554
nop
lea rcx, [0x140185ad8]
call fcn.1400ce728
jmp 0x1400b75dc
lea rdx, [0x1401205e8]
lea rcx, [rsp + 0x20]
call fcn.1400050e0
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.1400b7190
lea rdx, [0x140178968]
lea rcx, [rsp + 0x40]
call fcn.1400d08d0
int3
Function at 0x1400c4fe0
Capabilities:
Encode data using xor

Disassembly:
mov r9, r8
xor r11d, r11d
mov r10, rdx
mov r8d, r11d
cmp r9, 8
jb 0x1400c5017
mov rdx, r9
shr rdx, 3
imul rax, rdx, 0xfffffffffffffff8
add r9, rax
mov rax, qword [rcx]
add rcx, 8
xor rax, qword [r10]
add r10, 8
or r8, rax
sub rdx, 1
jne 0x1400c5000
mov rdx, r8
shr rdx, 0x20
or edx, r8d
mov r8d, edx
mov eax, edx
shr r8d, 8
or r8d, edx
shr eax, 0x10
and r8d, 0xff00
or r8d, eax
movzx eax, dl
shr r8d, 8
or r8d, eax
test r9, r9
je 0x1400c5108
sub rcx, r10
cmp r9, 8
jb 0x1400c50e9
mov rax, r9
lea rdx, [r10 + 4]
and rax, 0xfffffffffffffff8
xorps xmm4, xmm4
xorps xmm3, xmm3
nop dword [rax + rax]
movd xmm2, dword [rcx + rdx - 4]
xorps xmm0, xmm0
movd xmm1, dword [rdx - 4]
lea rdx, [rdx + 8]
punpcklbw xmm2, xmm0
add r11, 8
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rdx - 8]
punpcklbw xmm1, xmm0
orps xmm4, xmm2
movd xmm2, dword [rcx + rdx - 8]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp r11, rax
jb 0x1400c5070
orps xmm3, xmm4
movdqa xmm0, xmm3
psrldq xmm0, 8
orps xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
orps xmm3, xmm0
movd eax, xmm3
or r8d, eax
cmp r11, r9
jae 0x1400c5108
add r10, r11
sub r9, r11
nop
movzx edx, byte [rcx + r10]
movzx eax, byte [r10]
lea r10, [r10 + 1]
xor edx, eax
or r8d, edx
sub r9, 1
jne 0x1400c50f0
test r8d, r8d
sete al
ret
Function at 0x1400c5110
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
test r9, r9
je 0x1400c52a6
cmp r9, 4
jb 0x1400c514a
mov r10, r9
shr r10, 2
imul rax, r10, 0xfffffffffffffffc
add r9, rax
mov eax, dword [rdx]
add rdx, 4
xor eax, dword [r8]
add r8, 4
mov dword [rcx], eax
add rcx, 4
sub r10, 1
jne 0x1400c5131
xor r11d, r11d
test r9, r9
je 0x1400c52a6
cmp r9, 8
jb 0x1400c527d
lea r10, [rcx - 1]
lea rax, [r8 - 1]
add r10, r9
add rax, r9
cmp rcx, rax
ja 0x1400c517c
cmp r10, r8
jae 0x1400c527d
lea rax, [rdx - 1]
add rax, r9
cmp rcx, rax
ja 0x1400c5191
cmp r10, rdx
jae 0x1400c527d
mov qword [rsp + 0x10], rbx
mov qword [rsp], rdi
cmp r9, 0x40
jb 0x1400c5237
mov r10, r9
mov qword [rsp + 0x18], rsi
and r10d, 0x3f
mov rbx, r9
sub rbx, r10
mov rdi, rdx
lea rax, [r8 + 0x10]
sub rdi, r8
mov rsi, rcx
sub rsi, r8
nop word [rax + rax]
movdqu xmm0, xmmword [rdi + rax - 0x10]
add r11, 0x40
movdqu xmm1, xmmword [rax - 0x10]
movdqu xmm2, xmmword [rdi + rax]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rsi + rax - 0x50], xmm1
xorps xmm2, xmm0
movdqu xmm0, xmmword [rdi + rax - 0x30]
movdqu xmm1, xmmword [rax - 0x30]
movdqu xmmword [rsi + rax - 0x40], xmm2
xorps xmm1, xmm0
movdqu xmm0, xmmword [rdi + rax - 0x20]
movdqu xmm2, xmmword [rax - 0x20]
movdqu xmmword [rsi + rax - 0x30], xmm1
xorps xmm2, xmm0
movdqu xmmword [rsi + rax - 0x20], xmm2
cmp r11, rbx
jb 0x1400c51d0
mov rsi, qword [rsp + 0x18]
cmp r10, 8
jb 0x1400c526f
mov r10, r9
and r10, 0xfffffffffffffff8
mov rbx, rdx
lea rax, [r11 + r8]
sub rbx, r8
mov rdi, rcx
sub rdi, r8
nop
movq xmm1, qword [rax + rbx]
add r11, 8
movq xmm0, qword [rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rdi + rax - 8], xmm1
cmp r11, r10
jb 0x1400c5250
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp r11, r9
jae 0x1400c52a6
sub rdx, r8
lea r10, [r11 + r8]
sub rcx, r8
sub r9, r11
nop word [rax + rax]
movzx eax, byte [r10 + rdx]
xor al, byte [r10]
mov byte [rcx + r10], al
lea r10, [r10 + 1]
sub r9, 1
jne 0x1400c5290
add rsp, 8
ret
Function at 0x1400cc280
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400cc2ba
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400cc2bf
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400cc308
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1400cc308
dec r8
sub rdx, 1
jne 0x1400cc2ee
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400cf2b0
Capabilities:
Parse pe header

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

Function at 0x1400e4694
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400e4703
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400e4703
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400e4703
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400e4703
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400e4703
cmp dword [rcx + 0x84], 0xe
jbe 0x1400e4703
cmp dword [rcx + 0xf8], 0
je 0x1400e4703
mov ecx, ebx
call fcn.1400e47c0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400e4590
nop
cmp dword [rbp + 0x20], 0
je 0x1400e4751
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400e475c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400e4694
Function at 0x1400e48a4
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400e4703
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400e4703
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400e4703
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400e4703
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400e4703
cmp dword [rcx + 0x84], 0xe
jbe 0x1400e4703
cmp dword [rcx + 0xf8], 0
je 0x1400e4703
mov ecx, ebx
call fcn.1400e47c0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400e4590
nop
cmp dword [rbp + 0x20], 0
je 0x1400e4751
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400e475c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400e4694

Function at 0x1400ea860
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x240
mov rax, qword [0x14017b4c0]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdx, [0x140146630]
mov rbp, rcx
call fcn.1400fc5bc
xor edi, edi
test rax, rax
je 0x1400ea946
mov ebx, edi
call fcn.1400e1fb4
mov r14d, dword [rax]
call fcn.1400e1fb4
mov r8d, 0x104
lea rcx, [rsp + 0x20]
mov rdx, rbp
mov dword [rax], edi
call fcn.1400fc508
mov rsi, rax
test rax, rax
je 0x1400ea8d7
call fcn.1400e1fb4
mov dword [rax], r14d
jmp 0x1400ea901
call fcn.1400e1fb4
cmp dword [rax], 0x22
jne 0x1400ea93e
call fcn.1400e1fb4
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.1400fc508
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x1400ea93e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x1400ea905
cmp rax, 3
je 0x1400ea920
mov rcx, rsi
call fcn.1400ea7bc
test al, al
je 0x1400ea931
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1400ea931
mov dil, 1
mov rcx, rbx
call fcn.1400e44e0
mov al, dil
jmp 0x1400ea948
mov rcx, rbx
call fcn.1400e44e0
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400ce1f0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400eb0c4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400cedb0
sub rsp, rax
mov rax, qword [0x14017b4c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400f8e38
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400eb113
mov rax, rbp
jmp 0x1400eb21b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x1882a0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400ec024
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x1882a0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400eb217
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400eb217
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400ec024
test rax, rax
js 0x1400eb217
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400eb217
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400eb209
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400eb209
cmp byte [rcx], 0xd
jne 0x1400eb1ef
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400eb1fe
cmp byte [rcx + 1], 0xa
jne 0x1400eb1fe
inc rcx
jmp 0x1400eb1fe
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x17b740]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400eb1d1
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400eb21b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400ce1f0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret