joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140069900
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
mov qword [r11 + 0x18], r8
push rbx
sub rsp, 0x50
mov ebx, 0x57
test rcx, rcx
je 0x1400699a6
and qword [r11 - 0x18], 0
lea rax, [r11 + 0x18]
and qword [r11 + 0x18], 0
lea rdx, str.LanMan_Print_ServicesServers
mov qword [r11 - 0x20], rax
xor r9d, r9d
and qword [r11 - 0x28], 0
xor r8d, r8d
mov dword [rsp + 0x28], 2
and dword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x1400699a6
mov rcx, qword [rsp + 0x70]
lea r9d, [rax + 4]
lea rax, [rsp + 0x78]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.AddPrinterDrivers
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x70]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
test ebx, ebx
je 0x1400699d7
mov rcx, qword [0x1400b52f8]
lea rax, [0x1400b52f8]
cmp rcx, rax
je 0x1400699d7
test byte [rcx + 0x44], 0x20
je 0x1400699d7
mov rcx, qword [rcx + 0x38]
lea r8, [0x14009b640]
mov edx, 0x30
mov r9d, ebx
call fcn.14002d778
mov eax, ebx
add rsp, 0x50
pop rbx
ret
Function at 0x14006a820
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, dword [0x1400b7250]
xor ebx, ebx
cmp ecx, 0xffffffff
jne 0x14006a837
mov eax, ebx
jmp 0x14006a843
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
nop dword [rax + rax]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.RPCRT4.dll_I_RpcBindingInqTransportType]
nop dword [rax + rax]
test eax, eax
jne 0x14006a865
cmp dword [rsp + 0x30], 4
je 0x14006a865
lea ebx, [rax + 1]
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x14006ae60
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov r15, rdx
mov r8, rdx
mov edx, 4
mov rsi, rcx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetKeySecurity]
nop dword [rax + rax]
xor r12d, r12d
mov ebx, eax
test eax, eax
jne 0x14006b031
mov qword [rsp + 0x58], r12
lea rax, [rbp + 0x40]
mov qword [rsp + 0x50], r12
xor r9d, r9d
mov qword [rsp + 0x48], r12
xor r8d, r8d
mov qword [rsp + 0x40], r12
xor edx, edx
mov qword [rsp + 0x38], r12
mov rcx, rsi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x48], r12d
mov dword [rbp + 0x40], r12d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14006b031
mov eax, dword [rbp + 0x40]
inc eax
mov qword [rbp - 0x10], r12
mov ecx, eax
mov dword [rbp + 0x40], eax
lea eax, [rbx + 2]
mul rcx
lea rcx, [r12 - 1]
cmovo rax, rcx
mov rcx, rax
call fcn.140012324
lea rcx, [rbp - 0x10]
mov r14, rax
call fcn.140010d54
mov qword [rbp - 0x10], r14
test r14, r14
je 0x14006b023
mov edi, r12d
cmp edi, dword [rbp + 0x48]
jae 0x14006b028
mov eax, dword [rbp + 0x40]
lea r9, [rbp - 0x20]
mov qword [rsp + 0x38], r12
mov r8, r14
mov qword [rsp + 0x30], r12
mov edx, edi
mov qword [rsp + 0x28], r12
mov rcx, rsi
mov qword [rsp + 0x20], r12
mov dword [rbp - 0x20], eax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14006b00b
mov rdx, r14
mov rcx, rsi
call fcn.140010750
test eax, eax
jne 0x14006afd8
lea rax, [rbp - 0x18]
mov qword [rbp - 0x18], r12
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14006afcd
mov rcx, qword [rbp - 0x18]
mov rdx, r15
call fcn.14006ae60
mov ebx, eax
lea rcx, [rbp - 0x18]
call fcn.140012008
jmp 0x14006b012
mov rcx, qword [0x1400b52f8]
lea rax, [0x1400b52f8]
cmp rcx, rax
je 0x14006b012
test byte [rcx + 0x44], 0x20
je 0x14006b012
mov rcx, qword [rcx + 0x38]
lea r8, [0x1400aa350]
mov edx, 0xc
mov r9, r14
call fcn.140040290
jmp 0x14006b012
cmp eax, 0x103
je 0x14006b01e
inc edi
test ebx, ebx
je 0x14006af3d
jmp 0x14006b028
mov ebx, r12d
jmp 0x14006b028
mov ebx, 8
lea rcx, [rbp - 0x10]
call fcn.140010d54
lea r11, [rsp + 0x80]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14006b620
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x1400b5778]
xor rax, rsp
mov qword [rbp + 0x150], rax
cmp dword [rbp + 0x1b0], 0
mov r14, r9
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
je 0x14006b67e
mov r9, rdx
mov dword [rsp + 0x20], ebx
mov r8, rcx
xor edx, edx
mov rcx, 0xffffffff80000001
call sym.spoolsv.exe_PrvUpdatePrinterRegUser
jmp 0x14006b75a
xor r15d, r15d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], r15
and qword [rsp + 0x28], r15
and qword [rsp + 0x20], r15
xor edx, edx
jmp 0x14006b72d
lea rdx, str..Default
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14006b70b
mov edx, 0x5f
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
test rax, rax
jne 0x14006b70b
test r14, r14
je 0x14006b6f5
mov rdx, r14
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNELBASE.dll_lstrcmpiW]
nop dword [rax + rax]
test eax, eax
jne 0x14006b70b
mov r9, rsi
mov dword [rsp + 0x20], ebx
mov r8, rdi
lea rdx, [rsp + 0x50]
xor ecx, ecx
call sym.spoolsv.exe_PrvUpdatePrinterRegUser
inc r15d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov edx, r15d
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 0x100
lea r8, [rsp + 0x50]
mov rcx, 0xffffffff80000003
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x14006b6a1
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1400126a0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x260
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006bf94
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x1400b5778]
xor rax, rsp
mov qword [rbp + 0x380], rax
xor ebx, ebx
mov dword [rsp + 0x44], 0x104
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x208
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x44]
lea rax, [rsp + 0x60]
mov r12, rdx
mov qword [rsp + 0x30], rax
lea r8, [rbp + 0x170]
xorps xmm0, xmm0
mov qword [rsp + 0x28], rbx
xor edx, edx
mov qword [rsp + 0x20], rbx
mov r15, rcx
mov r14d, ebx
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
nop dword [rax + rax]
lea esi, [rbx + 1]
jmp 0x14006c140
cmp word [rsp + 0x60], bx
je 0x14006c0f1
mov edx, 0x2c
lea rcx, [rsp + 0x60]
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x14006c0f1
mov word [rax], bx
add rdi, 2
cmp word [rdi], 0x20
je 0x14006c059
mov r8d, 2
lea rdx, [0x1400aa380]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
nop dword [rax + rax]
test eax, eax
jne 0x14006c0f1
add rdi, 4
mov ecx, ebx
mov word [rdi + 4], bx
jmp 0x14006c0a8
lea eax, [rdx - 0x30]
cmp ax, 9
ja 0x14006c0b0
lea ecx, [rcx + rcx*4]
movzx eax, dx
lea ecx, [rcx - 0x18]
add rdi, 2
lea ecx, [rax + rcx*2]
movzx edx, word [rdi]
test dx, dx
jne 0x14006c08f
lea rax, [rbp + 0x170]
mov r9, r12
sub r9, rax
movzx edx, word [rax]
movzx r8d, word [rax + r9]
sub edx, r8d
jne 0x14006c0d3
add rax, 2
test r8d, r8d
jne 0x14006c0bd
test edx, edx
je 0x14006c165
cmp ecx, 0x64
jae 0x14006c0f1
mov edx, ecx
mov eax, esi
and ecx, 0x1f
shr rdx, 5
shl eax, cl
or dword [rsp + rdx*4 + 0x48], eax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x44], 0x104
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x44]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x40], 0x208
mov qword [rsp + 0x30], rax
lea r8, [rbp + 0x170]
add r14d, esi
mov qword [rsp + 0x28], rbx
mov edx, r14d
mov qword [rsp + 0x20], rbx
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
nop dword [rax + rax]
test eax, eax
je 0x14006c029
mov eax, ebx
mov ecx, ebx
shr rax, 5
and ecx, 0x1f
mov eax, dword [rsp + rax*4 + 0x48]
bt eax, ecx
jae 0x14006c169
add ebx, esi
cmp ebx, 0x64
jb 0x14006c148
jmp 0x14006c16b
mov eax, ecx
jmp 0x14006c16d
mov esi, ebx
mov eax, esi
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.1400126a0
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14006d390
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
xor ebx, ebx
mov rsi, r8
mov qword [rbp + 0x40], rbx
mov rdi, rdx
mov qword [rbp + 0x48], rbx
mov r14, rcx
mov qword [r8], rbx
test rdx, rdx
jne 0x14006d3cf
lea ecx, [rdx + 6]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x14006d598
lea rcx, [rbp - 0x10]
call fcn.14000b300
lea r9, [rbp + 0x48]
mov rdx, rdi
lea r8, [rbp + 0x40]
mov rcx, r14
call fcn.14006d134
test eax, eax
jne 0x14006d402
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
jmp 0x14006d53e
mov rcx, qword [rbp + 0x40]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x58], rbx
xor r9d, r9d
mov qword [rsp + 0x50], rbx
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x14006d52e
mov ecx, dword [rbp + 0x38]
cmp ecx, 0x48
jb 0x14006d52e
call sym.spoolsv.exe_PrvDllAllocSplMem
mov qword [rsi], rax
test rax, rax
jne 0x14006d47c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
jmp 0x14006d52e
mov rdx, qword [rbp + 0x48]
lea rcx, [rbp + 0x38]
mov qword [rsp + 0x28], rcx
xor r9d, r9d
mov rcx, qword [rbp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov edi, eax
mov r14d, 2
test eax, eax
jne 0x14006d50d
mov rcx, qword [rsi]
mov r10d, 0x8007000d
mov r9d, dword [rbp + 0x38]
test rcx, rcx
je 0x14006d4e1
cmp r9, 0x4c
jb 0x14006d4e1
movzx r8d, word [rcx + 0x46]
movzx eax, word [rcx + 0x44]
add r8, rax
cmp r9, r8
jb 0x14006d4e1
call fcn.1400052e0
mov r10d, eax
mov ecx, r10d
call fcn.14000664c
mov edi, eax
test eax, eax
je 0x14006d528
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
test eax, eax
cmove edi, r14d
test edi, edi
je 0x14006d528
mov r8, qword [rsi]
xor edx, edx
mov rcx, qword [0x1400b7220]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov qword [rsi], rbx
cmp edi, r14d
cmove edi, ebx
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
test edi, edi
je 0x14006d588
mov ecx, edi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
cmp edi, 5
je 0x14006d58d
mov rcx, qword [0x1400b52f8]
lea rax, [0x1400b52f8]
cmp rcx, rax
je 0x14006d58d
test byte [rcx + 0x44], 0x20
je 0x14006d58d
mov rcx, qword [rcx + 0x38]
lea r8, [0x14009b6e8]
mov edx, 0xf
mov r9d, edi
call fcn.14002d778
jmp 0x14006d58d
mov ebx, 1
lea rcx, [rbp - 0x10]
call fcn.14000b1a0
mov eax, ebx
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14006d5b0
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
and qword [rsp + 0x48], 0
mov rbx, r8
and qword [rsp + 0x58], 0
mov rdi, rdx
test rdx, rdx
jne 0x14006d5ee
lea ecx, [rdx + 6]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x48]
call fcn.14006d134
test eax, eax
je 0x14006d5e0
mov rdx, qword [rsp + 0x58]
test rbx, rbx
jne 0x14006d627
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 2
jne 0x14006d670
xor ebx, ebx
jmp 0x14006d670
movzx ecx, word [rbx + 0x46]
mov r9d, 3
movzx eax, word [rbx + 0x44]
xor r8d, r8d
add ecx, eax
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14006d670
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor edx, edx
lea ecx, [rax + 2]
lea r8d, [rax + 0x1b]
call sym.spoolsv.exe_PrvRouterBroadcastMessage
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
test ebx, ebx
je 0x14006d6e4
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov rax, qword [0x1400b52f8]
lea rcx, [0x1400b52f8]
cmp rax, rcx
je 0x14006d5e0
test byte [rax + 0x44], 0x20
je 0x14006d5e0
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x1400b52f8]
lea r8, [0x14009b6e8]
mov r9d, eax
mov edx, 0xe
mov rcx, qword [rcx + 0x38]
call fcn.14002d778
jmp 0x14006d5e0
mov eax, 1
jmp 0x14006d5e2
Function at 0x14006f0c8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov rcx, qword [0x1400b6db0]
mov ebx, 1
mov rcx, qword [rcx + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
test byte [0x1400b6db8], bl
jne 0x14006f1dd
mov eax, dword [0x1400b6dc0]
test eax, eax
je 0x14006f153
lea r9d, [rax - 1]
mov dword [0x1400b6dc0], r9d
mov rcx, qword [0x1400b52f8]
lea rax, [0x1400b52f8]
cmp rcx, rax
je 0x14006f13b
test byte [rcx + 0x44], 0x80
je 0x14006f13b
mov rcx, qword [rcx + 0x38]
lea edx, [rbx + 9]
lea r8, [0x1400aa3d8]
call fcn.14002d778
mov rcx, qword [0x1400b6dc8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
nop dword [rax + rax]
jmp 0x14006f1df
mov rax, qword [0x1400b6db0]
mov r9d, dword [0x1400b6dbc]
cmp r9d, dword [rax]
jae 0x14006f1df
mov rcx, qword [0x1400b52f8]
lea rax, [0x1400b52f8]
cmp rcx, rax
je 0x14006f194
test byte [rcx + 0x44], 0x80
je 0x14006f194
mov rcx, qword [rcx + 0x38]
lea r8, [0x1400aa3d8]
mov edx, 0xb
call fcn.14002d778
lea rax, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x28], rax
lea r9, [0x1400b6db0]
and dword [rsp + 0x20], 0
lea r8, [0x14006f310]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
nop dword [rax + rax]
test rax, rax
je 0x14006f1dd
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
add dword [0x1400b6dbc], ebx
jmp 0x14006f1df
xor ebx, ebx
mov rcx, qword [0x1400b6db0]
mov rcx, qword [rcx + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x1400709c8
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, qword [0x1400b7710]
xor r12d, r12d
mov r15, r8
mov rbp, rdx
cmp byte [rdi + 0x60], r12b
jne 0x1400709fe
xor eax, eax
jmp 0x140070b37
mov esi, 0x80070057
test rbp, rbp
je 0x140070b35
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rdx + rcx*2], r12w
jne 0x140070a10
mov eax, dword [rdi + 0x10]
cmp rcx, rax
ja 0x140070b35
lea rcx, [rdi + 0x20]
call fcn.140002ba8
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov r13d, eax
mov r14d, r12d
mov eax, r12d
cmp dword [rdi + 8], eax
jbe 0x140070aea
mov rdx, qword [rdi + 0x18]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x70], eax
mov eax, r12d
mov dword [rsp + 0x88], r14d
lea rsi, [rax + rax*2]
lea rcx, [rdx + rsi*8]
mov rdx, qword [rcx]
test rdx, rdx
je 0x140070ad8
mov rcx, rbp
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x140070abe
mov rdx, qword [rdi + 0x18]
mov eax, r13d
lea rcx, [rdx + rsi*8]
sub eax, dword [rcx + 8]
cmp eax, dword [rdi + 0xc]
ja 0x140070ad8
cmp eax, dword [rsp + 0x70]
mov r14d, r12d
cmovbe r14d, dword [rsp + 0x88]
inc r12d
cmp eax, dword [rsp + 0x20]
cmovbe eax, dword [rsp + 0x20]
cmp r12d, dword [rdi + 8]
jb 0x140070a51
jmp 0x140070aea
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov ecx, eax
mov rax, qword [rdi + 0x18]
mov dword [rax + rsi*8 + 8], ecx
xor esi, esi
jmp 0x140070b2c
mov r8, r15
mov rdx, rbp
call fcn.14007294c
mov esi, eax
cmp eax, 1
jne 0x140070b2c
mov eax, dword [rdi + 8]
mov r8, qword [rdi + 0x18]
cmp eax, dword [rdi + 4]
jae 0x140070b14
lea rcx, [rax + rax*2]
mov rdx, rbp
lea rcx, [r8 + rcx*8]
mov r8, r15
call fcn.14007294c
mov esi, eax
test eax, eax
js 0x140070b2c
inc dword [rdi + 8]
jmp 0x140070b2c
mov eax, r14d
lea rdx, [rax + rax*2]
lea rcx, [r8 + rdx*8]
mov r8, r15
mov rdx, rbp
call fcn.14007294c
mov esi, eax
lea rcx, [rdi + 0x20]
call fcn.140002be0
mov eax, esi
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140070b54
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r13d, r13d
mov rbp, rdx
mov rdi, rcx
cmp byte [rcx + 0x60], r13b
jne 0x140070b7e
xor eax, eax
jmp 0x140070ca2
mov esi, 0x80070057
test rbp, rbp
je 0x140070ca0
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rdx + rcx*2], r13w
jne 0x140070b90
mov eax, dword [rdi + 0x10]
cmp rcx, rax
ja 0x140070ca0
lea rcx, [rdi + 0x20]
call fcn.140002ba8
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov r14d, r13d
mov r12d, eax
mov eax, r13d
mov r15d, r13d
cmp dword [rdi + 8], r13d
jbe 0x140070c43
mov rcx, qword [rdi + 0x18]
mov r13d, eax
mov dword [rsp + 0x60], r14d
mov eax, r15d
lea rsi, [rax + rax*2]
lea rcx, [rcx + rsi*8]
mov rdx, qword [rcx]
test rdx, rdx
je 0x140070c34
mov rcx, rbp
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x140070c6a
mov rcx, qword [rdi + 0x18]
mov eax, r12d
lea r8, [rcx + rsi*8]
sub eax, dword [r8 + 8]
cmp eax, dword [rdi + 0xc]
ja 0x140070c31
cmp eax, r13d
mov r14d, r15d
cmovbe r14d, dword [rsp + 0x60]
inc r15d
cmp eax, r13d
cmovbe eax, r13d
cmp r15d, dword [rdi + 8]
jb 0x140070bd1
jmp 0x140070c43
mov rcx, r8
mov rdx, rbp
call fcn.140072a1c
mov esi, eax
cmp eax, 1
jne 0x140070c97
mov eax, dword [rdi + 8]
mov rdx, qword [rdi + 0x18]
cmp eax, dword [rdi + 4]
jae 0x140070c82
lea rcx, [rax + rax*2]
lea rcx, [rdx + rcx*8]
mov rdx, rbp
call fcn.140072a1c
mov esi, eax
test eax, eax
js 0x140070c97
inc dword [rdi + 8]
jmp 0x140070c97
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov rcx, qword [rdi + 0x18]
mov dword [rcx + rsi*8 + 8], eax
xor esi, esi
jmp 0x140070c97
mov eax, r14d
lea rcx, [rax + rax*2]
lea rcx, [rdx + rcx*8]
mov rdx, rbp
call fcn.140072a1c
mov esi, eax
lea rcx, [rdi + 0x20]
call fcn.140002be0
mov eax, esi
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140072ad0
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov dword [rcx], 0x54535357
lea rdx, [rcx + 8]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
nop dword [rax + rax]
test eax, eax
jle 0x140072b00
movzx eax, ax
or eax, 0x80070000
mov dword [rbx + 0x1a0], eax
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x140072b18
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x1400b5778]
xor rax, rsp
mov qword [rbp + 0x130], rax
xor r14d, r14d
mov rsi, rdx
mov qword [rdx], r14
mov rdi, rcx
mov ebx, 0x80070057
test rcx, rcx
je 0x140072c76
cmp word [rcx], r14w
je 0x140072c76
lea rcx, [rbp - 0x80]
call fcn.140072ad0
mov ebx, dword [rbp + 0x120]
test ebx, ebx
js 0x140072c61
xorps xmm0, xmm0
mov qword [rsp + 0x40], r14
movups xmmword [rsp + 0x48], xmm0
lea r9, [rsp + 0x40]
mov qword [rsp + 0x48], 4
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, rdi
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
call qword [sym.imp.WS2_32.dll_GetAddrInfoW]
nop dword [rax + rax]
test eax, eax
jne 0x140072c38
mov rcx, rdi
call fcn.140072ca8
test eax, eax
js 0x140072c22
mov ecx, 0x804
call fcn.140012324
mov rbx, rax
test rax, rax
je 0x140072c22
mov rcx, qword [rsp + 0x40]
mov r9d, 0x401
mov dword [rsp + 0x30], 2
mov r8, rax
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov edx, dword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.WS2_32.dll_GetNameInfoW]
nop dword [rax + rax]
test eax, eax
jne 0x140072c1a
mov qword [rsi], rbx
jmp 0x140072c22
mov rcx, rbx
call fcn.140012364
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_FreeAddrInfoW]
nop dword [rax + rax]
mov ebx, r14d
jmp 0x140072c61
cmp eax, 0x2af9
jne 0x140072c46
mov ebx, 1
jmp 0x140072c61
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140072c61
movzx ebx, ax
or ebx, 0x80070000
cmp dword [rbp + 0x120], r14d
jne 0x140072c76
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1400126a0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret