joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011d90
Capabilities:
Acquire debug privileges

Disassembly:
push rbx
push rbp
push r12
push r13
push r14
sub rsp, 0x40
xor r14d, r14d
mov r13d, r9d
mov rbp, r8
mov rbx, rdx
mov r12, rcx
mov dword [rsp + 0x30], r14d
test rdx, rdx
jne 0x140011dcb
test r8, r8
jne 0x140011dcb
mov eax, r14d
add rsp, 0x40
pop r14
pop r13
pop r12
pop rbp
pop rbx
ret
lea rcx, str.SeDebugPrivilege
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x80], rdi
call fcn.1400068a0
mov ecx, 0x1000
call fcn.140013a24
mov rsi, rax
test rax, rax
je 0x140011e90
test rbx, rbx
je 0x140011e68
mov rdx, rbx
mov rcx, rax
call fcn.140007730
mov rdi, rsi
nop dword [rax]
mov edx, 0x7c
mov rcx, rdi
call fcn.140007760
mov rbx, rax
test rax, rax
je 0x140011e2b
mov byte [rax], r14b
inc rbx
mov edx, 0x2c
mov rcx, rdi
call fcn.140007760
test rax, rax
je 0x140011e60
mov byte [rax], r14b
cmp byte [rax + 1], r14b
je 0x140011e60
lea r8, [rax + 1]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExA]
test rax, rax
jne 0x140011f3d
mov rdi, rbx
test rbx, rbx
jne 0x140011e10
test rbp, rbp
je 0x140011e90
mov rdx, rbp
mov rcx, rsi
call fcn.140007730
mov r8d, r13d
mov rdx, rsi
mov rcx, r12
call fcn.140011c70
mov ebx, eax
test eax, eax
jne 0x140011f14
lea r9, [rsp + 0x78]
lea r8, str.PortNumber
lea rdx, str.SYSTEMCurrentControlSetControlTeminal_SeverWinStationRDP_Tcp
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x78], r14d
mov dword [rsp + 0x20], r14d
call fcn.140004ad0
mov r11d, dword [rsp + 0x78]
test r11d, r11d
jne 0x140011eec
lea r9, [rsp + 0x78]
lea r8, str.PortNumber
lea rdx, str.SYSTEMCurrentControlSetControlTerminal_ServerWds_rdpwdTds_tcp
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], r14d
call fcn.140004ad0
mov r11d, dword [rsp + 0x78]
lea r8, [rsp + 0x30]
mov edx, 5
movzx ecx, r11w
call fcn.140013210
mov ebx, eax
test eax, eax
je 0x140011f14
lea rdx, str.mstsc
mov rcx, r12
call fcn.140012490
mov rdi, qword [rsp + 0x80]
test rsi, rsi
je 0x140011f29
mov rcx, rsi
call fcn.1400136a0
mov eax, ebx
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rbp
pop rbx
ret
mov rdx, rdi
mov rcx, r12
mov ebx, 1
call fcn.140012490
jmp 0x140011f14
Function at 0x140011f90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push r14
push r15
sub rsp, 0x188
mov rax, qword [0x1401507e0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x1c8]
mov dword [rsp + 0xa0], edx
xor edx, edx
mov dword [rsp + 0xa8], r8d
mov r15, rcx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0xc1]
mov dword [rsp + 0xa4], r9d
mov qword [rsp + 0xb0], rax
mov byte [rsp + 0xc0], 0
call fcn.140013580
mov ecx, 0x400
call fcn.140003f58
mov r14, rax
test rax, rax
jne 0x14001200d
lea eax, [r14 + 8]
jmp 0x140012240
mov qword [rsp + 0x180], rbx
mov qword [rsp + 0x178], rbp
mov qword [rsp + 0x170], rsi
mov qword [rsp + 0x168], rdi
xor edx, edx
mov r8d, 0x400
mov rcx, rax
mov qword [rsp + 0x160], r12
mov qword [rsp + 0x158], r13
call fcn.140013580
movzx edx, byte [r15 + 0x14]
movzx r8d, byte [r15 + 0x13]
cmp dword [rsp + 0x1c0], 0
movzx r10d, byte [r15 + 0x12]
movzx r11d, byte [r15 + 0x11]
movzx ebx, byte [r15 + 0x10]
movzx edi, byte [r15 + 0x1d]
movzx esi, byte [r15 + 0x1c]
movzx ebp, byte [r15 + 0x1b]
movzx r12d, byte [r15 + 0x1a]
movzx r13d, byte [r15 + 0x19]
movzx r9d, byte [r15 + 0x18]
mov eax, reloc.WS2_32.dll_WSAStartup
mov ecx, 0x40
mov word [rsp + 0x108], ax
mov eax, 0x20
mov dword [rsp + 0xc0], 0x2c307e31
cmovne eax, ecx
mov rcx, qword [rsp + 0xb0]
mov dword [rsp + 0xc4], 0x58383025
mov qword [rsp + 0x98], rcx
movzx ecx, byte [r15 + 0x15]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0xc8], 0x3230252c
mov dword [rsp + 0xcc], 0x32302558
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0xd0], 0x32302558
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0xd4], 0x32302558
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x70], ecx
mov dword [rsp + 0x68], edx
mov dword [rsp + 0x60], r8d
mov r8d, dword [r15]
mov dword [rsp + 0x58], r10d
mov dword [rsp + 0x50], r11d
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], ebp
lea rdx, [rsp + 0xc0]
mov rcx, r14
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0xd8], 0x32302558
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0xdc], 0x32302558
mov dword [rsp + 0xe0], 0x30252c58
mov dword [rsp + 0xe4], 0x30255832
mov dword [rsp + 0xe8], 0x30255832
mov dword [rsp + 0xec], 0x30255832
mov dword [rsp + 0xf0], 0x30255832
mov dword [rsp + 0xf4], 0x30255832
mov dword [rsp + 0xf8], 0x252c5832
mov dword [rsp + 0xfc], 0x75252c75
mov dword [rsp + 0x100], 0x2e75252e
mov dword [rsp + 0x104], 0x252c7525
call fcn.140014060
movzx edx, word [r15 + 0x2a]
mov ecx, dword [r15 + 0x24]
mov r8, r14
call fcn.140011f50
mov rcx, r14
mov ebx, eax
call fcn.140013e24
mov r13, qword [rsp + 0x158]
mov r12, qword [rsp + 0x160]
mov rdi, qword [rsp + 0x168]
mov eax, ebx
mov rsi, qword [rsp + 0x170]
mov rbp, qword [rsp + 0x178]
mov rbx, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140013680
add rsp, 0x188
pop r15
pop r14
ret
Function at 0x140012260
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push r13
push r14
push r15
sub rsp, 0x130
mov rax, qword [0x1401507e0]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov r15d, edx
xor edx, edx
mov r14, rcx
lea rcx, [rsp + 0x81]
lea r8d, [rdx + 0x7f]
mov byte [rsp + 0x80], 0
call fcn.140013580
mov ecx, 0x400
call fcn.140003f58
mov r13, rax
test rax, rax
jne 0x1400122bb
lea eax, [r13 + 8]
jmp 0x14001246c
mov qword [rsp + 0x160], rbx
mov qword [rsp + 0x128], rbp
mov qword [rsp + 0x120], rsi
xor edx, edx
mov r8d, 0x400
mov rcx, rax
mov qword [rsp + 0x118], rdi
mov qword [rsp + 0x110], r12
call fcn.140013580
movzx ecx, byte [r14 + 0x14]
movzx edx, byte [r14 + 0x13]
movzx r8d, byte [r14 + 0x12]
movzx eax, byte [r14 + 0x15]
movzx r10d, byte [r14 + 0x11]
movzx r11d, byte [r14 + 0x10]
movzx ebx, byte [r14 + 0x1d]
movzx edi, byte [r14 + 0x1c]
movzx esi, byte [r14 + 0x1b]
movzx ebp, byte [r14 + 0x1a]
movzx r12d, byte [r14 + 0x19]
movzx r9d, byte [r14 + 0x18]
mov dword [rsp + 0x78], r15d
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x68], ecx
mov dword [rsp + 0x60], edx
mov dword [rsp + 0x58], r8d
mov r8d, dword [r14]
mov dword [rsp + 0x50], r10d
mov dword [rsp + 0x48], r11d
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], esi
lea rdx, [rsp + 0x80]
mov rcx, r13
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x80], 0x2c307e32
mov dword [rsp + 0x20], r12d
mov dword [rsp + 0x84], 0x58383025
mov dword [rsp + 0x88], 0x3230252c
mov dword [rsp + 0x8c], 0x32302558
mov dword [rsp + 0x90], 0x32302558
mov dword [rsp + 0x94], 0x32302558
mov dword [rsp + 0x98], 0x32302558
mov dword [rsp + 0x9c], 0x32302558
mov dword [rsp + 0xa0], 0x30252c58
mov dword [rsp + 0xa4], 0x30255832
mov dword [rsp + 0xa8], 0x30255832
mov dword [rsp + 0xac], 0x30255832
mov dword [rsp + 0xb0], 0x30255832
mov dword [rsp + 0xb4], 0x30255832
mov dword [rsp + 0xb8], 0x252c5832
mov dword [rsp + 0xbc], 0x583830
call fcn.140014060
movzx edx, word [r14 + 0x2a]
mov ecx, dword [r14 + 0x24]
mov r8, r13
call fcn.140011f50
mov rcx, r13
mov ebx, eax
call fcn.140013e24
mov r12, qword [rsp + 0x110]
mov rdi, qword [rsp + 0x118]
mov rsi, qword [rsp + 0x120]
mov rbp, qword [rsp + 0x128]
mov eax, ebx
mov rbx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140013680
add rsp, 0x130
pop r15
pop r14
pop r13
ret
Function at 0x140012490
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push r14
push r15
sub rsp, 0x138
mov rax, qword [0x1401507e0]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov r14, rdx
xor edx, edx
mov r15, rcx
lea rcx, [rsp + 0x81]
lea r8d, [rdx + 0x7f]
mov byte [rsp + 0x80], 0
call fcn.140013580
test r14, r14
jne 0x1400124dd
mov eax, 0x57
jmp 0x1400126d2
mov rcx, r14
call fcn.140007870
test rax, rax
je 0x1400124d3
cmp rax, 0x32
jae 0x1400124d3
mov ecx, 0x400
mov qword [rsp + 0x160], rbx
mov qword [rsp + 0x110], r13
call fcn.140003f58
mov r13, rax
test rax, rax
jne 0x14001251a
lea ebx, [rax + 8]
jmp 0x1400126b3
mov qword [rsp + 0x130], rbp
mov qword [rsp + 0x128], rsi
xor edx, edx
mov r8d, 0x400
mov rcx, rax
mov qword [rsp + 0x120], rdi
mov qword [rsp + 0x118], r12
call fcn.140013580
movzx ecx, byte [r15 + 0x14]
movzx edx, byte [r15 + 0x13]
movzx r8d, byte [r15 + 0x12]
movzx r10d, byte [r15 + 0x11]
movzx r11d, byte [r15 + 0x10]
movzx ebx, byte [r15 + 0x1d]
movzx edi, byte [r15 + 0x1c]
movzx esi, byte [r15 + 0x1b]
movzx ebp, byte [r15 + 0x1a]
movzx r12d, byte [r15 + 0x19]
movzx r9d, byte [r15 + 0x18]
mov qword [rsp + 0x78], r14
mov eax, reloc.WS2_32.dll_WSAStartup
mov word [rsp + 0xbc], ax
movzx eax, byte [r15 + 0x15]
mov dword [rsp + 0x80], 0x2c307e35
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x68], ecx
mov dword [rsp + 0x60], edx
mov dword [rsp + 0x58], r8d
mov r8d, dword [r15]
mov dword [rsp + 0x50], r10d
mov dword [rsp + 0x48], r11d
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], esi
lea rdx, [rsp + 0x80]
mov rcx, r13
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x84], 0x58383025
mov dword [rsp + 0x88], 0x3230252c
mov dword [rsp + 0x20], r12d
mov dword [rsp + 0x8c], 0x32302558
mov dword [rsp + 0x90], 0x32302558
mov dword [rsp + 0x94], 0x32302558
mov dword [rsp + 0x98], 0x32302558
mov dword [rsp + 0x9c], 0x32302558
mov dword [rsp + 0xa0], 0x30252c58
mov dword [rsp + 0xa4], 0x30255832
mov dword [rsp + 0xa8], 0x30255832
mov dword [rsp + 0xac], 0x30255832
mov dword [rsp + 0xb0], 0x30255832
mov dword [rsp + 0xb4], 0x30255832
mov dword [rsp + 0xb8], 0x252c5832
call fcn.140014060
movzx edx, word [r15 + 0x2a]
mov ecx, dword [r15 + 0x24]
mov r8, r13
call fcn.140011f50
mov r12, qword [rsp + 0x118]
mov rdi, qword [rsp + 0x120]
mov rsi, qword [rsp + 0x128]
mov rbp, qword [rsp + 0x130]
mov ebx, eax
test r13, r13
je 0x1400126c0
mov rcx, r13
call fcn.140013e24
mov r13, qword [rsp + 0x110]
mov eax, ebx
mov rbx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140013680
add rsp, 0x138
pop r15
pop r14
ret
Function at 0x1400126f0
Capabilities:
Get hostname

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1401507e0]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
mov byte [rsp + 0x40], 0
mov rsi, rdx
mov qword [r11 - 0x57], rax
mov qword [r11 - 0x4f], rax
mov qword [r11 - 0x47], rax
mov qword [r11 - 0x3f], rax
mov qword [r11 - 0x37], rax
mov qword [r11 - 0x2f], rax
mov qword [r11 - 0x27], rax
mov ebx, ecx
lea rdx, [r11 - 0x68]
lea rcx, [r11 - 0x58]
mov dword [rsp + 0x79], eax
mov word [rsp + 0x7d], ax
mov byte [rsp + 0x7f], al
mov dword [rsp + 0x30], 0x40
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
lea rdx, str.__c_c_08x
lea r9d, [rax + 0x73]
not rcx
lea r8d, [rax + 0x61]
mov dword [rsp + 0x20], ebx
lea rcx, [rsp + rcx + 0x3f]
call fcn.140014060
movzx eax, byte [rsp + 0x40]
xor edx, edx
mov qword [rsi], rdx
mov qword [rsi + 8], rdx
mov byte [rsi], al
movzx eax, byte [rsp + 0x41]
lea r8d, [rbx + 1]
mov edx, reloc.WS2_32.dll_recv
mov byte [rsi + 2], al
movzx eax, byte [rsp + 0x42]
mov rcx, rsi
imul r8d, dword [rsi]
mov byte [rsi + 4], al
movzx eax, byte [rsp + 0x43]
mov byte [rsi + 6], al
movzx eax, byte [rsp + 0x44]
mov byte [rsi + 8], al
movzx eax, byte [rsp + 0x45]
mov byte [rsi + 0xa], al
movzx eax, byte [rsp + 0x46]
mov byte [rsi + 0xc], al
movzx eax, byte [rsp + 0x47]
mov byte [rsi + 0xe], al
call fcn.140002904
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140013680
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140012810
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x1401507e0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor eax, eax
mov rbp, rdx
lea rdx, [r11 - 0x78]
mov byte [r11 - 0x68], 0
mov qword [r11 - 0x67], rax
mov qword [r11 - 0x5f], rax
mov qword [r11 - 0x57], rax
mov qword [r11 - 0x4f], rax
mov qword [r11 - 0x47], rax
mov qword [r11 - 0x3f], rax
mov qword [r11 - 0x37], rax
mov dword [r11 - 0x2f], eax
mov word [r11 - 0x2b], ax
mov byte [r11 - 0x29], al
mov qword [r11 - 0x78], rax
mov qword [r11 - 0x70], rax
call fcn.1400126f0
movzx edx, byte [rsp + 0x7e]
movzx r8d, byte [rsp + 0x7d]
movzx ecx, byte [rsp + 0x7a]
movzx eax, byte [rsp + 0x7f]
movzx r10d, byte [rsp + 0x7c]
movzx r11d, byte [rsp + 0x7b]
movzx ebx, byte [rsp + 0x79]
movzx edi, byte [rsp + 0x78]
movzx esi, word [rsp + 0x76]
movzx r9d, word [rsp + 0x74]
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x58], edx
mov dword [rsp + 0x50], r8d
mov r8d, dword [rsp + 0x70]
mov dword [rsp + 0x48], r10d
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], ebx
lea rdx, [rsp + 0x80]
mov rcx, rbp
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x80], 0x3830257b
mov dword [rsp + 0x20], esi
mov dword [rsp + 0x84], 0x30252d58
mov dword [rsp + 0x88], 0x252d5834
mov dword [rsp + 0x8c], 0x2d783430
mov dword [rsp + 0x90], 0x58323025
mov dword [rsp + 0x94], 0x58323025
mov dword [rsp + 0x98], 0x3230252d
mov dword [rsp + 0x9c], 0x32302558
mov dword [rsp + 0xa0], 0x32302558
mov dword [rsp + 0xa4], 0x32302558
mov dword [rsp + 0xa8], 0x32302558
mov dword [rsp + 0xac], 0x32302558
mov dword [rsp + 0xb0], 0x7d58
call fcn.140014060
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140013680
mov rbx, qword [rsp + 0x100]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140012e70
Capabilities:
Get mac address on windows

Disassembly:
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
xor edi, edi
mov r15, r9
mov r14, r8
mov r13, rdx
mov r12d, ecx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x3c], edi
mov dword [rsp + 0x40], edi
test rdx, rdx
jne 0x140012ebb
test r8, r8
jne 0x140012ebb
lea eax, [rdx + 0x57]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, 0x2c0
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x98], rsi
call fcn.140013a24
mov rbp, rax
test rax, rax
jne 0x140012ee5
lea esi, [rax + 8]
jmp 0x1400130b6
xor edx, edx
mov r8d, 0x2c0
mov rcx, rax
call fcn.140013580
lea rdx, [rsp + 0x30]
mov rcx, rbp
mov dword [rsp + 0x30], 0x2c0
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov esi, eax
cmp eax, 0x6f
jne 0x140012f41
mov rcx, rbp
call fcn.1400136a0
mov ecx, dword [rsp + 0x30]
call fcn.140013a24
mov rbp, rax
test rax, rax
jne 0x140012f32
lea esi, [rax + 8]
jmp 0x1400130b6
lea rdx, [rsp + 0x30]
mov rcx, rax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov esi, eax
test esi, esi
jne 0x1400130b6
mov qword [rsp + 0x80], rbx
mov rbx, rbp
test r12d, r12d
je 0x140012f6f
nop dword [rax]
mov rbx, qword [rbx]
test rbx, rbx
je 0x140012f74
inc edi
cmp edi, r12d
jb 0x140012f60
test rbx, rbx
jne 0x140012f7e
mov esi, 2
jmp 0x1400130ae
test r13, r13
je 0x140012f99
mov eax, dword [rbx + 0x198]
mov dword [r13], eax
movzx eax, word [rbx + 0x19c]
mov word [r13 + 4], ax
test r14, r14
je 0x14001300b
lea rax, [rsp + 0x40]
lea rcx, [rbx + 0x1c0]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x3c]
lea r8, [rsp + 0x34]
lea rdx, str._u._u._u._u
mov qword [rsp + 0x20], rax
call fcn.140014028
movzx eax, byte [rsp + 0x38]
movzx r11d, byte [rsp + 0x34]
mov byte [rsp + 0x89], al
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x88], r11b
mov byte [rsp + 0x8a], al
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x8b], al
mov eax, dword [rsp + 0x88]
mov dword [r14], eax
test r15, r15
je 0x14001307d
lea rax, [rsp + 0x40]
lea rcx, [rbx + 0x1f0]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x3c]
lea r8, [rsp + 0x34]
lea rdx, str._u._u._u._u
mov qword [rsp + 0x20], rax
call fcn.140014028
movzx eax, byte [rsp + 0x38]
movzx r11d, byte [rsp + 0x34]
mov byte [rsp + 0x89], al
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x88], r11b
mov byte [rsp + 0x8a], al
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x8b], al
mov eax, dword [rsp + 0x88]
mov dword [r15], eax
mov rdx, qword [rsp + 0xa0]
test rdx, rdx
je 0x1400130ae
lea rcx, [rbx + 0x110]
sub rdx, rcx
nop word [rax + rax]
movzx eax, byte [rcx]
inc rcx
mov byte [rdx + rcx - 1], al
test al, al
jne 0x1400130a0
mov rbx, qword [rsp + 0x80]
test rbp, rbp
je 0x1400130c3
mov rcx, rbp
call fcn.1400136a0
mov rbp, qword [rsp + 0x90]
mov eax, esi
mov rsi, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140013210
Capabilities:
Initialize winsock library

Disassembly:
push rbp
push r13
push r14
push r15
sub rsp, 0x1f8
mov rax, qword [0x1401507e0]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
movzx r15d, cx
mov r14, r8
mov r13d, edx
xor ebp, ebp
lea rcx, [rsp + 0x42]
xor edx, edx
mov r8d, 0x196
mov dword [rsp + 0x30], ebp
mov word [rsp + 0x40], bp
call fcn.140013580
test r14, r14
je 0x140013260
mov dword [r14], ebp
lea rdx, [rsp + 0x40]
mov ecx, 0x101
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14001327f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x1400133c6
lea rcx, str.iphlpapi.dll
mov qword [rsp + 0x1f0], r12
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r12, rax
test rax, rax
jne 0x1400132a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400133aa
lea rdx, str.GetExtendedTcpTable
mov rcx, rax
mov qword [rsp + 0x220], rbx
call fcn.1400034c4
mov rbx, rax
test rax, rax
jne 0x1400132d1
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400133a2
mov r9d, 2
lea rdx, [rsp + 0x30]
xor ecx, ecx
lea r8d, [r9 - 1]
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x228], rsi
mov dword [rsp + 0x20], 5
call rbx
mov ecx, dword [rsp + 0x30]
call fcn.140013a24
mov rsi, rax
test rax, rax
je 0x14001339a
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov rcx, rax
call fcn.140013580
mov r9d, 2
lea rdx, [rsp + 0x30]
lea r8d, [r9 - 1]
mov rcx, rsi
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 5
call rbx
test eax, eax
jne 0x140013392
mov qword [rsp + 0x238], rdi
mov edi, ebp
cmp dword [rsi], ebp
jbe 0x14001338a
lea rbx, [rsi + 0xc]
cmp dword [rbx - 8], r13d
jne 0x140013367
movzx ecx, word [rbx]
call qword [sym.imp.WS2_32.dll_ntohs]
cmp ax, r15w
je 0x140013373
inc edi
add rbx, 0x18
cmp edi, dword [rsi]
jb 0x140013352
jmp 0x14001338a
mov ebp, 1
test r14, r14
je 0x14001338a
mov eax, edi
lea rax, [rax + rax*2 + 3]
mov ecx, dword [rsi + rax*8]
mov dword [r14], ecx
mov rdi, qword [rsp + 0x238]
mov rcx, rsi
call fcn.1400136a0
mov rsi, qword [rsp + 0x228]
mov rbx, qword [rsp + 0x220]
test r12, r12
je 0x1400133b8
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov r12, qword [rsp + 0x1f0]
mov eax, ebp
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.140013680
add rsp, 0x1f8
pop r15
pop r14
pop r13
pop rbp
ret
Function at 0x14001668b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1401507e0]
jne 0x14001369a
rol rcx, 0x10
test cx, 0xffff
jne 0x140013696
repz ret
ror rcx, 0x10
jmp 0x1400165e4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140152f90]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140153088]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140016669
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140152f90]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14001668b
mov rax, qword [rsp + 0x88]
mov qword [0x140153088], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140153028], rax
mov rax, qword [0x140153088]
mov qword [0x140152f00], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140153010], rax
mov dword [0x140152ef0], 0xc0000409
mov dword [0x140152ef4], 1
mov rax, qword [0x1401507e0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1401507e8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140152f88], eax
mov ecx, 1
call fcn.14001c7a0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400245b8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140152f88], 0
jne 0x140016712
mov ecx, 1
call fcn.14001c7a0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140016ac4
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.14001f38c
nop
cmp dword [0x1401534b8], 1
je 0x140016a70
mov dword [0x1401534b4], 1
mov byte [0x1401534b0], r12b
test ebx, ebx
jne 0x140016a5c
mov rcx, qword [0x140154fb0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140016a49
mov rcx, qword [0x140154fa8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x1400169e8
call fcn.14001839c
cmp qword [rdi], rax
jne 0x1400169e8
jmp 0x1400169ce
cmp rdi, rsi
jb 0x140016a49
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14001839c
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140154fb0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140154fa8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140016a27
cmp r13, rax
je 0x140016a47
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1400169ce
lea rdx, [0x140022570]
lea rcx, [0x140022558]
call fcn.140016818
lea rdx, [0x140022580]
lea rcx, [0x140022578]
call fcn.140016818
nop
test r12d, r12d
je 0x140016a7f
mov ecx, 8
call fcn.14001f28c
test r12d, r12d
jne 0x140016aaa
mov dword [0x1401534b8], 1
lea ecx, [r12 + 8]
call fcn.14001f28c
mov ecx, r15d
call fcn.1400167ac
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140016938

Function at 0x140016ad0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140016938