joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800c1090
Capabilities:
Get geographical location

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x40
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x50], rdi
mov rax, qword [0x1800fca30]
xor rax, rbp
mov qword [rbp], rax
mov eax, dword [0x180103438]
mov r15, r9
mov r13d, r8d
test eax, eax
mov r14d, edx
mov rbx, rcx
jne 0x1800c1111
lea edx, [rax + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1800c10f4
mov dword [0x180103438], 1
jmp 0x1800c1116
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x1800c110b
mov dword [0x180103438], 2
jmp 0x1800c113b
mov eax, dword [0x180103438]
cmp eax, 1
jne 0x1800c112e
mov r9d, dword [rbp + 0x60]
mov r8, r15
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x1800c1242
cmp eax, 2
je 0x1800c113b
test eax, eax
jne 0x1800c1240
mov esi, dword [rbp + 0x68]
xor edi, edi
test esi, esi
jne 0x1800c114a
mov rax, qword [rbx]
mov esi, dword [rax + 4]
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
movsxd r12, eax
je 0x1800c1240
jle 0x1800c1240
xor edx, edx
mov rax, 0xffffffffffffffe0
mov rcx, r12
div r12
cmp rax, 1
jb 0x1800c1240
add rcx, 0x10
cmp rcx, 0x400
ja 0x1800c11c8
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x1800c11a6
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1800c95a0
sub rsp, rax
lea rbx, [rsp + 0x30]
test rbx, rbx
je 0x1800c1240
mov dword [rbx], 0xcccc
jmp 0x1800c11db
call fcn.1800a3360
test rax, rax
mov rbx, rax
je 0x1800c11df
mov dword [rax], 0xdddd
add rbx, 0x10
test rbx, rbx
je 0x1800c1240
mov r9d, r12d
mov r8, rbx
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1800c122a
mov eax, dword [rbp + 0x60]
or r9d, 0xffffffff
mov r8, rbx
test eax, eax
lea edx, [r9 + 2]
mov ecx, esi
jne 0x1800c1219
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
jmp 0x1800c1222
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
cmp dword [rbx - 0x10], 0xdddd
lea rcx, [rbx - 0x10]
jne 0x1800c123c
call fcn.1800a3430
mov eax, edi
jmp 0x1800c1242
xor eax, eax
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.1800a3210
mov rbx, qword [rbp + 0x40]
mov rsi, qword [rbp + 0x48]
mov rdi, qword [rbp + 0x50]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1800c13a0
Capabilities:
Get geographical location

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x50
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x50], rdi
mov rax, qword [0x1800fca30]
xor rax, rbp
mov qword [rbp], rax
mov eax, dword [0x18010343c]
mov r15, r9
mov r13d, r8d
test eax, eax
mov r14d, edx
mov rbx, rcx
jne 0x1800c1458
lea edx, [rax + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1800c1404
mov dword [0x18010343c], 1
jmp 0x1800c1466
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x1800c1452
mov dword [0x18010343c], 2
mov r9d, dword [rbp + 0x60]
mov r8, r15
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.1800a3210
mov rbx, qword [rbp + 0x40]
mov rsi, qword [rbp + 0x48]
mov rdi, qword [rbp + 0x50]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov eax, dword [0x18010343c]
cmp eax, 2
je 0x1800c1419
test eax, eax
je 0x1800c1419
cmp eax, 1
jne 0x1800c148e
mov esi, dword [rbp + 0x68]
xor edi, edi
test esi, esi
jne 0x1800c1475
mov rax, qword [rbx]
mov esi, dword [rax + 4]
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
movsxd r12, eax
jne 0x1800c1492
xor eax, eax
jmp 0x1800c142c
jle 0x1800c148e
xor edx, edx
mov rax, 0xffffffffffffffe0
div r12
cmp rax, 2
jb 0x1800c148e
lea rcx, [r12 + r12 + 0x10]
cmp rcx, 0x400
ja 0x1800c14e5
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x1800c14c7
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1800c95a0
sub rsp, rax
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x1800c148e
mov dword [rbx], 0xcccc
jmp 0x1800c14f8
call fcn.1800a3360
test rax, rax
mov rbx, rax
je 0x1800c14fc
mov dword [rax], 0xdddd
add rbx, 0x10
test rbx, rbx
je 0x1800c148e
mov r9d, r12d
mov r8, rbx
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1800c154f
mov eax, dword [rbp + 0x60]
or r9d, 0xffffffff
xor edx, edx
test eax, eax
mov qword [rsp + 0x38], rdi
mov r8, rbx
mov ecx, esi
mov qword [rsp + 0x30], rdi
jne 0x1800c153e
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
jmp 0x1800c1547
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
cmp dword [rbx - 0x10], 0xdddd
lea rcx, [rbx - 0x10]
jne 0x1800c1561
call fcn.1800a3430
mov eax, edi
jmp 0x1800c142c
Function at 0x1800c7f00
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
sub rsp, 0x20
mov rbp, rdx
xor edi, edi
xor edx, edx
lea r8d, [rdi + 1]
mov esi, ecx
call fcn.1800c21b0
cmp rax, 0xffffffffffffffff
mov r13, rax
je 0x1800c80a4
lea r8d, [rdi + 2]
xor edx, edx
mov ecx, esi
call fcn.1800c21b0
cmp rax, 0xffffffffffffffff
je 0x1800c80a4
mov qword [rsp + 0x40], rbx
mov rbx, rbp
mov qword [rsp + 0x50], r14
sub rbx, rax
test rbx, rbx
jle 0x1800c8023
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r14d, 0x1000
lea edx, [rdi + 8]
mov rcx, rax
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rbp, rax
jne 0x1800c7fa9
call fcn.1800a4830
mov dword [rax], 0xc
call fcn.1800a4830
mov eax, dword [rax]
mov rbx, qword [rsp + 0x40]
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r13
pop rdi
pop rsi
ret
mov edx, 0x8000
mov ecx, esi
mov qword [rsp + 0x48], r12
call fcn.1800c80c0
mov r12d, eax
nop
mov r8d, ebx
cmp rbx, r14
mov rdx, rbp
cmovge r8d, r14d
mov ecx, esi
call fcn.1800bbab0
cmp eax, 0xffffffff
je 0x1800c7fe5
cdqe
sub rbx, rax
test rbx, rbx
jg 0x1800c7fc0
jmp 0x1800c7ffe
call fcn.1800a4860
cmp dword [rax], 5
jne 0x1800c7ffa
call fcn.1800a4830
mov dword [rax], 0xd
or rdi, 0xffffffffffffffff
mov edx, r12d
mov ecx, esi
call fcn.1800c80c0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r12, qword [rsp + 0x48]
jmp 0x1800c807c
test rbx, rbx
jns 0x1800c8086
xor r8d, r8d
mov rdx, rbp
mov ecx, esi
call fcn.1800c21b0
cmp rax, 0xffffffffffffffff
je 0x1800c7f8a
mov ecx, esi
call fcn.1800c4390
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
neg eax
sbb rdi, rdi
neg rdi
sub rdi, 1
cmp rdi, 0xffffffffffffffff
jne 0x1800c8086
call fcn.1800a4830
mov dword [rax], 0xd
call fcn.1800a4860
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
cmp rdi, 0xffffffffffffffff
je 0x1800c7f8a
xor r8d, r8d
mov rdx, r13
mov ecx, esi
call fcn.1800c21b0
cmp rax, 0xffffffffffffffff
je 0x1800c7f8a
xor eax, eax
jmp 0x1800c7f91
call fcn.1800a4830
mov rbp, qword [rsp + 0x58]
mov eax, dword [rax]
add rsp, 0x20
pop r13
pop rdi
pop rsi
ret
Function at 0x1800c92b8
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x1800fca30]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.1800a3870
and qword [rbx + 0x50], 0
and dword [rbx + 0x58], 0
and dword [rbx + 0x5c], 0
lea rax, [0x180000000]
mov esi, 0x94
lea rcx, [rsp + 0x20]
mov r8, rsi
xor edx, edx
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rax
mov dword [rbx], 0x60
mov byte [rbx + 0x18], 0
call fcn.1800a3870
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x30], 2
mov esi, 1
jne 0x1800c934b
cmp dword [rsp + 0x24], 5
jb 0x1800c9365
jmp 0x1800c9361
cmp dword [rsp + 0x30], esi
jne 0x1800c9365
cmp dword [rsp + 0x24], 4
ja 0x1800c9361
jne 0x1800c9365
cmp dword [rsp + 0x28], 0
jbe 0x1800c9365
mov byte [rbx + 0x18], sil
lea rax, [0x1800d3b28]
lea rcx, [rbx + 0x28]
mov dword [rbx + 0x1c], 0x800
mov qword [rbx + 0x20], rax
call fcn.180063df0
movzx ecx, byte [0x1801039d9]
test eax, eax
mov rax, rbx
cmovs ecx, esi
mov byte [0x1801039d9], cl
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1800a3210
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400945d0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov qword [rsp], rax
mov qword [rsp + 8], 0
jmp 0x1400945ff
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 4
jae 0x140094643
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp]
xor rcx, rax
mov rax, rcx
mov qword [rsp], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp]
imul rcx, rax
mov rax, rcx
mov qword [rsp], rax
jmp 0x1400945f2
mov rax, qword [rsp]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
add rsp, 0x28
ret
Function at 0x1400ad500
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x160
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x130
rep stosb byte [rdi], al
mov dword [rsp + 0x30], 0x130
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1400ad592
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x178]
call fcn.140189e00
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400ad57f
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
jmp 0x1400ad59f
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1400ad54f
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x160
pop rdi
ret
Function at 0x1400f3cc0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov dword [rsp + 4], 0
cmp qword [rsp + 0x30], 0
je 0x1400f3d17
jmp 0x1400f3cff
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
test eax, eax
je 0x1400f3d17
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
jmp 0x1400f3cf2
movsxd rax, dword [rsp + 4]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x88]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x60], rax
mov dword [rsp], 0
jmp 0x1400f3d69
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 6]
cmp dword [rsp], eax
jae 0x1400f3ef1
mov eax, dword [rsp]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1400f3e48
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x18]
movzx eax, byte [rax]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x18]
inc rax
mov qword [rsp + 0x18], rax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x4c], eax
je 0x1400f3e2f
mov rax, qword [rsp + 0x18]
dec rax
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x10]
dec rax
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x18]
movzx ecx, byte [rcx]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
jmp 0x1400f3e50
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1400f3dbf
mov dword [rsp + 0x20], 0
cmp dword [rsp + 0x20], 0
jne 0x1400f3eec
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov dword [rsp + 8], 0
cmp qword [rsp + 0x40], 0
je 0x1400f3e9c
jmp 0x1400f3e84
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movsx eax, byte [rax]
test eax, eax
je 0x1400f3e9c
mov eax, dword [rsp + 8]
inc eax
mov dword [rsp + 8], eax
jmp 0x1400f3e77
movsxd rax, dword [rsp + 8]
cmp qword [rsp + 0x58], rax
jne 0x1400f3eec
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0xc], 0
jne 0x1400f3eb7
xor eax, eax
jmp 0x1400f3ef3
cmp qword [rsp + 0x90], 0
je 0x1400f3ed4
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 8]
mov dword [rax], ecx
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
jmp 0x1400f3ef3
jmp 0x1400f3d61
xor eax, eax
add rsp, 0x78
ret
Function at 0x14018fc00
Capabilities:
Delete registry key
Open recentdocs registry key

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerRecentDocs
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14018fc53
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeA]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x48
ret

Function at 0x14018fc60
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerUserAssist
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14018fcb3
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeA]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x48
ret

Function at 0x14018fcc0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
lea rax, str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsShellBags
mov qword [rsp + 0x60], rax
lea rax, str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsShellBagMRU
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x40]
add rax, 0x10
mov qword [rsp + 0x50], rax
jmp 0x14018fd13
mov rax, qword [rsp + 0x38]
add rax, 8
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x38], rax
je 0x14018fd76
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14018fd74
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeA]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14018fd05
add rsp, 0x78
ret
Function at 0x1402092c0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov edx, 0x10000000
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call qword [sym.imp.dbghelp.dll_SymUnloadModule64]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call qword [sym.imp.dbghelp.dll_SymCleanup]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x18], 0xf
jbe 0x140209336
mov dword [rsp + 0x24], 1
jmp 0x14020933e
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140209367
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [rsp + 0x60]
call fcn.140078080
add rsp, 0x58
ret
Function at 0x1402342e0
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x1404cccc0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r13, qword [rcx]
mov ebp, r8d
mov rsi, rcx
lea r8, [rsp + 0x20]
mov ebx, 2
xor r14d, r14d
mov ecx, ebx
mov r15, r9
mov r12, qword [r13 + 0x11b0]
mov rdi, rdx
mov dword [r9], r14d
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x14023434c
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.140252510
jmp 0x14023442a
mov ebx, reloc.WS2_32.dll_socket
lea r8, [rsp + 0x58]
mov ecx, ebx
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x14023437c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.140252510
jmp 0x14023442a
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x1402343a0
cmp ecx, 1
je 0x14023438f
mov ebx, r14d
call fcn.140234e10
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x1402343a5
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x140400454]
xorps xmm0, xmm0
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x28], xmm0
setne r14b
mov dword [rsp + 0x2c], ebx
inc r14d
mov r9d, ebp
mov edx, listen
mov dword [rsp + 0x30], r14d
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.14022cf40
lea rcx, [rsp + 0x58]
call fcn.140234170
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.140234a70
test al, al
je 0x140234419
mov dword [r15], 1
jmp 0x140234428
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.140240c80
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1403a7490
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x1402342e0
Function at 0x140244570
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp byte [0x1404d22f0], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x14024461f
test rdi, rdi
je 0x14024461f
mov eax, dword [0x1404d22f4]
test eax, eax
jne 0x140244617
mov r8d, dword [rsp + 0x60]
lea rsi, str.recv
mov r9, rsi
lea rcx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rdx, rdi
call fcn.1402442c0
mov ecx, 2
call fcn.1403c1378
mov r9d, dword [rsp + 0x60]
lea rdx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov r8, rdi
call fcn.14022cf10
mov rcx, qword [0x1404d22e8]
call fcn.1403c198c
call fcn.1403bc068
mov dword [rax], listen
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
dec eax
mov dword [0x1404d22f4], eax
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test rdi, rdi
je 0x140244647
mov r8d, dword [rsp + 0x60]
lea rcx, str.RECV__s:_d_recv__lu____ld_n
mov r9d, esi
mov dword [rsp + 0x20], eax
mov rdx, rdi
call fcn.1402442c0
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1402446c0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp byte [0x1404d22f0], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x14024476f
test rdi, rdi
je 0x14024476f
mov eax, dword [0x1404d22f4]
test eax, eax
jne 0x140244767
mov r8d, dword [rsp + 0x60]
lea rsi, str.send
mov r9, rsi
lea rcx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rdx, rdi
call fcn.1402442c0
mov ecx, 2
call fcn.1403c1378
mov r9d, dword [rsp + 0x60]
lea rdx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov r8, rdi
call fcn.14022cf10
mov rcx, qword [0x1404d22e8]
call fcn.1403c198c
call fcn.1403bc068
mov dword [rax], listen
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
dec eax
mov dword [0x1404d22f4], eax
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
test rdi, rdi
je 0x140244797
mov r8d, dword [rsp + 0x60]
lea rcx, str.SEND__s:_d_send__lu____ld_n
mov r9d, esi
mov dword [rsp + 0x20], eax
mov rdx, rdi
call fcn.1402442c0
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140252890
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x1404cccc0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r13, qword [rcx]
mov ebp, r8d
mov rsi, rcx
lea r8, [rsp + 0x20]
mov ebx, 2
xor r14d, r14d
mov ecx, ebx
mov r15, r9
mov r12, qword [r13 + 0x11b0]
mov rdi, rdx
mov dword [r9], r14d
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x14023434c
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.140252510
jmp 0x14023442a
mov ebx, reloc.WS2_32.dll_socket
lea r8, [rsp + 0x58]
mov ecx, ebx
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x14023437c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.140252510
jmp 0x14023442a
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x1402343a0
cmp ecx, 1
je 0x14023438f
mov ebx, r14d
call fcn.140234e10
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x1402343a5
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x140400454]
xorps xmm0, xmm0
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x28], xmm0
setne r14b
mov dword [rsp + 0x2c], ebx
inc r14d
mov r9d, ebp
mov edx, listen
mov dword [rsp + 0x30], r14d
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.14022cf40
lea rcx, [rsp + 0x58]
call fcn.140234170
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.140234a70
test al, al
je 0x140234419
mov dword [r15], 1
jmp 0x140234428
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.140240c80
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1403a7490
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x1402342e0