joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50fd00
Capabilities:
Hash data using sha384
Hash data using sha512

Disassembly:
mov rcx, qword [rax + 0xd0]
cmp rcx, 6
jne 0x50fd85
movabs rcx, 0xcbbb9d5dc1059ed8
mov qword [rax], rcx
movabs rcx, 0x629a292a367cd507
mov qword [rax + 8], rcx
movabs rcx, 0x9159015a3070dd17
mov qword [rax + 0x10], rcx
movabs rcx, 0x152fecd8f70e5939
mov qword [rax + 0x18], rcx
movabs rcx, 0x67332667ffc00b31
mov qword [rax + 0x20], rcx
movabs rcx, 0x8eb44a8768581511
mov qword [rax + 0x28], rcx
movabs rcx, 0xdb0c2e0d64f98fa7
mov qword [rax + 0x30], rcx
movabs rcx, 0x47b5481dbefa4fa4
mov qword [rax + 0x38], rcx
nop dword [rax]
jmp 0x50fee6
cmp rcx, 0xe
jne 0x50fe00
movabs rcx, 0x8c3d37c819544da2
mov qword [rax], rcx
movabs rcx, 0x73e1996689dcd4d6
mov qword [rax + 8], rcx
movabs rcx, 0x1dfab7ae32ff9c82
mov qword [rax + 0x10], rcx
movabs rcx, 0x679dd514582f9fcf
mov qword [rax + 0x18], rcx
movabs rcx, 0xf6d2b697bd44da8
mov qword [rax + 0x20], rcx
movabs rcx, 0x77e36f7304c48942
mov qword [rax + 0x28], rcx
movabs rcx, 0x3f9d85a86a1d36c8
mov qword [rax + 0x30], rcx
movabs rcx, 0x1112e6ad91d692a1
mov qword [rax + 0x38], rcx
jmp 0x50fee6
cmp rcx, 0xf
jne 0x50fe77
movabs rcx, 0x22312194fc2bf72c
mov qword [rax], rcx
movabs rcx, 0x9f555fa3c84c64c2
mov qword [rax + 8], rcx
movabs rcx, 0x2393b86b6f53b151
mov qword [rax + 0x10], rcx
movabs rcx, 0x963877195940eabd
mov qword [rax + 0x18], rcx
movabs rcx, 0x96283ee2a88effe3
mov qword [rax + 0x20], rcx
movabs rcx, 0xbe5e1e2553863992
mov qword [rax + 0x28], rcx
movabs rcx, 0x2b0199fc2c85b8aa
mov qword [rax + 0x30], rcx
movabs rcx, 0xeb72ddc81c52ca2
mov qword [rax + 0x38], rcx
jmp 0x50fee6
movabs rcx, 0x6a09e667f3bcc908
mov qword [rax], rcx
movabs rcx, 0xbb67ae8584caa73b
mov qword [rax + 8], rcx
movabs rcx, 0x3c6ef372fe94f82b
mov qword [rax + 0x10], rcx
movabs rcx, 0xa54ff53a5f1d36f1
mov qword [rax + 0x18], rcx
movabs rcx, 0x510e527fade682d1
mov qword [rax + 0x20], rcx
movabs rcx, 0x9b05688c2b3e6c1f
mov qword [rax + 0x28], rcx
movabs rcx, 0x1f83d9abfb41bd6b
mov qword [rax + 0x30], rcx
movabs rcx, 0x5be0cd19137e2179
mov qword [rax + 0x38], rcx
movups xmmword [rax + 0xc0], xmm15
ret
Function at 0x6d8c79d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d8e85e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d8c7b58
mov rax, qword [0x6d8e85e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d8c7a1c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d8c7aa5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d8c7a00
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d8c7b8d
mov rax, qword [0x6d8e85e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6d8e85e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d8c7b70
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d8c7a9e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d8c7b00
add dword [0x6d8e85e4], 1
cmp edi, 8
jae 0x6d8c7ad3
test dil, 4
jne 0x6d8c7b44
test edi, edi
je 0x6d8c7ac8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d8c7b5f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6d8c7ac8
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6d8c7aec
jmp 0x6d8c7ac8
add rsi, qword [0x6d8e85e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6d8c7a9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6d8c7ac8
xor esi, esi
jmp 0x6d8c7a27
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d8c7ac8
mov rax, qword [0x6d8e85e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6d8c82e0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d8e88c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d8e88a0]
test rbx, rbx
je 0x6d8c8334
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6d8c832b
test rsi, rsi
je 0x6d8c832b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d8c8310
lea rcx, [0x6d8e88c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d8c8570
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6d8c8580
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6d8c8590
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6d8c85d1
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d8c85c8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d8c85d3
add rax, 0x28
cmp rax, r9
jne 0x6d8c85b4
xor eax, eax
ret

Function at 0x6d8c8670
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8e51f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d8c86dd
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8c86dd
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d8c86dd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d8c86d4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8c86df
add rax, 0x28
cmp rax, r9
jne 0x6d8c86c0
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d8c87e0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8e51f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d8c8800
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8c87f8
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d8c885d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d8c8854
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8c8864
add rax, 0x28
cmp rax, r9
jne 0x6d8c8840
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d8c8880
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d8e51f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d8c88ee
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8c88ee
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d8c88ee
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d8c88ee
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d8c88e5
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d8c88f5
add rcx, 0x28
cmp rcx, rax
jne 0x6d8c88d0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d8c8908
jmp 0x6d8c88ee
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d8c8916
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d8c88ee
test r9d, r9d
jg 0x6d8c8900
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d8c8c80
Capabilities:
Write file on windows

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

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d9115e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d8f0888
mov rax, qword [0x6d9115e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d8f074c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d8f07d5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d8f0730
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d8f08bd
mov rax, qword [0x6d9115e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6d9115e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d8f08a0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d8f07ce
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d8f0830
add dword [0x6d9115e4], 1
cmp edi, 8
jae 0x6d8f0803
test dil, 4
jne 0x6d8f0874
test edi, edi
je 0x6d8f07f8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d8f088f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6d8f07f8
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6d8f081c
jmp 0x6d8f07f8
add rsi, qword [0x6d9115e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6d8f07ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6d8f07f8
xor esi, esi
jmp 0x6d8f0757
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d8f07f8
mov rax, qword [0x6d9115e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6d8f1010
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d9118c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d9118a0]
test rbx, rbx
je 0x6d8f1064
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6d8f105b
test rsi, rsi
je 0x6d8f105b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d8f1040
lea rcx, [0x6d9118c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d8f12a0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6d8f12b0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6d8f12c0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6d8f1301
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d8f12f8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d8f1303
add rax, 0x28
cmp rax, r9
jne 0x6d8f12e4
xor eax, eax
ret

Function at 0x6d8f13a0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d90e1f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d8f140d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8f140d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d8f140d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d8f1404
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8f140f
add rax, 0x28
cmp rax, r9
jne 0x6d8f13f0
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d8f1510
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d90e1f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d8f1530
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8f1528
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d8f158d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d8f1584
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8f1594
add rax, 0x28
cmp rax, r9
jne 0x6d8f1570
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d8f15b0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d90e1f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d8f161e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8f161e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d8f161e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d8f161e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d8f1615
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d8f1625
add rcx, 0x28
cmp rcx, rax
jne 0x6d8f1600
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d8f1638
jmp 0x6d8f161e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d8f1646
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d8f161e
test r9d, r9d
jg 0x6d8f1630
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d8f19b0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x1000053c8
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov ebx, 1
movsxd rsi, ecx
cmp rbx, rsi
jge 0x10000557c
mov rcx, qword [rdi + rbx*8]
lea rdx, [0x100001f94]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x10000554e
mov rcx, qword [rdi + rbx*8]
lea rdx, [0x100001f9c]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x10000554e
mov rcx, qword [rdi + rbx*8]
lea rdx, [0x100001fa4]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x10000553d
mov rcx, qword [rdi + rbx*8]
lea rdx, [0x100001fac]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x10000553d
mov rcx, qword [rdi + rbx*8]
lea rdx, [0x100001fb4]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x10000552c
mov rcx, qword [rdi + rbx*8]
lea rdx, [0x100001fbc]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x10000552c
mov rcx, qword [rdi + rbx*8]
lea rdx, [0x100001fc4]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x10000551b
mov rcx, qword [rdi + rbx*8]
lea rdx, [0x100001fcc]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x10000551b
mov rcx, qword [rdi + rbx*8]
lea rdx, [0x100001fd4]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x10000550f
mov rcx, qword [rdi + rbx*8]
lea rdx, [0x100001fdc]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x10000550f
mov rcx, qword [rdi + rbx*8]
lea rdx, [0x100001fe8]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x100005503
mov rcx, qword [rdi + rbx*8]
lea rdx, [0x100001ff8]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x100005566
mov dword [0x100009e64], 1
jmp 0x10000555d
mov dword [0x100009e60], 1
jmp 0x10000555d
add rbx, 1
mov rax, qword [rdi + rbx*8]
mov qword [0x100009410], rax
jmp 0x10000555d
add rbx, 1
mov rax, qword [rdi + rbx*8]
mov qword [0x100009e58], rax
jmp 0x10000555d
add rbx, 1
mov rax, qword [rdi + rbx*8]
mov qword [0x100009e50], rax
jmp 0x10000555d
add rbx, 1
mov rax, qword [rdi + rbx*8]
mov qword [0x100009e48], rax
add rbx, 1
jmp 0x1000053e2
lea rcx, [0x100001bc0]
call qword [sym.imp.msvcrt.dll_wprintf]
xor ecx, ecx
call qword [sym.imp.msvcrt.dll_exit]
int3
cmp qword [0x100009e48], 0
je 0x10000561c
cmp qword [0x100009e50], 0
je 0x10000561c
cmp qword [0x100009e58], 0
je 0x10000561c
call fcn.100005c70
test eax, eax
je 0x1000055c3
lea rcx, [0x100002010]
mov edx, eax
call qword [sym.imp.msvcrt.dll_wprintf]
xor ecx, ecx
call qword [sym.imp.msvcrt.dll_exit]
int3
call fcn.100006080
test eax, eax
je 0x1000055e4
lea rcx, [0x100002070]
mov edx, eax
call qword [sym.imp.msvcrt.dll_wprintf]
xor ecx, ecx
call qword [sym.imp.msvcrt.dll_exit]
int3
cmp dword [0x100009e68], 0
jne 0x1000055fd
cmp dword [0x100009e6c], 0
lea rcx, [0x1000021e0]
je 0x100005604
lea rcx, [0x1000020e0]
call qword [sym.imp.msvcrt.dll_wprintf]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret
lea rcx, [0x100001bc0]
call qword [sym.imp.msvcrt.dll_wprintf]
xor ecx, ecx
call qword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x100005780
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x270
mov rax, qword [0x100009100]
xor rax, rsp
mov qword [rsp + 0x260], rax
cmp dword [0x100009e64], 1
mov rbx, rdx
mov rsi, rcx
jne 0x1000057c5
lea rdx, [0x100002318]
lea rcx, [0x100002328]
call qword [sym.imp.msvcrt.dll_printf]
lea r12, [0x100002338]
lea r9, [rsp + 0x50]
lea r8, [0x100001bb0]
lea rcx, [0x100002358]
mov rdx, rsi
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x104
mov edi, 0x80004005
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x10000589d
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
and ecx, ecx
mov edi, ecx
add rcx, rcx
call qword [sym.imp.msvcrt.dll_malloc]
test rax, rax
mov rdx, rax
mov qword [rbx], rax
jne 0x10000584b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x100009e64], 1
mov edi, eax
jne 0x1000059b0
mov r9d, 0x111
jmp 0x10000590c
test rdi, rdi
je 0x100005896
cmp rdi, 0x7fffffff
ja 0x100005896
lea r8, [rsp + 0x50]
mov ecx, 0x7ffffffe
sub rcx, rdi
sub r8, rax
lea rax, [rcx + rdi]
test rax, rax
je 0x100005889
movzx eax, word [r8 + rdx]
test ax, ax
je 0x100005889
mov word [rdx], ax
add rdx, 2
sub rdi, 1
jne 0x100005869
test rdi, rdi
jne 0x100005892
sub rdx, 2
and word [rdx], 0
xor edi, edi
jmp 0x100005993
lea rcx, [rsp + 0x38]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
test eax, eax
jne 0x100005993
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
test eax, eax
jne 0x100005993
mov rdi, qword [rsp + 0x30]
or rcx, 0xffffffffffffffff
xor eax, eax
repne scasw ax, word [rdi]
not rcx
and ecx, ecx
mov edi, ecx
add rcx, rcx
call qword [sym.imp.msvcrt.dll_malloc]
test rax, rax
mov r11, rax
mov qword [rbx], rax
jne 0x100005924
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x100009e64], 1
mov edi, eax
jne 0x1000059b0
mov r9d, 0x11e
lea r8, [0x100002370]
lea rcx, [0x1000023b8]
mov edx, eax
call qword [sym.imp.msvcrt.dll_printf]
jmp 0x100005993
test rdi, rdi
je 0x100005970
cmp rdi, 0x7fffffff
ja 0x100005970
mov rdx, qword [rsp + 0x30]
mov ecx, 0x7ffffffe
sub rcx, rdi
lea rax, [rcx + rdi]
test rax, rax
je 0x100005962
movzx eax, word [rdx]
test ax, ax
je 0x100005962
mov word [r11], ax
add rdx, 2
add r11, 2
sub rdi, 1
jne 0x10000593f
test rdi, rdi
jne 0x10000596b
sub r11, 2
and word [r11], 0
lea rcx, [rsp + 0x30]
xor edi, edi
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
mov r8, qword [rbx]
lea rcx, [0x100002358]
mov r9, r12
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [0x100009e64], 1
jne 0x1000059b0
lea rdx, [0x100002318]
lea rcx, [0x1000023d0]
call qword [sym.imp.msvcrt.dll_printf]
mov eax, edi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.100007c10
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop r12
pop rdi
pop rsi
ret
Function at 0x100007e70
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x100007eba
cmp rcx, 0xffffffffffffffff
je 0x100007eba
cmp word [rcx], 0x5a4d
jne 0x100007eb2
cmp dword [rcx + 0x3c], edx
jl 0x100007eb2
cmp dword [rcx + 0x3c], 0x10000000
jae 0x100007eb2
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x100007eba
mov rax, rdx
add rsp, 0x18
ret