joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002d900
Capabilities:
Timestomp file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x40
mov rax, qword [0x1400a3ac8]
xor rax, rsp
mov qword [rsp + 0x38], rax
and qword [rsp + 0x20], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov rdi, rcx
mov rcx, qword [str._0_n_]
lea rbp, str._0_n_
cmp rcx, rbp
je 0x14002d963
test byte [rcx + 0x1c], 4
je 0x14002d963
cmp byte [rcx + 0x19], 5
jb 0x14002d963
mov rcx, qword [rcx + 0x10]
lea r8, [0x140093478]
mov edx, 0x79
call fcn.14000459c
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
nop dword [rax + rax]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14002d9b9
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
cmp rcx, rbp
je 0x14002da13
test byte [rcx + 0x1c], 4
je 0x14002da13
cmp byte [rcx + 0x19], 2
jb 0x14002da13
lea edx, [rbx + 0x7a]
jmp 0x14002da00
xor r9d, r9d
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileTime]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14002da13
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
cmp rcx, rbp
je 0x14002da13
test byte [rcx + 0x1c], 4
je 0x14002da13
cmp byte [rcx + 0x19], 2
jb 0x14002da13
lea edx, [rbx + 0x7b]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140093478]
mov r9d, eax
call fcn.140004994
mov eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140001b10
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140030d24
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x250
mov rax, qword [0x1400a3ac8]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rcx
mov rcx, qword [str._0_n_]
lea rbp, str._0_n_
cmp rcx, rbp
je 0x140030d7f
test byte [rcx + 0x1c], 4
je 0x140030d7f
cmp byte [rcx + 0x19], 5
jb 0x140030d7f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140093550]
mov edx, 0x38
call fcn.14000459c
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.msvcrt.dll_memset
lea r8, [rsp + 0x30]
mov rcx, rdi
lea rdx, [0x1400934f0]
call fcn.140030828
test eax, eax
jne 0x140030df3
mov rax, qword [str._0_n_]
cmp rax, rbp
je 0x140030dec
test byte [rax + 0x1c], 4
je 0x140030dec
cmp byte [rax + 0x19], 2
jb 0x140030dec
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
lea r8, [0x140093550]
mov edx, 0x39
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.140004994
xor eax, eax
jmp 0x140030ec7
lea rcx, [rsp + 0x30]
call fcn.14006bd20
mov qword [rdi + 0x48], rax
test rax, rax
jne 0x140030ec2
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
cmp rcx, rbp
je 0x140030e48
test byte [rcx + 0x1c], 4
je 0x140030e48
cmp byte [rcx + 0x19], 2
jb 0x140030e48
mov rcx, qword [rcx + 0x10]
lea r8, [0x140093550]
mov edx, 0x3a
mov r9d, eax
call fcn.140004994
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140030eaf
mov rax, qword [str._0_n_]
cmp rax, rbp
je 0x140030eaf
test byte [rax + 0x1c], 4
je 0x140030eaf
cmp byte [rax + 0x19], 2
jb 0x140030eaf
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
lea r8, [0x140093550]
mov r9d, dword [rdi + 0x20]
mov edx, 0x3b
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
call fcn.14003794c
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
jmp 0x140030dec
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140001b10
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140030ef4
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x250
mov rax, qword [0x1400a3ac8]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov rcx, qword [str._0_n_]
lea rbp, str._0_n_
cmp rcx, rbp
je 0x140030f4f
test byte [rcx + 0x1c], 4
je 0x140030f4f
cmp byte [rcx + 0x19], 5
jb 0x140030f4f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140093550]
mov edx, 0x3c
call fcn.14000459c
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.msvcrt.dll_memset
cmp qword [rbx + 0x258], 0
jne 0x1400310a3
lea r8, [rsp + 0x30]
mov rcx, rbx
lea rdx, [0x1400934f8]
call fcn.140030828
test eax, eax
jne 0x140030fd1
mov rax, qword [str._0_n_]
cmp rax, rbp
je 0x140030fca
test byte [rax + 0x1c], 4
je 0x140030fca
cmp byte [rax + 0x19], 2
jb 0x140030fca
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
lea r8, [0x140093550]
mov edx, 0x3d
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.140004994
xor eax, eax
jmp 0x1400310a8
lea rcx, [rsp + 0x30]
call fcn.14006bd20
mov qword [rbx + 0x258], rax
test rax, rax
jne 0x1400310a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [str._0_n_]
cmp rcx, rbp
je 0x140031029
test byte [rcx + 0x1c], 4
je 0x140031029
cmp byte [rcx + 0x19], 2
jb 0x140031029
mov rcx, qword [rcx + 0x10]
lea r8, [0x140093550]
mov edx, 0x3e
mov r9d, eax
call fcn.140004994
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140031090
mov rax, qword [str._0_n_]
cmp rax, rbp
je 0x140031090
test byte [rax + 0x1c], 4
je 0x140031090
cmp byte [rax + 0x19], 2
jb 0x140031090
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
lea r8, [0x140093550]
mov r9d, dword [rbx + 0x20]
mov edx, 0x3f
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
call fcn.14003794c
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
jmp 0x140030fca
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140001b10
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400392f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r13
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
and dword [rbp + 0x38], 0
mov r14d, r8d
and qword [rbp - 8], 0
mov r15, rdx
mov rdi, rcx
mov dword [rbp - 0xc], 1
mov rcx, qword [str._0_n_]
lea r13, str._0_n_
cmp rcx, r13
je 0x140039358
test byte [rcx + 0x1c], 4
je 0x140039358
cmp byte [rcx + 0x19], 5
jb 0x140039358
mov rcx, qword [rcx + 0x10]
lea r8, [0x140093fa8]
mov edx, 0x14a
call fcn.14000459c
lea r9, [rbp + 0x38]
mov edx, r14d
lea r8, [rbp - 8]
mov rcx, r15
call fcn.140039d38
mov ebx, eax
test eax, eax
je 0x1400393b2
mov rcx, qword [str._0_n_]
cmp rcx, r13
je 0x14003952b
test byte [rcx + 0x1c], 4
je 0x14003952b
cmp byte [rcx + 0x19], 2
jb 0x14003952b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140093fa8]
mov edx, 0x14b
mov r9d, eax
call fcn.140004994
jmp 0x14003952b
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x10]
mov r8d, 4
lea rdx, [rbp - 0xc]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x140039415
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
cmp rcx, r13
je 0x14003952b
test byte [rcx + 0x1c], 4
je 0x14003952b
cmp byte [rcx + 0x19], 2
jb 0x14003952b
mov edx, 0x14c
jmp 0x140039518
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x10]
mov r8d, 4
lea rdx, [rbp + 0x38]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x140039478
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
cmp rcx, r13
je 0x14003952b
test byte [rcx + 0x1c], 4
je 0x14003952b
cmp byte [rcx + 0x19], 2
jb 0x14003952b
mov edx, 0x14d
jmp 0x140039518
mov r8d, dword [rbp + 0x38]
lea r9, [rbp - 0x10]
mov rdx, qword [rbp - 8]
mov rcx, rdi
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x1400394ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
cmp rcx, r13
je 0x14003952b
test byte [rcx + 0x1c], 4
je 0x14003952b
cmp byte [rcx + 0x19], 2
jb 0x14003952b
mov edx, 0x14e
jmp 0x140039518
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x10]
mov r8d, r14d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x14003952b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
cmp rcx, r13
je 0x14003952b
test byte [rcx + 0x1c], 4
je 0x14003952b
cmp byte [rcx + 0x19], 2
jb 0x14003952b
mov edx, 0x14f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140093fa8]
mov r9d, eax
call fcn.1400238ac
cmp qword [rbp - 8], 0
je 0x14003953b
mov rcx, qword [rbp - 8]
call fcn.14006a328
mov rdi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov r13, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret
Function at 0x14003b7fc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov rdi, rdx
mov dword [rsp + 0x60], ebx
mov rsi, rcx
mov rcx, qword [str._0_n_]
lea r14, str._0_n_
cmp rcx, r14
je 0x14003b849
test byte [rcx + 0x1c], 4
je 0x14003b849
cmp byte [rcx + 0x19], 5
jb 0x14003b849
mov rcx, qword [rcx + 0x10]
lea r8, [0x140093fa8]
mov edx, 0x136
call fcn.14000459c
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rbx
mov r8d, 4
lea rdx, [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
jne 0x14003b8b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
cmp rcx, r14
je 0x14003b8e6
test byte [rcx + 0x1c], 4
je 0x14003b8e6
cmp byte [rcx + 0x19], 2
jb 0x14003b8e6
mov edx, 0x137
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x140093fa8]
call fcn.1400238ac
jmp 0x14003b8e6
cmp dword [rsp + 0x60], 4
je 0x14003b8e0
mov r9d, 0x26
mov ebx, r9d
mov rcx, qword [str._0_n_]
cmp rcx, r14
je 0x14003b8e6
test byte [rcx + 0x1c], 4
je 0x14003b8e6
cmp byte [rcx + 0x19], 2
jb 0x14003b8e6
mov edx, 0x138
jmp 0x14003b89f
mov eax, dword [rsp + 0x68]
mov dword [rdi], eax
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14003d418
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
xor ebx, ebx
mov r14, rdx
xor edi, edi
mov rbp, rcx
mov rcx, qword [str._0_n_]
lea r12, str._0_n_
lea r13, [0x140093fa8]
cmp rcx, r12
je 0x14003d46f
test byte [rcx + 0x1c], 4
je 0x14003d46f
cmp byte [rcx + 0x19], 5
jb 0x14003d46f
mov rcx, qword [rcx + 0x10]
mov edx, 0x155
mov r8, r13
call fcn.14000459c
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14003d4c7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14003d5ba
test byte [rcx + 0x1c], 4
je 0x14003d5ba
cmp byte [rcx + 0x19], 2
jb 0x14003d5ba
mov edx, 0x156
jmp 0x14003d5ab
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetFileSize]
nop dword [rax + rax]
mov esi, eax
cmp eax, 0x678
jae 0x14003d517
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14003d50d
test byte [rcx + 0x1c], 4
je 0x14003d50d
cmp byte [rcx + 0x19], 3
jb 0x14003d50d
mov rcx, qword [rcx + 0x10]
mov edx, 0x157
mov r9d, esi
mov r8, r13
call fcn.140004994
mov ebx, 0x570
jmp 0x14003d639
mov rcx, rsi
call fcn.14006a264
mov rdi, rax
test rax, rax
jne 0x14003d55d
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14003d553
test byte [rcx + 0x1c], 4
je 0x14003d553
cmp byte [rcx + 0x19], 2
jb 0x14003d553
mov rcx, qword [rcx + 0x10]
mov edx, 0x158
mov r9d, esi
mov r8, r13
call fcn.1400238ac
mov ebx, 8
jmp 0x14003d639
and qword [rsp + 0x20], rbx
lea r9, [rsp + 0x70]
mov r8d, esi
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
jne 0x14003d5c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14003d5ba
test byte [rcx + 0x1c], 4
je 0x14003d5ba
cmp byte [rcx + 0x19], 2
jb 0x14003d5ba
mov edx, 0x159
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r13
call fcn.1400238ac
test ebx, ebx
je 0x14003d639
test rdi, rdi
je 0x14003d639
jmp 0x14003d62c
mov edx, dword [rsp + 0x70]
cmp esi, edx
je 0x14003d5f1
mov ebx, 0x26
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14003d62c
test byte [rcx + 0x1c], 4
je 0x14003d62c
cmp byte [rcx + 0x19], 2
jb 0x14003d62c
mov edx, 0x15a
jmp 0x14003d61d
mov rcx, rdi
call fcn.140041558
test eax, eax
jne 0x14003d636
lea ebx, [rax + 0xd]
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14003d62c
test byte [rcx + 0x1c], 4
je 0x14003d62c
cmp byte [rcx + 0x19], 2
jb 0x14003d62c
mov edx, 0x15b
mov rcx, qword [rcx + 0x10]
mov r9d, ebx
mov r8, r13
call fcn.1400238ac
mov rcx, rdi
call fcn.14006a328
jmp 0x14003d639
mov qword [r14], rdi
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140041504
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [str._0_n_]
lea rax, str._0_n_
cmp rcx, rax
je 0x140041541
test byte [rcx + 0x1c], 4
je 0x140041541
cmp byte [rcx + 0x19], 5
jb 0x140041541
mov rcx, qword [rcx + 0x10]
lea r8, [0x140093fa8]
mov edx, 0x129
call fcn.14000459c
xor edx, edx
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140039560
Function at 0x140048300
Capabilities:
Compare security identifiers

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov esi, dword [rcx + 0x24]
mov r14, r9
mov edi, r8d
mov ebx, edx
cmp esi, 2
jne 0x140048330
mov rcx, qword [rcx + 0x248]
mov rbp, qword [rcx + 0x198]
mov rcx, qword [str._0_n_]
lea rax, str._0_n_
cmp rcx, rax
je 0x14004836b
test byte [rcx + 0x1c], 4
je 0x14004836b
cmp byte [rcx + 0x19], 5
jb 0x14004836b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140094220]
mov edx, 0x10
call fcn.14000459c
cmp esi, 2
jne 0x140048397
neg ebx
sbb eax, eax
and eax, 0xfffffff8
add eax, 0x10
test edi, eax
je 0x140048383
lea eax, [rsi - 1]
jmp 0x1400483a0
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_EqualSid]
nop dword [rax + rax]
jmp 0x1400483a0
mov edx, ebx
mov ecx, edi
call fcn.1400523a8
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14004c2dc
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x30
mov rcx, qword [str._0_n_]
lea rbp, str._0_n_
lea r14, [0x140094378]
cmp rcx, rbp
je 0x14004c320
test byte [rcx + 0x1c], 4
je 0x14004c320
cmp byte [rcx + 0x19], 5
jb 0x14004c320
mov rcx, qword [rcx + 0x10]
mov edx, 0x34
mov r8, r14
call fcn.14000459c
lea rax, [rsp + 0x58]
xor ebx, ebx
mov qword [rsp + 0x28], rax
lea r8, [0x140004300]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x14004c3a0
mov rax, qword [str._0_n_]
cmp rax, rbp
je 0x14004c4b4
test byte [rax + 0x1c], 4
je 0x14004c4b4
cmp byte [rax + 0x19], 2
jb 0x14004c4b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
lea edx, [rbx + 0x35]
mov r9d, eax
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.140004994
jmp 0x14004c4b4
mov r8d, 0x4e20
mov ecx, 3
call fcn.140026550
mov edx, 0x2710
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [rax + rax]
test eax, eax
je 0x14004c437
cmp eax, 0x102
jne 0x14004c400
mov rcx, qword [str._0_n_]
cmp rcx, rbp
je 0x14004c3f8
test byte [rcx + 0x1c], 4
je 0x14004c3f8
cmp byte [rcx + 0x19], 5
jb 0x14004c3f8
mov rcx, qword [rcx + 0x10]
mov edx, 0x37
mov r8, r14
call fcn.14000459c
mov r8d, 0x7530
jmp 0x14004c3a6
mov rax, qword [str._0_n_]
cmp rax, rbp
je 0x14004c4a5
test byte [rax + 0x1c], 4
je 0x14004c4a5
cmp byte [rax + 0x19], 2
jb 0x14004c4a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x38
jmp 0x14004c478
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
nop dword [rax + rax]
test eax, eax
jne 0x14004c490
mov rax, qword [str._0_n_]
cmp rax, rbp
je 0x14004c4a5
test byte [rax + 0x1c], 4
je 0x14004c4a5
cmp byte [rax + 0x19], 2
jb 0x14004c4a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x36
mov rcx, qword [str._0_n_]
mov r9d, eax
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.140004994
jmp 0x14004c4a5
mov ecx, dword [rsp + 0x50]
test ecx, ecx
sete bl
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rbp
ret
Function at 0x14004d788
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov ebx, edi
mov rcx, qword [str._0_n_]
lea rsi, str._0_n_
cmp rcx, rsi
je 0x14004d7cf
test byte [rcx + 0x1c], 4
je 0x14004d7cf
cmp byte [rcx + 0x19], 5
jb 0x14004d7cf
mov rcx, qword [rcx + 0x10]
lea r8, [0x140094500]
mov edx, 0x8f
call fcn.14000459c
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8, [0x1400500b0]
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov qword [0x1400a76d0], rax
test rax, rax
jne 0x14004d853
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
cmp rcx, rsi
je 0x14004d841
test byte [rcx + 0x1c], 4
je 0x14004d841
cmp byte [rcx + 0x19], 2
jb 0x14004d841
mov rcx, qword [rcx + 0x10]
lea r8, [0x140094500]
mov edx, 0x90
mov r9d, eax
call fcn.140004994
test ebx, ebx
je 0x14004d855
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
test ebx, ebx
mov rbx, qword [rsp + 0x48]
sete dil
mov rsi, qword [rsp + 0x50]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x140052520
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov rbx, r9
mov rsi, r8
xor edi, edi
mov rcx, qword [str._0_n_]
lea r14, str._0_n_
cmp rcx, r14
je 0x14005256f
test byte [rcx + 0x1c], 4
je 0x14005256f
cmp byte [rcx + 0x19], 5
jb 0x14005256f
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x30]
lea r8, [0x140094580]
call fcn.14000459c
lea rcx, [0x1400a7578]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov rax, qword [rsp + 0x68]
mov r9, rbx
mov qword [rsp + 0x28], rax
mov r8, rsi
and dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x1400525d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [str._0_n_]
cmp rcx, r14
je 0x140052625
test byte [rcx + 0x1c], 4
je 0x140052625
cmp byte [rcx + 0x19], 2
jb 0x140052625
lea edx, [rbx + 0x31]
jmp 0x140052612
call fcn.1400535c4
test eax, eax
jne 0x140052625
mov rax, qword [str._0_n_]
cmp rax, r14
je 0x140052625
test byte [rax + 0x1c], 4
je 0x140052625
cmp byte [rax + 0x19], 2
jb 0x140052625
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
mov edx, 0x32
mov rcx, qword [rcx + 0x10]
lea r8, [0x140094580]
mov r9d, eax
call fcn.140004994
lea rcx, [0x1400a7578]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
test rbx, rbx
jne 0x14005264b
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov rsi, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x1400541d0
Capabilities:
Get file size

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x40
and dword [rax - 0x20], 0
mov edx, 0x80000000
and dword [rax + 0x10], 0
mov r8d, 1
mov dword [rax - 0x28], 3
call fcn.14006c054
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140054208
xor eax, eax
jmp 0x14005423a
lea rdx, [rsp + 0x58]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
nop dword [rax + rax]
mov ebx, eax
mov rcx, rdi
or eax, 0xffffffff
cmp dword [rsp + 0x58], 0
cmovne ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400652a0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x40
mov r14, rdx
mov rsi, rcx
lea r15, str._0_n_
mov rcx, qword [str._0_n_]
cmp rcx, r15
je 0x1400652ef
test byte [rcx + 0x1c], 4
je 0x1400652ef
cmp byte [rcx + 0x19], 5
jb 0x1400652ef
mov edx, 0xf
lea r8, [0x140095090]
mov rcx, qword [rcx + 0x10]
call fcn.14000459c
xor ebx, ebx
mov r8d, dword [rsi + 0x28]
lea rdx, [0x140094fa0]
mov rcx, r14
call fcn.14006f8d8
test eax, eax
jne 0x140065357
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
cmp rcx, r15
je 0x1400654c0
test byte [rcx + 0x1c], 4
je 0x1400654c0
cmp byte [rcx + 0x19], 2
jb 0x1400654c0
mov edx, 0x10
mov r9d, eax
lea r8, [0x140095090]
mov rcx, qword [rcx + 0x10]
call fcn.140004994
jmp 0x1400654c0
mov r8d, dword [rsi + 0x2c]
lea rdx, str.AreaCode
mov rcx, r14
call fcn.14006f8d8
test eax, eax
jne 0x1400653a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
cmp rcx, r15
je 0x1400654c0
test byte [rcx + 0x1c], 4
je 0x1400654c0
cmp byte [rcx + 0x19], 2
jb 0x1400654c0
mov edx, 0x11
jmp 0x14006533f
mov r8d, ebx
cmp dword [rsi + 0x24], ebx
setne r8b
lea rdx, str.UseGroup
mov rcx, r14
call fcn.14006f8d8
test eax, eax
jne 0x140065400
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
cmp rcx, r15
je 0x1400654c0
test byte [rcx + 0x1c], 4
je 0x1400654c0
cmp byte [rcx + 0x19], 2
jb 0x1400654c0
mov edx, 0x12
jmp 0x14006533f
cmp dword [rsi + 0x24], ebx
jne 0x140065454
mov r8d, dword [rsi + 0x20]
lea rdx, str.DeviceID
mov rcx, r14
call fcn.14006f8d8
test eax, eax
jne 0x1400654c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
cmp rcx, r15
je 0x1400654c0
test byte [rcx + 0x1c], 4
je 0x1400654c0
cmp byte [rcx + 0x19], 2
jb 0x1400654c0
mov edx, 0x13
jmp 0x14006533f
cmp qword [rsi + 0x18], 8
jb 0x14006545e
mov rsi, qword [rsi]
mov r9, rsi
lea r8, str.GroupName
mov edx, 1
mov rcx, r14
call fcn.14006e89c
test eax, eax
jne 0x1400654ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
cmp rcx, r15
je 0x1400654b8
test byte [rcx + 0x1c], 4
je 0x1400654b8
cmp byte [rcx + 0x19], 2
jb 0x1400654b8
mov edx, 0x14
mov r9d, eax
lea r8, [0x140095090]
mov rcx, qword [rcx + 0x10]
call fcn.140004994
nop
jmp 0x1400654c0
jmp 0x1400654c0
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop r15
ret