joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008fd0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x140008ffe
xor eax, eax
jmp 0x1400090e4
cmp qword [rcx + 0x68], 0
je 0x14000900f
call fcn.140003374
jmp 0x1400090e4
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140009026
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140009028
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000905a
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14000b960
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1400090de
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140009091
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1400090ba
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140015470
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1400090de
cmp rsi, rbx
ja 0x140009098
test rsi, rsi
je 0x1400090de
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140015470
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14000a244
Capabilities:
Parse pe header

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

Function at 0x140019ba0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140019990
Function at 0x140021688
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x1400216ba
call fcn.140016104
mov dword [rax], 0x16
call fcn.1400101b4
jmp 0x1400217d9
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400217d9
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1400217d9
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1400216e9
lock or dword [rcx + 0x14], 0x10
jmp 0x1400217d9
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400216fd
call fcn.140022cec
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.14001f094
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.140022468
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x1400217c7
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x140021792
mov rcx, rsi
call fcn.14001f094
cmp eax, edi
je 0x14002177d
mov rcx, rsi
call fcn.14001f094
cmp eax, 0xfffffffe
je 0x14002177d
mov rcx, rsi
call fcn.14001f094
movsxd rbx, eax
lea r14, [0x1400495b0]
mov rcx, rsi
sar rbx, 6
call fcn.14001f094
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x140021784
lea rdx, [0x1400473e0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140021792
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x1400217b6
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x1400217b6
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x1400217b6
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x1400217dc
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x140021b04
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.140009ef0
sub rsp, rax
mov rax, qword [0x140047030]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14001f094
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140021b53
mov rax, rbp
jmp 0x140021c5b
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 + 0x495b0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140022c40
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x495b0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140021c57
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 0x140021c57
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140022c40
test rax, rax
js 0x140021c57
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140021c57
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140021c49
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140021c49
cmp byte [rcx], 0xd
jne 0x140021c2f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140021c3e
cmp byte [rcx + 1], 0xa
jne 0x140021c3e
inc rcx
jmp 0x140021c3e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x47430]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140021c11
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140021c5b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140009a40
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140021fbc
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1400495b0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x14002201a
cmp word [rdx], r12w
jne 0x14002201a
or byte [rax + r8*8 + 0x38], cl
jmp 0x140022020
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14002217b
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x140022156
lea r9, [rcx + 2]
cmp ax, r13w
je 0x140022059
mov rcx, r9
jmp 0x14002207c
cmp r9, rdx
jae 0x140022093
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x14002203d
jmp 0x14002217b
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140022150
cmp dword [rsp + 0x80], edi
je 0x140022150
mov rdx, r14
lea r11, [0x1400495b0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x140022129
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x1400220fc
mov word [rbx], r12w
jmp 0x140022177
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x140022105
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x140022177
cmp word [rsp + 0x70], r12w
jne 0x140022136
cmp rbx, rsi
je 0x1400220f6
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.140022c48
cmp word [rsp + 0x70], r12w
je 0x14002217b
mov word [rbx], r13w
jmp 0x140022177
lea r11, [0x1400495b0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x140022173
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14002217b
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400244b4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14002453b
mov rsi, rbx
cmp word [rax], bp
je 0x1400244fa
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400244e4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400244e0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14001ccf8
mov rdi, rax
test rax, rax
je 0x140024528
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000b960
mov rbp, rdi
xor ecx, ecx
call fcn.14001ccbc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14002b744
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
and qword [rcx], 0
mov rax, r8
and qword [rcx + 8], 0
mov rdi, rdx
mov rdx, rax
mov dword [rcx + 0x50], 0x6a09e667
mov r8, r9
mov dword [rcx + 0x54], 0xbb67ae85
mov rbx, rcx
mov dword [rcx + 0x58], 0x3c6ef372
mov dword [rcx + 0x5c], 0xa54ff53a
mov dword [rcx + 0x60], 0x510e527f
mov dword [rcx + 0x64], 0x9b05688c
mov dword [rcx + 0x68], 0x1f83d9ab
mov dword [rcx + 0x6c], 0x5be0cd19
call fcn.14002ba90
mov rdx, rdi
mov rcx, rbx
call fcn.14002b83c
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x14002e380
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x69
mov dword [rbp - 0x20], 0x650028
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0xf0038
mov dword [rbp - 0x18], 0x70003
mov dword [rbp - 0x14], 0x160062
mov dword [rbp - 0x10], 0x230035
call fcn.140007170
mov rcx, qword [rax]
call fcn.14002e514
mov qword [0x140049ba0], rax
lea rcx, [rbp - 0x20]
mov eax, 0x66
mov dword [rbp - 0x20], 0x650028
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0xf0038
mov dword [rbp - 0x18], 0x70003
mov dword [rbp - 0x14], 0x650013
call fcn.1400070e8
mov rcx, qword [rax]
call fcn.14002e514
lea rcx, [rbp - 0x20]
mov qword [0x140049b90], rax
mov dword [rbp - 0x20], 0x54000d
mov dword [rbp - 0x1c], 0x2d000e
mov dword [rbp - 0x18], 0x4b002a
call fcn.140007060
mov rcx, qword [rax]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp fcn.14002e514

Function at 0x14002e470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r10, rdx
mov r9, rcx
test rcx, rcx
je 0x14002e4f1
test rdx, rdx
je 0x14002e4f1
movsxd rax, dword [rcx + 0x3c]
mov r8d, dword [rax + rcx + 0x88]
add r8, rcx
mov edi, dword [r8 + 0x1c]
mov edx, dword [r8 + 0x20]
add rdi, rcx
mov esi, dword [r8 + 0x24]
add rdx, rcx
mov ebp, dword [r8 + 0x18]
add rsi, rcx
xor ecx, ecx
test ebp, ebp
je 0x14002e4f1
mov eax, dword [rdx]
mov rbx, r10
add rax, r9
sub rbx, rax
movzx r8d, byte [rax]
movzx r11d, byte [rax + rbx]
sub r8d, r11d
jne 0x14002e4e2
inc rax
test r11d, r11d
jne 0x14002e4cc
test r8d, r8d
je 0x14002e508
inc ecx
add rdx, 4
cmp ecx, ebp
jb 0x14002e4c1
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
movzx ecx, word [rsi + rcx*2]
mov eax, dword [rdi + rcx*4]
add rax, r9
jmp 0x14002e4f3

Function at 0x14002e514
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
jmp 0x14002e550
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
call fcn.14000a8fc
test rax, rax
jne 0x14002e567
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14002e53c
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
jmp 0x14002e557
Function at 0x140030da8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
xor ebx, ebx
mov r13, rdx
mov rsi, rcx
mov edi, dword [rax + rcx + 0x88]
add rdi, rcx
mov r14d, dword [rdi + 0x1c]
mov r15d, dword [rdi + 0x20]
add r14, rcx
mov r12d, dword [rdi + 0x24]
add r15, rcx
add r12, rcx
cmp dword [rdi + 0x18], ebx
jbe 0x140030e1b
movzx eax, word [r12 + rbx*2]
mov rdx, r13
mov ecx, dword [r15 + rbx*4]
add rcx, rsi
mov ebp, dword [r14 + rax*4]
add rbp, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x140030e3a
inc ebx
cmp ebx, dword [rdi + 0x18]
jb 0x140030df4
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, rbp
jmp 0x140030e1d
Function at 0x140030e40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x140049ba8]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x480030
mov dword [rbp - 0x1c], 0x2d000f
mov dword [rbp - 0x18], 0x78002a
mov dword [rbp - 0x14], 0x790012
mov dword [rbp - 0x10], 0xa0002
mov dword [rbp - 0xc], 0x4c0005
call fcn.1400067ec
mov rcx, qword [rax]
call rbx
mov rbx, qword [0x140049ba8]
lea rcx, [rbp - 0x20]
mov qword [0x140049b88], rax
mov dword [rbp - 0x20], 0x490034
mov dword [rbp - 0x1c], 0x280004
mov dword [rbp - 0x18], 0x2e0028
mov dword [rbp - 0x14], 0x790054
mov dword [rbp - 0x10], 0xa0002
mov dword [rbp - 0xc], 0x4c0005
call fcn.1400067ec
mov rcx, qword [rax]
call rbx
movdqa xmm0, xmmword [0x1400414c0]
lea rcx, [rbp - 0x20]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x140049b98], rax
mov word [rbp - 0x10], 0x1913
mov byte [rbp - 0xe], 0x71
call fcn.140006e30
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x2d0f4830
mov dword [rbp - 0x1c], 0x32580e2a
mov dword [rbp - 0x18], 0x291d1305
mov word [rbp - 0x14], 0x4530
call fcn.140006928
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x241e4e2a
mov dword [rbp - 0x1c], 0x23452534
mov dword [rbp - 0x18], 0x220c1629
mov word [rbp - 0x14], 0x4526
call fcn.140006928
mov rcx, qword [0x140049b98]
mov rdx, qword [rax]
call fcn.14002e470
movdqa xmm0, xmmword [0x140041520]
lea rcx, [rbp - 0x20]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x140049b40], rax
mov byte [rbp - 0x10], 0x65
call fcn.140006d78
mov rcx, qword [0x140049b98]
mov rdx, qword [rax]
call fcn.14002e470
movdqa xmm0, xmmword [0x140041470]
lea rcx, [rbp - 0x20]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x140049b48], rax
mov dword [rbp - 0x10], 0x7a142201
call fcn.1400064d8
mov rcx, qword [0x140049b98]
mov rdx, qword [rax]
call fcn.14002e470
movdqa xmm0, xmmword [0x1400414f0]
lea rcx, [rbp - 0x20]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x140049b38], rax
mov byte [rbp - 0x10], 0x65
call fcn.140006d78
mov rcx, qword [0x140049b98]
mov rdx, qword [rax]
call fcn.14002e470
movdqa xmm0, xmmword [0x140041440]
lea rcx, [rbp - 0x20]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x140049b30], rax
mov dword [rbp - 0x10], 0x3b1f210c
mov byte [rbp - 0xc], 0x41
call fcn.1400069e0
movdqa xmm0, xmmword [0x140041490]
movdqu xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov word [rbp - 0x10], 0xf0b
mov byte [rbp - 0xe], 0x71
call fcn.140006e30
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14000e420
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14000e502
call fcn.1400243c0
test al, al
jne 0x14000e502
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x14000e452
mov r8, rdi
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rbx
call fcn.14002de40
test rax, rax
je 0x14000e497
sub rax, rbx
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov r8, rax
mov rcx, rbx
call fcn.14002de40
mov rsi, rax
test rax, rax
je 0x14000e497
inc rsi
mov rcx, rbx
sub rcx, rsi
add rdi, rcx
test rsi, rsi
cmovne rbx, rsi
lea rsi, [rbx + rdi]
mov edi, 0x1505
cmp rbx, rsi
jae 0x14000e4cb
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.1400210b0
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x14000e4b0
mov rsi, qword [rsp + 0x30]
mov rcx, rdi
movabs rax, 0x410410410410411
mul rdi
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
imul rcx, rcx, 0x3f
sub rdi, rcx
mov rax, rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x14001ac40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
cmp byte [rcx + 0xab7], 0
mov rbp, r9
mov r14, r8
movsxd rsi, edx
mov rdi, rcx
je 0x14001ad0b
cmp qword [rcx + 0x268], 0
je 0x14001acbe
mov qword [rsp + 0x40], rbx
call fcn.140008ad0
mov dl, 1
mov rcx, rdi
movzx ebx, al
call fcn.140008e40
mov rcx, qword [rdi + 0x1e0]
mov r9, rbp
mov qword [rsp + 0x20], rcx
mov r8, r14
mov rcx, rdi
mov edx, esi
call qword [rdi + 0x268]
movzx edx, bl
mov rcx, rdi
call fcn.140008e40
mov rbx, qword [rsp + 0x40]
jmp 0x14001ad0b
mov ecx, esi
test edx, edx
je 0x14001acce
sub ecx, 1
je 0x14001acce
cmp ecx, 1
jne 0x14001ad0b
mov r9, qword [rdi + 0x1d8]
lea rax, [0x140066150]
mov edx, 2
lea rcx, [rsi + rsi*2]
add rcx, rax
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x1d8]
mov r8d, 1
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14001d2d0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
cdqe
add rsp, 0x28
ret
Function at 0x14001d5e0
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x14001d60a
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
lea rdx, str.LoadLibraryExA
mov qword [rsp + 0x48], r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x140066530]
mov rcx, rbx
mov r14, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
test rax, rax
je 0x14001d66a
mov rcx, rbx
test r14, r14
je 0x14001d657
xor edx, edx
lea r8d, [rdx + 8]
mov rax, r14
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp rax
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test r14, r14
je 0x14001d6a1
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001d6a1
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
mov rax, r14
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp rax
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 0x14001d768
mov qword [rsp + 0x40], rsi
mov rsi, 0xffffffffffffffff
mov rdx, rsi
nop word [rax + rax]
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x14001d6d0
lea ecx, [rax + 1]
add rcx, rdx
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x14001d75a
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x14001d75a
mov rax, rsi
cmp byte [rdi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x14001d700
mov word [rax + rdi], 0x5c
inc rsi
cmp byte [rdi + rsi], bpl
jne 0x14001d711
mov rcx, rdi
sub rcx, rbx
add rcx, rsi
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x14001d730
mov rcx, rdi
test r14, r14
je 0x14001d751
xor edx, edx
lea r8d, [rdx + 8]
call r14
jmp 0x14001d757
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
mov rcx, rdi
call qword [0x140079008]
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 0x14001d7d0
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x1400796f8]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x14001d836
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14001d819
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x14001d813
shr ax, 8
cmp al, 2
je 0x14001d836
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400602c0
add rsp, 0x1e8
ret
call fcn.1400519b0
test eax, eax
jne 0x14001da45
mov qword [rsp + 0x200], rsi
lea rcx, str.kernel32
mov qword [rsp + 0x208], rdi
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x14001d876
mov qword [0x1400798d8], rsi
jmp 0x14001da02
mov qword [rsp + 0x1f0], rbx
lea rdx, str.LoadLibraryExA
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, [0x140066530]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
test rax, rax
je 0x14001d8db
mov rcx, rbx
test rbp, rbp
je 0x14001d8cd
xor edx, edx
lea r8d, [rdx + 8]
call rbp
mov rsi, rax
jmp 0x14001d9ca
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
jmp 0x14001d9ca
test rbp, rbp
je 0x14001d90a
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001d90a
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x14001d9ca
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 0x14001d9c2
lea ecx, [rax + 1]
add rcx, 0xc
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x14001d9b9
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x14001d9b9
mov rcx, 0xffffffffffffffff
mov rax, rcx
nop word [rax + rax]
cmp byte [rdi + rax + 1], sil
lea rax, [rax + 1]
jne 0x14001d960
mov word [rax + rdi], 0x5c
inc rcx
cmp byte [rdi + rcx], sil
jne 0x14001d971
mov rdx, rdi
sub rdx, rbx
add rdx, rcx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rdx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x14001d990
mov rcx, rdi
test rbp, rbp
je 0x14001d9b0
xor edx, edx
lea r8d, [rdx + 8]
call rbp
jmp 0x14001d9b6
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
mov rcx, rdi
call qword [0x140079008]
mov r14, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov qword [0x1400798d8], rsi
test rsi, rsi
je 0x14001da02
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001da02
mov qword [0x1400798d0], rax
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.140051560
test al, al
lea rcx, [0x140079f08]
setne byte [0x140079f00]
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.1400602c0
add rsp, 0x1e8
ret