joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005610c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140025b8c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140056196
cmp byte [rbp - 0x21], r15b
je 0x140056191
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400561cc
call fcn.14004a434
test eax, eax
jne 0x1400561b8
cmp byte [rbp - 0x21], r15b
je 0x1400561b0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400561cc
cmp byte [rbp - 0x21], r15b
je 0x1400561c9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140043768
test eax, eax
jne 0x14005626c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140025b8c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14005620b
cmp byte [rbp - 0x21], r15b
je 0x140056240
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140056240
call fcn.14004a434
test eax, eax
jne 0x14005622c
cmp byte [rbp - 0x21], r15b
je 0x140056225
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140056240
cmp byte [rbp - 0x21], r15b
je 0x14005623d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140043768
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14005626c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14005626f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14005627d
mov rcx, rdi
call fcn.14004a1e4
cmp byte [rbp + 0x3f], r15b
je 0x14005628c
mov rcx, qword [rbp + 0x27]
call fcn.14004a1e4
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140056e4c
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140054934
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140054934
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140056f9c
cmp rax, 0xffffffffffffffff
je 0x140056f9c
xor edi, edi
test rbp, rbp
jle 0x140056f47
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14004a16c
mov rbx, rax
test rax, rax
jne 0x140056ed4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140056f3d
mov edx, 0x8000
mov ecx, r14d
call fcn.140048758
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14004d964
cmp eax, 0xffffffff
je 0x140056f1d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140056ee4
mov edx, r15d
mov ecx, r14d
call fcn.140048758
jmp 0x140056f3d
cmp byte [rsi + 0x38], dil
je 0x140056f34
cmp dword [rsi + 0x34], 5
jne 0x140056f34
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140056f3d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14004a1e4
jmp 0x140056fb0
jns 0x140056fb0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140054934
cmp rax, 0xffffffffffffffff
jne 0x140056f68
cmp byte [rsi + 0x30], dil
je 0x140056fb0
mov edi, dword [rsi + 0x2c]
jmp 0x140056fb0
mov ecx, r14d
call fcn.140051da4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140056fb0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140056fb0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140056fa9
mov eax, dword [rsi + 0x2c]
jmp 0x140056fae
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140054934
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x180001280
Capabilities:
Encode data using xor

Disassembly:
jp 0x1800012ab
invalid
sub eax, 0xc71990f1
invalid

Function at 0x18052f058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.18052f1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x18052f089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18052f06f
add dl, dl
jne 0x18052f096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18052f0f6
xor eax, eax
add dl, dl
jne 0x18052f0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18052f1ad
add dl, dl
jne 0x18052f0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18052f0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18052f0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18052f0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x18052f0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18052f07e
mov eax, 1
add dl, dl
jne 0x18052f106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18052f113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18052f0fb
sub eax, ebx
mov ebx, 1
jne 0x18052f14c
mov ecx, 1
add dl, dl
jne 0x18052f12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18052f13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18052f123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18052f07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x18052f168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18052f175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18052f15d
cmp eax, 0x7d00
jae 0x18052f19b
cmp eax, 0x500
jb 0x18052f196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18052f07e
cmp eax, 0x7f
ja 0x18052f19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18052f07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x18052f1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x18052f07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62
Function at 0x14002d3f0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x14004b920], rbx
je 0x14002d43c
cmp rax, rbx
jne 0x14002d42f
mov ebx, 1
mov esi, ebx
jmp 0x14002d441
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14002d414
mov ebx, 1
mov eax, dword [0x14004b928]
cmp eax, ebx
jne 0x14002d457
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x14002d4bc
mov eax, dword [0x14004b928]
test eax, eax
jne 0x14002d4b6
mov dword [0x14004b928], ebx
lea r15, [0x140032c30]
lea rdi, [0x140032c18]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x14002d4a8
test eax, eax
jne 0x14002d4ac
cmp qword [rdi], 0
je 0x14002d49d
mov rax, qword [rdi]
mov rcx, qword [0x140032bd8]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14002d47e
test eax, eax
je 0x14002d4bc
mov eax, 0xff
jmp 0x14002d598
mov dword [0x14004b184], ebx
mov eax, dword [0x14004b928]
cmp eax, ebx
jne 0x14002d4e3
lea rdx, [0x140032c10]
lea rcx, [0x140032be0]
call sub.msvcrt.dll__initterm
mov dword [0x14004b928], 2
test esi, esi
jne 0x14002d4f0
xor eax, eax
xchg qword [0x14004b920], rax
cmp qword [0x14004b930], 0
je 0x14002d524
lea rcx, [0x14004b930]
call fcn.14002da30
test eax, eax
je 0x14002d524
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14004b930]
mov r9, qword [0x140032bd8]
call r9
mov r8, qword [0x14004b198]
mov rdx, qword [0x14004b190]
mov ecx, dword [0x14004b188]
call fcn.1400024d8
mov dword [0x14004b180], eax
cmp dword [0x14004b1a0], 0
jne 0x14002d554
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14004b184], 0
jne 0x14002d569
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14004b180]
jmp 0x14002d598
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.14017c000
add rsp, 0x28
jmp 0x14002d3f0

Function at 0x14002d614
Capabilities:
Print debug messages

Disassembly:
jmp 0x14002d620
push rbx
sub rsp, 0x540
mov rax, qword [0x14004b150]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14002d69d
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
jmp 0x14002d6bd
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.14002d5f0
add rsp, 0x540
pop rbx
ret
Function at 0x14000966c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x14000b0a0]
test rax, rax
je 0x1400096b6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400096b6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400096b6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400096b6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400096b6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400096b8
xor al, al
add rsp, 0x28
ret
Function at 0x140002fb0
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 0x140002fd2
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 0x14000304c
mov rdi, r14
mov rcx, rbx
call fcn.140004390
test rax, rax
jle 0x140003024
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.1400ae880
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 0x14000303c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + gethostname]
cmp eax, 0xffffffff
je 0x140003044
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140002fe6
sub r14, rdi
jmp 0x14000312f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140003063
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140003065
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140003097
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400ae880
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 0x14000312c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400030d2
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 0x14000310d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140085b0c
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14000312c
cmp rbp, rax
ja 0x1400030e0
test rbp, rbp
je 0x14000312c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140085b0c
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 0x14001c340
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 4], 0
je 0x14001c363
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 8]
xor byte [rcx + rax], dl
inc rax
cmp rax, 3
jb 0x14001c350
mov byte [rcx + 4], 0
mov rax, rcx
ret
Function at 0x140039c80
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, [0x1400b5330]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x140039caa
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, [0x1400b5350]
mov rcx, rbx
mov r14, rax
call fcn.14008c770
test rax, rax
je 0x140039d0d
mov rcx, rbx
test r14, r14
je 0x140039cf7
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 0x140039d45
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140039d45
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 0x140039e08
mov qword [rsp + 0x40], rsi
mov rsi, 0xffffffffffffffff
mov rdx, rsi
nop
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x140039d70
lea ecx, [rax + 1]
add rcx, rdx
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x140039dfa
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x140039dfa
mov rax, rsi
cmp byte [rdi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x140039da0
mov ecx, 0x5c
mov word [rax + rdi], cx
inc rsi
cmp byte [rdi + rsi], bpl
jne 0x140039db4
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 0x140039dd0
mov rcx, rdi
test r14, r14
je 0x140039df1
xor edx, edx
lea r8d, [rdx + 8]
call r14
jmp 0x140039df7
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
mov rcx, rdi
call qword [fcn.1400856e8]
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 0x140039e20
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x1400dc700]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x140039e86
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140039e69
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x140039e63
shr ax, 8
cmp al, 2
je 0x140039e86
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.14007d770
add rsp, 0x1e8
ret
call fcn.14006bba0
test eax, eax
jne 0x14003a090
mov qword [rsp + 0x200], rsi
lea rcx, [0x1400b5330]
mov qword [rsp + 0x208], rdi
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x140039ec6
mov qword [0x1400de3e8], rsi
jmp 0x14003a04d
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, [0x1400b5350]
call fcn.14008c770
test rax, rax
je 0x140039f2a
mov rcx, rbx
test rbp, rbp
je 0x140039f1c
xor edx, edx
lea r8d, [rdx + 8]
call rbp
mov rsi, rax
jmp 0x14003a00c
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
jmp 0x14003a00c
test rbp, rbp
je 0x140039f59
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140039f59
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x14003a00c
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 0x14003a004
lea ecx, [rax + 1]
add rcx, 0xc
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x140039ffb
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x140039ffb
mov rcx, 0xffffffffffffffff
mov rax, rcx
cmp byte [rdi + rax + 1], sil
lea rax, [rax + 1]
jne 0x140039fa5
mov edx, 0x5c
mov word [rax + rdi], dx
nop dword [rax]
inc rcx
cmp byte [rdi + rcx], sil
jne 0x140039fc0
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 0x140039fd2
mov rcx, rdi
test rbp, rbp
je 0x140039ff2
xor edx, edx
lea r8d, [rdx + 8]
call rbp
jmp 0x140039ff8
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
mov rcx, rdi
call qword [fcn.1400856e8]
mov r14, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov qword [0x1400de3e8], rsi
test rsi, rsi
je 0x14003a04d
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400de3e0]
test rax, rax
cmovne rcx, rax
mov qword [0x1400de3e0], rcx
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.14006b750
test al, al
lea rcx, [0x1400e0000]
setne byte [0x1400dfff8]
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.14007d770
add rsp, 0x1e8
ret
Function at 0x14004a600
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.14002b920
mov rcx, rbx
movups xmm6, xmmword [rax]
call case.0x140033d81.1
mov rcx, rdi
mov rsi, rax
call case.0x140033d81.1
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x14004a6b0
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.14002b920
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.14002b9b0
cmp rax, 0x3e8
ja 0x14004a6e1
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 0x14004a660
test rsi, rsi
je 0x14004a6bd
mov rcx, rsi
call fcn.1400856e8
test rbx, rbx
je 0x14004a6ca
mov rcx, rbx
call fcn.1400856e8
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 0x14004a6ee
mov rcx, rsi
call fcn.1400856e8
test rbx, rbx
je 0x14004a6fb
mov rcx, rbx
call fcn.1400856e8
mov eax, 1
jmp 0x14004a6cc
Function at 0x14004ab90
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 0x14004ad2e
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rsi
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x14004ad0e
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x20], r14
nop
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x14004abfe
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x14004abf0
inc rbx
jmp 0x14004ac00
xor ebx, ebx
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x14004ac0d
lea ebp, [rax + 0xe]
jmp 0x14004ac19
cmp eax, 0x17
jne 0x14004acb1
lea ebp, [rax + 5]
cmp qword [rsi + 0x20], 0
je 0x14004acb1
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x14004acb1
cmp rax, rbp
jb 0x14004acb1
lea rcx, [rbp + 0x30]
add rcx, rbx
call qword [section..data]
mov r14, rax
test rax, rax
je 0x14004acc0
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.1400ae880
test rbx, rbx
je 0x14004ac9e
mov rcx, qword [r14 + 0x20]
mov r8, rbx
add rcx, rbp
mov qword [r14 + 0x18], rcx
mov rdx, qword [rsi + 0x18]
call fcn.1400ae880
test rdi, rdi
cmove rdi, r14
test r15, r15
je 0x14004acae
mov qword [r15 + 0x28], r14
mov r15, r14
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x14004abe0
jmp 0x14004acc6
mov r12d, 8
mov rcx, qword [rsp + 0x68]
mov r14, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x58]
test rcx, rcx
je 0x14004ace0
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r12d, r12d
je 0x14004ad09
test rdi, rdi
je 0x14004ad05
nop word [rax + rax]
mov rbx, qword [rdi + 0x28]
mov rcx, rdi
call qword [fcn.1400856e8]
mov rdi, rbx
test rbx, rbx
jne 0x14004acf0
xor edi, edi
jmp 0x14004ad1d
test rdi, rdi
jne 0x14004ad1d
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