joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140015bc0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.14000b6f0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call fcn.14000fcf0
lea rcx, [rsp + 0x38]
call fcn.1400065b0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x70]
lea r8, [0x140015780]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x68
ret

Function at 0x140015c30
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x48]
mov dword [rax], ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x40]
lea r8, [0x140015410]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x38
ret
Function at 0x14001d8f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rax, qword [0x14015a8b0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x38], 0
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x68]
call fcn.14001f0d0
nop
lea rax, [0x14001f1b0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x90]
add rax, 8
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
xor edx, edx
xor ecx, ecx
call fcn.1400e2e1c
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax], 0
je 0x14001d9de
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
jmp 0x14001d9f8
mov rax, qword [rsp + 0x90]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1400d0e34
nop
lea rcx, [rsp + 0x68]
call fcn.14001e3f0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400d15a0
add rsp, 0x80
pop rdi
ret

Function at 0x1400214c0
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 0x14002151d
lea rbx, [0x140139f30]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140021504
cmp r10, 2
jb 0x140021504
cmp byte [r9], r8b
jne 0x140021504
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 0x1400214e0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14002155f
lea rbx, [0x140139f30]
cmp r8b, 0x23
jne 0x140021543
cmp byte [r9], r8b
jne 0x140021543
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 0x140021530
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x1400216a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400216ba
mov qword [r8], 0
lea rdx, [0x140139c74]
call fcn.140021570
mov rbx, rax
test rax, rax
jne 0x1400216da
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.1400e6068
mov esi, eax
cmp eax, 0xffffffff
je 0x1400217a8
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.1400e2918
test eax, eax
jne 0x1400217a8
mov rcx, rbx
call fcn.1400e6068
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400217a8
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1400e2918
test eax, eax
jne 0x1400217a8
cmp rdi, 0xffffffffffffffff
je 0x1400217a8
mov rax, qword [0x1401628b8]
test rax, rax
je 0x14002174a
inc dword [rax + 0x3b0]
mov rcx, rdi
call fcn.1400e29b4
mov rsi, rax
test rax, rax
je 0x1400217a8
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1400e2568
mov rcx, rbx
cmp rax, rdi
je 0x140021796
call fcn.1400e1198
mov rax, qword [0x1401628b8]
test rax, rax
je 0x14002178c
dec dword [rax + 0x3b0]
mov rcx, rsi
call fcn.1400e2144
jmp 0x1400217b0
call fcn.1400e1198
test r14, r14
je 0x1400217a3
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400217b2
mov rcx, rbx
call fcn.1400e1198
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140023560
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xc8]
mov rax, qword [rcx + 0xd0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x140139f30]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, qword [0x1401628b8]
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rax + 0x1c6c], ebx
jne 0x1400235ed
mov dword [rax + 0x1c70], ebx
cmp dword [rax + 0x1ca8], ebx
jne 0x1400235fc
mov byte [rax + 0x1cac], 1
cmp dword [rax + 0x1c54], ebx
jne 0x140023613
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140034440
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140028280
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x1400282d0
lea r11, [0x140139f30]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400282b3
cmp byte [r8], r9b
jne 0x1400282b3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400282a0
mov rcx, qword [0x1401628b8]
not eax
movsxd rdx, dword [rcx + 0x1c00]
mov r9, qword [rcx + 0x1c08]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x140028331
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x140028329
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x14002832c
mov rdx, r8
test rdx, rdx
jne 0x140028300
cmp r9, r10
je 0x140028340
cmp dword [r9], eax
jne 0x140028340
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x140051b10
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [0x140162ce0], 0x50
mov dword [0x140162ce4], 0x40
lea rax, [0x1400518d0]
mov qword [0x140162ce8], rax
mov dword [0x140162cf0], 0
mov dword [0x140162cf4], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x140162cf8], rax
mov qword [0x140162d00], 0
mov qword [0x140162d08], 0
mov qword [0x140162d10], 0
mov qword [0x140162d18], 0
lea rax, [0x140139a70]
mov qword [0x140162d20], rax
mov qword [0x140162d28], 0
lea rcx, [0x140162ce0]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov qword [rsp + 0x58], 0
mov rax, qword [0x140162cf8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x190
mov dword [rsp + 0x30], 0x1f4
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
mov r9d, 0x80000000
mov r8, qword [rsp + 0x70]
lea rdx, [0x140139a70]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x140162cd0], rax
mov edx, 0xa
mov rcx, qword [0x140162cd0]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140162cd0]
call qword [sym.imp.USER32.dll_UpdateWindow]
add rsp, 0x68
ret
Function at 0x140052830
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x500
mov rax, qword [0x14015a8b0]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x4d0
call fcn.1400d43d0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400528f7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400528f7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x52383026
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1400528f2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1400528d0
cmp r8d, 0xf3ab38b
je 0x1400528fc
test r9d, r9d
jne 0x1400528b0
mov rax, qword [rax]
jmp 0x140052880
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
call rax
mov rsi, rax
mov dword [rsp + 0x50], 0x100010
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400529b7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400529b7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xcc742256
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1400529b2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140052990
cmp r8d, 0x2df068b1
je 0x1400529bc
test r9d, r9d
jne 0x140052970
mov rax, qword [rax]
jmp 0x140052940
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rdx, [rsp + 0x20]
add rax, r10
mov rcx, rsi
call rax
test eax, eax
je 0x140052a21
cmp qword [rsp + 0x68], 0
jne 0x140052a1a
cmp qword [rsp + 0x70], 0
jne 0x140052a1a
cmp qword [rsp + 0x78], 0
jne 0x140052a1a
cmp qword [rsp + 0x80], 0
jne 0x140052a1a
cmp qword [rsp + 0x88], 0
jne 0x140052a1a
cmp qword [rsp + 0x90], 0
je 0x140052a21
mov eax, 1
jmp 0x140052a23
xor eax, eax
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.1400d15a0
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14005c590
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14005c672
call fcn.140073860
test al, al
jne 0x14005c672
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x14005c5c2
mov r8, rdi
mov edx, 0x2e
mov rcx, rbx
call fcn.14007eaa0
test rax, rax
je 0x14005c607
sub rax, rbx
mov edx, 0x2e
mov r8, rax
mov rcx, rbx
call fcn.14007eaa0
mov rsi, rax
test rax, rax
je 0x14005c607
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 0x14005c63b
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.14006e430
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x14005c620
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 0x140062c30
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x14015a8b0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov r14, qword [rdx + 0x10]
mov rbx, rcx
mov rax, qword [rdx + 0x18]
lea rcx, str.SSL_PROXY
cmp qword [rdx], rcx
jne 0x140062c77
mov rdi, qword [rax + 0x128]
mov rsi, qword [rax + 0x130]
mov ebp, dword [rax + 0x138]
jmp 0x140062c8b
mov rdi, qword [rax + 0xa0]
mov rsi, qword [rax + 0xa8]
mov ebp, dword [rax + 0x728]
mov qword [rsp + 0x80], r15
test rdi, rdi
je 0x140062e4b
mov r9, qword [rbx]
test r9, r9
je 0x140062ccb
mov r8, r9
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140062cc3
inc rax
test ecx, ecx
jne 0x140062cb0
test edx, edx
je 0x140062e4b
mov rcx, qword [rbx + 8]
cmp rcx, r9
je 0x140062cda
call qword [fcn.1400e2144]
mov rcx, qword [rbx + 0x10]
call qword [fcn.1400e2144]
mov rcx, qword [rbx]
call qword [fcn.1400e2144]
xor r15d, r15d
mov rcx, rdi
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx], r15
mov byte [rbx + 0x18], r15b
call qword [case.0x1400653df.1]
mov qword [rbx], rax
mov r9, rax
test rax, rax
jne 0x140062d4e
mov rcx, qword [rbx + 8]
cmp rcx, rax
je 0x140062d22
call qword [fcn.1400e2144]
mov rcx, qword [rbx + 0x10]
call qword [fcn.1400e2144]
mov rcx, qword [rbx]
call qword [fcn.1400e2144]
mov eax, 0x1b
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx], r15
mov byte [rbx + 0x18], r15b
jmp 0x140062e51
test rsi, rsi
je 0x140062d93
mov r8, rsi
sub r8, rdi
nop dword [rax]
movzx edx, byte [rdi]
movzx eax, byte [rdi + r8]
sub edx, eax
jne 0x140062d73
inc rdi
test eax, eax
jne 0x140062d60
test edx, edx
je 0x140062d93
mov rcx, rsi
call qword [case.0x1400653df.1]
mov qword [rbx + 8], rax
test rax, rax
jne 0x140062d97
cmp rax, qword [rbx]
je 0x140062d22
mov rcx, rax
jmp 0x140062d1c
mov qword [rbx + 8], r9
mov rdi, qword [rbx]
mov qword [rbx + 0x10], r15
test rdi, rdi
je 0x140062dd8
cmp byte [rdi], r15b
je 0x140062dd8
lea r8, [rsp + 0x20]
mov rdx, rdi
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jne 0x140062dd4
lea r8, [rsp + 0x20]
mov rdx, rdi
lea ecx, [rax + 0x17]
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x140062dd8
mov cl, 1
jmp 0x140062dda
xor cl, cl
mov rax, qword [rbx]
mov byte [rbx + 0x18], cl
cmp byte [rax], r15b
je 0x140062e4b
test cl, cl
jne 0x140062e4b
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], r15b
jne 0x140062df0
test rdi, rdi
je 0x140062e08
cmp byte [rax + rdi - 1], 0x2e
jne 0x140062e08
dec rdi
cmp rdi, 0xffff
jae 0x140062e4b
lea rdx, [rdi + 1]
mov ecx, 1
call qword [fcn.1400e2cdc]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x140062e35
mov rcx, qword [rbx + 8]
cmp rcx, qword [rbx]
jmp 0x140062d1a
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, rax
call fcn.14006e480
mov rax, qword [rbx + 0x10]
mov byte [rdi + rax], r15b
mov dword [r14 + 0x50], ebp
xor eax, eax
mov r15, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400d15a0
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14006bd90
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call fcn.1400f8f34
cdqe
add rsp, 0x28
ret
Function at 0x14006c260
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x14015a8b0]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x14006c2c6
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14006c2a9
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x14006c2a3
shr ax, 8
cmp al, 2
je 0x14006c2c6
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400d15a0
add rsp, 0x1e8
ret
call fcn.1400a15a0
test eax, eax
jne 0x14006c4e0
mov qword [rsp + 0x200], rsi
lea rcx, str.kernel32
mov qword [rsp + 0x208], rdi
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
jne 0x14006c306
mov qword [0x14015faa8], rsi
jmp 0x14006c49d
mov qword [rsp + 0x1f0], rbx
lea rdx, [0x140112a60]
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, [0x140112a70]
call fcn.1400ed1a0
test rax, rax
je 0x14006c36a
mov rcx, rbx
test rbp, rbp
je 0x14006c35c
xor edx, edx
lea r8d, [rdx + 8]
call rbp
mov rsi, rax
jmp 0x14006c45c
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
jmp 0x14006c45c
test rbp, rbp
je 0x14006c399
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14006c399
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x14006c45c
xor edx, edx
mov qword [rsp + 0x1e0], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r14d, eax
test eax, eax
je 0x14006c454
lea ecx, [rax + 1]
lea rcx, [rcx*2 + 0x18]
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x14006c44b
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14006c44b
mov rcx, 0xffffffffffffffff
mov rax, rcx
nop dword [rax]
cmp word [rdi + rax*2 + 2], si
lea rax, [rax + 1]
jne 0x14006c3f0
mov dword [rdi + rax*2], 0x5c
cmp word [rdi + rcx*2 + 2], si
lea rcx, [rcx + 1]
jne 0x14006c402
lea rdx, [rcx + rcx]
sub rdx, rbx
add rdx, rdi
nop word [rax + rax]
movzx eax, word [rbx]
mov word [rdx + rbx], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x14006c420
mov rcx, rdi
test rbp, rbp
je 0x14006c442
xor edx, edx
lea r8d, [rdx + 8]
call rbp
jmp 0x14006c448
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
mov rcx, rdi
call qword [fcn.1400e2144]
mov r14, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov qword [0x14015faa8], rsi
test rsi, rsi
je 0x14006c49d
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14015faa0]
test rax, rax
cmovne rcx, rax
mov qword [0x14015faa0], rcx
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.1400a1150
test al, al
lea rcx, [0x1401635e8]
setne byte [0x1401635e0]
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.1400d15a0
add rsp, 0x1e8
ret
Function at 0x140074690
Capabilities:
Convert ip address from string

Disassembly:
cmp qword [rsp + 0x28], 0
mov qword [r9], 0
jge 0x1400746a5
mov eax, 0xfffffffe
ret
mov qword [rsp + 0x28], r9
mov r9b, 1
jmp fcn.1400740c0

Function at 0x1400749d0
Capabilities:
Convert ip address from string

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x14015a8b0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor edi, edi
mov r14, rdx
mov rbp, rcx
cmp byte [rcx + 0xa97], dil
je 0x140074bef
cmp byte [rdx + 0x18], dil
mov qword [rsp + 0xc8], rsi
lea rsi, [rdx + 0x18]
je 0x140074be7
lea r8, [rsp + 0x20]
mov rdx, rsi
lea ecx, [rdi + 2]
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x140074be7
lea r8, [rsp + 0x70]
mov rdx, rsi
lea ecx, [rdi + 0x17]
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x140074be7
cmp byte [rsi], dil
lea rdx, str.Host__s:_d_was_resolved.
mov r9d, dword [r14 + 0x14]
mov rcx, rbp
mov qword [rsp + 0x100], rbx
mov rbx, qword [r14]
mov qword [rsp + 0xc0], r15
lea r15, str._none_
mov r8, r15
cmovne r8, rsi
call fcn.140069460
mov edx, 0x400
lea rcx, [rsp + 0x30]
call fcn.14005d540
mov edx, 0x400
lea rcx, [rsp + 0x50]
call fcn.14005d540
test rbx, rbx
je 0x140074b54
lea r14d, [rdi + 0x20]
nop dword [rax]
mov ecx, dword [rbx + 4]
cmp ecx, 0x17
je 0x140074ac1
cmp ecx, 2
jne 0x140074b47
xor eax, eax
mov byte [rsp + 0x80], 0
cmp ecx, 2
lea rsi, [rsp + 0x30]
cmovne rax, r14
add rsi, rax
cmp ecx, 2
je 0x140074aee
cmp ecx, 0x17
jne 0x140074b09
mov rdx, qword [rbx + 0x20]
add rdx, 8
jmp 0x140074af6
mov rdx, qword [rbx + 0x20]
add rdx, 4
mov r9d, 0x2e
lea r8, [rsp + 0x80]
call sub.WS2_32.dll_inet_ntop
mov rcx, rsi
call fcn.14005d560
test rax, rax
je 0x140074b2d
mov r8d, 2
lea rdx, [0x140139d00]
mov rcx, rsi
call fcn.14005d500
mov edi, eax
test edi, edi
jne 0x140074b6f
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.14005d4b0
mov edi, eax
test eax, eax
jne 0x140074b6f
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x140074ab0
lea rcx, [rsp + 0x50]
call fcn.14005d560
test rax, rax
je 0x140074b80
lea rcx, [rsp + 0x50]
call fcn.140010380
jmp 0x140074b83
lea rdx, str.too_many_IP__cant_show
mov rcx, rbp
call fcn.140069460
jmp 0x140074bc3
mov rax, r15
mov r8, rax
lea rdx, str.IPv6:__s
mov rcx, rbp
call fcn.140069460
lea rcx, [rsp + 0x30]
call fcn.14005d560
test rax, rax
je 0x140074bb1
lea rcx, [rsp + 0x30]
call fcn.140010380
mov r15, rax
mov r8, r15
lea rdx, str.IPv4:__s
mov rcx, rbp
call fcn.140069460
lea rcx, [rsp + 0x30]
call fcn.14005d510
lea rcx, [rsp + 0x50]
call fcn.14005d510
mov r15, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0x100]
mov rsi, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400d15a0
add rsp, 0xd0
pop r14
pop rdi
pop rbp
ret
Function at 0x14007f230
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.14005c980
mov rcx, rbx
movups xmm6, xmmword [rax]
call fcn.14007d0f0
mov rcx, rdi
mov rsi, rax
call fcn.14007d0f0
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x14007f2e0
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.14005c980
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.14005ca10
cmp rax, 0x3e8
ja 0x14007f311
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_MoveFileExW]
test eax, eax
je 0x14007f290
test rsi, rsi
je 0x14007f2ed
mov rcx, rsi
call fcn.1400e2144
test rbx, rbx
je 0x14007f2fa
mov rcx, rbx
call fcn.1400e2144
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 0x14007f31e
mov rcx, rsi
call fcn.1400e2144
test rbx, rbx
je 0x14007f32b
mov rcx, rbx
call fcn.1400e2144
mov eax, 1
jmp 0x14007f2fc