joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004ab20
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r14, rdx
mov rsi, rcx
mov rdx, qword [rcx]
lea rcx, [rsp + 0x58]
call fcn.14001c3e0
nop
xor edi, edi
mov rdx, qword [rsi]
lea rcx, [rsp + 0x40]
call fcn.14001c0f0
nop
lea rdx, str.SELECT_COUNT___FROM_ConnectedAgent_WHERE_ip_
lea rcx, [rsp + 0x40]
call fcn.14001c280
mov r8, r14
lea edx, [rdi + 1]
lea rcx, [rsp + 0x40]
call fcn.14001c1a0
lea rcx, [rsp + 0x40]
call fcn.14001c3a0
cmp eax, 0x64
jne 0x14004abab
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14001c220
mov rdi, rax
lea rcx, [rsp + 0x40]
call fcn.14001c130
xor ecx, ecx
call fcn.14014fa24
mov rbx, rax
mov rdx, qword [rsi]
lea rcx, [rsp + 0x30]
call fcn.14001c0f0
nop
lea rcx, [rsp + 0x30]
test edi, edi
jle 0x14004ac08
lea rdx, str.UPDATE_ConnectedAgent_SET_timestamp__WHERE_ip_
call fcn.14001c280
mov r8, rbx
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.14001c180
mov r8, r14
mov edx, 2
lea rcx, [rsp + 0x30]
call fcn.14001c1a0
jmp 0x14004ac38
lea rdx, str.INSERT_INTO_ConnectedAgent__ip_timestamp__VALUES_____
call fcn.14001c280
mov r8, r14
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.14001c1a0
mov r8, rbx
mov edx, 2
lea rcx, [rsp + 0x30]
call fcn.14001c180
lea rcx, [rsp + 0x30]
call fcn.14001c3a0
cmp eax, 0x65
jne 0x14004ac8b
lea rcx, [rsp + 0x58]
call fcn.14001c430
nop
lea rcx, [rsp + 0x30]
call fcn.14001c130
nop
lea rcx, [rsp + 0x58]
call fcn.14001c410
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1401453a0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov byte [rsp + 0x70], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x71]
call fcn.140147800
mov rcx, qword [rsi]
call fcn.14001be20
mov rcx, rax
call fcn.14008d080
mov qword [rsp + 0x20], rax
lea r9, str.ConnectedAgentTable.save
lea r8, str._s:__s
mov edx, 0x100
lea rcx, [rsp + 0x70]
call fcn.14001cd80
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.14001bb20
lea rdx, [0x1401bdee0]
lea rcx, [rsp + 0x40]
call fcn.1401463c0
int3
Function at 0x14004c8c0
Capabilities:
Reference sql statements

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
mov rdx, qword [rcx]
lea rcx, [rsp + 0x20]
call fcn.14001c0f0
nop
lea rdx, str.SELECT_COUNT___FROM_FixIpRange_WHERE_begip___AND_endip__
lea rcx, [rsp + 0x20]
call fcn.14001c280
mov r8d, ebx
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.14001c180
mov r8d, ebx
mov edx, 2
lea rcx, [rsp + 0x20]
call fcn.14001c180
lea rcx, [rsp + 0x20]
call fcn.14001c3a0
cmp eax, 0x64
jne 0x14004c92e
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14001c230
test eax, eax
jne 0x14004c92e
mov bl, 1
jmp 0x14004c930
xor bl, bl
lea rcx, [rsp + 0x20]
call fcn.14001c130
movzx eax, bl
add rsp, 0x30
pop rbx
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
sub r8d, 1
je 0x14004ca0f
sub r8d, 1
je 0x14004c9b8
cmp r8d, 1
jne 0x14004ca6b
xor eax, eax
cmp qword [rdx + 0xd8], rax
je 0x14004c99f
lea rcx, [rdx + 0xc8]
cmp qword [rcx + 0x18], 0x10
jb 0x14004c998
mov rcx, qword [rcx]
mov dl, 1
call fcn.140054b20
mov edx, eax
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14004c8c0
mov rbx, qword [rdx + 0xb0]
mov rdi, qword [rdx + 0xb8]
cmp rbx, rdi
je 0x14004ca22
nop dword [rax + rax]
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x14004c9dd
mov rcx, qword [rbx]
mov dl, 1
call fcn.140054b20
mov edx, eax
mov rcx, rsi
call 0x14004c8c0
test al, al
jne 0x14004ca7d
add rbx, 0x20
cmp rbx, rdi
jne 0x14004c9d0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rdx + 0x98]
mov rdi, qword [rdx + 0xa0]
cmp rbx, rdi
jne 0x14004ca40
xor edx, edx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14004c8c0
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x14004ca4d
mov rcx, qword [rbx]
mov dl, 1
call fcn.140054b20
mov edx, eax
mov rcx, rsi
call 0x14004c8c0
test al, al
jne 0x14004ca7d
add rbx, 0x40
cmp rbx, rdi
jne 0x14004ca40
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov al, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14004c950
Capabilities:
Reference sql statements

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
mov rdx, qword [rcx]
lea rcx, [rsp + 0x20]
call fcn.14001c0f0
nop
lea rdx, str.SELECT_COUNT___FROM_FixIpRange_WHERE_begip___AND_endip__
lea rcx, [rsp + 0x20]
call fcn.14001c280
mov r8d, ebx
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.14001c180
mov r8d, ebx
mov edx, 2
lea rcx, [rsp + 0x20]
call fcn.14001c180
lea rcx, [rsp + 0x20]
call fcn.14001c3a0
cmp eax, 0x64
jne 0x14004c92e
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14001c230
test eax, eax
jne 0x14004c92e
mov bl, 1
jmp 0x14004c930
xor bl, bl
lea rcx, [rsp + 0x20]
call fcn.14001c130
movzx eax, bl
add rsp, 0x30
pop rbx
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
sub r8d, 1
je 0x14004ca0f
sub r8d, 1
je 0x14004c9b8
cmp r8d, 1
jne 0x14004ca6b
xor eax, eax
cmp qword [rdx + 0xd8], rax
je 0x14004c99f
lea rcx, [rdx + 0xc8]
cmp qword [rcx + 0x18], 0x10
jb 0x14004c998
mov rcx, qword [rcx]
mov dl, 1
call fcn.140054b20
mov edx, eax
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14004c8c0
mov rbx, qword [rdx + 0xb0]
mov rdi, qword [rdx + 0xb8]
cmp rbx, rdi
je 0x14004ca22
nop dword [rax + rax]
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x14004c9dd
mov rcx, qword [rbx]
mov dl, 1
call fcn.140054b20
mov edx, eax
mov rcx, rsi
call 0x14004c8c0
test al, al
jne 0x14004ca7d
add rbx, 0x20
cmp rbx, rdi
jne 0x14004c9d0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rdx + 0x98]
mov rdi, qword [rdx + 0xa0]
cmp rbx, rdi
jne 0x14004ca40
xor edx, edx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14004c8c0
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x14004ca4d
mov rcx, qword [rbx]
mov dl, 1
call fcn.140054b20
mov edx, eax
mov rcx, rsi
call 0x14004c8c0
test al, al
jne 0x14004ca7d
add rbx, 0x40
cmp rbx, rdi
jne 0x14004ca40
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov al, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14004dc00
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x40]
call fcn.140147800
lea rdx, [rsp + 0x40]
lea rcx, str.CaptureScreen.exe
call fcn.14006c680
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rdx, [rsp + 0x40]
mov ecx, 0x13b
call fcn.14004a430
test eax, eax
je 0x14004dd8f
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x150]
call fcn.140147800
lea r9, [rsp + 0x40]
lea r8, [0x140177600]
mov edx, 0x104
lea rcx, [rsp + 0x150]
call fcn.140017490
mov rbx, qword [0x1401c9d18]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov edx, 0x30
lea rcx, [rsp + 0x20]
call fcn.140004ad0
mov rcx, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], 0x29
mov qword [rsp + 0x38], 0x2f
movups xmm0, xmmword [str.AcService.AntiInternet.CaptureScreen.Show]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14017ac00]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x14017ac10]
movsd qword [rax + 0x20], xmm0
movzx eax, byte [0x14017ac18]
mov byte [rcx + 0x28], al
mov byte [rcx + 0x29], 0
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14006e610
mov ebx, eax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14004dd5f
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004dd5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ddb0
call fcn.1401452fc
test ebx, ebx
sete r8b
lea rdx, [rsp + 0x150]
mov rcx, rdi
call fcn.14004ddc0
mov rbx, rax
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401453a0
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
call fcn.14014bf64
int3
Function at 0x14004e2b0
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
lea rdx, [rsp + 0x20]
lea rcx, str.fsw4internet.exe
call fcn.140063020
test al, al
je 0x14004e2ec
mov ecx, dword [rsp + 0x20]
call fcn.140063930
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.140147800
lea rdx, [rsp + 0x30]
lea rcx, str.fsw4internet.exe
call fcn.14006c680
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rdx, [rsp + 0x30]
mov ecx, 0x13c
call fcn.14004a430
test eax, eax
je 0x14004e341
cmp byte [rbx], 0
mov rcx, rbx
je 0x14004e33c
call fcn.14004e360
jmp 0x14004e341
call fcn.14004e660
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1401453a0
add rsp, 0x150
pop rbx
ret
Function at 0x1400515b0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rcx
call fcn.1400726a0
lea rdx, str.IPv6Controller.stopGuardThread.
mov rcx, rax
call fcn.140072950
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rbx, qword [rdi]
cmp dword [rbx + 8], 0
je 0x140051629
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rbx + 8], eax
je 0x1400516de
movups xmm0, xmmword [rbx]
xor edx, edx
lea rcx, [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
call fcn.140142ddc
test eax, eax
jne 0x1400516d3
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x10], 0
call fcn.1400726a0
lea rdx, str.IPv6Controller.runEnableCmd.
mov rcx, rax
call fcn.140072950
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.140147800
lea r9, [rdi + 0x20]
mov edx, 0x208
lea r8, str.__s___enable_ipv6
lea rcx, [rsp + 0x30]
call fcn.140051350
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.140051880
mov rcx, qword [rdi + 0x18]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rdi + 0x20]
mov qword [rdi + 0x18], 0
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401453a0
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
mov ecx, 2
call fcn.140143150
int3
mov ecx, 5
call fcn.140143150
int3
Function at 0x140051880
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0xe0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x74], xmm0
mov dword [r11 - 0x14], eax
movzx ebx, dl
mov qword [rsp + 0x60], rax
mov rdi, rcx
lea rax, [rsp + 0x50]
mov rdx, rcx
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [r11 - 0x78]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
movups xmmword [r11 - 0x64], xmm0
mov dword [rsp + 0x28], 0x8000000
movups xmmword [r11 - 0x54], xmm0
mov dword [rsp + 0x20], eax
movups xmmword [r11 - 0x44], xmm0
movups xmmword [r11 - 0x34], xmm0
movups xmmword [r11 - 0x24], xmm0
mov dword [rsp + 0x70], WSAGetLastError
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14005195a
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.1400726a0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, rdi
lea rdx, str.runApp:_CreateProcess__s_failed___d
mov r9d, eax
mov rcx, rbx
call fcn.140072400
xor eax, eax
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rdi
ret
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x140051984
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rdi
ret
Function at 0x140053180
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x10], rdx
push r14
sub rsp, 0x40
mov rsi, r8
mov rdi, rdx
mov r14, rcx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdx], al
mov dword [rsp + 0x20], 1
mov rdx, qword [rcx]
lea rcx, [rsp + 0x28]
call fcn.14001c0f0
nop
lea rdx, str.SELECT_mac_FROM_IllegalAdapter_WHERE_pnpid_
lea rcx, [rsp + 0x28]
call fcn.14001c280
mov r8, rsi
mov edx, 1
lea rcx, [rsp + 0x28]
call fcn.14001c1a0
lea rcx, [rsp + 0x28]
call fcn.14001c3a0
mov rbx, 0xffffffffffffffff
cmp eax, 0x64
jne 0x140053236
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.14001c250
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140053220
mov rdx, rax
mov rcx, rdi
call fcn.140008c00
nop
lea rcx, [rsp + 0x28]
call fcn.14001c130
cmp qword [rdi + 0x10], 0
jne 0x1400532b5
mov rdx, qword [r14]
lea rcx, [rsp + 0x28]
call fcn.14001c0f0
nop
lea rdx, str.SELECT_mac_FROM_IllegalAdapterHistory_WHERE_pnpid_
lea rcx, [rsp + 0x28]
call fcn.14001c280
mov r8, rsi
mov edx, 1
lea rcx, [rsp + 0x28]
call fcn.14001c1a0
lea rcx, [rsp + 0x28]
call fcn.14001c3a0
cmp eax, 0x64
jne 0x1400532ab
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.14001c250
inc rbx
cmp byte [rax + rbx], 0
jne 0x140053293
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.140008c00
nop
lea rcx, [rsp + 0x28]
call fcn.14001c130
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400546a0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r14
sub rsp, 0x160
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rsi, r9
mov r14, r8
mov rdi, rdx
test r8, r8
je 0x1400547ad
test r9, r9
je 0x1400547ad
xor edx, edx
mov qword [r8], 0
mov dword [r9], 0xffffffff
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400547ad
xor edx, edx
mov dword [rsp + 0x20], 0x130
mov r8d, 0x12c
lea rcx, [rsp + 0x24]
call fcn.140147800
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1400547a4
nop dword [rax]
lea rax, [rsp + 0x4c]
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140054753
inc rax
test ecx, ecx
jne 0x140054740
test edx, edx
je 0x140054776
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
cmp eax, 1
je 0x140054730
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400547b2
mov r8d, dword [rsp + 0x28]
xor edx, edx
lea ecx, [rdx + 0x2a]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x1400547a4
mov qword [r14], rax
mov rcx, rbx
mov eax, dword [rsp + 0x28]
mov dword [rsi], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x1400547b2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401453a0
mov rbx, qword [rsp + 0x180]
add rsp, 0x160
pop r14
pop rdi
pop rsi
ret
Function at 0x140055520
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x18], 0x10
mov rbx, rcx
mov qword [rsp + 0x38], rdi
jb 0x140055538
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdi, qword [rbx + 0x28]
test rdi, rdi
je 0x14005557d
mov qword [rsp + 0x30], rsi
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140055578
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x140055578
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rsi, qword [rsp + 0x30]
mov rdx, qword [rbx + 0x18]
mov rdi, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400555b8
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400555b3
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400555d1
mov rcx, r8
call fcn.1401452fc
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
add rsp, 0x20
pop rbx
ret
call fcn.14014bf64
int3

Function at 0x1400594c0
Capabilities:
Reference sql statements

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdx, qword [rcx]
lea rcx, [rsp + 0x20]
call fcn.14001c0f0
nop
lea rdx, str.SELECT_COUNT___FROM_RegNic_WHERE_mac_
lea rcx, [rsp + 0x20]
call fcn.14001c280
mov r8, rbx
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.14001c1a0
lea rcx, [rsp + 0x20]
call fcn.14001c3a0
cmp eax, 0x64
jne 0x14005951d
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14001c230
test eax, eax
jle 0x14005951d
mov bl, 1
jmp 0x14005951f
xor bl, bl
lea rcx, [rsp + 0x20]
call fcn.14001c130
movzx eax, bl
add rsp, 0x30
pop rbx
ret
Function at 0x140059b60
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rdx
mov qword [rsp + 0x20], rdx
xor edi, edi
xorps xmm0, xmm0
cmp qword [r8 + 0x10], 8
jae 0x140059bc7
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], 7
mov qword [rdx + 0x18], reloc.WS2_32.dll_ntohs
mov rcx, qword [0x14017cc68]
mov dword [rdx], ecx
movzx ecx, word [0x14017cc6c]
mov word [rdx + 4], cx
movzx ecx, byte [0x14017cc6e]
mov byte [rdx + 6], cl
mov byte [rdx + 7], dil
jmp 0x140059cc4
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
cmp qword [r8 + 0x18], 0x10
jb 0x140059be0
mov r8, qword [r8]
mov qword [rsp + 0x48], 8
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov rax, qword [r8]
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x40], dil
mov rdx, qword [rcx]
lea rcx, [rsp + 0x20]
call fcn.14001c0f0
nop
lea rdx, str.SELECT_manufacturer_FROM_Oui_WHERE_mac_prefix_
lea rcx, [rsp + 0x20]
call fcn.14001c280
lea r8, [rsp + 0x38]
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.14001c1a0
lea rcx, [rsp + 0x20]
call fcn.14001c3a0
cmp eax, 0x64
jne 0x140059ce2
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14001c250
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140059c66
mov rdx, rax
mov rcx, rbx
call fcn.140003c30
nop
lea rcx, [rsp + 0x20]
call fcn.14001c130
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140059cc4
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059cbf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059d61
call fcn.1401452fc
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401453a0
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 7
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov rax, qword [0x14017cc68]
mov dword [rbx], eax
movzx eax, word [0x14017cc6c]
mov word [rbx + 4], ax
movzx eax, byte [0x14017cc6e]
mov byte [rbx + 6], al
mov byte [rbx + 7], 0
lea rcx, [rsp + 0x20]
call fcn.14001c130
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140059cc4
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059cbf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059cbf
call fcn.14014bf64
int3
Function at 0x14005ca90
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
xor r14d, r14d
mov rax, qword [rcx + 0x30]
mov rbx, qword [rax + 0x40]
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax + 0x18]
call rdx
lea r8, [rbp - 0x69]
mov rdx, rax
lea rcx, [rbp - 0x49]
call rbx
nop
mov rcx, qword [rbp - 0x31]
mov qword [rbp + 0x17], rcx
mov rax, qword [rbp - 0x21]
mov qword [rbp + 0x27], rax
lea rax, fcn.140019b10
mov qword [rbp - 0x31], rax
lea rax, [0x140176af0]
mov qword [rbp - 0x21], rax
mov rax, qword [rcx + 0x10]
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 1]
call rax
mov qword [rbp - 0x29], r14
mov rax, qword [rbp - 0x19]
mov qword [rbp + 0x2f], rax
lea rax, [0x140176b90]
mov qword [rbp - 0x19], rax
mov rax, qword [rbp - 0x31]
mov rdx, qword [rax]
lea rax, [fcn.140019b10]
cmp rdx, rax
je 0x14005cb43
lea rcx, [rbp - 0x49]
call rdx
nop
mov rcx, qword [rbp + 0x27]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14005cb6e
lea rcx, [0x14005c950]
mov qword [rbp - 0x59], rcx
mov qword [rbp - 0x51], rdi
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 1]
call rax
jmp 0x14005cc50
mov rbx, qword [rcx + 0x10]
mov rsi, qword [rdi]
movups xmm0, xmmword [rdi + 8]
movups xmmword [rbp - 0x11], xmm0
movsd xmm0, qword [rdi + 0x18]
movsd qword [rbp - 0x59], xmm0
mov ecx, dword [0x1401c9bf8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14005cc02
mov r9, qword [rax + 8]
test r9, r9
je 0x14005cc02
mov r8d, 4
mov ecx, r8d
lea rdx, [r9 + 0x20]
nop
mov rax, qword [rdx]
test rax, rax
je 0x14005cbbd
cmp byte [rax], 0xc
jae 0x14005cbe7
inc ecx
add rdx, 8
cmp ecx, 6
jl 0x14005cbb0
mov rax, r8
nop dword [rax + rax]
mov rcx, qword [r9 + rax*8]
test rcx, rcx
jne 0x14005cbf6
inc r8d
inc rax
cmp rax, 6
jl 0x14005cbd0
jmp 0x14005cc02
movsxd rcx, ecx
mov qword [r9 + rcx*8], r14
movzx ecx, byte [rax]
mov byte [rax + 0x30], cl
jmp 0x14005cc10
movsxd rax, r8d
mov qword [r9 + rax*8], r14
call fcn.140079780
mov ecx, 0x31
call fcn.1401452c0
mov byte [rax + 0x30], reloc.WS2_32.dll_inet_ntoa
mov qword [rax + 8], rsi
movups xmm0, xmmword [rbp - 0x11]
movups xmmword [rax + 0x10], xmm0
movsd xmm0, qword [rbp - 0x59]
movsd qword [rax + 0x20], xmm0
lea rcx, [0x14005c960]
mov qword [rax], rcx
mov qword [rbp - 0x61], rax
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 1]
call rbx
nop
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14005cc50
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rax, qword [rbp + 0x17]
mov rdx, qword [rax]
lea rcx, [rbp - 1]
call rdx
nop
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1401453a0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140061c50
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
xor edi, edi
mov rdx, qword [rcx]
lea rcx, [rsp + 0x20]
call fcn.14001c0f0
nop
lea rdx, str.SELECT_COUNT___FROM_UpdateAcConfig_WHERE_update_file_
lea rcx, [rsp + 0x20]
call fcn.14001c280
mov r9, 0xffffffffffffffff
inc r9
cmp byte [rbx + r9], 0
jne 0x140061c85
mov r8, rbx
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.14001c1d0
lea rcx, [rsp + 0x20]
call fcn.14001c3a0
cmp eax, 0x64
jne 0x140061cbe
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14001c230
mov edi, eax
test edi, edi
sete bl
lea rcx, [rsp + 0x20]
call fcn.14001c130
movzx eax, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret