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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1801529da
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1801529df
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x180152a28
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x180152a28
dec r8
sub rdx, 1
jne 0x180152a0e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x180182124
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x18016b55a
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x18016b53d
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x18016b528

Function at 0x180182138
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x18016b592
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x18016b575
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x18016b560

Function at 0x18018d304
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x28
call fcn.1801f0580
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x18018d356
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov r9d, 2
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x18018d356
sub ecx, 1
je 0x18018d34f
cmp ecx, 1
je 0x18018d348
xor eax, eax
jmp 0x18018d35b
mov eax, 3
jmp 0x18018d35b
mov eax, 1
jmp 0x18018d35b
mov eax, 2
add rsp, 0x28
ret
Function at 0x1801ce820
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1801ce88f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1801ce88f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1801ce88f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1801ce88f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1801ce88f
cmp dword [rcx + 0x84], 0xe
jbe 0x1801ce88f
cmp dword [rcx + 0xf8], 0
je 0x1801ce88f
mov ecx, ebx
call fcn.1801ce9b8
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1801ce608
nop
cmp dword [rbp + 0x20], 0
jne 0x1801ce8f0
call fcn.1801fe9c0
cmp eax, 1
jne 0x1801ce8e0
xor dl, dl
jmp 0x1801ce8ea
call fcn.1801fe77c
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x1801ce8fb
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1801ce904
int3
xor r8d, r8d
xor edx, edx
jmp 0x1801ce820

Function at 0x1801ceaa0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1801ce88f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1801ce88f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1801ce88f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1801ce88f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1801ce88f
cmp dword [rcx + 0x84], 0xe
jbe 0x1801ce88f
cmp dword [rcx + 0xf8], 0
je 0x1801ce88f
mov ecx, ebx
call fcn.1801ce9b8
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1801ce608
nop
cmp dword [rbp + 0x20], 0
jne 0x1801ce8f0
call fcn.1801fe9c0
cmp eax, 1
jne 0x1801ce8e0
xor dl, dl
jmp 0x1801ce8ea
call fcn.1801fe77c
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x1801ce8fb
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1801ce904
int3
xor r8d, r8d
xor edx, edx
jmp 0x1801ce820
Function at 0x1801d0b40
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1801d0b77
call fcn.18019d6cc
mov dword [rax], socket
call fcn.18019d1b8
xor eax, eax
jmp 0x1801d0c09
mov rdx, r9
mov rcx, r8
call fcn.1801d0990
mov rbx, rax
test rax, rax
je 0x1801d0c06
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x28], rax
lea r8, [0x1801d07a0]
mov eax, dword [rsp + 0x60]
mov rdx, rsi
mov r9, rbx
mov dword [rsp + 0x20], eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1801d0bf3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.18019d65c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1801d0bda
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1801d0be9
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1801f6370
jmp 0x1801d0c06
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1801d0c03
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1801d10ec
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1801511c0
sub rsp, rax
mov rax, qword [0x18032b600]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1801e9494
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1801d113b
mov rax, rbp
jmp 0x1801d1247
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x3395b0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1801fdc9c
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x3395b0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1801d1243
mov dword [rsp + 0x30], edi
lea r9, [rsp + 0x30]
mov rcx, qword [rcx + r12*8 + 0x28]
lea rdx, [rsp + 0x40]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1801d1243
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1801fdc9c
test rax, rax
js 0x1801d1243
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1801d1243
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1801d1235
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1801d1235
cmp byte [rcx], 0xd
jne 0x1801d121b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1801d122a
cmp byte [rcx + 1], 0xa
jne 0x1801d122a
inc rcx
jmp 0x1801d122a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x32bb20]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1801d11fd
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1801d1247
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180150a90
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1801d58b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
mov qword [r11 + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor ebp, ebp
mov qword [r11 - 0x48], rdx
lea rax, [r11 + 0x18]
mov qword [r11 - 0x40], rcx
mov rbx, rdx
mov qword [r11 - 0x38], rax
mov r14, rcx
lea r12, [0x180000000]
lea r15d, [rbp + 1]
mov edi, ebp
movzx eax, word [r14]
cmp ax, word [rdi + r12 + 0x2bcc84]
je 0x1801d5913
cmp ax, word [rdi + r12 + 0x2bcc8c]
jne 0x1801d59ba
mov rax, qword [rbx + 0x10]
inc rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x1801d592f
cmp rax, qword [rbx + 8]
jbe 0x1801d592f
movzx ecx, bp
jmp 0x1801d594f
mov rsi, qword [rbx]
mov rcx, qword [rsi]
call fcn.1801ff288
movzx ecx, ax
mov eax, 0xffff
cmp cx, ax
je 0x1801d594d
add qword [rsi + 8], r15
jmp 0x1801d594f
mov ecx, ebp
add rdi, 2
mov word [r14], cx
cmp rdi, 6
jne 0x1801d58f5
mov rax, qword [rbx + 0x10]
mov r13d, 0xfffd
dec rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x1801d597a
cmp rax, qword [rbx + 8]
ja 0x1801d5996
movzx eax, cx
sub ax, r15w
cmp ax, r13w
ja 0x1801d5996
mov rdx, qword [rbx]
dec qword [rdx + 8]
mov rdx, qword [rdx]
call fcn.1801ff4ac
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x80], rax
inc rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x1801d59ce
cmp rax, qword [rbx + 8]
jbe 0x1801d59ce
movzx eax, bp
jmp 0x1801d59eb
lea rcx, [rsp + 0x20]
call fcn.1801dabc8
mov eax, 7
jmp 0x1801d5a91
mov rdi, qword [rbx]
mov rcx, qword [rdi]
call fcn.1801ff288
mov ecx, 0xffff
cmp ax, cx
je 0x1801d59e9
add qword [rdi + 8], r15
jmp 0x1801d59eb
mov eax, ebp
mov word [r14], ax
mov rdi, rbp
cmp ax, word [rdi + r12 + 0x2bcc98]
je 0x1801d5a0c
cmp ax, word [rdi + r12 + 0x2bcca8]
jne 0x1801d5aaf
mov rax, qword [rbx + 0x10]
inc rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x1801d5a28
cmp rax, qword [rbx + 8]
jbe 0x1801d5a28
movzx ecx, bp
jmp 0x1801d5a48
mov rsi, qword [rbx]
mov rcx, qword [rsi]
call fcn.1801ff288
movzx ecx, ax
mov eax, 0xffff
cmp cx, ax
je 0x1801d5a46
add qword [rsi + 8], r15
jmp 0x1801d5a48
mov ecx, ebp
add rdi, 2
mov word [r14], cx
movzx eax, cx
cmp rdi, 0xa
jne 0x1801d59f2
mov rax, qword [rbx + 0x10]
dec rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x1801d5a70
cmp rax, qword [rbx + 8]
ja 0x1801d5a8c
movzx eax, cx
sub ax, r15w
cmp ax, r13w
ja 0x1801d5a8c
mov rdx, qword [rbx]
dec qword [rdx + 8]
mov rdx, qword [rdx]
call fcn.1801ff4ac
mov eax, 3
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, [rsp + 0x20]
call fcn.1801dabc8
movzx eax, al
xor eax, r15d
lea eax, [rax*4 + 3]
jmp 0x1801d5a91
Function at 0x1801e26d4
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x18032b600]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x1802bcdb8]
mov r14, rcx
call fcn.18020120c
xor edi, edi
test rax, rax
je 0x1801e284f
mov ebx, edi
call fcn.18019d6cc
mov ebp, dword [rax]
call fcn.18019d6cc
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, r14
mov dword [rax], edi
call fcn.1802010d0
mov rsi, rax
test rax, rax
je 0x1801e2749
call fcn.18019d6cc
mov dword [rax], ebp
jmp 0x1801e277a
call fcn.18019d6cc
cmp dword [rax], 0x22
jne 0x1801e2847
call fcn.18019d6cc
xor r8d, r8d
mov rdx, r14
xor ecx, ecx
mov dword [rax], ebp
call fcn.1802010d0
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x1801e2847
or rax, 0xffffffffffffffff
mov rcx, rax
inc rcx
cmp word [rsi + rcx*2], di
jne 0x1801e2781
cmp rcx, 3
je 0x1801e2829
inc rax
cmp word [rsi + rax*2], di
jne 0x1801e2794
cmp rax, 5
jb 0x1801e2847
mov r8w, 0x5c
mov dx, 0x2f
cmp word [rsi], r8w
je 0x1801e27bf
cmp word [rsi], dx
jne 0x1801e2847
cmp word [rsi + 2], r8w
je 0x1801e27cc
cmp word [rsi + 2], dx
jne 0x1801e2847
cmp word [rsi + 4], r8w
je 0x1801e2847
cmp word [rsi + 4], dx
je 0x1801e2847
lea rcx, [rsi + 6]
jmp 0x1801e27ee
cmp ax, r8w
je 0x1801e27f6
cmp ax, dx
je 0x1801e27f6
add rcx, 2
movzx eax, word [rcx]
test ax, ax
jne 0x1801e27df
test ax, ax
je 0x1801e2847
add rcx, 2
movzx eax, word [rcx]
test ax, ax
je 0x1801e2847
cmp ax, r8w
je 0x1801e281e
cmp ax, dx
je 0x1801e281e
add rcx, 2
movzx eax, word [rcx]
test ax, ax
jne 0x1801e2807
test ax, ax
je 0x1801e2829
cmp word [rcx + 2], di
jne 0x1801e2847
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1801e283a
mov dil, 1
mov rcx, rbx
call fcn.18019d4c0
mov al, dil
jmp 0x1801e2851
mov rcx, rbx
call fcn.18019d4c0
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180150a90
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1801eadec
Capabilities:
Move file

Disassembly:
cmp qword [rdx + 0x18], 0xf
jbe 0x180136d8a
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 0xf
jbe 0x180136d94
mov rcx, qword [rcx]
jmp 0x1801eadec
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov r14, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.18019fdb0
mov rax, qword [rbp - 0x58]
mov edi, 0xfde9
cmp dword [rax + 0xc], edi
jne 0x1801eae37
xor ebx, ebx
cmp byte [rbp - 0x48], bl
je 0x1801eae6b
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1801eae6b
call fcn.1801fb270
xor ebx, ebx
test eax, eax
jne 0x1801eae59
cmp byte [rbp - 0x48], bl
je 0x1801eae52
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, 1
jmp 0x1801eae6b
cmp byte [rbp - 0x48], bl
je 0x1801eae69
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, ebx
mov r9d, edi
mov qword [rbp - 0x30], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x28], rbx
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x20], rbx
mov rcx, rsi
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
mov byte [rbp - 8], bl
call fcn.1801cf7c8
mov esi, eax
test eax, eax
je 0x1801eaea7
call fcn.18019d6cc
or edi, 0xffffffff
mov dword [rax], esi
jmp 0x1801eaf00
mov r9d, edi
mov qword [rbp - 0x60], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x58], rbx
lea rdx, [rbp - 0x60]
mov qword [rbp - 0x50], rbx
mov rcx, r14
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
mov byte [rbp - 0x38], bl
call fcn.1801cf7c8
mov edi, eax
test eax, eax
je 0x1801eaee3
call fcn.18019d6cc
mov dword [rax], edi
or edi, 0xffffffff
jmp 0x1801eaef2
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x20]
call fcn.18020940c
mov edi, eax
cmp byte [rbp - 0x38], bl
je 0x1801eaf00
mov rcx, qword [rbp - 0x50]
call fcn.1801f6370
cmp byte [rbp - 8], bl
je 0x1801eaf0e
mov rcx, qword [rbp - 0x20]
call fcn.1801f6370
lea r11, [rsp + 0x80]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1801eb19c
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
test rcx, rcx
jne 0x1801eb1bb
call fcn.18020943c
jmp 0x1801eb270
and qword [rbp - 0x30], 0
lea rcx, [rbp - 0x50]
and qword [rbp - 0x28], 0
xor edx, edx
and qword [rbp - 0x20], 0
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
mov byte [rbp - 8], 0
call fcn.18019fdb0
mov rax, qword [rbp - 0x48]
mov r9d, 0xfde9
cmp dword [rax + 0xc], r9d
jne 0x1801eb206
cmp byte [rbp - 0x38], 0
je 0x1801eb23b
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1801eb23b
call fcn.1801fb270
test eax, eax
jne 0x1801eb227
cmp byte [rbp - 0x38], al
je 0x1801eb21f
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1801eb23b
cmp byte [rbp - 0x38], 0
je 0x1801eb238
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
xor r9d, r9d
lea r8, [rbp + 0x10]
mov rcx, rbx
lea rdx, [rbp - 0x30]
call fcn.1801cf7c8
test eax, eax
je 0x1801eb254
or ebx, 0xffffffff
jmp 0x1801eb25f
mov rcx, qword [rbp - 0x20]
call fcn.18020943c
mov ebx, eax
cmp byte [rbp - 8], 0
je 0x1801eb26e
mov rcx, qword [rbp - 0x20]
call fcn.1801f6370
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret
Function at 0x1801ebd14
Capabilities:
Timestomp file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x18032b600]
xor rax, rsp
mov qword [rbp + 0x37], rax
movsxd rbx, ecx
mov rdi, rdx
cmp ebx, 0xfffffffe
jne 0x1801ebd57
call fcn.18019d6cc
mov dword [rax], 9
jmp 0x1801ebf12
xor esi, esi
test ecx, ecx
js 0x1801ebf02
cmp ebx, dword [0x1803399b0]
jae 0x1801ebf02
mov rcx, rbx
lea rdx, [0x1803395b0]
and ecx, 0x3f
mov rax, rbx
shr rax, 6
lea rcx, [rcx + rcx*8]
mov rax, qword [rdx + rax*8]
test byte [rax + rcx*8 + 0x38], 1
je 0x1801ebf02
mov qword [rbp - 0x29], rsi
test rdi, rdi
jne 0x1801ebdb0
lea rcx, [rbp - 0x25]
call fcn.1801d04f4
mov eax, dword [rbp - 0x25]
lea rdi, [rbp - 0x29]
mov dword [rbp - 0x29], eax
xorps xmm0, xmm0
lea rdx, [rdi + 4]
xor eax, eax
lea rcx, [rbp - 1]
movups xmmword [rbp - 1], xmm0
mov dword [rbp + 0x1f], eax
movups xmmword [rbp + 0xf], xmm0
call fcn.1801eaca8
test eax, eax
je 0x1801ebde1
call fcn.18019d6cc
mov dword [rax], socket
jmp 0x1801ebf12
movzx eax, word [rbp + 0x13]
lea r8, [rbp + 0x27]
xorps xmm0, xmm0
mov word [rbp - 0xd], si
mov r14d, 0x76c
mov word [rbp - 3], si
add ax, r14w
mov qword [rbp - 0x21], rsi
mov word [rbp - 0x11], ax
lea rdx, [rbp - 0x11]
movzx eax, word [rbp + 0xf]
xor ecx, ecx
inc ax
mov word [rbp - 0xf], ax
movzx eax, word [rbp + 0xb]
mov word [rbp - 0xb], ax
movzx eax, word [rbp + 7]
mov word [rbp - 9], ax
movzx eax, word [rbp + 3]
mov word [rbp - 7], ax
movzx eax, word [rbp - 1]
mov word [rbp - 5], ax
movups xmmword [rbp + 0x27], xmm0
call qword [sym.imp.KERNEL32.dll_TzSpecificLocalTimeToSystemTime]
test eax, eax
je 0x1801ebdd1
lea rdx, [rbp - 0x21]
lea rcx, [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x1801ebdd1
mov rdx, rdi
lea rcx, [rbp - 1]
call fcn.1801eaca8
test eax, eax
jne 0x1801ebdd1
movzx eax, word [rbp + 0x13]
lea r8, [rbp + 0x27]
add ax, r14w
mov word [rbp - 3], si
mov word [rbp - 0x11], ax
lea rdx, [rbp - 0x11]
movzx eax, word [rbp + 0xf]
xor ecx, ecx
inc ax
mov qword [rbp - 0x19], rsi
mov word [rbp - 0xf], ax
movzx eax, word [rbp + 0xb]
mov word [rbp - 0xb], ax
movzx eax, word [rbp + 7]
mov word [rbp - 9], ax
movzx eax, word [rbp + 3]
mov word [rbp - 7], ax
movzx eax, word [rbp - 1]
mov word [rbp - 5], ax
call qword [sym.imp.KERNEL32.dll_TzSpecificLocalTimeToSystemTime]
test eax, eax
je 0x1801ebdd1
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x1801ebdd1
mov ecx, ebx
call fcn.1801e99cc
mov rcx, rax
lea r9, [rbp - 0x21]
lea r8, [rbp - 0x19]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
je 0x1801ebdd1
xor eax, eax
jmp 0x1801ebf15
call fcn.18019d6cc
mov dword [rax], 9
call fcn.18019d1b8
or eax, 0xffffffff
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.180150a90
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1801ebf3c
Capabilities:
Timestomp file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x18032b600]
xor rax, rsp
mov qword [rbp + 0x3f], rax
movsxd rbx, ecx
mov rdi, rdx
cmp ebx, 0xfffffffe
jne 0x1801ebf7f
call fcn.18019d6cc
mov dword [rax], 9
jmp 0x1801ec13f
xor esi, esi
test ecx, ecx
js 0x1801ec12f
cmp ebx, dword [0x1803399b0]
jae 0x1801ec12f
mov rcx, rbx
lea rdx, [0x1803395b0]
and ecx, 0x3f
mov rax, rbx
shr rax, 6
lea rcx, [rcx + rcx*8]
mov rax, qword [rdx + rax*8]
test byte [rax + rcx*8 + 0x38], 1
je 0x1801ec12f
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
test rdi, rdi
jne 0x1801ebfdd
lea rcx, [rbp + 0x27]
call fcn.1801d056c
mov rax, qword [rbp + 0x27]
lea rdi, [rbp + 0x1f]
mov qword [rbp + 0x1f], rax
xorps xmm0, xmm0
lea rdx, [rdi + 8]
xor eax, eax
lea rcx, [rbp - 9]
movups xmmword [rbp - 9], xmm0
mov dword [rbp + 0x17], eax
movups xmmword [rbp + 7], xmm0
call fcn.1801eacf8
test eax, eax
je 0x1801ec00e
call fcn.18019d6cc
mov dword [rax], socket
jmp 0x1801ec13f
movzx eax, word [rbp + 0xb]
lea r8, [rbp + 0x2f]
xorps xmm0, xmm0
mov word [rbp - 0x15], si
mov r14d, 0x76c
mov word [rbp - 0xb], si
add ax, r14w
mov qword [rbp - 0x29], rsi
mov word [rbp - 0x19], ax
lea rdx, [rbp - 0x19]
movzx eax, word [rbp + 7]
xor ecx, ecx
inc ax
mov word [rbp - 0x17], ax
movzx eax, word [rbp + 3]
mov word [rbp - 0x13], ax
movzx eax, word [rbp - 1]
mov word [rbp - 0x11], ax
movzx eax, word [rbp - 5]
mov word [rbp - 0xf], ax
movzx eax, word [rbp - 9]
mov word [rbp - 0xd], ax
movups xmmword [rbp + 0x2f], xmm0
call qword [sym.imp.KERNEL32.dll_TzSpecificLocalTimeToSystemTime]
test eax, eax
je 0x1801ebffe
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x1801ebffe
mov rdx, rdi
lea rcx, [rbp - 9]
call fcn.1801eacf8
test eax, eax
jne 0x1801ebffe
movzx eax, word [rbp + 0xb]
lea r8, [rbp + 0x2f]
add ax, r14w
mov word [rbp - 0xb], si
mov word [rbp - 0x19], ax
lea rdx, [rbp - 0x19]
movzx eax, word [rbp + 7]
xor ecx, ecx
inc ax
mov qword [rbp - 0x21], rsi
mov word [rbp - 0x17], ax
movzx eax, word [rbp + 3]
mov word [rbp - 0x13], ax
movzx eax, word [rbp - 1]
mov word [rbp - 0x11], ax
movzx eax, word [rbp - 5]
mov word [rbp - 0xf], ax
movzx eax, word [rbp - 9]
mov word [rbp - 0xd], ax
call qword [sym.imp.KERNEL32.dll_TzSpecificLocalTimeToSystemTime]
test eax, eax
je 0x1801ebffe
lea rdx, [rbp - 0x21]
lea rcx, [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x1801ebffe
mov ecx, ebx
call fcn.1801e99cc
mov rcx, rax
lea r9, [rbp - 0x29]
lea r8, [rbp - 0x21]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
je 0x1801ebffe
xor eax, eax
jmp 0x1801ec142
call fcn.18019d6cc
mov dword [rax], 9
call fcn.18019d1b8
or eax, 0xffffffff
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.180150a90
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret