joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140060920
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14006096a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14006096a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14006096a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006096a
cmp dword [rcx + 0x84], 0xe
jbe 0x14006096a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14006096c
xor al, al
add rsp, 0x28
ret

Function at 0x140065230
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140065258
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140065258
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400683a0
Capabilities:
Hash data via bcrypt

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov esi, r8d
mov edi, r9d
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400a12a0
nop
mov rdx, qword [rbx]
mov qword [rbp - 0x50], rdx
mov rcx, qword [rbp - 0x48]
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x68], rdx
mov r8d, esi
mov dword [rbp - 0x54], r8d
mov r9d, edi
mov dword [rbp - 0x58], r9d
lea rcx, [rbp - 0x90]
call fcn.1400023a0
mov rcx, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x68]
mov r8d, dword [rbp - 0x54]
mov r9d, dword [rbp - 0x58]
call sub.bcrypt.dll_BCryptHashData
mov ebx, eax
lea rcx, [rbp - 0x90]
call fcn.1400023f0
nop
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x140068453
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1400a12e0
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400aa450
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rcx
mov rsi, rdx
mov edi, r8d
mov qword [rbp - 0x40], r9
mov r14, r9
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov qword [rbp - 0x4c], rcx
mov rdx, rsi
mov qword [rbp - 0x54], rdx
mov r8d, edi
mov dword [rbp - 0x44], r8d
mov r9, r14
mov qword [rbp - 0x5c], r9
lea rcx, [rbp - 0x88]
call fcn.1400023a0
mov rcx, qword [rbp - 0x4c]
mov rdx, qword [rbp - 0x54]
mov r8d, dword [rbp - 0x44]
mov r9, qword [rbp - 0x5c]
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.1400023f0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.14000190d
mov dword [rax + 0x60], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400ad860
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rcx
mov rsi, rdx
mov edi, r8d
mov qword [rbp - 0x40], r9
mov r14, r9
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov qword [rbp - 0x4c], rcx
mov rdx, rsi
mov qword [rbp - 0x54], rdx
mov r8d, edi
mov dword [rbp - 0x44], r8d
mov r9, r14
mov qword [rbp - 0x5c], r9
lea rcx, [rbp - 0x88]
call fcn.1400023a0
mov rcx, qword [rbp - 0x4c]
mov rdx, qword [rbp - 0x54]
mov r8d, dword [rbp - 0x44]
mov r9, qword [rbp - 0x5c]
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.1400023f0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.14000190d
mov dword [rax + 0x60], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x180048ed0
Capabilities:
Hash data using sha256

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
lea rbp, [rax - 0x38]
sub rsp, 0x130
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov dword [rbp + 8], 0x6a09e667
mov dword [rbp + 0xc], 0xbb67ae85
mov dword [rbp + 0x10], 0x3c6ef372
mov dword [rbp + 0x14], 0xa54ff53a
mov dword [rbp + 0x18], 0x510e527f
mov dword [rbp + 0x1c], 0x9b05688c
mov dword [rbp + 0x20], 0x1f83d9ab
mov dword [rbp + 0x24], 0x5be0cd19
mov qword [rbp - 0x80], rbx
cmp qword [rdx + 0x18], 0x10
jb 0x180048f4a
mov rdx, qword [rdx]
mov r8d, dword [rsi + 0x10]
lea rcx, [rbp - 0x80]
call fcn.180049780
xor edx, edx
lea r8d, [rdx + 0x41]
lea rcx, [rsp + 0x30]
call fcn.180025bf0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.180049b48
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], rbx
cmp qword [rdi + 0x18], 0x10
jb 0x180048f8d
mov rax, qword [rdi]
jmp 0x180048f90
mov rax, rdi
mov byte [rax], bl
cmp byte [rsp + 0x30], bl
je 0x180048fac
lea rcx, [rsp + 0x30]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], bl
jne 0x180048fa1
mov rbx, rax
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.180002c0c
nop
xor r8d, r8d
mov dl, 1
mov rcx, rsi
call fcn.180002ff4
mov rax, rdi
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1800498a4
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
test r8d, r8d
jle 0x180049ad5
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x130
xor r10d, r10d
lea r11, [rsp]
sub r11, rcx
lea rbx, [rcx + 0x88]
mov qword [rsp + 0x20], r11
mov r14, rdx
mov qword [rbp + 0x88], rbx
mov eax, r10d
lea rdi, [rsp + 0x30]
shl eax, 6
movsxd r8, eax
add r8, r14
xor r9d, r9d
mov eax, r9d
inc r9d
shl eax, 2
movsxd rcx, eax
movzx eax, byte [r8 + rcx + 1]
movzx edx, byte [rcx + r8]
shl edx, 8
or edx, eax
movzx eax, byte [r8 + rcx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [r8 + rcx + 3]
shl edx, 8
or edx, eax
mov dword [rdi], edx
lea rdi, [rdi + 4]
cmp r9d, 0x10
jl 0x180049906
lea r9, [rsp + 0x68]
mov edi, 0x30
mov ecx, dword [r9]
mov r8d, ecx
mov edx, dword [r9 - 0x34]
lea r9, [r9 + 4]
mov eax, ecx
rol r8d, 0xf
shr ecx, 0xa
rol eax, 0xd
xor r8d, eax
mov eax, edx
xor r8d, ecx
ror eax, 7
mov ecx, edx
shr edx, 3
rol ecx, 0xe
xor ecx, eax
xor ecx, edx
add r8d, ecx
add r8d, dword [r9 - 0x3c]
add r8d, dword [r9 - 0x18]
mov dword [r9 + 4], r8d
sub rdi, 1
jne 0x18004994e
movups xmm0, xmmword [rbx]
xor r15d, r15d
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp], xmm0
mov r12d, dword [rsp + 8]
mov r13d, dword [rsp + 4]
mov edi, dword [rsp]
mov ebx, dword [rsp + 0xc]
movups xmmword [rsp + 0x10], xmm1
mov r9d, dword [rsp + 0x10]
mov esi, dword [rsp + 0x18]
mov r14d, dword [rsp + 0x14]
mov r11d, dword [rsp + 0x1c]
mov eax, r9d
mov r8d, r9d
rol eax, 7
mov ecx, r9d
ror r8d, 0xb
not ecx
xor r8d, eax
and ecx, esi
mov eax, r9d
mov edx, edi
ror eax, 6
xor r8d, eax
ror edx, 0xd
mov eax, r14d
and eax, r9d
xor ecx, eax
lea rax, [0x1800e2980]
add r8d, ecx
mov ecx, r13d
add r8d, dword [r15 + rax]
xor ecx, r12d
add r8d, dword [rsp + r15 + 0x30]
and ecx, edi
add r8d, r11d
mov eax, edi
rol eax, 0xa
mov r11d, esi
xor edx, eax
mov esi, r14d
mov eax, edi
mov r14d, r9d
ror eax, 2
lea r9d, [rbx + r8]
xor edx, eax
mov ebx, r12d
mov eax, r13d
add r15, 4
and eax, r12d
mov r12d, r13d
xor ecx, eax
mov r13d, edi
add edx, ecx
lea edi, [rdx + r8]
cmp r15, 0x100
jl 0x1800499cb
mov dword [rsp + 0xc], ebx
mov edx, 8
mov rbx, qword [rbp + 0x88]
mov dword [rsp + 0x18], esi
mov rcx, rbx
mov esi, dword [rbp + 0x80]
mov dword [rsp + 0x14], r14d
mov r14, qword [rbp + 0x78]
mov dword [rsp + 0x1c], r11d
mov r11, qword [rsp + 0x20]
mov dword [rsp + 0x10], r9d
mov dword [rsp], edi
mov dword [rsp + 8], r12d
mov dword [rsp + 4], r13d
mov eax, dword [r11 + rcx - 0x88]
add dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x180049a9b
inc r10d
cmp r10d, esi
jl 0x1800498f2
mov rbx, qword [rsp + 0x170]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x1400e1490]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x1400e14a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.1400c3790
jmp 0x14000123c
mov rax, qword [0x1400e14a0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x1400e14a0]
mov dword [rax], 1
mov rax, qword [0x1400e14e0]
mov rdx, rax
mov rax, qword [0x1400e14d0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x1400e5024], 1
mov rax, qword [0x1400e14a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x1400e14c0]
mov rdx, rax
mov rax, qword [0x1400e14b0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x1400e14a0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x1400e1490]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x1400e13e0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x1400e13e0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.1400c2a18
mov rax, qword [str.__f_]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x1400e1480]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.1400c2210
mov eax, dword [0x1400e5004]
lea rdx, [0x1400e5008]
mov ecx, eax
call fcn.14000147c
call fcn.1400c1fa7
mov rax, qword [0x1400e1410]
mov rax, qword [rax]
mov rdx, qword [0x1400e5010]
mov qword [rax], rdx
mov rcx, qword [0x1400e5010]
mov rdx, qword [0x1400e5008]
mov eax, dword [0x1400e5004]
mov r8, rcx
mov ecx, eax
call fcn.1400016d0
mov dword [0x1400e501c], eax
mov eax, dword [0x1400e5020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x1400e501c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x1400e5024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x1400e501c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400e1440]
mov dword [rax], 1
mov rax, qword [0x1400e1450]
mov dword [rax], 1
mov rax, qword [0x1400e1460]
mov dword [rax], 1
mov rax, qword [0x1400e1400]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400c2220
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.1400c3580
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x1400c2ef2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400e5168]
test eax, eax
je 0x1400c2f8a
lea rax, [0x1400e5140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400e5170]
mov qword [rbp - 8], rax
jmp 0x1400c2f6e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x1400c2f62
cmp qword [rbp - 0x10], 0
je 0x1400c2f62
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400c2f28
lea rax, [0x1400e5140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400c2f8b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400c3090
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400c30b8
mov eax, 0
jmp 0x1400c3106
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400c30e1
mov eax, 0
jmp 0x1400c3106
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1400c3101
mov eax, 0
jmp 0x1400c3106
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1400c310c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1400c318a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400c3181
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1400c3181
mov rax, qword [rbp - 8]
jmp 0x1400c319f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400c3154
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14006c3e4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14006c210
Function at 0x1403d7160
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1403d72e7
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1403d7191
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1403d7177
add dl, dl
jne 0x1403d719e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1403d71fe
xor eax, eax
add dl, dl
jne 0x1403d71ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1403d72b5
add dl, dl
jne 0x1403d71be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1403d71cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1403d71d8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1403d71e5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1403d71f2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1403d7186
mov eax, 1
add dl, dl
jne 0x1403d720e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1403d721b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1403d7203
sub eax, ebx
mov ebx, 1
jne 0x1403d7254
mov ecx, 1
add dl, dl
jne 0x1403d7236
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1403d7243
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1403d722b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1403d7186
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1403d7270
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1403d727d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1403d7265
cmp eax, 0x7d00
jae 0x1403d72a3
cmp eax, 0x500
jb 0x1403d729e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1403d7186
cmp eax, 0x7f
ja 0x1403d72a6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1403d7186
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1403d72da
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1403d7186
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001b5c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001ba6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001ba6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001ba6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001ba6
cmp dword [rcx + 0x84], 0xe
jbe 0x140001ba6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001ba8
xor al, al
add rsp, 0x28
ret

Function at 0x140e89058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140e891df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140e89089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e8906f
add dl, dl
jne 0x140e89096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e890f6
xor eax, eax
add dl, dl
jne 0x140e890a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e891ad
add dl, dl
jne 0x140e890b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e890c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e890d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e890dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140e890ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140e8907e
mov eax, 1
add dl, dl
jne 0x140e89106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e89113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e890fb
sub eax, ebx
mov ebx, 1
jne 0x140e8914c
mov ecx, 1
add dl, dl
jne 0x140e8912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140e8913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e89123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e8907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140e89168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140e89175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e8915d
cmp eax, 0x7d00
jae 0x140e8919b
cmp eax, 0x500
jb 0x140e89196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e8907e
cmp eax, 0x7f
ja 0x140e8919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e8907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140e891d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140e8907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x401950
Capabilities:
Read .ini file

Disassembly:
test rdx, rdx
je 0x401aa6
push rbx
sub rsp, 0x110
mov rax, qword [0x00417b90]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x28], rdx
lea r9, [rsp + 0x80]
lea r8, [0x00412649]
lea rdx, str.StatusMonitor
lea rcx, str.LPRMonitor
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x401a8e
lea r8, [rsp + 0x30]
lea rdx, [0x004126ac]
lea rcx, [rsp + 0x80]
mov byte [rsp + 0x40], 0
call fcn.00409ba0
test rax, rax
je 0x401a8e
lea r8, [rsp + 0x30]
lea rdx, [0x004126ac]
xor ecx, ecx
call fcn.00409ba0
test rax, rax
je 0x401a8e
lea rcx, [rsp + 0x40]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea r8, [rsp + 0x30]
lea rdx, [0x004126ac]
xor ecx, ecx
call fcn.00409ba0
test rax, rax
je 0x401a8e
lea rcx, [rsp + 0xc0]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rcx, [rsp + 0xc0]
call fcn.00409b90
lea rcx, [rsp + 0x40]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x401a8e
xor r8d, r8d
lea rcx, [rsp + 0x40]
lea edx, [r8 + 1]
call fcn.00401820
cmp eax, 1
jne 0x401a8e
lea rcx, [rsp + 0x40]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x401a8e
lea edx, [rbx + 0x400]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.USER32.dll_PostMessageA]
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.00409d20
add rsp, 0x110
pop rbx
ret 0

Function at 0x401959
Capabilities:
Read .ini file

Disassembly:
test rdx, rdx
je 0x401aa6
push rbx
sub rsp, 0x110
mov rax, qword [0x00417b90]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x28], rdx
lea r9, [rsp + 0x80]
lea r8, [0x00412649]
lea rdx, str.StatusMonitor
lea rcx, str.LPRMonitor
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x401a8e
lea r8, [rsp + 0x30]
lea rdx, [0x004126ac]
lea rcx, [rsp + 0x80]
mov byte [rsp + 0x40], 0
call fcn.00409ba0
test rax, rax
je 0x401a8e
lea r8, [rsp + 0x30]
lea rdx, [0x004126ac]
xor ecx, ecx
call fcn.00409ba0
test rax, rax
je 0x401a8e
lea rcx, [rsp + 0x40]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea r8, [rsp + 0x30]
lea rdx, [0x004126ac]
xor ecx, ecx
call fcn.00409ba0
test rax, rax
je 0x401a8e
lea rcx, [rsp + 0xc0]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rcx, [rsp + 0xc0]
call fcn.00409b90
lea rcx, [rsp + 0x40]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x401a8e
xor r8d, r8d
lea rcx, [rsp + 0x40]
lea edx, [r8 + 1]
call fcn.00401820
cmp eax, 1
jne 0x401a8e
lea rcx, [rsp + 0x40]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x401a8e
lea edx, [rbx + 0x400]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.USER32.dll_PostMessageA]
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.00409d20
add rsp, 0x110
pop rbx
ret 0