joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400024e0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1401c2100]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401c20e0]
test rbx, rbx
je 0x140002534
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x14000252b
test r12, r12
je 0x14000252b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002510
lea rcx, [0x1401c2100]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140002760
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
jne 0x140002770
jmp sym._ValidateImageBase.part.0
xor eax, eax
ret

Function at 0x140002780
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x1400027c5
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x1400027bc
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x1400027c7
add rax, 0x28
cmp rax, r9
jne 0x1400027a8
xor eax, eax
ret

Function at 0x140002870
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x1401bf720]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x1400028e9
mov rcx, r10
call sym._ValidateImageBase.part.0
test eax, eax
je 0x1400028e9
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x1400028e6
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x1400028dd
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x1400028e9
add r8, 0x28
cmp r8, r9
jne 0x1400028c8
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x1400029d0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1401bf720]
xor eax, eax
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x140002a3f
mov rcx, r9
call sym._ValidateImageBase.part.0
test eax, eax
je 0x140002a3f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
movzx edx, word [r9 + 6]
lea rax, [r9 + rax + 0x18]
test edx, edx
je 0x140002a3d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002a34
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002a48
add rax, 0x28
cmp rax, r9
jne 0x140002a20
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x140002a60
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x1401bf720]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x140002ad8
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x140002ad8
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x140002ad8
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x140002ad8
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r9d, dword [rdx + 0xc]
mov rcx, r9
cmp rax, r9
jb 0x140002acc
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x140002ae0
add rdx, 0x28
cmp rdx, r10
jne 0x140002ab8
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
add rax, r11
jmp 0x140002af0
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x140002afe
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002ad5
test r8d, r8d
jg 0x140002ae8
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
add rsp, 0x28
ret
Function at 0x140006130
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000618d
lea rbx, [0x140130f00]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140006174
cmp r10, 2
jb 0x140006174
cmp byte [r9], r8b
jne 0x140006174
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140006150
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400061cf
lea rbx, [0x140130f00]
cmp r8b, 0x23
jne 0x1400061b3
cmp byte [r9], r8b
jne 0x1400061b3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400061a0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400062d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rsi, r8
mov rbx, rcx
test rcx, rcx
jne 0x140006304
mov r8d, 0x823
lea rdx, str.C:UsersuserDesktopcppproject_yimgui.cpp
lea rcx, str.filename__mode
call fcn.1400e4b44
xor r14d, r14d
test rsi, rsi
je 0x14000630f
mov qword [rsi], r14
lea rdx, [0x1401306d8]
mov rcx, rbx
call fcn.1400061e0
mov rbx, rax
test rax, rax
jne 0x140006337
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.1400d71f4
mov ebp, eax
cmp eax, 0xffffffff
je 0x140006459
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.1400d7d18
test eax, eax
jne 0x140006459
mov rcx, rbx
call fcn.1400d71f4
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140006459
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call fcn.1400d7d18
test eax, eax
jne 0x140006459
cmp rdi, 0xffffffffffffffff
je 0x140006459
mov rcx, rdi
call fcn.14000a750
mov rbp, rax
test rax, rax
je 0x140006459
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1400decf0
mov rcx, rbx
cmp rax, rdi
je 0x140006447
call fcn.1400d7988
mov r8, qword [0x1401560b0]
test r8, r8
je 0x14000643d
movsx rdx, word [r8 + 0x6078]
lea rcx, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140006432
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rcx, [r8 + 0x607c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, rbp
call fcn.1400dea7c
jmp 0x140006461
call fcn.1400d7988
test rsi, rsi
je 0x140006454
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140006463
mov rcx, rbx
call fcn.1400d7988
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14000a090
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
movsxd rbx, edx
mov r14, rcx
mov edi, ebx
mov esi, ebx
mov ebp, ebx
shr edi, 0x18
mov edx, ebx
shr esi, 0x10
mov r8d, ebx
shr ebp, 8
mov r9d, ebx
shr edx, 8
shr r8d, 0x10
movzx r10d, bl
shr r9d, 0x18
cmp dword [rcx + 0x100], 0
jg 0x14000a100
mov r8d, 0x78b
lea rdx, str.C:UsersuserDesktopcppproject_yimgui.h
lea rcx, str.Size___0
call fcn.1400e4b44
movzx r10d, bl
movzx edx, bpl
movzx r8d, sil
movzx r9d, dil
movsxd rcx, dword [r14 + 0x100]
mov rax, qword [r14 + 0x108]
mov edi, dword [rax + rcx*4 - 4]
not edi
movzx eax, r10b
movzx ecx, dil
lea r10, [0x140130f00]
xor rcx, rax
shr edi, 8
movzx eax, dl
xor edi, dword [r10 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, r8b
xor edi, dword [r10 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, r9b
xor edi, dword [r10 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
xor edi, dword [r10 + rcx*4]
mov rcx, qword [r14]
not edi
cmp dword [rcx + 0x4054], edi
jne 0x14000a17e
mov r8, rbx
mov edx, 4
mov ecx, edi
call fcn.140020340
mov rbx, qword [rsp + 0x50]
mov eax, edi
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140018cc0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1401508e0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1401560b0]
mov edi, ecx
cmp byte [rbx + 0x4d01], 0
jne 0x140018d21
cmp byte [rbx + 0x4d02], 0
jne 0x140018d21
movsx r9d, word [rbx + 0x5e58]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140005f40
test dil, 2
je 0x140018e4f
jmp 0x140018daa
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x140138e38]
xor eax, eax
mulss xmm1, dword [0x140138e30]
addss xmm0, dword [rbx + 0xe48]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0xe4c]
mov qword [rbx + 0x49e0], rax
mov dword [rbx + 0x49cc], 1
movss dword [rbx + 0x49d8], xmm0
movss dword [rbx + 0x49dc], xmm1
movss xmm0, dword [rbx + 0x3a20]
mulss xmm0, dword [0x140138dc0]
or dword [rbx + 0x49c8], 0x41
movss dword [rbx + 0x4a28], xmm0
movsx r9d, word [rbx + 0x5e58]
call fcn.140005f40
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140018e00
lea r11, [0x140130f00]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140018de3
cmp byte [r8], r9b
jne 0x140018de3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140018dd0
not ecx
call fcn.14000de80
test rax, rax
je 0x140018e4f
cmp byte [rax + 0xbe], 0
je 0x140018e4f
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5e58]
movsx r9d, word [rbx + 0x5e58]
call fcn.140005f40
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.140010e60
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400c7e40
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001f090
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1401560b0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001f0f3
mov qword [rsp], rbx
lea rbx, [0x140130f00]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001f0d3
cmp byte [r8], r9b
jne 0x14001f0d3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001f0c0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f20]
not eax
mov r8, qword [r10 + 0x5f28]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001f11f
cmp dword [r8 + 8], eax
je 0x14001f126
add r8, 0x48
cmp r8, rcx
jne 0x14001f110
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140035c50
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1401560b0]
mov edx, 0x210
call fcn.140014860
cmp byte [rax], 0
je 0x140035cf4
mov rcx, qword [0x1401560b0]
mov edx, 0x210
call fcn.140005130
cmp byte [rax + 8], 0
jne 0x140035cf4
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140035cf4
cmp qword [0x1401560b0], 0
jne 0x140035cbc
mov r8d, 0x10ae
lea rdx, str.C:UsersuserDesktopcppproject_yimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1400e4b44
mov rbx, qword [0x1401560b0]
cmp byte [rbx + 0x38d9], 0
je 0x140035ce0
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.140005720
mov dword [rbx + 0x370], 0x210
mov dword [rbx + 0x930], 0xa0
mov rcx, qword [0x1401560b0]
mov edx, 0x214
call fcn.140014860
cmp byte [rax], 0
je 0x140035d92
mov rcx, qword [0x1401560b0]
mov edx, 0x214
call fcn.140005130
cmp byte [rax + 8], 0
jne 0x140035d92
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140035d92
cmp qword [0x1401560b0], 0
jne 0x140035d5a
mov r8d, 0x10ae
lea rdx, str.C:UsersuserDesktopcppproject_yimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1400e4b44
mov rbx, qword [0x1401560b0]
cmp byte [rbx + 0x38d9], 0
je 0x140035d7e
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.140005720
mov dword [rbx + 0x374], 0x214
mov dword [rbx + 0x940], 0xa1
mov rcx, qword [0x1401560b0]
mov edx, 0x212
call fcn.140014860
cmp byte [rax], 0
je 0x140035e30
mov rcx, qword [0x1401560b0]
mov edx, 0x212
call fcn.140005130
cmp byte [rax + 8], 0
jne 0x140035e30
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140035e30
cmp qword [0x1401560b0], 0
jne 0x140035df8
mov r8d, 0x10ae
lea rdx, str.C:UsersuserDesktopcppproject_yimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1400e4b44
mov rbx, qword [0x1401560b0]
cmp byte [rbx + 0x38d9], 0
je 0x140035e1c
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.140005720
mov dword [rbx + 0x25c], 0x212
mov dword [rbx + 0x938], 0x5b
mov rcx, qword [0x1401560b0]
mov edx, 0x216
call fcn.140014860
cmp byte [rax], 0
je 0x140035ed0
mov rcx, qword [0x1401560b0]
mov edx, 0x216
call fcn.140005130
cmp byte [rax + 8], 0
jne 0x140035ed0
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140035ed0
mov rbx, qword [0x1401560b0]
test rbx, rbx
jne 0x140035e9f
mov r8d, 0x10ae
lea rdx, str.C:UsersuserDesktopcppproject_yimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1400e4b44
mov rbx, qword [0x1401560b0]
cmp byte [rbx + 0x38d9], 0
je 0x140035ebc
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.140005720
mov dword [rbx + 0x260], 0x216
mov dword [rbx + 0x948], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x14004c5d0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14004c5f2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14004c66c
mov rdi, r14
mov rcx, rbx
call fcn.14004ef50
test rax, rax
jle 0x14004c644
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.1400ca480
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14004c65c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + gethostname]
cmp eax, 0xffffffff
je 0x14004c664
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14004c606
sub r14, rdi
jmp 0x14004c74f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14004c683
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14004c685
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14004c6b7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400ca480
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14004c74c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14004c6f2
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14004c72d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400decf0
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14004c74c
cmp rbp, rax
ja 0x14004c700
test rbp, rbp
je 0x14004c74c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400decf0
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret

Function at 0x1400538b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1401508e0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.1400c85ec
mov r9, rax
mov rax, qword [rbx]
mov qword [r9], rax
mov qword [rsp + 0x30], r9
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
lea r8, [0x140053960]
xor edx, edx
xor ecx, ecx
call fcn.1400e5078
mov qword [rdi], rax
test rax, rax
je 0x14005392b
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400c7e40
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call fcn.1400c6614
int3
Function at 0x14005d3b0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14005d492
call fcn.140073d70
test al, al
jne 0x14005d492
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x14005d3e2
mov r8, rdi
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rbx
call fcn.14007eda0
test rax, rax
je 0x14005d427
sub rax, rbx
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov r8, rax
mov rcx, rbx
call fcn.14007eda0
mov rsi, rax
test rax, rax
je 0x14005d427
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 0x14005d45b
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.14006f400
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x14005d440
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 0x14006cd70
Capabilities:
Read file on windows

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

Function at 0x14006d050
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, [0x14010cb08]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x14006d07a
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, [0x14010cb28]
mov rcx, rbx
mov r14, rax
call fcn.1400e77d0
test rax, rax
je 0x14006d0dd
mov rcx, rbx
test r14, r14
je 0x14006d0c7
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 0x14006d115
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14006d115
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 0x14006d1d8
mov qword [rsp + 0x40], rsi
mov rsi, 0xffffffffffffffff
mov rdx, rsi
nop
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x14006d140
lea ecx, [rax + 1]
add rcx, rdx
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x14006d1ca
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x14006d1ca
mov rax, rsi
cmp byte [rdi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x14006d170
mov ecx, 0x5c
mov word [rax + rdi], cx
inc rsi
cmp byte [rdi + rsi], bpl
jne 0x14006d184
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 0x14006d1a0
mov rcx, rdi
test r14, r14
je 0x14006d1c1
xor edx, edx
lea r8d, [rdx + 8]
call r14
jmp 0x14006d1c7
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
mov rcx, rdi
call qword [fcn.1400dea7c]
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 0x14006d240
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x1401508e0]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x14006d2a6
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14006d289
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x14006d283
shr ax, 8
cmp al, 2
je 0x14006d2a6
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400c7e40
add rsp, 0x1e8
ret
call fcn.1400a3080
test eax, eax
jne 0x14006d4b0
mov qword [rsp + 0x200], rsi
lea rcx, [0x14010cb08]
mov qword [rsp + 0x208], rdi
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x14006d2e6
mov qword [0x1401532e8], rsi
jmp 0x14006d46d
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, [0x14010cb28]
call fcn.1400e77d0
test rax, rax
je 0x14006d34a
mov rcx, rbx
test rbp, rbp
je 0x14006d33c
xor edx, edx
lea r8d, [rdx + 8]
call rbp
mov rsi, rax
jmp 0x14006d42c
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
jmp 0x14006d42c
test rbp, rbp
je 0x14006d379
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14006d379
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x14006d42c
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 0x14006d424
lea ecx, [rax + 1]
add rcx, 0xc
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x14006d41b
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x14006d41b
mov rcx, 0xffffffffffffffff
mov rax, rcx
cmp byte [rdi + rax + 1], sil
lea rax, [rax + 1]
jne 0x14006d3c5
mov edx, 0x5c
mov word [rax + rdi], dx
nop dword [rax]
inc rcx
cmp byte [rdi + rcx], sil
jne 0x14006d3e0
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 0x14006d3f2
mov rcx, rdi
test rbp, rbp
je 0x14006d412
xor edx, edx
lea r8d, [rdx + 8]
call rbp
jmp 0x14006d418
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
mov rcx, rdi
call qword [fcn.1400dea7c]
mov r14, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov qword [0x1401532e8], rsi
test rsi, rsi
je 0x14006d46d
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1401532e0]
test rax, rax
cmovne rcx, rax
mov qword [0x1401532e0], rcx
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.1400a2c30
test al, al
lea rcx, [0x140156228]
setne byte [0x140156220]
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.1400c7e40
add rsp, 0x1e8
ret