joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5711b0
Capabilities:
Move file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x5711d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x5711d9
mov ecx, eax
call fcn.00570770
mov eax, 0xffffffff
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x5711e0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x571209
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x571209
mov ecx, eax
call fcn.00570770
mov eax, 0xffffffff
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x571210
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x571239
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x571239
mov ecx, eax
call fcn.00570770
mov eax, 0xffffffff
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x5714f0
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x57151b
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x57151b
mov ecx, eax
call fcn.00570770
mov eax, 0xffffffff
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x57b1f7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x006443a8]
jne 0x568fca
rol rcx, 0x10
test cx, 0xffff
jne 0x568fc6
repz ret
ror rcx, 0x10
jmp 0x57b150
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x00648ef0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x00648fe8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x57b1d5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x00648ef0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x57b1f7
mov rax, qword [rsp + 0x88]
mov qword [0x00648fe8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x00648f88], rax
mov rax, qword [0x00648fe8]
mov qword [0x00648e60], rax
mov rax, qword [rsp + 0x90]
mov qword [0x00648f70], rax
mov dword [0x00648e50], 0xc0000409
mov dword [0x00648e54], 1
mov rax, qword [0x006443a8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x006443b0]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x00648ee8], eax
mov ecx, 1
call fcn.0057beb0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x005ed6b8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x00648ee8], 0
jne 0x57b27e
mov ecx, 1
call fcn.0057beb0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x59c220
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov qword [rax - 0x10], r13
mov r13, rcx
mov edi, r8d
mov r12, rdx
call fcn.0057b640
xor ebx, ebx
cmp qword [0x006499e8], rbx
mov rsi, rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ebx
jne 0x59c351
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rbp, rax
jne 0x59c283
xor eax, eax
jmp 0x59c431
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x59c27c
mov rcx, rax
call fcn.0057b5d0
lea rdx, str.GetActiveWindow
mov rcx, rbp
mov qword [0x006499e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0057b5d0
lea rdx, str.GetLastActivePopup
mov rcx, rbp
mov qword [0x006499f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0057b5d0
lea rcx, [rsp + 0x30]
mov qword [0x006499f8], rax
call fcn.0057a910
test eax, eax
je 0x59c307
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.0056a540
cmp dword [rsp + 0x30], 2
jne 0x59c351
lea rdx, str.GetUserObjectInformationA
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0057b5d0
test rax, rax
mov qword [0x00649a08], rax
je 0x59c351
lea rdx, str.GetProcessWindowStation
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0057b5d0
mov qword [0x00649a00], rax
mov rcx, qword [0x00649a00]
cmp rcx, rsi
je 0x59c3e3
cmp qword [0x00649a08], rsi
je 0x59c3e3
call fcn.0057b6a0
call rax
test rax, rax
mov rbp, rax
je 0x59c3ae
mov rcx, qword [0x00649a08]
call fcn.0057b6a0
lea rcx, [rsp + 0x38]
mov r9d, SafeArrayGetDim
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
lea r8, [rsp + 0x40]
mov rcx, rbp
call rax
test eax, eax
je 0x59c3ae
test byte [rsp + 0x48], 1
jne 0x59c3e3
lea rcx, [rsp + 0x34]
call fcn.0057a960
test eax, eax
je 0x59c3d0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.0056a540
cmp dword [rsp + 0x34], 4
jb 0x59c3dd
bts edi, 0x15
jmp 0x59c417
bts edi, 0x12
jmp 0x59c417
mov rcx, qword [0x006499f0]
cmp rcx, rsi
je 0x59c417
call fcn.0057b6a0
call rax
test rax, rax
mov rbx, rax
je 0x59c417
mov rcx, qword [0x006499f8]
cmp rcx, rsi
je 0x59c417
call fcn.0057b6a0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x006499e8]
call fcn.0057b6a0
mov r9d, edi
mov r8, r12
mov rdx, r13
mov rcx, rbx
call rax
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x00409850]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x00409860]
mov dword [rax], 1
mov rax, qword [0x00409870]
mov dword [rax], 1
mov rax, qword [0x00409840]
mov dword [rax], 1
mov rax, qword [0x00409700]
cmp word [rax], 0x5a4d
jne 0x401067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x4010d0
mov rax, qword [0x00409830]
mov dword [0x0040c020], ecx
mov eax, dword [rax]
test eax, eax
je 0x4010c0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x004097f0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x004097d0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x004096b0]
cmp dword [rax], 1
je 0x401108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x401120
cmp dx, 0x20b
jne 0x401067
cmp dword [rax + 0x84], 0xe
jbe 0x401067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x401067
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x401067

Function at 0x401840
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]
Function at 0x4018b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x0040c0c4]
mov r12, rcx
test ebx, ebx
jle 0x4019e0
mov rax, qword [0x0040c0c8]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x4018fc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x401983
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x4018e0
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rsi, rax
test rax, rax
je 0x401a02
mov rax, qword [0x0040c0c8]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x0040c0c8]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x4019e7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x40197c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x401990
add dword [0x0040c0c4], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x0040c0c8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x40197c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor ebx, ebx
jmp 0x401907
mov rax, qword [0x0040c0c8]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x401ed0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0040c120]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0040c100]
test rbx, rbx
je 0x401f24
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x401f1b
test r12, r12
je 0x401f1b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x401f00
lea rcx, [0x0040c120]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x402140
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x402158
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x402160
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x402170
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
mov r8, rdx
lea rdx, [rax + rcx]
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x4021bc
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov ecx, dword [rax + 0xc]
mov rdx, rcx
cmp rcx, r8
ja 0x4021b3
add edx, dword [rax + 8]
cmp rdx, r8
ja 0x4021be
add rax, 0x28
cmp rax, r9
jne 0x4021a0
xor eax, eax
ret

Function at 0x4021c0
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.strlen
cmp rax, 8
ja 0x402250
mov rdx, qword [0x00409700]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x40223e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x40223e
cmp word [rax + 0x18], 0x20b
jne 0x40223e
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x402250
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x402229
add r12, 0x28
cmp r12, rsi
je 0x402250
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x402220
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

Function at 0x402260
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x00409700]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x402280
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x402288
ret
cmp word [r8 + 0x18], 0x20b
jne 0x402280
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x4022d5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x4022cc
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402280
add rax, 0x28
cmp rax, r9
jne 0x4022b8
xor eax, eax
ret

Function at 0x4022e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x00409700]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x402300
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x402308
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x402300
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x402320
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x00409700]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x402340
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x402348
ret
cmp word [rdx + 0x18], 0x20b
jne 0x402340
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x402388
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x40237f
test rcx, rcx
je 0x402340
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x402370
xor eax, eax
ret

Function at 0x402390
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x00409700]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x4023b0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x4023b8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x4023d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x00409700]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x4023f0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x4023f8
mov eax, r8d
ret
cmp word [rdx + 0x18], 0x20b
jne 0x4023f0
sub rcx, rax
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x4023f0
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x402434
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402448
add rax, 0x28
cmp r9, rax
jne 0x402420
xor r8d, r8d
mov eax, r8d
ret
mov r8d, dword [rax + 0x24]
not r8d
shr r8d, 0x1f
mov eax, r8d
ret

Function at 0x402460
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x00409700]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x402482
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x402490
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x402482
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x402482
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x402482
sub r8d, 1
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop dword [rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x4024dd
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x4024f0
add rdx, 0x28
cmp r10, rdx
jne 0x4024c8
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x4024ff
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x40250f
mov edx, dword [rax + 0xc]
test edx, edx
je 0x4024e6
test ecx, ecx
jg 0x4024f8
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140002390
Capabilities:
Create process memory minidump
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x50
mov rbx, rcx
call fcn.1400020b0
mov rsi, rax
lea rdx, [rax - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x14000243a
mov qword [rsp + 0x60], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x44], rbx
mov dword [rsp + 0x4c], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edi, edi
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rdi
mov r9d, 0x1120
mov qword [rsp + 0x28], rdi
mov r8, rsi
mov qword [rsp + 0x20], rcx
mov edx, ebx
mov rcx, rax
call sub.dbghelp.dll_MiniDumpWriteDump
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x140002424
lea rcx, [0x140172740]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test ebx, ebx
setne dil
mov eax, edi
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rsi
ret
mov rbx, qword [rsp + 0x68]
xor eax, eax
add rsp, 0x50
pop rsi
ret

Function at 0x1400094f0
Capabilities:
Read .ini file

Disassembly:
push rbx
sub rsp, 0x20
mov eax, r9d
mov rbx, r8
test rcx, rcx
je 0x140009553
test rdx, rdx
je 0x140009553
cmp byte [rdx], 0
je 0x140009553
test rbx, rbx
je 0x140009553
cmp qword [rcx + 0x10], 0
je 0x140009553
cmp qword [rcx + 0x30], 0
je 0x140009553
mov dword [r8], 0
mov r9, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x140009532
mov r9, qword [rcx]
add rcx, 0x20
cmp qword [rcx + 0x18], 0x10
jb 0x140009540
mov rcx, qword [rcx]
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [rbx], eax
mov al, 1
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140009560
Capabilities:
Read .ini file

Disassembly:
sub rsp, 0x38
mov r10, r9
test rcx, rcx
je 0x1400095f0
test rdx, rdx
je 0x1400095f0
cmp byte [rdx], 0
je 0x1400095f0
cmp qword [rcx + 0x10], 0
je 0x1400095f0
cmp qword [rcx + 0x30], 0
je 0x1400095f0
xorps xmm0, xmm0
mov rax, rcx
movups xmmword [r8], xmm0
movups xmmword [r8 + 0x10], xmm0
movups xmmword [r8 + 0x20], xmm0
movups xmmword [r8 + 0x30], xmm0
movups xmmword [r8 + 0x40], xmm0
movups xmmword [r8 + 0x50], xmm0
movups xmmword [r8 + 0x60], xmm0
movups xmmword [r8 + 0x70], xmm0
cmp qword [rcx + 0x18], 0x10
jb 0x1400095bf
mov rax, qword [rcx]
add rcx, 0x20
cmp qword [rcx + 0x18], 0x10
jb 0x1400095cd
mov rcx, qword [rcx]
mov r9, r8
mov qword [rsp + 0x28], rax
mov r8, r10
mov dword [rsp + 0x20], 0x7f
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
setg al
add rsp, 0x38
ret
xor al, al
add rsp, 0x38
ret
Function at 0x140009dd0
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x890
mov rax, qword [0x1401717c8]
xor rax, rsp
mov qword [rsp + 0x880], rax
cmp qword [0x140172990], 0
mov rdi, rcx
je 0x140009ed7
test rcx, rcx
je 0x140009ed7
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x8a8], rbx
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x801
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
movzx ecx, word [rsp + 0x6e]
movzx edx, word [rsp + 0x6c]
movzx r8d, word [rsp + 0x6a]
movzx r10d, word [rsp + 0x68]
movzx r11d, word [rsp + 0x66]
movzx ebx, word [rsp + 0x62]
movzx r9d, word [rsp + 0x60]
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], ecx
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x40], edx
mov edx, 0x800
mov dword [rsp + 0x38], r8d
lea r8, str.__04d__02d__02d__02d__02d__02d._03d___d_:__s_n
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
call fcn.14000a140
mov rbx, qword [rsp + 0x8a8]
lea rax, [rsp + 0x70]
mov rdx, 0xffffffffffffffff
inc rdx
cmp byte [rax + rdx], 0
jne 0x140009ea5
mov r9, qword [0x140172990]
lea rcx, [rsp + 0x70]
mov r8d, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [0x140172990]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov al, 1
jmp 0x140009ed9
xor al, al
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.14007c640
add rsp, 0x890
pop rdi
ret
Function at 0x140009f00
Capabilities:
Write file on windows

Disassembly:
mov rdx, rcx
lea rcx, [0x140172990]
jmp 0x140009f10
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
mov rax, qword [0x1401717c8]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov r14, rcx
cmp qword [rcx], 0
je 0x14000a10e
test rdx, rdx
je 0x14000a10e
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], al
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], ax
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140009f90
lea rcx, [rbp - 0x70]
call fcn.140009ca0
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.14000a2d0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140009ff7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009ff2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009ff2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c2d8
cmp qword [rbp - 0x80], 0
jne 0x14000a005
xor bl, bl
jmp 0x14000a0ca
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
xor edx, edx
mov r8d, 0x801
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rdi, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdi, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
movzx ecx, word [rsp + 0x6e]
movzx edx, word [rsp + 0x6c]
movzx r8d, word [rsp + 0x6a]
movzx r10d, word [rsp + 0x68]
movzx r11d, word [rsp + 0x66]
movzx ebx, word [rsp + 0x62]
movzx r9d, word [rsp + 0x60]
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
lea r8, str.__04d__02d__02d__02d__02d__02d._03d___d_:__s_n
mov edx, 0x800
lea rcx, [rbp - 0x50]
call fcn.14000a140
lea rax, [rbp - 0x50]
nop dword [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x14000a0a0
mov r9, qword [r14]
mov r8d, 1
mov rdx, rsi
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [r14]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov bl, 1
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14000a109
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a104
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a104
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c2d8
movzx eax, bl
jmp 0x14000a110
xor al, al
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.14007c640
lea r11, [rsp + 0x8d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret