joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400017c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, r9
mov r14, r8
mov r12d, edx
mov r15, rcx
mov dword [rbp - 0x20], 0x78563412
cmp dword [rcx + 0x58], 1
jbe 0x1400019a1
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
xor esi, esi
mov qword [rbp - 8], rsi
mov byte [rbp + 0x30], sil
mov al, byte [rcx + 0x5c]
neg al
sbb rdx, rdx
and edx, 4
cmp r8, 0x7e
sbb rax, rax
not rax
and eax, 2
add rdx, rax
cmp r8, 0x10000
sbb rax, rax
and rax, 0xfffffffffffffffa
add rax, 8
add rdx, rax
lea r8, [rbp + 0x30]
lea rcx, [rbp - 0x18]
call fcn.140002404
mov dl, 0x80
or r12b, dl
mov rdi, qword [rbp - 0x18]
mov byte [rdi], r12b
mov al, byte [r15 + 0x5c]
cmp r14, 0x7e
jae 0x14000187d
neg al
sbb al, al
and al, dl
or al, r14b
mov byte [rdi + 1], al
cmp byte [r15 + 0x5c], sil
je 0x140001909
mov dword [rdi + 2], 0x78563412
jmp 0x140001909
mov rcx, r14
shr rcx, 8
cmp r14, 0x10000
jae 0x1400018ae
neg al
sbb al, al
and al, dl
add al, 0x7e
mov byte [rdi + 1], al
mov byte [rdi + 2], cl
mov byte [rdi + 3], r14b
cmp byte [r15 + 0x5c], sil
je 0x140001909
mov dword [rdi + 4], 0x78563412
jmp 0x140001909
neg al
sbb al, al
and al, dl
add al, 0x7f
mov byte [rdi + 1], al
mov rax, r14
shr rax, 0x38
mov byte [rdi + 2], al
mov rax, r14
shr rax, 0x30
mov byte [rdi + 3], al
mov rax, r14
shr rax, 0x28
mov byte [rdi + 4], al
mov rax, r14
shr rax, 0x20
mov byte [rdi + 5], al
mov rax, r14
shr rax, 0x18
mov byte [rdi + 6], al
mov rax, r14
shr rax, 0x10
mov byte [rdi + 7], al
mov byte [rdi + 8], cl
mov byte [rdi + 9], r14b
cmp byte [r15 + 0x5c], sil
je 0x140001909
mov dword [rdi + 0xa], 0x78563412
lea r12, [r15 + 0x20]
mov r9, qword [rbp - 0x10]
sub r9, rdi
mov rdx, qword [r15 + 0x28]
mov r8, rdi
mov rcx, r12
call fcn.1400013ec
mov r9, qword [rbp + 0x50]
sub r9, rbx
mov rdx, qword [r15 + 0x28]
mov r8, rbx
mov rcx, r12
call fcn.1400013ec
cmp byte [r15 + 0x5c], sil
je 0x140001971
mov r8, qword [r12 + 8]
sub r8, qword [r12]
sub r8, r14
test r14, r14
je 0x140001971
mov rdx, qword [r12]
add rdx, rsi
mov cl, byte [rdx + r8]
mov rax, rsi
and eax, 3
xor cl, byte [rbp + rax - 0x20]
mov byte [rdx + r8], cl
inc rsi
cmp rsi, r14
jne 0x140001950
mov rdx, qword [rbp - 8]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x140001999
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400019ba
mov rcx, rdi
call fcn.14009a220
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400a13cc
int3
Function at 0x140002c0c
Capabilities:
Connect socket
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x140121980]
xor rax, rsp
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
lea r8, [0x1400ce940]
mov rbx, rcx
mov r9d, edx
movups xmmword [rsp + 0x48], xmm0
or rdi, 0xffffffffffffffff
mov dword [rsp + 0x50], 1
lea rcx, [rsp + 0x78]
movups xmmword [rsp + 0x58], xmm0
lea edx, [rdi + 0x11]
movups xmmword [rsp + 0x68], xmm0
call fcn.140001708
cmp qword [rbx + 0x18], 0xf
jbe 0x140002c6d
mov rbx, qword [rbx]
lea r9, [rsp + 0x40]
mov rcx, rbx
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x140002cd9
and qword [rsp + 0x30], 0
lea rbx, [0x140123530]
mov r9d, 0x400
mov r8d, eax
mov dword [rsp + 0x28], r9d
xor edx, edx
mov ecx, 0x12ff
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, 2
call fcn.1400a1564
mov r8, rbx
lea rdx, str.getaddrinfo:__s_n
mov rcx, rax
call fcn.1400032c0
mov eax, 1
jmp 0x140002d39
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140002d2d
mov r8d, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140002d1f
mov r8d, dword [rbx + 0x10]
mov rcx, rax
mov rdx, qword [rbx + 0x20]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140002d28
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
or rdi, 0xffffffffffffffff
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x140002ce3
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rax, rdi
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14009a6f0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
ret
Function at 0x140017690
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rsi, rdx
xor ecx, ecx
lea rdi, [rbx + 0x18]
cmp qword [rbx + 0x10], rcx
jbe 0x1400176dc
cmp qword [rdi], 0xf
mov rax, rbx
jbe 0x1400176bd
mov rax, qword [rbx]
movsx rax, byte [rax + rcx]
movabs rdx, 0x100000001b3
xor rsi, rax
inc rcx
imul rsi, rdx
cmp rcx, qword [rbx + 0x10]
jb 0x1400176b1
mov rdx, qword [rdi]
cmp rdx, 0xf
jbe 0x140017711
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14001770c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140017733
mov rcx, r8
call fcn.14009a220
and qword [rbx + 0x10], 0
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov byte [rbx], 0
mov rbx, qword [rsp + 0x38]
mov qword [rdi], reloc.WS2_32.dll_ntohs
add rsp, 0x20
pop rdi
ret
call fcn.1400a13cc
int3

Function at 0x140029578
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 0x1400295a6
xor eax, eax
jmp 0x14002968c
cmp qword [rcx + 0x68], 0
je 0x1400295b7
call fcn.1400296a8
jmp 0x14002968c
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400295ce
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400295d0
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140029602
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1400ca920
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 0x140029686
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140029639
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 0x140029662
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.1400aca88
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x140029686
cmp rsi, rbx
ja 0x140029640
test rsi, rsi
je 0x140029686
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1400aca88
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 0x140029f30
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x140121980]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rsi, rdx
mov rbx, r8
mov edx, dword [rcx + 0x10]
mov ecx, Ordinal_27
mov qword [rsp + 0x30], rbx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x14002a03c
xor edx, edx
lea rcx, [rsp + 0x44]
mov r8d, 0x234
call fcn.1400cafc0
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, r13
call sub.KERNEL32.dll_Module32First
jmp 0x14002a027
lea rax, [rsp + 0x70]
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x140029fb9
movups xmm1, xmmword [rbx]
cmp rcx, qword [rbx + 8]
jne 0x14002a027
lea r12, [rsp + 0x70]
add r12, rcx
lea rax, [rsp + 0x70]
cmp rax, r12
je 0x14002a072
lea rcx, [rsp + 0x70]
movq rax, xmm1
sub rax, rcx
lea r15, [rsp + 0x70]
mov qword [rsp + 0x20], rax
movsx ecx, byte [r15]
movsx edi, byte [rax + r15]
call fcn.1400ad84c
mov ecx, edi
mov ebx, eax
call fcn.1400ad84c
cmp ebx, eax
jne 0x14002a022
inc r15
cmp r15, r12
je 0x14002a072
mov rax, qword [rsp + 0x20]
jmp 0x140029ff8
mov rbx, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, r13
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x140029fb0
mov byte [rsi + 0x18], 0
mov byte [rsi + 8], 0
mov rax, rsi
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14009a6f0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
mov rax, qword [rsp + 0x58]
mov qword [rsi], rax
mov eax, dword [rsp + 0x60]
mov byte [rsi + 8], 1
mov qword [rsi + 0x10], rax
mov byte [rsi + 0x18], 1
jmp 0x14002a044

Function at 0x14002a08c
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140121980]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rdx
mov rsi, r8
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14002a13b
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, Ordinal_301
call fcn.1400cafc0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rdi
call sub.KERNEL32.dll_Process32First
jmp 0x14002a121
lea rax, [rsp + 0x4c]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14002a0fb
movups xmm1, xmmword [rsi]
cmp r8, qword [rsi + 8]
jne 0x14002a121
movq rdx, xmm1
lea rcx, [rsp + 0x4c]
call fcn.1400cb400
test eax, eax
je 0x14002a167
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x14002a0f2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rbx + 4], 0
mov rax, rbx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14009a6f0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov eax, dword [rsp + 0x28]
mov dword [rbx], eax
mov byte [rbx + 4], 1
jmp 0x14002a13f
Function at 0x14002f904
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
jmp 0x14002f96e
cmp ecx, 0x7c
je 0x14002f973
cmp ecx, 0x29
jne 0x14002f97e
cmp dword [rdi + 0x1c], 0
jne 0x14002f973
test dword [rdi + 0x80], 0x10000000
je 0x14002faae
cmp ecx, 0x5d
jne 0x14002f94d
test dword [rdi + 0x80], 0x10000000
je 0x14002fabc
mov dl, byte [rdi + 0x78]
lea rcx, [rdi + 0x40]
call fcn.14002ef24
mov rcx, rdi
call fcn.140031bfc
mov rcx, rdi
call fcn.140031c70
mov ecx, dword [rdi + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x14002f918
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x2e
jne 0x14002f98e
lea rcx, [rdi + 0x40]
call fcn.14002f19c
jmp 0x14002f959
cmp ecx, 0x5c
jne 0x14002f9e0
mov rcx, rdi
call fcn.140031bfc
test byte [rdi + 0x80], 0x80
je 0x14002f9d6
mov al, byte [rdi + 0x78]
cmp al, 0x62
jne 0x14002f9be
lea rcx, [rdi + 0x40]
call fcn.14002f8f8
mov rcx, rdi
call fcn.140031bfc
jmp 0x14002f969
cmp al, 0x42
jne 0x14002f9d6
lea rcx, [rdi + 0x40]
call fcn.14002f8f8
lea rcx, [rdi + 0x40]
call fcn.140031b98
jmp 0x14002f9b4
mov rcx, rdi
call fcn.14002facc
jmp 0x14002f961
cmp ecx, 0x5b
jne 0x14002fa0b
mov rcx, rdi
call fcn.140031bfc
mov rcx, rdi
call fcn.1400300ac
mov edx, 0x5d
mov rcx, rdi
lea r8d, [rdx - 0x59]
call fcn.1400312d0
jmp 0x14002f961
cmp ecx, 0x28
jne 0x14002fa40
mov rcx, rdi
call fcn.140031bfc
mov rcx, rdi
call fcn.140032214
mov edx, reloc.WLDAP32.dll_Ordinal_41
mov rcx, rdi
mov bl, al
lea r8d, [rdx - 0x24]
call fcn.1400312d0
test bl, bl
je 0x14002f969
jmp 0x14002f961
cmp ecx, 0x5e
jne 0x14002fa53
lea rcx, [rdi + 0x40]
call fcn.14002ef18
jmp 0x14002f9b4
cmp ecx, 0x24
jne 0x14002fa66
lea rcx, [rdi + 0x40]
call fcn.14002f28c
jmp 0x14002f9b4
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14002fa92
cmp ecx, 0x3f
je 0x14002fa92
cmp ecx, 0x7b
je 0x14002fa92
cmp ecx, 0x7d
jne 0x14002f938
test dword [rdi + 0x80], 0x10000000
je 0x14002faa0
jmp 0x14002f94d
mov edx, 0xa
mov rcx, rdi
call fcn.1400312c4
int3
mov edx, 6
mov rcx, rdi
call fcn.1400312c4
int3
mov edx, 5
mov rcx, rdi
call fcn.1400312c4
int3
mov edx, 4
mov rcx, rdi
call fcn.1400312c4
int3
Function at 0x140041030
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140041112
call fcn.14005c510
test al, al
jne 0x140041112
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x140041062
mov r8, rdi
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rbx
call fcn.1400662f0
test rax, rax
je 0x1400410a7
sub rax, rbx
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov r8, rax
mov rcx, rbx
call fcn.1400662f0
mov rsi, rax
test rax, rax
je 0x1400410a7
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 0x1400410db
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.140056e00
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x1400410c0
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 0x1400495c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x48
mov rax, qword [rcx]
lea rbp, [rcx + 0x18]
mov r12, qword [rbp]
mov rdi, rdx
mov r15, r8
mov edx, dword [rax + 8]
and edx, 0xa
cmp edx, 0xa
jne 0x1400495fb
add r12, 0x348
jmp 0x140049602
add r12, 0x2d8
cmp edx, 0xa
mov ecx, 0x540
mov eax, 0x5f8
mov bl, 1
cmovne eax, ecx
xor esi, esi
mov qword [r9], rsi
lea rcx, [rax + rdi]
test rcx, rcx
je 0x1400497b0
cmp byte [rcx + 0x6c], sil
je 0x1400497b0
cmp qword [rdi + 0xca0], rsi
je 0x1400497b0
mov rax, qword [rdi + 0xf8]
mov qword [rsp + 0x88], r13
test rax, rax
je 0x14004965e
test byte [rax + 4], 0x10
lea r13, [rax + 0x118]
jne 0x140049665
lea r13, [rdi + 0xca8]
cmp qword [rdi + 0x6c0], rsi
jbe 0x140049757
mov qword [rsp + 0x40], r14
mov r14, rsi
nop word [rax + rax]
mov rbx, qword [rdi + 0xca0]
add rbx, r14
cmp qword [rbx + 0x18], 0
je 0x140049739
mov rdx, qword [rbx]
mov rcx, qword [r15]
call fcn.140056f30
test eax, eax
je 0x140049739
mov rcx, qword [rbp]
mov rdx, qword [rbx + 8]
cmp byte [rcx + 0x3c0], 0
jne 0x1400496c0
test rdx, rdx
je 0x1400496d5
jmp 0x140049739
test rdx, rdx
je 0x140049739
mov rcx, qword [rcx + 0x98]
call fcn.140056f30
test eax, eax
je 0x140049739
mov rcx, qword [rbp]
mov eax, dword [rbx + 0x38]
cmp byte [rcx + 0x3c1], 0
jne 0x1400496ec
cmp eax, 0xffffffff
je 0x1400496f9
jmp 0x140049739
cmp eax, 0xffffffff
je 0x140049739
cmp dword [rcx + 0x7d0], eax
jne 0x140049739
mov eax, dword [rbx + 0x34]
cmp dword [r15 + 0x1c], eax
jne 0x140049739
mov eax, dword [rbx + 0x3c]
cmp dword [r15 + 0x20], eax
jne 0x140049739
mov rcx, qword [rcx + 0x3e0]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rcx]
call fcn.140056f30
test eax, eax
je 0x140049739
lea r8, [rbx + 0x40]
mov rdx, r12
mov rcx, rdi
call fcn.14004a450
test al, al
jne 0x1400497c0
inc rsi
add r14, 0xb0
cmp rsi, qword [rdi + 0x6c0]
jb 0x140049680
mov bl, 1
mov r14, qword [rsp + 0x40]
mov r10, qword [rsp + 0x80]
lea r9, str.Found
mov ecx, dword [r15 + 0x1c]
lea r8, str._s_cached_session_ID_for__s:___s:_d
mov dword [rsp + 0x30], ecx
test bl, bl
mov rcx, qword [r15]
mov rax, qword [r10 + 0x18]
mov qword [rsp + 0x28], rcx
mov rdx, qword [rax + 0x3e0]
lea rax, [0x1400d9f88]
cmovne r9, rax
mov rcx, qword [rdx]
mov rdx, r10
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call fcn.1400506b0
mov r13, qword [rsp + 0x88]
movzx eax, bl
add rsp, 0x48
pop r15
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
inc dword [r13]
mov eax, dword [r13]
mov rcx, qword [rsp + 0x98]
mov dword [rbx + 0x30], eax
mov rax, qword [rbx + 0x18]
mov qword [rcx], rax
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400497ee
mov rax, qword [rbx + 0x20]
mov qword [rcx], rax
xor bl, bl
jmp 0x140049752
Function at 0x140054ac0
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, [0x1400db890]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x140054aea
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, [0x1400db8b0]
mov rcx, rbx
mov r14, rax
call fcn.1400af840
test rax, rax
je 0x140054b49
mov rcx, rbx
test r14, r14
je 0x140054b36
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 0x140054b80
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140054b80
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 0x140054c48
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x40], rsi
mov rdx, rdi
nop dword [rax]
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x140054bb0
lea ecx, [rax + 1]
add rcx, rdx
call qword [fcn.1400ae71c]
mov rsi, rax
test rax, rax
je 0x140054c3a
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x140054c3a
mov rax, rdi
cmp byte [rsi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x140054be0
mov word [rax + rsi], 0x5c
inc rdi
cmp byte [rsi + rdi], bpl
jne 0x140054bf1
mov rax, rsi
sub rax, rbx
add rdi, rax
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rdi + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x140054c10
mov rcx, rsi
test r14, r14
je 0x140054c31
xor edx, edx
lea r8d, [rdx + 8]
call r14
jmp 0x140054c37
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
mov rcx, rsi
call qword [fcn.1400aa258]
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 0x140054c60
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x140121980]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x140054cc6
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140054ca9
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x140054ca3
shr ax, 8
cmp al, 2
je 0x140054cc6
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.14009a6f0
add rsp, 0x1e8
ret
call fcn.14008bb00
test eax, eax
jne 0x140054ec5
mov qword [rsp + 0x200], rsi
lea rcx, [0x1400db890]
mov qword [rsp + 0x208], rdi
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x140054d06
mov qword [0x140123b08], rsi
jmp 0x140054e82
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, [0x1400db8b0]
call fcn.1400af840
test rax, rax
je 0x140054d6a
mov rcx, rbx
test rbp, rbp
je 0x140054d5c
xor edx, edx
lea r8d, [rdx + 8]
call rbp
mov rsi, rax
jmp 0x140054e4a
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
jmp 0x140054e4a
test rbp, rbp
je 0x140054d99
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140054d99
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x140054e4a
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 0x140054e42
lea ecx, [rax + 1]
add rcx, 0xc
call qword [fcn.1400ae71c]
mov rdi, rax
test rax, rax
je 0x140054e39
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x140054e39
mov rcx, 0xffffffffffffffff
mov rax, rcx
cmp byte [rdi + rax + 1], sil
lea rax, [rax + 1]
jne 0x140054de5
mov word [rax + rdi], 0x5c
inc rcx
cmp byte [rdi + rcx], sil
jne 0x140054df6
mov rax, rdi
sub rax, rbx
add rcx, rax
nop dword [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x140054e10
mov rcx, rdi
test rbp, rbp
je 0x140054e30
xor edx, edx
lea r8d, [rdx + 8]
call rbp
jmp 0x140054e36
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
mov rcx, rdi
call qword [fcn.1400aa258]
mov r14, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov qword [0x140123b08], rsi
test rsi, rsi
je 0x140054e82
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140054e82
mov qword [0x140123b00], rax
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.14008b6b0
test al, al
lea rcx, [0x140125200]
setne byte [0x1401251f8]
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.14009a6f0
add rsp, 0x1e8
ret
Function at 0x1400586a0
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [0x140123b10]
mov rbx, rcx
mov dword [rsp + 0x50], 0x4020
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x58], 4
test eax, eax
jne 0x140058704
lea r9d, [rax + 2]
mov dword [rsp + 0x20], 3
xor r8d, r8d
lea ecx, [rax + 6]
xor edx, edx
call fcn.14008b6b0
test al, al
je 0x1400586f8
mov dword [0x140123b10], 2
add rsp, 0x30
pop rbx
ret
mov dword [0x140123b10], 1
jmp 0x140058709
cmp eax, 2
je 0x14005875b
lea rax, [rsp + 0x58]
mov edx, 0xffff
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x14005873a
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jg 0x14005875b
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
add rsp, 0x30
pop rbx
ret
Function at 0x1400593b0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x1c0
mov rax, qword [0x140121980]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rbx, qword [rcx + 0x10]
mov rsi, rdx
mov r9, qword [rbx + 0x98]
cmp r9, 0xffffffffffffffff
je 0x1400594fe
mov rax, qword [rdx + 0x18]
mov rcx, qword [rax + 0x3e0]
test dword [rcx + 0x8c], 0x800
jne 0x1400594fe
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x80
lea r8, [rsp + 0x20]
mov rcx, r9
lea rdx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x14005948e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.140035b10
mov r9, rax
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.140050570
mov eax, 2
jmp 0x140059500
mov edx, dword [rsp + 0x20]
lea r9, [rbx + 0x100]
lea r8, [rbx + 0xce]
lea rcx, [rsp + 0x30]
call fcn.140053070
test al, al
jne 0x1400594fe
mov qword [rsp + 0x1e0], rdi
call fcn.1400aa3f4
mov ebx, dword [rax]
call fcn.1400aa3f4
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, ebx
mov rdi, rax
call fcn.140035b10
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.140050570
mov rdi, qword [rsp + 0x1e0]
mov eax, 2
jmp 0x140059500
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.14009a6f0
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1c0
pop rsi
ret