joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801509f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push r12
push r14
sub rsp, 0x30
mov qword [rsp + 0x60], rsi
mov r8, rdx
mov rsi, qword [rdx + 0x10]
mov qword [rsp + 0x28], rdi
mov rdi, rdx
mov qword [rsp + 0x20], r15
mov r15, qword [rdx + 0x18]
cmp r15, 0x10
jb 0x180150a20
mov r8, qword [rdx]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
test rsi, rsi
je 0x180150a54
movabs r9, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + r8]
inc rcx
xor rdx, rax
imul rdx, r9
cmp rcx, rsi
jb 0x180150a40
mov r14, qword [0x180542ed0]
mov r12, qword [0x180542ea8]
and r14, rdx
shl r14, 4
add r14, qword [0x180542eb8]
mov rbx, qword [r14 + 8]
cmp rbx, r12
jne 0x180150a7d
xor ebx, ebx
jmp 0x180150ad1
mov qword [rsp + 0x50], rbp
mov rbp, qword [r14]
nop word [rax + rax]
cmp qword [rbx + 0x28], 0x10
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jb 0x180150aa2
mov rdx, qword [rdx]
mov rcx, rdi
cmp r15, 0x10
jb 0x180150aae
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x180150abf
mov r8, rsi
call fcn.1803e5e50
test eax, eax
je 0x180150acc
cmp rbx, rbp
je 0x180150aca
mov rbx, qword [rbx + 8]
jmp 0x180150a90
xor ebx, ebx
mov rbp, qword [rsp + 0x50]
mov r15, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x60]
test rbx, rbx
je 0x180150b95
mov rax, qword [r14]
cmp qword [r14 + 8], rbx
jne 0x180150b0a
cmp rax, rbx
jne 0x180150b00
mov qword [r14], r12
mov qword [r14 + 8], r12
jmp 0x180150b15
mov r12, qword [rbx + 8]
mov qword [r14 + 8], r12
jmp 0x180150b15
cmp rax, rbx
jne 0x180150b15
mov rax, qword [rbx]
mov qword [r14], rax
mov rcx, qword [rbx]
dec qword [0x180542eb0]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rdx, qword [rbx + 0x28]
cmp rdx, 0x10
jb 0x180150b65
mov rcx, qword [rbx + 0x10]
inc rdx
cmp rdx, 0x1000
jb 0x180150b60
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180150ba1
mov rcx, r8
call fcn.1803e3270
mov edx, gethostbyaddr
mov qword [rbx + 0x20], 0
mov rcx, rbx
mov qword [rbx + 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbx + 0x10], 0
call fcn.1803e3270
mov eax, 1
add rsp, 0x30
pop r14
pop r12
pop rbx
ret
xor eax, eax
add rsp, 0x30
pop r14
pop r12
pop rbx
ret
call fcn.1803ea6d4
int3
Function at 0x180151c50
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x180151cbd
mov rax, qword [rbx + 0x38]
mov rdx, qword [rbx + 8]
shr rax, 3
cmp rax, rcx
jbe 0x180151c86
mov r8, rdx
mov rcx, rbx
mov rdx, qword [rdx]
add rsp, 0x20
pop rbx
jmp fcn.180151cd0
call fcn.180150fd0
mov rax, qword [rbx + 8]
lea r8, [rsp + 0x30]
mov qword [rax], rax
mov rax, qword [rbx + 8]
mov qword [rax + 8], rax
mov qword [rbx + 0x10], 0
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x30], rax
call fcn.180151070
add rsp, 0x20
pop rbx
ret
Function at 0x180154940
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x70
test edx, edx
je 0x1801549d0
cmp edx, 1
jne 0x1801549d0
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1801549ab
lea rax, [rsp + 0x28]
mov qword [rsp + 0x98], rax
lea rdx, str.Is_debugger
lea rcx, [rsp + 0x28]
call fcn.1801426c0
mov rbx, rax
lea rdx, str.Debugger
lea rcx, [rsp + 0x48]
call fcn.1801426c0
nop
mov rdx, rbx
mov rcx, rax
call fcn.18014c250
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.18014c5e0
xor edx, edx
xor ecx, ecx
call fcn.1801bc2a0
xor edx, edx
mov ecx, 0x200002
call fcn.1801bc2a0
xor edx, edx
lea ecx, [rdx + 0xc]
call fcn.1801ff3d0
nop
mov eax, 1
add rsp, 0x70
pop rbx
ret
Function at 0x180158940
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x18053d0c0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rdx
mov qword [rsp + 0x38], rdx
xor eax, eax
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdx], al
mov dword [rsp + 0x30], 1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.Software_tcn
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x180158a35
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x50]
call fcn.1803e5f50
mov dword [rsp + 0x48], 0x100
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
xor r8d, r8d
lea rdx, str.sign
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x180158a2a
cmp dword [rsp + 0x4c], 1
jne 0x180158a2a
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180158a13
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1801404c0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1803e3250
add rsp, 0x160
pop rbx
ret
Function at 0x18019e250
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x18053d0c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp qword [rcx + 0x18], 0x10
mov r8, rcx
mov r10, qword [rcx + 0x10]
mov rdx, rcx
jb 0x18019e287
mov rdx, qword [rcx]
xor esi, esi
movabs rdi, 0xcbf29ce484222325
mov r9, rdi
mov ecx, esi
movabs rbp, 0x100000001b3
test r10, r10
je 0x18019e2c3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, rbp
cmp rcx, r10
jb 0x18019e2b0
lea rdx, [rsp + 0x20]
call fcn.1801a44d0
mov r9, qword [0x180542f58]
mov rbx, r9
mov rcx, qword [rax + 8]
test rcx, rcx
cmovne rbx, rcx
cmp rbx, r9
je 0x18019e393
cmp qword [rbx + 0x28], 0x10
lea rcx, [rbx + 0x10]
mov rdx, qword [rbx + 0x20]
jb 0x18019e2fe
mov rcx, qword [rbx + 0x10]
test rdx, rdx
je 0x18019e323
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rsi + rcx]
inc rsi
xor rdi, rax
imul rdi, rbp
cmp rsi, rdx
jb 0x18019e310
and rdi, qword [0x180542f80]
mov rcx, qword [0x180542f68]
shl rdi, 4
add rcx, rdi
mov rax, qword [rcx]
cmp qword [rcx + 8], rbx
jne 0x18019e359
cmp rax, rbx
jne 0x18019e34f
mov qword [rcx], r9
mov qword [rcx + 8], r9
jmp 0x18019e364
mov r9, qword [rbx + 8]
mov qword [rcx + 8], r9
jmp 0x18019e364
cmp rax, rbx
jne 0x18019e364
mov rax, qword [rbx]
mov qword [rcx], rax
mov rdx, qword [rbx]
lea rcx, [rbx + 0x10]
dec qword [0x180542f60]
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
call fcn.180136980
mov edx, 0x50
mov rcx, rbx
call fcn.1803e3270
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1803e3250
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1801b0770
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rsi, r8
mov edi, r8d
shr r8, 5
mov rbp, rdx
inc r8
mov r14, rcx
mov r9, rsi
cmp rsi, r8
jb 0x1801b07ce
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r9 + rdx - 1]
mov eax, edi
shl eax, 5
sub r9, r8
add ecx, eax
mov eax, edi
shr eax, 2
add ecx, eax
xor edi, ecx
cmp r9, r8
jae 0x1801b07b0
mov r15, qword [r14 + 0x20]
movsxd rax, edi
movsxd rcx, dword [r15 + 0xc]
dec rcx
and rcx, rax
mov rax, qword [r15]
mov rbx, qword [rax + rcx*8]
test rbx, rbx
je 0x1801b0815
nop dword [rax + rax]
cmp qword [rbx + 0x10], rsi
jne 0x1801b080d
lea rdx, [rbx + 0x18]
mov r8, rsi
mov rcx, rbp
call fcn.1803e5e50
test eax, eax
je 0x1801b08ea
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1801b07f0
lea rax, [rsi + 1]
cmp rax, 0xffffffffffffffe5
jbe 0x1801b0827
mov rcx, r14
call fcn.1801b41f0
lea r9, [rsi + 0x19]
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.1801b4180
mov r8, rsi
mov r15, rax
mov qword [rax + 0x10], rsi
mov dword [rax + 0xc], edi
mov rcx, qword [r14 + 0x20]
movzx edx, byte [rcx + 0x20]
lea rcx, [rax + 0x18]
and dl, 3
mov byte [rax + 8], 4
mov byte [rax + 9], dl
mov rdx, rbp
mov byte [rax + 0xa], 0
call fcn.1803e57a0
mov byte [r15 + rsi + 0x18], 0
mov r8, qword [r14 + 0x20]
mov eax, edi
mov edx, dword [r8 + 0xc]
dec edx
and rdx, rax
mov rax, qword [r8]
mov rcx, qword [rax + rdx*8]
mov qword [r15], rcx
mov rax, qword [r8]
mov qword [rax + rdx*8], r15
inc dword [r8 + 8]
mov ebp, dword [r8 + 0xc]
cmp dword [r8 + 8], ebp
jbe 0x1801b099c
cmp ebp, 0x3ffffffe
jg 0x1801b099c
mov rax, qword [r14 + 0x20]
add ebp, ebp
cmp byte [rax + 0x21], 2
je 0x1801b099c
lea eax, [rbp + 1]
movsxd rsi, ebp
movsxd rcx, eax
movabs rax, 0x1fffffffffffffff
cmp rcx, rax
mov rcx, r14
ja 0x1801b0909
lea r9, [rsi*8]
xor r8d, r8d
xor edx, edx
call fcn.1801b4180
jmp 0x1801b090e
movzx ecx, byte [r15 + 0x20]
movzx eax, byte [rbx + 9]
not ecx
and ecx, eax
test cl, 3
je 0x1801b0901
xor al, 3
mov byte [rbx + 9], al
mov rax, rbx
jmp 0x1801b099f
call fcn.1801b41f0
mov rdi, qword [r14 + 0x20]
mov rbx, rax
test ebp, ebp
jle 0x1801b092a
shl rsi, 3
xor edx, edx
mov r8, rsi
mov rcx, rax
call fcn.1803e5f50
mov eax, dword [rdi + 0xc]
xor r10d, r10d
test eax, eax
jle 0x1801b0981
mov r11d, r10d
nop word [rax + rax]
mov rax, qword [rdi]
mov rax, qword [r11 + rax]
test rax, rax
je 0x1801b0972
movsxd r9, ebp
dec r9
mov r8, qword [rax]
movsxd rcx, dword [rax + 0xc]
and rcx, r9
lea rdx, [rbx + rcx*8]
mov rcx, qword [rbx + rcx*8]
mov qword [rax], rcx
mov qword [rdx], rax
mov rax, r8
test r8, r8
jne 0x1801b0952
mov eax, dword [rdi + 0xc]
inc r10d
add r11, 8
cmp r10d, eax
jl 0x1801b0940
mov rdx, qword [rdi]
xor r9d, r9d
movsxd r8, eax
mov rcx, r14
shl r8, 3
call fcn.1801b4180
mov dword [rdi + 0xc], ebp
mov qword [rdi], rbx
mov rax, r15
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1801b7070
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, qword [rcx + 0x28]
mov rbx, rcx
mov rax, qword [rdi]
mov qword [rcx + 0x28], rax
mov rax, qword [rcx + 0x18]
movzx r9d, byte [rdi + 0xc]
mov r8, qword [rax + 0x30]
movzx eax, byte [r8 + 0x4a]
cmp al, r9b
jbe 0x1801b70ce
nop
dec al
movzx eax, al
mov byte [r8 + 0x4a], al
movzx edx, word [r8 + rax*2 + 0xc4]
mov rax, qword [r8]
add rdx, rdx
mov rcx, qword [rax + 0x30]
mov eax, dword [r8 + 0x30]
mov dword [rcx + rdx*8 + 0xc], eax
movzx eax, byte [r8 + 0x4a]
cmp al, r9b
ja 0x1801b70a0
cmp byte [rdi + 0xd], 0
je 0x1801b70f0
movzx r8d, byte [rdi + 0xc]
xor r9d, r9d
mov rcx, rbx
mov dword [rsp + 0x20], 0
lea edx, [r9 + 0x23]
call fcn.1801ba0d0
movzx eax, byte [rbx + 0x4a]
mov rcx, rbx
mov dword [rbx + 0x3c], eax
mov edx, dword [rdi + 8]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.1801bae50
Function at 0x18020d290
Capabilities:
Set thread local storage value

Disassembly:
mov eax, 0x28
call fcn.1803e3dd0
sub rsp, rax
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x180226160
Capabilities:
Encode data using add xor sub operations

Disassembly:
xor eax, eax
mov r10, rcx
test rcx, rcx
je 0x1802261cc
movzx ecx, byte [rcx]
test cl, cl
je 0x1802261cc
mov r11d, 0x100
nop word [rax + rax]
movsx r9d, cl
lea r10, [r10 + 1]
or r9d, r11d
mov r8d, eax
mov edx, r9d
mov ecx, 0x20
shr edx, 2
add r11d, 0x100
xor edx, r9d
imul r9d, r9d
and edx, 0xf
sub ecx, edx
shr r8, cl
mov ecx, edx
mov edx, eax
mov eax, r8d
shl edx, cl
movzx ecx, byte [r10]
or eax, edx
xor eax, r9d
test cl, cl
jne 0x180226180
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
ret

Function at 0x1802261d0
Capabilities:
Encode data using add xor sub operations

Disassembly:
xor eax, eax
mov r10, rcx
test rcx, rcx
je 0x180226240
movzx ecx, byte [rcx]
test cl, cl
je 0x180226240
mov r11d, 0x100
nop word [rax + rax]
movsx r9d, cl
lea r10, [r10 + 1]
mov r8d, eax
and r9d, 0xffffffdf
or r9d, r11d
mov ecx, 0x20
mov edx, r9d
add r11d, 0x100
shr edx, 2
xor edx, r9d
imul r9d, r9d
and edx, 0xf
sub ecx, edx
shr r8, cl
mov ecx, edx
mov edx, eax
mov eax, r8d
shl edx, cl
movzx ecx, byte [r10]
or eax, edx
xor eax, r9d
test cl, cl
jne 0x1802261f0
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
ret
Function at 0x180244fc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push r12
push r13
push r14
mov eax, 0x50
call fcn.1803e3dd0
sub rsp, rax
mov r14, qword [rsp + 0xa8]
lea r10, [rax - 0x51]
mov rbp, qword [rsp + 0xb0]
xor r11d, r11d
cmp r14, 1
mov eax, r11d
mov r13, r9
mov r12, r8
mov r9, qword [rcx]
setne al
add rax, rbp
mov rsi, rcx
cmp rax, r9
jbe 0x18024501e
xor eax, eax
add rsp, 0x50
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
mov qword [rsp + 0x80], rbx
cmp r14, 1
je 0x180245123
lea r10, [r8 - 1]
add r10, r9
movzx ebx, byte [r10]
cmp dword [rsp + 0xb8], r11d
je 0x18024505b
sub r9, rbx
mov eax, 1
sub r9, rbp
dec r9
mov qword [rcx], r9
jmp 0x18024515a
lea rcx, [rbx + rax]
mov qword [rsp + 0x98], r15
mov r15d, 0x100
mov r8, r9
sub r8, rcx
mov rax, r9
xor r8, rcx
xor rax, rcx
or r8, rax
xor r8, r9
shr r8, 0x3f
dec r8
cmp r9, r15
cmovb r15, r9
test r15, r15
je 0x1802450fd
mov qword [rsp + 0x90], rdi
mov rdi, rbx
shr rdi, 0x3f
nop dword [rax]
nop dword [rax + rax]
mov rax, r11
lea r10, [r10 - 1]
shr rax, 0x3f
mov rcx, rbx
sub rcx, r11
inc r11
shr rcx, 0x3f
xor cl, al
xor al, dil
or cl, al
xor cl, dil
dec cl
movzx edx, cl
movzx ecx, byte [r10 + 1]
xor rcx, rbx
and rdx, rcx
not rdx
and r8, rdx
cmp r11, r15
jb 0x1802450b0
mov rdx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov r15, qword [rsp + 0x98]
lea rax, [rbx + 1]
not r8
movzx r10d, r8b
dec r10
shr r10, 0x3f
neg r10
and rax, r10
sub r9, rax
mov qword [rsi], r9
mov rax, qword [rsp + 0xc0]
mov r9, r13
mov qword [rsp + 0x40], rax
mov r8, r12
mov rax, qword [rsp + 0xa0]
mov rcx, rsi
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.180244bf0
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
Function at 0x180246800
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
lea rsi, [rcx - 1]
movsxd rdi, r9d
not rcx
shr rsi, 0x3f
shr rcx, 0x3f
mov r11, rdx
and rsi, rcx
mov r10, r8
mov ecx, dword [rdx + 8]
dec rsi
xor ecx, dword [r8 + 8]
and ecx, esi
xor dword [rdx + 8], ecx
xor dword [r8 + 8], ecx
movq xmm4, rsi
mov ecx, dword [rdx + 0x10]
xor ecx, dword [r8 + 0x10]
and ecx, esi
punpcklqdq xmm4, xmm4
xor dword [rdx + 0x10], ecx
xor dword [r8 + 0x10], ecx
mov edx, dword [rdx + 0x14]
mov ecx, edx
mov eax, dword [r8 + 0x14]
xor rcx, rax
and ecx, 4
and rcx, rsi
mov eax, ecx
xor eax, edx
mov dword [r11 + 0x14], eax
xor dword [r8 + 0x14], ecx
xor ecx, ecx
mov edx, ecx
test r9d, r9d
jle 0x18024691d
cmp edi, 2
jb 0x18024691d
mov r9, qword [r8]
lea rax, [rdi - 1]
mov r8, qword [r11]
lea rbx, [rdi - 1]
lea rbx, [r9 + rbx*8]
lea rax, [r8 + rax*8]
cmp r9, rax
ja 0x1802468aa
cmp rbx, r8
jae 0x18024691d
cmp r9, r10
ja 0x1802468b4
cmp rbx, r10
jae 0x18024691d
cmp r9, r11
ja 0x1802468be
cmp rbx, r11
jae 0x18024691d
cmp r8, r10
ja 0x1802468c8
cmp rax, r10
jae 0x18024691d
cmp r8, r11
ja 0x1802468d2
cmp rax, r11
jae 0x18024691d
mov eax, edi
and eax, 0xfffffffe
nop word [rax + rax]
movdqu xmm2, xmmword [rcx + r9]
add edx, 2
movdqu xmm1, xmmword [rcx + r8]
lea rcx, [rcx + 0x10]
movdqa xmm3, xmm2
pxor xmm3, xmm1
pand xmm3, xmm4
movdqa xmm0, xmm3
pxor xmm3, xmm2
pxor xmm0, xmm1
movdqu xmmword [rcx + r8 - 0x10], xmm0
movdqu xmmword [rcx + r9 - 0x10], xmm3
cmp edx, eax
jl 0x1802468e0
movsxd rax, edx
cmp rax, rdi
jge 0x18024695d
nop word [rax + rax]
mov rcx, qword [r11]
mov rdx, qword [rcx + rax*8]
lea r8, [rcx + rax*8]
mov rcx, qword [r10]
mov r9, rdx
xor r9, qword [rcx + rax*8]
and r9, rsi
xor rdx, r9
mov qword [r8], rdx
mov rcx, qword [r10]
xor qword [rcx + rax*8], r9
inc rax
cmp rax, rdi
jl 0x180246930
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x1802528e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov eax, 0x280
call fcn.1803e3dd0
sub rsp, rax
mov rax, qword [0x18053d0c0]
xor rax, rsp
mov qword [rsp + 0x270], rax
cmp dword [0x18053f500], 0
lea rax, [0x180252260]
mov qword [rsp + 0x28], rax
lea rbx, [0x1804611a0]
lea rax, str.getnameinfo
movzx ebp, cx
mov qword [rsp + 0x30], rax
lea rax, [0x1802526a0]
mov qword [rsp + 0x38], rax
lea rax, [0x1804611c0]
mov qword [rsp + 0x40], rax
lea rax, [0x180252200]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], rbx
jne 0x180252ab9
mov edx, 0x104
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x180252aaf
lea r8, [rsp + 0x160]
mov qword [rsp + 0x290], rsi
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call fcn.180400dc0
lea r8, str.ws2_32
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call fcn.180400e20
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1802529da
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x180252a3a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r8, [rsp + 0x160]
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call fcn.180400dc0
lea r8, str.wship6
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call fcn.180400e20
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x180252aa7
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x180252a3a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x180252aa7
mov qword [rsp + 0x298], rdi
lea rbx, [rsp + 0x28]
xor edi, edi
nop dword [rax]
mov rdx, qword [rbx - 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx], rax
test rax, rax
je 0x180252a96
inc edi
add rbx, 0x10
cmp edi, 3
jl 0x180252a50
mov rax, qword [rsp + 0x28]
mov qword [0x180539380], rax
mov rax, qword [rsp + 0x38]
mov qword [0x180539390], rax
mov rax, qword [rsp + 0x48]
mov qword [0x1805393a0], rax
jmp 0x180252a9f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, qword [rsp + 0x298]
mov rsi, qword [rsp + 0x290]
mov dword [0x18053f500], 1
mov rax, rbp
lea rcx, [0x180539378]
add rax, rax
mov rax, qword [rcx + rax*8 + 8]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1803e3250
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x280
pop rbp
ret
Function at 0x180252af0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x870
call fcn.1803e3dd0
sub rsp, rax
mov rax, qword [0x18053d0c0]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov r13, qword [rsp + 0x8c8]
mov r14, rcx
mov dword [rsp + 0x24], r8d
xor ebp, ebp
mov dword [rsp + 0x28], edx
mov r8d, 0x401
mov qword [rsp + 0x38], rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov word [rsp + 0x20], r9w
mov r12d, ebp
call fcn.1803e5f50
xor edx, edx
lea rcx, [rsp + 0x450]
mov r8d, 0x401
call fcn.1803e5f50
mov r9d, 0x400
lea rbx, [rsp + 0x40]
mov r8, r14
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x40]
lea rdi, [rsp + 0x450]
lea edx, [r9 + 1]
call fcn.180400e9c
lea r15, [rbp - 1]
nop
mov rcx, r14
mov qword [r13], rbp
mov rsi, r13
mov byte [rdi], bpl
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov r14, rax
test rax, rax
je 0x180252cee
cmp word [rax + 0x10], 2
jne 0x180252c17
cmp word [rax + 0x12], 4
jne 0x180252c17
mov rbx, qword [rax + 0x18]
mov rax, qword [rbx]
test rax, rax
je 0x180252c12
nop dword [rax]
mov r9d, dword [rax]
movzx r8d, word [rsp + 0x20]
mov edx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x28]
call fcn.180252d50
mov qword [rsi], rax
test rax, rax
je 0x180252ce7
add rbx, 8
lea rsi, [rax + 0x28]
mov rax, qword [rbx]
test rax, rax
jne 0x180252be0
mov rbx, qword [rsp + 0x30]
mov r8, qword [r14]
mov r9d, 0x400
mov rcx, rdi
lea edx, [r9 + 1]
call fcn.180400e9c
cmp qword [r13], rbp
jne 0x180252c90
mov rax, r15
inc rax
cmp byte [rdi + rax], bpl
jne 0x180252c35
test rax, rax
je 0x180252d08
mov r8, rdi
mov rax, rbx
sub r8, rbx
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180252c63
inc rax
test ecx, ecx
jne 0x180252c50
test edx, edx
je 0x180252d08
inc r12d
cmp r12d, 0x10
je 0x180252d08
mov r14, qword [rsp + 0x38]
mov rax, rbx
mov rbx, rdi
mov rdi, rax
mov qword [rsp + 0x30], rbx
jmp 0x180252ba0
cmp dword [rsp + 0x8c0], ebp
je 0x180252d1b
nop dword [rax]
cmp byte [rdi + r15 + 1], bpl
lea r15, [r15 + 1]
jne 0x180252ca0
lea rdx, [r15 + 1]
mov ecx, 1
call fcn.1803f4ddc
mov rbx, rax
test rax, rax
jne 0x180252cc6
mov rbx, rbp
jmp 0x180252cd5
mov r8, rdi
lea rdx, [r15 + 1]
mov rcx, rax
call fcn.180400dc0
mov rax, qword [r13]
mov qword [rax + 0x18], rbx
mov rax, qword [r13]
cmp qword [rax + 0x18], rbp
jne 0x180252d1b
mov ebp, 8
jmp 0x180252d1b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
sub ecx, 0x2af9
je 0x180252d16
sub ecx, 1
je 0x180252d0f
sub ecx, 1
jne 0x180252d16
mov ebp, 0x2afb
jmp 0x180252d1b
mov ebp, 0x2afa
jmp 0x180252d1b
mov ebp, 0x2af9
mov eax, ebp
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.1803e3250
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180257df0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x28
call fcn.1803e3dd0
sub rsp, rax
cmp dword [0x18053f590], 0
jne 0x180257f70
mov qword [rsp + 0x30], rbx
lea r8d, [rax + 8]
mov qword [rsp + 0x38], rbp
lea rcx, str.OPENSSL_ia32cap
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
lea rdi, [0x18053f530]
mov rdx, rdi
mov qword [rsp + 0x20], r14
mov dword [0x18053f590], 1
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0x2e
ja 0x180257f32
movzx ebx, word [0x18053f530]
xor ebp, ebp
cmp bx, 0x7e
mov ecx, ebp
mov r14d, 2
cmove ecx, r14d
add rcx, rdi
call fcn.180257f80
mov rsi, rax
cmp bx, 0x7e
jne 0x180257eb1
lea rcx, [0x1805436c0]
mov rbx, rax
call fcn.180001030
not rsi
movabs rcx, 0xedfff7fdffffffff
and rax, rsi
and ebx, 0x1000000
mov rsi, rax
and rsi, rcx
test rbx, rbx
cmove rsi, rax
jmp 0x180257eca
cmp word [0x18053f530], 0x3a
jne 0x180257eca
lea rcx, [0x1805436c0]
call fcn.180001030
mov rsi, rax
movzx eax, word [0x18053f530]
test ax, ax
je 0x180257ee8
lea rdi, [rdi + 2]
cmp ax, 0x3a
je 0x180257ef1
movzx eax, word [rdi]
test ax, ax
jne 0x180257ed6
mov qword [0x1805436c8], rbp
jmp 0x180257f41
movzx ebx, word [rdi]
cmp bx, 0x7e
cmove rbp, r14
lea rcx, [rdi + rbp]
call fcn.180257f80
mov rcx, rax
shr rcx, 0x20
cmp bx, 0x7e
jne 0x180257f24
not eax
not ecx
and dword [0x1805436c8], eax
and dword [0x1805436cc], ecx
jmp 0x180257f41
mov dword [0x1805436c8], eax
mov dword [0x1805436cc], ecx
jmp 0x180257f41
lea rcx, [0x1805436c0]
call fcn.180001030
mov rsi, rax
mov r14, qword [rsp + 0x20]
mov eax, esi
mov rdi, qword [rsp + 0x48]
bts eax, 0xa
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
shr rsi, 0x20
mov dword [0x1805436c4], esi
mov rsi, qword [rsp + 0x40]
mov dword [0x1805436c0], eax
add rsp, 0x28
ret

Function at 0x180265350
Capabilities:
Initialize winsock library

Disassembly:
mov eax, 0x28
call fcn.1803e3dd0
sub rsp, rax
cmp dword [0x18053f730], 0
jne 0x18026540a
xor edx, edx
mov dword [0x18053f730], 1
mov r8d, 0x198
lea rcx, [0x18053f740]
call fcn.1803e5f50
mov ecx, 0x202
lea rdx, [0x18053f740]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x18026540a
call fcn.18020d3a0
lea r8, str.BIO_sock_init
mov edx, __WSAFDIsSet
lea rcx, str.crypto_bio_bio_sock.c
call fcn.18020d4c0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_wsastartup__
mov ecx, 2
mov edx, eax
call fcn.18020d5c0
call fcn.18020d3a0
lea r8, str.BIO_sock_init
mov edx, __WSAFDIsSet
lea rcx, str.crypto_bio_bio_sock.c
call fcn.18020d4c0
xor r8d, r8d
lea edx, [r8 + 0x7a]
lea ecx, [rdx - 0x5a]
call fcn.18020d5c0
mov eax, 0xffffffff
add rsp, 0x28
ret
mov eax, 1
add rsp, 0x28
ret