joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18010fa40
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x12d0]
mov eax, 0x13d0
call fcn.18015d990
sub rsp, rax
movaps xmmword [rsp + 0x13c0], xmm6
mov rax, qword [0x1802407e8]
xor rax, rsp
mov qword [rbp + 0x12b0], rax
mov rbx, rdx
mov rdi, rcx
call fcn.18017ef54
mov dword [rsp + 0x24], eax
mov r9d, 1
mov dword [rbp + 0x12a4], 0xffffffff
nop dword [rax + rax]
mov r8d, eax
shr r8d, 0x1e
xor r8d, eax
imul eax, r8d, 0x6c078965
add eax, r9d
mov dword [rsp + r9*4 + 0x24], eax
inc r9
cmp r9, 0x270
jb 0x18010faa0
movd xmm4, dword [rdi]
mov edx, 0x270
movd xmm1, dword [rbx]
xorps xmm5, xmm5
movsd xmm3, qword [0x180216e00]
xorps xmm2, xmm2
movsd xmm6, qword [0x180216e98]
mov r10d, 2
mov dword [rsp + 0x20], edx
cvtdq2pd xmm4, xmm4
cvtdq2pd xmm1, xmm1
nop word [rax + rax]
cmp edx, 0x270
jne 0x18010fb52
lea r8, [rsp + 0x28]
mov r9d, edx
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x18010fb10
mov edx, dword [rsp + 0x20]
jmp 0x18010fc3f
cmp edx, 0x4e0
jb 0x18010fc3f
xor r8d, r8d
nop dword [rax]
nop word [rax + rax]
mov edx, dword [rbp + r8*4 + 0x8e4]
xor edx, dword [rbp + r8*4 + 0x8e8]
btr edx, 0x1f
xor edx, dword [rbp + r8*4 + 0x8e4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [rbp + r8*4 + 0xf18]
xor ecx, edx
mov dword [rsp + r8*4 + 0x24], ecx
inc r8
cmp r8, 0xe3
jb 0x18010fb70
mov r8d, 0xe3
nop dword [rax]
mov edx, dword [rbp + r8*4 + 0x8e4]
xor edx, dword [rbp + r8*4 + 0x8e8]
btr edx, 0x1f
xor edx, dword [rbp + r8*4 + 0x8e4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [rbp + r8*4 - 0x468]
xor ecx, edx
mov dword [rsp + r8*4 + 0x24], ecx
inc r8
cmp r8, 0x26f
jb 0x18010fbc0
mov edx, dword [rbp + 0x12a0]
xor edx, dword [rsp + 0x24]
btr edx, 0x1f
xor edx, dword [rbp + 0x12a0]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, edx
xor ecx, dword [rbp + 0x554]
xor edx, edx
mov dword [rbp + 0x8e0], ecx
mov dword [rsp + 0x20], edx
mov eax, edx
xorps xmm0, xmm0
inc edx
mov ecx, dword [rsp + rax*4 + 0x24]
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x12a4]
xor ecx, eax
mov dword [rsp + 0x20], edx
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
cvtsi2sd xmm0, rax
subsd xmm0, xmm5
mulsd xmm0, xmm3
mulsd xmm3, xmm6
addsd xmm2, xmm0
sub r10, 1
jne 0x18010fb00
divsd xmm2, xmm3
subsd xmm1, xmm4
mulsd xmm1, xmm2
addsd xmm1, xmm4
cvttsd2si eax, xmm1
mov rcx, qword [rbp + 0x12b0]
xor rcx, rsp
call fcn.18015c7e0
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
Function at 0x18010fce0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
lea r14d, [rsi + 0x14]
mov ecx, dword [0x180248ca8]
mov rax, qword gs:[0x58]
mov r15, qword [rax + rcx*8]
mov ebx, 0x2528
mov eax, dword [rbx + r15]
mov ebp, 0x1190
test al, 1
jne 0x18010fd8a
or eax, 1
mov dword [rbx + r15], eax
call fcn.18017ef54
mov edx, eax
mov dword [r15 + rbp + 0x1384], 0xffffffff
mov dword [r15 + rbp + 4], eax
lea ecx, [rsi + 1]
lea r8, [rbp + 8]
add r8, r15
nop dword [rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [r8], edx
inc rcx
lea r8, [r8 + 4]
cmp rcx, 0x270
jb 0x18010fd60
mov dword [r15 + rbp], 0x270
mov eax, dword [rbx + r15]
mov r12d, 0x2518
test al, 2
jne 0x18010fdac
or eax, 2
mov dword [rbx + r15], eax
mov qword [r15 + r12], rsi
mov qword [r15 + r12 + 8], 0x3d
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov dword [rsp + 0x20], 1
mov rdx, r14
mov rcx, rdi
call fcn.1800e6b90
lea rbx, [r15 + rbp]
lea r13, str.0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
nop
dec r14
mov qword [rsp + 0x28], rbx
mov rbp, qword [r15 + r12]
mov rdx, qword [r15 + r12 + 8]
sub rdx, rbp
cmp rdx, 0xffffffffffffffff
jne 0x18010fe17
mov rcx, rbx
call fcn.180112e70
mov esi, eax
shl rsi, 0x20
mov rcx, rbx
call fcn.180112e70
mov eax, eax
or rsi, rax
jmp 0x18010fe27
inc rdx
lea rcx, [rsp + 0x28]
call fcn.180112b40
mov rsi, rax
lea rax, [rsi + rbp]
movzx r9d, byte [rax + r13]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x18010fe5c
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x18010fe51
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x18010fe6b
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rdi
call fcn.1800edeb0
test r14, r14
jne 0x18010fde0
mov rax, rdi
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180112e70
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x180112ed1
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x180112e90
mov ecx, dword [r10]
jmp 0x180112fba
cmp ecx, 0x4e0
jb 0x180112fba
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x180112ef0
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x180112f40
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x180115af0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x1802407e8]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
mov rcx, qword [0x1802482a0]
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x180115b38
nop dword [rax]
cmp dword [rax + 0x20], 4
jge 0x180115b2c
mov rax, qword [rax + 0x10]
jmp 0x180115b32
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180115b20
cmp byte [rcx + 0x19], 0
jne 0x180115c14
cmp dword [rcx + 0x20], 4
jg 0x180115c14
lea r8, [rcx + 0x28]
mov r10, qword [r8 + 0x10]
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180115b61
mov rdx, qword [r8]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x180115b93
movabs r11, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r11
inc rcx
cmp rcx, r10
jb 0x180115b80
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.180115560
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x180115bce
cmp rcx, qword [rbx + 8]
je 0x180115bce
cmp qword [rbx + 0x10], 1
jne 0x180115bd2
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18015c7e0
add rsp, 0x80
pop rbx
ret
xor al, al
jmp 0x180115bb8
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.180115c40
nop
mov r8, rax
lea rdx, str.AcceptEncoding_does_not_accept_any_other_values_if_disabled_is_present._You_set_the_following_encodings:
lea rcx, [rsp + 0x58]
call fcn.1800eb880
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.180115a90
lea rdx, [0x18023d920]
lea rcx, [rsp + 0x20]
call fcn.1801a14b4
nop
lea rcx, str.invalid_map_K__T__key
call fcn.1801793e4
int3

Function at 0x18011f700
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 0x18011f7cb
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.180123160
cmp eax, 4
jne 0x18011f77c
cmp byte [0x180248584], r14b
jne 0x18011f788
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 0x18011f7cd
mov eax, dword [rsp + 0x50]
jmp 0x18011f7a7
imul eax, dword [0x180248580], 0x41c64e6d
mov edx, r14d
add eax, 0x3039
mov dword [0x180248580], eax
rol eax, 0x10
mov dword [rsp + 0x50], eax
test rdi, rdi
je 0x18011f7c2
sub rsi, rdi
nop
mov byte [rbx], al
inc rbx
shr eax, 8
sub rdi, 1
jne 0x18011f7b0
mov dword [rsp + 0x50], eax
test rsi, rsi
jne 0x18011f730
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 0x18011f7e0
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 rdi, r8
mov rsi, rdx
mov rbx, rcx
sub rdi, 1
je 0x18011f882
xor ebp, ebp
lea r14, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
nop
mov r8d, 4
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.180123160
cmp eax, 4
jne 0x18011f84e
cmp byte [0x180248584], bpl
jne 0x18011f89a
lea r9d, [rax - 2]
mov dword [rsp + 0x50], ebp
mov r8d, eax
lea rdx, [rsp + 0x50]
xor ecx, ecx
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
jne 0x18011f8b9
mov eax, ebp
test eax, eax
jne 0x18011f887
mov ecx, dword [rsp + 0x50]
cmp ecx, 0xfffffffc
jae 0x18011f810
mov eax, 0x8421085
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
imul eax, eax, 0x3e
sub ecx, eax
movzx eax, byte [rcx + r14]
mov byte [rsi], al
inc rsi
sub rdi, 1
jne 0x18011f810
mov byte [rsi], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
imul ecx, dword [0x180248580], 0x41c64e6d
add ecx, 0x3039
mov dword [0x180248580], ecx
rol ecx, 0x10
mov dword [rsp + 0x50], ecx
jmp 0x18011f856
mov eax, 2
jmp 0x18011f887
Function at 0x180125720
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x180125802
call fcn.18013ad50
test al, al
jne 0x180125802
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x180125752
mov r8, rdi
mov edx, 0x2e
mov rcx, rbx
call fcn.18013c0c0
test rax, rax
je 0x180125797
sub rax, rbx
mov edx, 0x2e
mov r8, rax
mov rcx, rbx
call fcn.18013c0c0
mov rsi, rax
test rax, rax
je 0x180125797
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 0x1801257cb
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.18011f230
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x1801257b0
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 0x180135e60
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, [0x1801e84b0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x180135e8a
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, [0x1801e84d0]
mov rcx, rbx
mov r14, rax
call fcn.1801be418
test rax, rax
je 0x180135eed
mov rcx, rbx
test r14, r14
je 0x180135ed7
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 0x180135f25
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180135f25
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 0x180135fe8
mov qword [rsp + 0x40], rsi
mov rsi, 0xffffffffffffffff
mov rdx, rsi
nop
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x180135f50
lea ecx, [rax + 1]
add rcx, rdx
call qword [fcn.1801af350]
mov rdi, rax
test rax, rax
je 0x180135fda
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x180135fda
mov rax, rsi
cmp byte [rdi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x180135f80
mov ecx, 0x5c
mov word [rax + rdi], cx
inc rsi
cmp byte [rdi + rsi], bpl
jne 0x180135f94
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 0x180135fb0
mov rcx, rdi
test r14, r14
je 0x180135fd1
xor edx, edx
lea r8d, [rdx + 8]
call r14
jmp 0x180135fd7
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
mov rcx, rdi
call qword [fcn.1801aeea0]
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 0x180136000
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x1802407e8]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x180136066
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x180136049
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x180136043
shr ax, 8
cmp al, 2
je 0x180136066
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.18015c7e0
add rsp, 0x1e8
ret
call fcn.180151e40
test eax, eax
jne 0x180136270
mov qword [rsp + 0x200], rsi
lea rcx, [0x1801e84b0]
mov qword [rsp + 0x208], rdi
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x1801360a6
mov qword [0x180248678], rsi
jmp 0x18013622d
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, [0x1801e84d0]
call fcn.1801be418
test rax, rax
je 0x18013610a
mov rcx, rbx
test rbp, rbp
je 0x1801360fc
xor edx, edx
lea r8d, [rdx + 8]
call rbp
mov rsi, rax
jmp 0x1801361ec
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
jmp 0x1801361ec
test rbp, rbp
je 0x180136139
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180136139
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x1801361ec
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 0x1801361e4
lea ecx, [rax + 1]
add rcx, 0xc
call qword [fcn.1801af350]
mov rdi, rax
test rax, rax
je 0x1801361db
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1801361db
mov rcx, 0xffffffffffffffff
mov rax, rcx
cmp byte [rdi + rax + 1], sil
lea rax, [rax + 1]
jne 0x180136185
mov edx, 0x5c
mov word [rax + rdi], dx
nop dword [rax]
inc rcx
cmp byte [rdi + rcx], sil
jne 0x1801361a0
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 0x1801361b2
mov rcx, rdi
test rbp, rbp
je 0x1801361d2
xor edx, edx
lea r8d, [rdx + 8]
call rbp
jmp 0x1801361d8
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
mov rcx, rdi
call qword [fcn.1801aeea0]
mov r14, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov qword [0x180248678], rsi
test rsi, rsi
je 0x18013622d
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180248670]
test rax, rax
cmovne rcx, rax
mov qword [0x180248670], rcx
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.1801519f0
test al, al
lea rcx, [0x18024bd50]
setne byte [0x18024bd48]
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.18015c7e0
add rsp, 0x1e8
ret
Function at 0x1801390f0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov ebx, 1
mov edx, ebx
xor ecx, ecx
xor ebp, ebp
call qword [fcn.1801ae944]
mov rdi, rax
test rax, rax
je 0x18013916d
nop word [rax + rax]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
mov rbp, rdi
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, eax
test eax, eax
je 0x180139198
cmp ebx, esi
je 0x180139198
cmp ebx, 0x8000
ja 0x180139198
cmp ebx, esi
jb 0x180139193
mov edx, ebx
mov rcx, rdi
call qword [fcn.1801ae944]
mov rdi, rax
test rax, rax
jne 0x180139130
mov rcx, rbp
call qword [fcn.1801aeea0]
xor eax, eax
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
mov rax, rdi
jmp 0x180139178
mov rcx, rdi
jmp 0x180139170

Function at 0x18013bb30
Capabilities:
Convert ip address from string

Disassembly:
cmp qword [rsp + 0x28], 0
mov qword [r9], 0
jge 0x18013bb45
mov eax, 0xfffffffe
ret
mov qword [rsp + 0x28], r9
mov r9b, 1
jmp fcn.18013b5c0

Function at 0x18013c850
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.1801303d0
mov rcx, rbx
movups xmm6, xmmword [rax]
call case.0x180127700.1
mov rcx, rdi
mov rsi, rax
call case.0x180127700.1
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x18013c900
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.1801303d0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.180130460
cmp rax, 0x3e8
ja 0x18013c931
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 0x18013c8b0
test rsi, rsi
je 0x18013c90d
mov rcx, rsi
call fcn.1801aeea0
test rbx, rbx
je 0x18013c91a
mov rcx, rbx
call fcn.1801aeea0
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 0x18013c93e
mov rcx, rsi
call fcn.1801aeea0
test rbx, rbx
je 0x18013c94b
mov rcx, rbx
call fcn.1801aeea0
mov eax, 1
jmp 0x18013c91c
Function at 0x180143b40
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1802407e8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, r8
mov rsi, rdx
mov r13, rcx
cmp r8, 4
jb 0x180143cce
inc rsi
lea rdx, str.0123456789abcdefABCDEF:.
mov rcx, rsi
sub rdi, 2
call fcn.1801aef80
cmp rdi, rax
je 0x180143c44
cmp byte [rsi + rax], 0x25
lea r14, [rsi + rax]
mov rdi, rax
jne 0x180143cce
xor ebp, ebp
lea rdx, [0x1801ed380]
lea rcx, [r14 + 1]
lea rbx, [r14 + 1]
lea r8d, [rbp + 2]
call fcn.1801aee20
test eax, eax
jne 0x180143bd2
movzx eax, byte [r14 + 3]
lea rcx, [r14 + 3]
test al, al
je 0x180143bd2
cmp al, 0x5d
cmovne rbx, rcx
movzx eax, byte [rbx]
test al, al
je 0x180143cce
mov rcx, rbp
cmp al, 0x5d
je 0x180143bfd
cmp rcx, 0xf
jge 0x180143bfd
inc rbx
mov byte [rsp + rcx + 0x20], al
inc ebp
inc rcx
movzx eax, byte [rbx]
test al, al
jne 0x180143be0
test ebp, ebp
je 0x180143cce
cmp byte [rbx], 0x5d
jne 0x180143cce
movsxd rax, ebp
cmp rax, 0x10
jae 0x180143cef
lea rcx, [rsp + 0x20]
mov byte [rsp + rax + 0x20], 0
call qword [case.0x180127700.1]
mov qword [r13 + 0x28], rax
test rax, rax
jne 0x180143c3e
mov eax, 7
jmp 0x180143cd3
mov word [r14], 0x5d
lea r8, [rsp + 0x20]
mov byte [rdi + rsi], 0
mov rdx, rsi
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x180143cce
lea r9d, [rax + 0x2d]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
lea ecx, [rax + 0x16]
call sub.WS2_32.dll_inet_ntop
test rax, rax
je 0x180143cc6
lea rax, [rsp + 0x30]
mov rdx, 0xffffffffffffffff
inc rdx
cmp byte [rax + rdx], 0
jne 0x180143c87
cmp rdx, rdi
jae 0x180143cc6
lea rax, [rsp + 0x30]
mov r8, rsi
sub r8, rax
lea rcx, [rsp + 0x30]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [r8 + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x180143cb0
mov rdi, rdx
mov byte [rdx + rsi + 1], al
mov byte [rdi + rsi], 0x5d
xor eax, eax
jmp 0x180143cd3
mov eax, socket
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18015c7e0
add rsp, 0x70
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.18015c908
int3