joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180013c38
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x30
mov rbx, rdx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], 0xf
mov byte [rdx], al
mov dword [rsp + 0x20], 2
xor r8d, r8d
lea edx, [rax + 5]
mov rcx, rbx
call fcn.180004190
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180013c82
mov rcx, qword [rbx]
nop
mov dword [rcx], 0xbe6b2d96
nop
mov word [rcx + 4], 0xda26
mov edx, 0xda4af340
mov r8d, 6
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov eax, edx
shr eax, 0x10
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x180013c9b
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180013cc0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x30
mov rbx, rdx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], 0xf
mov byte [rdx], al
mov dword [rsp + 0x20], 2
xor r8d, r8d
lea edx, [rax + 5]
mov rcx, rbx
call fcn.180004190
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180013d0a
mov rcx, qword [rbx]
nop
mov dword [rcx], 0xb8d822c9
nop
mov word [rcx + 4], 0x6e43
mov edx, 0xdef54482
mov r8d, 6
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov eax, edx
shr eax, 0x10
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x180013d23
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180013d48
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x30
mov rbx, rdx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], 0xf
mov byte [rdx], al
mov dword [rsp + 0x20], 2
xor r8d, r8d
lea edx, [rax + 5]
mov rcx, rbx
call fcn.180004190
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180013d92
mov rcx, qword [rbx]
nop
mov dword [rcx], 0xb2493a63
nop
mov word [rcx + 4], 0x3ec
mov edx, 0xe39f95c4
mov r8d, 6
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov eax, edx
shr eax, 0x10
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x180013dab
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180013dd0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x30
mov rbx, rdx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], 0xf
mov byte [rdx], al
mov dword [rsp + 0x20], 2
xor r8d, r8d
lea edx, [rax + 6]
mov rcx, rbx
call fcn.180004190
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180013e1a
mov rcx, qword [rbx]
nop
mov dword [rcx], 0xc60b9f9f
nop
mov word [rcx + 4], 0xb77
mov byte [rcx + 6], 0x90
mov edx, 0x7044d712
mov r8d, 7
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov eax, edx
shr eax, 0x10
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x180013e37
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x180013e5c
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x30
mov rbx, rdx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], 0xf
mov byte [rdx], al
mov dword [rsp + 0x20], 2
xor r8d, r8d
lea edx, [rax + 6]
mov rcx, rbx
call fcn.180004190
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180013ea6
mov rcx, qword [rbx]
nop
mov dword [rcx], 0x31e42e51
nop
mov word [rcx + 4], 0xd339
mov byte [rcx + 6], 0x3d
mov edx, 0x7bf6570c
mov r8d, 7
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov eax, edx
shr eax, 0x10
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x180013ec3
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180013ee8
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x30
mov rbx, rdx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], 0xf
mov byte [rdx], al
mov dword [rsp + 0x20], 2
xor r8d, r8d
lea edx, [rax + 6]
mov rcx, rbx
call fcn.180004190
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180013f32
mov rcx, qword [rbx]
nop
mov dword [rcx], 0x6626625e
nop
mov word [rcx + 4], 0xfd61
mov byte [rcx + 6], 0x9a
mov edx, 0x74b0cfc5
mov r8d, 7
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov eax, edx
shr eax, 0x10
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x180013f4f
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180013f74
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x30
mov rbx, rdx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], 0xf
mov byte [rdx], al
mov dword [rsp + 0x20], 2
xor r8d, r8d
lea edx, [rax + 8]
mov rcx, rbx
call fcn.180004190
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180013fbe
mov rcx, qword [rbx]
nop
mov dword [rcx], 0x3e6ce80d
nop
mov dword [rcx + 4], 0x14271806
nop
mov byte [rcx + 8], 0xc2
mov edx, 0x114b9b20
mov r8d, 9
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov eax, edx
shr eax, 0x10
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x180013fdd
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x180014004
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x30
mov rbx, rdx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], 0xf
mov byte [rdx], al
mov dword [rsp + 0x20], 2
xor r8d, r8d
lea edx, [rax + 0xa]
mov rcx, rbx
call fcn.180004190
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x18001404e
mov rcx, qword [rbx]
nop
mov dword [rcx], 0x90b154c3
nop
mov dword [rcx + 4], 0x82467cbe
nop
mov word [rcx + 8], 0xd2cf
mov byte [rcx + 0xa], 0x84
mov edx, 0x734c4f10
mov r8d, VariantTimeToDosDateTime
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov eax, edx
shr eax, 0x10
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x180014073
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180014098
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x30
mov rbx, rdx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], 0xf
mov byte [rdx], al
mov dword [rsp + 0x20], 2
xor r8d, r8d
lea edx, [rax + 0xa]
mov rcx, rbx
call fcn.180004190
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1800140e2
mov rcx, qword [rbx]
nop
mov dword [rcx], 0xf2b4209b
nop
mov dword [rcx + 4], 0x41edea26
nop
mov word [rcx + 8], 0xfe46
mov byte [rcx + 0xa], 0x61
mov edx, 0x9c42834e
mov r8d, VariantTimeToDosDateTime
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov eax, edx
shr eax, 0x10
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x180014107
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18001412c
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x30
mov rbx, rdx
and dword [rsp + 0x20], 0
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
and qword [rdx + 0x10], 0
and qword [rdx + 0x10], 0
mov qword [rdx + 0x18], 0xf
mov byte [rdx], 0
mov dword [rsp + 0x20], 2
xor r8d, r8d
lea edx, [r8 + 0xa]
mov rcx, rbx
call fcn.180004190
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x18001417d
mov rcx, qword [rbx]
nop
mov dword [rcx], 0x79b77752
nop
mov dword [rcx + 4], 0x65004d56
nop
mov word [rcx + 8], 0x5f0d
mov byte [rcx + 0xa], 0xa3
mov edx, 0xef8a9b60
mov r8d, VariantTimeToDosDateTime
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov eax, edx
shr eax, 0x10
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x1800141a2
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x1800141c8
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x30
mov rbx, rdx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], 0xf
mov byte [rdx], al
mov dword [rsp + 0x20], 2
xor r8d, r8d
lea edx, [rax + 8]
mov rcx, rbx
call fcn.180004190
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180014212
mov rcx, qword [rbx]
nop
mov dword [rcx], 0x5183ff90
nop
mov dword [rcx + 4], 0x155b1d17
nop
mov byte [rcx + 8], 0xed
mov edx, 0x90cdce87
mov r8d, 9
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov eax, edx
shr eax, 0x10
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x180014231
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180014258
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x30
mov rbx, rdx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], 0xf
mov byte [rdx], al
mov dword [rsp + 0x20], 2
xor r8d, r8d
lea edx, [rax + 8]
mov rcx, rbx
call fcn.180004190
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1800142a2
mov rcx, qword [rbx]
nop
mov dword [rcx], 0x2adcd2ff
nop
mov dword [rcx + 4], 0xa8278d67
nop
mov byte [rcx + 8], 0x1f
mov edx, 0xb0dc66cf
mov r8d, 9
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov eax, edx
shr eax, 0x10
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x1800142c1
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1800142e8
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x30
mov rbx, rdx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], 0xf
mov byte [rdx], al
mov dword [rsp + 0x20], 2
xor r8d, r8d
lea edx, [rax + 8]
mov rcx, rbx
call fcn.180004190
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180014332
mov rcx, qword [rbx]
nop
mov dword [rcx], 0xebcc2fbc
nop
mov dword [rcx + 4], 0xbb3a12f7
nop
mov byte [rcx + 8], 4
mov edx, 0x14b553bc
mov r8d, 9
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov eax, edx
shr eax, 0x10
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x180014351
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180014378
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x30
mov rbx, rdx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], 0xf
mov byte [rdx], al
mov dword [rsp + 0x20], 2
xor r8d, r8d
lea edx, [rax + 8]
mov rcx, rbx
call fcn.180004190
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1800143c2
mov rcx, qword [rbx]
nop
mov dword [rcx], 0x5f2e0ce9
nop
mov dword [rcx + 4], 0xd49eeca1
nop
mov byte [rcx + 8], 0x4c
mov edx, 0x5cdbfafb
mov r8d, 9
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov eax, edx
shr eax, 0x10
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x1800143e1
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x180014408
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x30
mov rbx, rdx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], 0xf
mov byte [rdx], al
mov dword [rsp + 0x20], 2
xor r8d, r8d
lea edx, [rax + 8]
mov rcx, rbx
call fcn.180004190
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180014452
mov rcx, qword [rbx]
nop
mov dword [rcx], 0x7c3aa686
nop
mov dword [rcx + 4], 0xc947932b
nop
mov r8d, 9
mov byte [rcx + 8], r8b
mov edx, 0xe3fa3e7f
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov eax, edx
shr eax, 0x10
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x180014471
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180014498
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x30
mov rbx, rdx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], 0xf
mov byte [rdx], al
mov dword [rsp + 0x20], 2
xor r8d, r8d
lea edx, [rax + 8]
mov rcx, rbx
call fcn.180004190
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1800144e2
mov rcx, qword [rbx]
nop
mov dword [rcx], 0x1da86317
nop
mov dword [rcx + 4], 0x955a14ca
nop
mov byte [rcx + 8], 0xe5
mov edx, 0x59e34faa
mov r8d, 9
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov eax, edx
shr eax, 0x10
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x180014501
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180014ba8
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
test rdx, rdx
je 0x180014bcc
imul r8d, r8d, 0x343fd
add r8d, 0x269ec3
mov eax, r8d
shr eax, 0x10
xor byte [rcx], al
inc rcx
sub rdx, 1
jne 0x180014bad
ret

Function at 0x18001516d
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [0x18029b85c]
syscall
ret

Function at 0x180015179
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [0x180298714]
syscall
ret
Function at 0x180018018
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rsi, rdx
mov r13, r8
mov edx, 1
mov r15, rcx
mov r12d, edx
mov r14d, edx
lea rdi, [rsi + 0x18]
cmp dword [rsi + 0x10], edx
jle 0x1800180b1
lea ebx, [rdx + 7]
lea ebp, [rdx + 0xf]
test r13, r13
je 0x180018076
mov rax, qword [r15 + 0x10]
cmp qword [rax + rbp + 8], r13
je 0x180018076
mov rax, qword [rdi]
cmp qword [rbx + rax], 0
je 0x18001809b
xor r12d, r12d
jmp 0x18001809b
mov rax, qword [rdi]
mov rcx, qword [rbx + rax]
test rcx, rcx
je 0x180018093
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x18003dda2.0]
mov edx, 1
mov rax, qword [rdi]
and qword [rbx + rax], 0
add r14d, edx
add rbp, 0x10
add rbx, 8
cmp r14d, dword [rsi + 0x10]
jl 0x180018057
test r12d, r12d
je 0x1800180f9
lea rcx, [r15 + 0x28]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [r15 + 0x18]
mov rdx, rsi
call fcn.1800183cc
lea rcx, [r15 + 0x28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x18003dda2.0]
mov ecx, dword [r15]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x180019fd8
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x18001a03f
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x18001a053
lea rdx, str.RegDeleteKeyTransactedA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18001a053
mov rcx, qword [rbx]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call qword [case.0x18003dda2.0]
jmp 0x18001a058
cmp dword [rcx + 8], 0
je 0x18001a053
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x18001a058
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x18001cab8
Capabilities:
Get file attributes
Get file size

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x18028b680]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, rdx
mov rdi, rcx
mov rcx, rbx
xor edx, edx
mov r8d, 0x128
call fcn.1801ddb00
mov r8, qword [rdi + 0x18]
lea rcx, [rbx + 0x24]
or r9, 0xffffffffffffffff
mov edx, 0x104
call fcn.1801a6ec4
xor esi, esi
test eax, eax
je 0x18001cb1e
cmp eax, 0xc
je 0x18001cca9
cmp eax, 0x50
jne 0x18001ccaf
mov rcx, qword [rdi + 8]
cmp rcx, qword [0x1801eb808]
je 0x18001cc81
lea r9, [rbp - 0x11]
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x18001cca5
mov rcx, qword [rdi + 8]
lea rdx, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x18001cca5
mov rax, qword [rbp - 9]
mov qword [rbx + 0x18], rax
mov rcx, qword [rdi + 0x18]
cmp dword [rcx - 0x10], esi
je 0x18001cb9d
cmp qword [rdi + 0x20], rsi
je 0x18001cb92
mov rdx, rcx
lea r9, [rbp + 0xf]
mov rcx, qword [rdi + 0x20]
xor r8d, r8d
call fcn.18001c7bc
neg eax
sbb eax, eax
and eax, dword [rbp + 0xf]
jmp 0x18001cb98
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x18001cb9f
mov eax, esi
mov rcx, rbx
mov dword [rbx + 0x20], eax
lea rcx, [rbp - 0x21]
lea rdx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x18001cbe2
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x18001cbe2
or r8d, 0xffffffff
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x29]
call fcn.1800173d0
mov rcx, qword [rax]
mov qword [rbx], rcx
jmp 0x18001cbe5
mov qword [rbx], rsi
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x18001cc09
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x18001cc15
lea rax, [rbx + 0x10]
mov rdi, rax
mov qword [rax], rsi
jmp 0x18001cc30
or r8d, 0xffffffff
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x29]
lea rdi, [rbx + 0x10]
call fcn.1800173d0
mov rcx, qword [rax]
mov qword [rdi], rcx
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x18001cc54
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x18001cc59
mov rax, rsi
jmp 0x18001cc6d
or r8d, 0xffffffff
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x29]
call fcn.1800173d0
mov rax, qword [rax]
mov qword [rbx + 8], rax
cmp qword [rbx], rsi
jne 0x18001cc79
mov qword [rbx], rax
cmp qword [rdi], rsi
jne 0x18001cc81
mov qword [rdi], rax
mov eax, 1
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.180196050
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
xor eax, eax
jmp 0x18001cc86
call fcn.180016658
int3
call fcn.180016634
int3
Function at 0x18001d458
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rdx, [rsp + 0x34]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x30], eax
cmp eax, 0xffffffff
jne 0x18001d483
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x18001d48e
mov rax, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
lea rcx, [rbx + 0x18]
call fcn.180003100
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rbx
call fcn.18002b9f8
int3

Function at 0x18001d7b4
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test r8d, r8d
jne 0x18001d7c6
xor eax, eax
jmp 0x18001d7e3
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x50]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18001d7e9
mov eax, dword [rsp + 0x50]
add rsp, 0x30
pop rbx
ret
lea rcx, [rbx + 0x18]
call fcn.180003100
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rbx
call fcn.18002b9f8
int3

Function at 0x18001d900
Capabilities:
Write file on windows

Disassembly:
test r8d, r8d
je 0x18001d93e
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov rdi, rcx
mov ebx, r8d
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x18001d93f
cmp dword [rsp + 0x50], ebx
jne 0x18001d95c
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
lea rcx, [rdi + 0x18]
call fcn.180003100
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rbx
call fcn.18002b9f8
int3
lea rcx, [rdi + 0x18]
call fcn.180003100
or edx, 0xffffffff
mov r8, rax
lea ecx, [rdx + 0xe]
call fcn.18002b554
int3

Function at 0x180020be4
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x78
test rdx, rdx
je 0x180020c4c
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x180020c36
cmp qword [rcx + 0x18], 0
jne 0x180020c31
mov eax, dword [rcx + 0xc]
cmp eax, dword [rcx + 0x30]
jae 0x180020c52
mov qword [rsp + 0x58], rdx
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0x50
mov edx, eax
mov dword [rsp + 0x24], 0x40
mov r8d, 1
mov rcx, qword [r10 + 8]
call qword [sym.imp.USER32.dll_SetMenuItemInfoA]
add rsp, 0x78
ret
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x180020c4c
mov rcx, qword [rcx + 0x40]
add rsp, 0x78
jmp fcn.18002a234
call fcn.180016634
int3
call fcn.180016634
int3

Function at 0x1800236a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x1800236fe
call fcn.180018994
mov r8d, 0xf0
mov rdx, rdi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x1800236fe
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x180023709
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov rdx, rbx
mov rcx, rsi
call fcn.18002d5dc
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret