joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bd570
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov ebx, ecx
call fcn.14017c500
test eax, eax
jne 0x1400bd70d
mov qword [rsp + 0x30], rbp
xor ebp, ebp
cmp byte [0x14066e504], bpl
mov qword [rsp + 0x38], rsi
jne 0x1400bd5a5
mov esi, ebp
jmp 0x1400bd5c1
mov ecx, 5
call qword [0x14066e570]
mov rsi, rax
test rax, rax
je 0x1400bd5c1
mov rcx, rax
call qword [0x14066e580]
test ebx, ebx
jle 0x1400bd6ef
test rdi, rdi
je 0x1400bd6ef
cmp dword [0x140a82650], ebp
jne 0x1400bd678
xor ecx, ecx
call fcn.1400b8b50
movups xmm0, xmmword [str.expand_32_byte_k]
movaps xmmword [0x140a82650], xmm0
test rax, rax
jne 0x1400bd618
xorps xmm0, xmm0
mov qword [0x140a82680], rax
movups xmmword [0x140a82660], xmm0
mov dword [0x140a82688], eax
movups xmmword [0x140a82670], xmm0
jmp 0x1400bd65c
mov ecx, dword [0x14066e6b0]
test ecx, ecx
je 0x1400bd64a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140a82660], xmm0
mov dword [0x140a82660], ecx
movups xmmword [0x140a82670], xmm0
mov qword [0x140a82680], rax
mov dword [0x140a82688], eax
jmp 0x1400bd65c
lea r8, [0x140a82660]
mov edx, 0x2c
mov rcx, rax
call qword [rax + 0x68]
mov eax, dword [0x140a82680]
xor cl, cl
mov byte [0x140a826d0], cl
mov dword [0x140a8268c], eax
mov dword [0x140a82680], ebp
jmp 0x1400bd67f
movzx ecx, byte [0x140a826d0]
movzx eax, cl
lea rbp, [0x140a82690]
cmp ebx, eax
jle 0x1400bd6d1
nop dword [rax]
test cl, cl
je 0x1400bd6af
movzx r8d, cl
mov rdx, rbp
mov rcx, rdi
call fcn.1405ed0c0
movzx ecx, byte [0x140a826d0]
sub ebx, ecx
add rdi, rcx
inc dword [0x140a82680]
lea rdx, [0x140a82650]
mov rcx, rbp
call fcn.1400bd290
mov cl, 0x40
mov byte [0x140a826d0], cl
cmp ebx, 0x40
jg 0x1400bd690
movzx eax, cl
mov rcx, rdi
sub eax, ebx
movsxd r8, ebx
movsxd rdx, eax
add rdx, rbp
call fcn.1405ed0c0
sub byte [0x140a826d0], bl
jmp 0x1400bd6f5
mov dword [0x140a82650], ebp
test rsi, rsi
je 0x1400bd703
mov rcx, rsi
call qword [0x14066e590]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400da870
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp byte [rcx + 0x11], 0
mov r9, rcx
jne 0x1400da8c7
movzx eax, byte [rcx + 0x10]
test al, al
je 0x1400da8c7
cmp al, 1
jne 0x1400da889
test edx, edx
jne 0x1400da8c7
mov r10, qword [rcx + 8]
test r8, r8
je 0x1400da8a2
mov rax, qword [r10 + 0x18]
mov rcx, qword [rax + 0x50]
mov eax, dword [rcx + 0x28]
bswap eax
mov dword [r8], eax
test edx, edx
je 0x1400da8c4
mov rax, qword [r9]
mov rcx, qword [r10]
mov edx, dword [rax + 0x2d0]
cmp edx, dword [rcx + 0x80]
jle 0x1400da8c4
cmp byte [rcx + 0xa], 0
jne fcn.1400d2410
xor eax, eax
ret
jmp fcn.1400da600
Function at 0x14010b190
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rdi
push r15
sub rsp, 0x68
mov r15, rdx
mov rdi, rcx
movzx edx, byte [rdx]
movzx eax, dl
cmp dl, 0xb0
jne 0x14010b1ae
movzx eax, byte [r15 + 2]
cmp al, 0xb1
jne 0x14010b1b8
mov rax, qword [r15 + 0x20]
jmp 0x14010b1c8
cmp al, 0x8a
jne 0x14010b347
mov rax, qword [r15 + 0x20]
mov rax, qword [rax + 0x20]
movsxd rcx, dword [rax]
cmp ecx, 1
je 0x14010b347
mov dword [r8], 0
cmp dl, 0x8a
jne 0x14010b1f2
mov rdx, r15
mov rcx, rdi
add rsp, 0x68
pop r15
pop rdi
jmp fcn.1401090a0
mov eax, dword [rdi + 0x38]
mov qword [rsp + 0x60], r12
mov r12, rcx
mov qword [rsp + 0x58], r13
lea r13d, [rax + 1]
add eax, ecx
mov dword [rsp + 0x88], r13d
mov dword [rdi + 0x38], eax
test ecx, ecx
jle 0x14010b332
mov qword [rsp + 0x80], rbx
lea rcx, [0x140106f80]
mov qword [rsp + 0x90], rbp
mov ebp, r13d
mov qword [rsp + 0x50], r14
lea r13, [fcn.140107170]
xor r14d, r14d
mov qword [rsp + 0x98], rsi
lea edx, [r14 + 2]
cmp byte [rdi + 0x23], 0
mov rax, qword [r15 + 0x20]
mov rbx, qword [r14 + rax + 8]
je 0x14010b2a0
mov word [rsp + 0x44], dx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x48], 0
test rbx, rbx
je 0x14010b290
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400ff190
cmp word [rsp + 0x44], 0
je 0x14010b2a0
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.14010d1e0
jmp 0x14010b2e0
mov rsi, qword [rdi]
test rbx, rbx
je 0x14010b2bc
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.140105960
mov rbx, rax
cmp byte [rsi + 0x67], 0
jne 0x14010b2d0
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.14010d4e0
test rbx, rbx
je 0x14010b2e0
mov rdx, rbx
mov rcx, rsi
call fcn.140105600
inc ebp
lea rcx, [0x140106f80]
add r14, 0x20
mov edx, 2
sub r12, 1
jne 0x14010b250
mov eax, dword [rsp + 0x88]
mov r14, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x80]
mov r12, qword [rsp + 0x60]
mov r13, qword [rsp + 0x58]
add rsp, 0x68
pop r15
pop rdi
ret
mov r12, qword [rsp + 0x60]
mov eax, r13d
mov r13, qword [rsp + 0x58]
add rsp, 0x68
pop r15
pop rdi
ret
mov rdx, r15
mov rcx, rdi
add rsp, 0x68
pop r15
pop rdi
jmp fcn.14010d3b0
Function at 0x14010fea0
Capabilities:
Reference sql statements

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, 0x40
mov r14d, dword [rsp + 0x70]
mov ebx, r8d
mov dword [rax - 0x18], r14d
mov rbp, r9
mov qword [rax - 0x20], r9
mov rdi, rdx
mov r9, rdx
mov byte [rcx + 0x1c], 1
mov r8, rdx
mov dword [rax - 0x28], ebx
lea rdx, str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
mov rsi, rcx
call fcn.1401194d0
test ebx, ebx
jne 0x14010ff09
mov r9, rbp
mov dword [rsp + 0x20], r14d
mov r8, rdi
lea rdx, str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
mov rcx, rsi
call fcn.1401194d0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14011a000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x28
xor r11d, r11d
mov rdi, r8
mov ebx, r11d
mov r14, rdx
mov rsi, rcx
cmp dword [rcx + 0x28], ebx
jle 0x14011a109
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r12
lea r12, str.main
mov qword [rsp + 0x20], r15
lea r15, [0x14063bac0]
nop
mov rax, qword [rsi + 0x20]
mov r10d, ebx
xor r10d, 1
cmp ebx, 2
cmovge r10d, ebx
movsxd rcx, r10d
shl rcx, 5
mov rbp, qword [rcx + rax + 0x18]
test rdi, rdi
je 0x14011a081
mov r8, qword [rcx + rax]
mov r9, rdi
sub r9, r8
nop dword [rax]
movzx ecx, byte [r8]
movzx eax, byte [r9 + r8]
cmp ecx, eax
jne 0x14011a0bc
test ecx, ecx
jne 0x14011a0ca
lea rcx, [rbp + 0x20]
xor r8d, r8d
mov rdx, r14
call fcn.1400c0eb0
mov r11, qword [rax + 0x10]
test r11, r11
jne 0x14011a0a0
inc ebx
cmp ebx, dword [rsi + 0x28]
jl 0x14011a040
mov r12, qword [rsp + 0x60]
mov rax, r11
mov rbp, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
movzx edx, byte [rax + r15]
movzx ecx, byte [rcx + r15]
cmp ecx, edx
jne 0x14011a0cf
inc r8
jmp 0x14011a070
test r10d, r10d
jne 0x14011a099
mov r9, rdi
mov rax, r12
sub r9, r12
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [r9 + rax]
cmp edx, ecx
jne 0x14011a0f5
test edx, edx
je 0x14011a081
inc rax
jmp 0x14011a0e0
movzx r8d, byte [rcx + r15]
movzx edx, byte [rdx + r15]
cmp edx, r8d
jne 0x14011a099
inc rax
jmp 0x14011a0e0
mov rax, r11
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x14018bdd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140a827a8]
mov rdi, qword [0x140a82810]
test rax, rax
jne 0x14018c037
movdqa xmm1, xmmword [0x140647b10]
lea r9d, [rax + 0x20]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x48], xmm0
xor edx, edx
lea r8, [0x140a7e8f0]
movdqu xmmword [rsp + 0x58], xmm1
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x48], al
mov qword [rsp + 0x58], rax
movdqu xmmword [rsp + 0x30], xmm0
call fcn.14006fef0
mov r9, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
sub r9, rbx
lea rcx, [r9 - 1]
test rcx, rcx
je 0x14018be5e
nop dword [rax + rax]
movzx eax, byte [rbx + rcx - 1]
sub byte [rbx + rcx], al
sub rcx, 1
jne 0x14018be50
xor edx, edx
test r9, r9
je 0x14018befd
cmp r9, 0x40
jb 0x14018bedc
movdqa xmm2, xmmword [0x140647ba0]
lea rax, [rbx + 0x20]
mov rcx, r9
and rcx, 0xffffffffffffffc0
movdqu xmm0, xmmword [rax - 0x20]
lea rax, [rax + 0x40]
add rdx, 0x40
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rax - 0x60], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x50]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x40], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
cmp rdx, rcx
jb 0x14018be82
cmp rdx, r9
jae 0x14018befd
mov rcx, r9
lea rax, [rbx + rdx]
sub rcx, rdx
nop word [rax + rax]
xor byte [rax], 0xe9
lea rax, [rax + 1]
sub rcx, 1
jne 0x14018bef0
lea rdx, [rbx + 8]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14018bf10
lea rax, [r9 - 8]
cmp r8, rax
jb 0x14018bf27
lea r8, [r9 - 9]
lea rcx, [rsp + 0x48]
call fcn.1400a92b0
test rbx, rbx
je 0x14018bf6b
mov rdx, qword [rsp + 0x40]
mov rax, rbx
sub rdx, rbx
cmp rdx, 0x1000
jb 0x14018bf63
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14018c066
mov rcx, rbx
call fcn.14002bfe4
cmp qword [rsp + 0x60], 0x10
lea rbx, [rsp + 0x48]
cmovae rbx, qword [rsp + 0x48]
call fcn.14002e6c0
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rsp + 0x60]
mov qword [0x140a827a8], rax
test rax, rax
jne 0x14018bfe9
cmp rdx, 0x10
jb 0x14018bfd6
mov rcx, qword [rsp + 0x48]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14018bfd1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14018c066
call fcn.14002bfe4
mov eax, 0xc0000138
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
cmp rdx, 0x10
jb 0x14018c024
mov rcx, qword [rsp + 0x48]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14018c018
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14018c066
call fcn.14002bfe4
mov rax, qword [0x140a827a8]
movdqa xmm0, xmmword [0x140647b10]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov r9d, 0x20
mov dword [rsp + 0x20], 0
lea r8, str.ChainingModeCBC
mov rcx, rdi
lea rdx, str.ChainingMode
call rax
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
call fcn.140012048
int3
Function at 0x14057762c
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x1405776a4
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1405776a4
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x1405776a4
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140577698
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1405776b6
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140577686
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x1405776a6
Function at 0x1405848c0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call fcn.140067804
cdqe
add rsp, 0x28
ret

Function at 0x140584b90
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbx, rdx
mov edx, 0x2b
mov rsi, r8
mov rbp, rcx
test r8, r8
je 0x140584c5b
xor r14d, r14d
nop dword [rax]
mov edi, 4
lea rdx, [rsp + 0x50]
cmp rsi, rdi
mov r8d, 4
mov rcx, rbp
cmovb rdi, rsi
call fcn.140592260
cmp eax, 4
jne 0x140584c0c
cmp byte [0x140a80b24], r14b
jne 0x140584c18
lea r9d, [rax - 2]
mov dword [rsp + 0x50], r14d
mov r8d, eax
lea rdx, [rsp + 0x50]
xor ecx, ecx
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
mov edx, eax
test eax, eax
jne 0x140584c5d
mov eax, dword [rsp + 0x50]
jmp 0x140584c37
imul eax, dword [0x140a80b20], 0x41c64e6d
mov edx, r14d
add eax, 0x3039
mov dword [0x140a80b20], eax
rol eax, 0x10
mov dword [rsp + 0x50], eax
test rdi, rdi
je 0x140584c52
sub rsi, rdi
nop
mov byte [rbx], al
inc rbx
shr eax, 8
sub rdi, 1
jne 0x140584c40
mov dword [rsp + 0x50], eax
test rsi, rsi
jne 0x140584bc0
mov eax, edx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140584c70
Capabilities:
Generate random numbers via winapi

Disassembly:
mov r11, rsp
push rsi
push r12
push r14
push r15
sub rsp, 0xd8
mov rax, qword [0x14066d038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, r8
lea r15, [rsp + 0x30]
and rax, 0xfffffffffffffffe
mov r14, r8
mov rsi, rdx
mov r12, rcx
cmp rax, 0x100
jae 0x140584e1c
test r14b, 1
je 0x140584e1c
mov qword [r11 + 0x18], rbx
dec r14
mov qword [r11 - 0x28], rbp
mov ecx, 0x2b
mov qword [r11 - 0x30], rdi
mov rbp, r14
shr rbp, 1
lea rdi, [rsp + 0x30]
mov qword [r11 - 0x38], r13
je 0x140584d9b
xor r13d, r13d
nop word [rax + rax]
mov ebx, 4
lea rdx, [rsp + 0x20]
cmp rbp, rbx
mov r8d, 4
mov rcx, r12
cmovb rbx, rbp
call fcn.140592260
cmp eax, 4
jne 0x140584d3c
cmp byte [0x140a80b24], r13b
jne 0x140584d4c
lea r9d, [rax - 2]
mov dword [rsp + 0x20], r13d
mov r8d, eax
lea rdx, [rsp + 0x20]
xor ecx, ecx
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
mov ecx, eax
test eax, eax
jne 0x140584ddd
mov eax, dword [rsp + 0x20]
jmp 0x140584d6b
imul eax, dword [0x140a80b20], 0x41c64e6d
mov ecx, r13d
add eax, 0x3039
mov dword [0x140a80b20], eax
rol eax, 0x10
mov dword [rsp + 0x20], eax
test rbx, rbx
je 0x140584d92
sub rbp, rbx
nop dword [rax]
nop word [rax + rax]
mov byte [rdi], al
inc rdi
shr eax, 8
sub rbx, 1
jne 0x140584d80
mov dword [rsp + 0x20], eax
test rbp, rbp
jne 0x140584cf0
mov eax, ecx
test ecx, ecx
jne 0x140584ddd
test r14, r14
je 0x140584dd8
lea rdx, str.0123456789abcdef
nop dword [rax]
movzx ecx, byte [r15]
lea r15, [r15 + 1]
mov eax, ecx
and ecx, 0xf
shr rax, 4
movzx eax, byte [rax + rdx]
mov byte [rsi], al
movzx eax, byte [rcx + rdx]
mov byte [rsi + 1], al
add rsi, 2
sub r14, 2
jne 0x140584db0
mov byte [rsi], 0
xor eax, eax
mov rdi, qword [rsp + 0xc8]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0x110]
mov r13, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14057c200
add rsp, 0xd8
pop r15
pop r14
pop r12
pop rsi
ret
mov eax, 0x2b
jmp 0x140584dfd
Function at 0x14059d940
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, [0x14061d170]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x14059d96a
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
lea rdx, [0x14061d180]
mov qword [rsp + 0x48], r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x14061d190]
mov rcx, rbx
mov r14, rax
call fcn.140601370
test rax, rax
je 0x14059d9cd
mov rcx, rbx
test r14, r14
je 0x14059d9b7
xor edx, edx
lea r8d, [rdx + 8]
call r14
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
test r14, r14
je 0x14059da05
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14059da05
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call r14
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
xor edx, edx
mov qword [rsp + 0x50], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r15d, eax
test eax, eax
je 0x14059dac8
mov qword [rsp + 0x40], rsi
mov rsi, 0xffffffffffffffff
mov rdx, rsi
nop
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x14059da30
lea ecx, [rax + 1]
add rcx, rdx
call qword [fcn.1405f2b70]
mov rdi, rax
test rax, rax
je 0x14059daba
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x14059daba
mov rax, rsi
cmp byte [rdi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x14059da60
mov ecx, 0x5c
mov word [rax + rdi], cx
inc rsi
cmp byte [rdi + rsi], bpl
jne 0x14059da74
mov rcx, rdi
sub rcx, rbx
add rcx, rsi
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x14059da90
mov rcx, rdi
test r14, r14
je 0x14059dab1
xor edx, edx
lea r8d, [rdx + 8]
call r14
jmp 0x14059dab7
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
mov rcx, rdi
call qword [fcn.1405f1f94]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov rax, rbp
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
Function at 0x14059db30
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x14066d038]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x14059db96
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14059db79
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x14059db73
shr ax, 8
cmp al, 2
je 0x14059db96
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.14057c200
add rsp, 0x1e8
ret
call fcn.1405da480
test eax, eax
jne 0x14059dda0
mov qword [rsp + 0x200], rsi
lea rcx, [0x14061d170]
mov qword [rsp + 0x208], rdi
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x14059dbd6
mov qword [0x140a80c18], rsi
jmp 0x14059dd5d
mov qword [rsp + 0x1f0], rbx
lea rdx, [0x14061d180]
mov rcx, rdi
mov qword [rsp + 0x1f8], rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rbx, str.iphlpapi.dll
mov rbp, rax
mov rcx, rbx
lea rdx, [0x14061d190]
call fcn.140601370
test rax, rax
je 0x14059dc3a
mov rcx, rbx
test rbp, rbp
je 0x14059dc2c
xor edx, edx
lea r8d, [rdx + 8]
call rbp
mov rsi, rax
jmp 0x14059dd1c
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
jmp 0x14059dd1c
test rbp, rbp
je 0x14059dc69
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14059dc69
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x14059dd1c
xor edx, edx
mov qword [rsp + 0x1e0], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r14d, eax
test eax, eax
je 0x14059dd14
lea ecx, [rax + 1]
add rcx, 0xc
call qword [fcn.1405f2b70]
mov rdi, rax
test rax, rax
je 0x14059dd0b
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x14059dd0b
mov rcx, 0xffffffffffffffff
mov rax, rcx
cmp byte [rdi + rax + 1], sil
lea rax, [rax + 1]
jne 0x14059dcb5
mov edx, 0x5c
mov word [rax + rdi], dx
nop dword [rax]
inc rcx
cmp byte [rdi + rcx], sil
jne 0x14059dcd0
mov rdx, rdi
sub rdx, rbx
add rdx, rcx
movzx eax, byte [rbx]
mov byte [rdx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x14059dce2
mov rcx, rdi
test rbp, rbp
je 0x14059dd02
xor edx, edx
lea r8d, [rdx + 8]
call rbp
jmp 0x14059dd08
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
mov rcx, rdi
call qword [fcn.1405f1f94]
mov r14, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov qword [0x140a80c18], rsi
test rsi, rsi
je 0x14059dd5d
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140a80c10]
test rax, rax
cmovne rcx, rax
mov qword [0x140a80c10], rcx
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.1405da030
test al, al
lea rcx, [0x140a82dc0]
setne byte [0x140a82db8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rdi, qword [rsp + 0x208]
xor eax, eax
mov rsi, qword [rsp + 0x200]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.14057c200
add rsp, 0x1e8
ret
Function at 0x1405b1660
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
movaps xmmword [rsp + 0x50], xmm6
lea rcx, [rsp + 0x30]
mov rdi, rdx
call fcn.14058dec0
mov rcx, rbx
movups xmm6, xmmword [rax]
call case.0x140594ca0.1
mov rcx, rdi
mov rsi, rax
call case.0x140594ca0.1
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x1405b1710
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.14058dec0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.14058df50
cmp rax, 0x3e8
ja 0x1405b1741
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 1
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x1405b16c0
test rsi, rsi
je 0x1405b171d
mov rcx, rsi
call fcn.1405f1f94
test rbx, rbx
je 0x1405b172a
mov rcx, rbx
call fcn.1405f1f94
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret
test rsi, rsi
je 0x1405b174e
mov rcx, rsi
call fcn.1405f1f94
test rbx, rbx
je 0x1405b175b
mov rcx, rbx
call fcn.1405f1f94
mov eax, 1
jmp 0x1405b172c
Function at 0x1405b1bf0
Capabilities:
Resolve dns

Disassembly:
push rdi
push r12
push r13
push r15
sub rsp, 0x28
mov r13, r9
xor edi, edi
mov qword [r9], rdi
xor r15d, r15d
lea r9, [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r12d, eax
test eax, eax
jne 0x1405b1d8e
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rsi
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x1405b1d6e
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x20], r14
nop
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x1405b1c5e
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1405b1c50
inc rbx
jmp 0x1405b1c60
xor ebx, ebx
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x1405b1c6d
lea ebp, [rax + 0xe]
jmp 0x1405b1c79
cmp eax, 0x17
jne 0x1405b1d11
lea ebp, [rax + 5]
cmp qword [rsi + 0x20], 0
je 0x1405b1d11
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1405b1d11
cmp rax, rbp
jb 0x1405b1d11
lea rcx, [rbp + 0x30]
add rcx, rbx
call qword [fcn.1405f2b70]
mov r14, rax
test rax, rax
je 0x1405b1d20
mov ecx, dword [rsi]
mov r8, rbp
mov dword [rax], ecx
mov ecx, dword [rsi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rsi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rsi + 0xc]
mov dword [rax + 0xc], ecx
lea rcx, [r14 + 0x30]
mov dword [rax + 0x10], ebp
xor eax, eax
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x28], rax
mov qword [r14 + 0x20], rcx
mov rdx, qword [rsi + 0x20]
call fcn.1405ed0c0
test rbx, rbx
je 0x1405b1cfe
mov rcx, qword [r14 + 0x20]
mov r8, rbx
add rcx, rbp
mov qword [r14 + 0x18], rcx
mov rdx, qword [rsi + 0x18]
call fcn.1405ed0c0
test rdi, rdi
cmove rdi, r14
test r15, r15
je 0x1405b1d0e
mov qword [r15 + 0x28], r14
mov r15, r14
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x1405b1c40
jmp 0x1405b1d26
mov r12d, 8
mov rcx, qword [rsp + 0x68]
mov r14, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x58]
test rcx, rcx
je 0x1405b1d40
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r12d, r12d
je 0x1405b1d69
test rdi, rdi
je 0x1405b1d65
nop word [rax + rax]
mov rbx, qword [rdi + 0x28]
mov rcx, rdi
call qword [fcn.1405f1f94]
mov rdi, rbx
test rbx, rbx
jne 0x1405b1d50
xor edi, edi
jmp 0x1405b1d7d
test rdi, rdi
jne 0x1405b1d7d
mov r12d, 0x2af9
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rsi, qword [rsp + 0x60]
mov eax, r12d
mov rbx, qword [rsp + 0x50]
mov qword [r13], rdi
add rsp, 0x28
pop r15
pop r13
pop r12
pop rdi
ret

Function at 0x1405b2370
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
mov r9, rdx
mov r8, rcx
mov qword [rsp + 0x28], rbx
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call fcn.140098434
test rax, rax
je 0x1405b23a6
cmp rax, 0xffffffffffffffff
cmovne rbx, rax
mov rax, rbx
add rsp, 0x30
pop rbx
ret
add rsp, 0x30
pop rbx
ret