joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011285
Capabilities:
Get file size
Read file on windows

Disassembly:
jmp 0x140011930
push rbp
push rdi
sub rsp, 0x548
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0xe2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x4f8], rax
lea rcx, [0x1400220a2]
call fcn.140011393
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x44], 1
mov dword [rbp + 0x64], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0xa8], 0
mov dword [rbp + 0xc4], 0
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0x108], 0
lea rax, [rbp + 0x130]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rax, [rbp + 0x260]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
lea rcx, str.E:checkercombo.txt
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x140011a2c
jmp 0x140011b28
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0xffffffff
jne 0x140011a4b
jmp 0x140011b28
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jne 0x140011a6c
jmp 0x140011b28
mov eax, dword [rbp + 0x24]
mov r8d, eax
mov edx, 8
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x140011a9f
jmp 0x140011b28
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0xc4]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140011acc
jmp 0x140011b28
lea rdx, [0x14001adac]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ucrtbased.dll_strtok]
mov qword [rbp + 0xe8], rax
cmp qword [rbp + 0xe8], 0
je 0x140011b16
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.ucrtbased.dll_puts]
lea rdx, [0x14001adac]
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_strtok]
mov qword [rbp + 0xe8], rax
jmp 0x140011ae7
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rbp + 0x44], 0
cmp dword [rbp + 0x44], 0
je 0x140011b37
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x64], eax
cmp qword [rbp + 8], 0
je 0x140011b48
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp + 0xa8], 0
je 0x140011b6b
mov r8, qword [rbp + 0xa8]
mov edx, 8
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [rbp + 0x64]
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001ad10]
call fcn.14001132f
mov eax, edi
mov rcx, qword [rbp + 0x4f8]
xor rcx, rbp
call fcn.1400111bd
lea rsp, [rbp + 0x508]
pop rdi
pop rbp
ret
Function at 0x14001128f
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400144b0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400144d0
xor al, al
jmp 0x140014551
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400144e3
xor al, al
jmp 0x140014551
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001450d
xor al, al
jmp 0x140014551
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014521
xor al, al
jmp 0x140014551
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014533
xor al, al
jmp 0x140014551
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001454f
xor al, al
jmp 0x140014551
mov al, 1
add rsp, 0x38
ret
Function at 0x6c641580
Capabilities:
Get graphical window text

Disassembly:
push r12
push rsi
push rbx
add rsp, 0xffffffffffffff80
mov rsi, qword [sym.imp.user32.dll_SendMessageW]
xor r9d, r9d
shl r8d, 0xc
mov rbx, rdx
mov r12, rcx
mov dword [rsp + 0x20], 0xd
mov dword [rsp + 0x2c], r8d
mov edx, 0x1004
xor r8d, r8d
mov dword [rsp + 0x30], 0xf000
call rsi
mov dword [rsp + 0x28], 0
xor r8d, r8d
mov rcx, r12
mov dword [rsp + 0x24], eax
mov rax, qword [rbx + 0x10]
lea r9, [rsp + 0x20]
mov edx, 0x104d
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x38], rax
call rsi
nop
sub rsp, 0xffffffffffffff80
pop rbx
pop rsi
pop r12
ret

Function at 0x6c641a90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbp, qword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [rcx + 0x10]
mov rdi, rcx
test eax, eax
jle 0x6c641ae2
mov rbp, qword [sym.imp.kernel32.dll_HeapFree]
xor esi, esi
xor ebx, ebx
mov r12, qword gs:[0x30]
nop
mov rdx, qword [r12 + 0x60]
mov rax, qword [rdi + 0x18]
add ebx, 1
mov rcx, qword [rdx + 0x30]
mov r8, qword [rax + rsi + 8]
xor edx, edx
add rsi, 0x18
call rbp
cmp dword [rdi + 0x10], ebx
jg 0x6c641ac0
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov r8, qword [rdi + 0x18]
xor edx, edx
mov rcx, qword [rax + 0x30]
call rbp
mov qword [rdi + 0x18], 0
mov dword [rdi + 0x10], 0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x6c641d00
Capabilities:
Query or enumerate registry value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftCryptographyUICertmgrPurpose
mov rcx, 0xffffffff80000001
xor r12d, r12d
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 0x20019
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.advapi32.dll_RegCreateKeyExW]
test eax, eax
jne 0x6c641d9f
lea rsi, [rsp + 0x54]
xor r8d, r8d
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], rsi
mov rbx, qword [sym.imp.advapi32.dll_RegQueryValueExA]
lea r9, [rsp + 0x50]
lea rdx, str.Purpose
call rbx
test eax, eax
je 0x6c641db0
cmp eax, 0xea
je 0x6c641db0
xor r12d, r12d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov rax, r12
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
ret
cmp dword [rsp + 0x50], 1
jne 0x6c641d91
mov rdi, qword gs:[0x30]
mov rax, qword [rdi + 0x60]
mov r8d, dword [rsp + 0x54]
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov r12, rax
test rax, rax
je 0x6c641d91
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], rsi
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea rdx, str.Purpose
call rbx
test eax, eax
je 0x6c641d94
mov rax, qword [rdi + 0x60]
mov r8, r12
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x6c641d91
Function at 0x6c641ed0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get ntdll base address

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
mov r13, qword [sym.imp.user32.dll_SendMessageW]
mov rbp, r8
mov r12, rcx
xor r8d, r8d
mov rbx, rdx
mov rdi, r9
mov edx, 0x1004
xor r9d, r9d
call r13
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x20]
xor r8d, r8d
mov dword [rsp + 0x24], eax
mov rsi, rax
mov r9, rbp
mov edx, 0x104d
mov dword [rsp + 0x20], 5
mov rcx, r12
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x48], rbx
call r13
test rdi, rdi
je 0x6c641f5a
mov qword [rsp + 0x38], rdi
mov r9, rbp
movsxd r8, esi
mov edx, 0x1074
mov dword [rsp + 0x28], 1
mov rcx, r12
call r13
mov eax, dword [rbx + 0x10]
test eax, eax
je 0x6c641ff8
add eax, 1
mov r8, qword [rbx + 0x18]
cdqe
lea r9, [rax + rax*2]
mov rdx, qword gs:[0x30]
mov rax, qword [rdx + 0x60]
shl r9, 3
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapReAlloc]
mov qword [rbx + 0x18], rax
test rax, rax
je 0x6c641fe4
movsxd rdx, dword [rbx + 0x10]
mov rcx, qword [rsp + 0xe0]
lea rdx, [rdx + rdx*2]
mov qword [rax + rdx*8], rcx
movsxd rax, dword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
lea rax, [rax + rax*2]
lea rax, [rdx + rax*8]
mov rdx, qword [rsp + 0xe8]
mov qword [rax + 8], 0
movsxd rax, dword [rbx + 0x10]
mov rcx, qword [rbx + 0x18]
lea rax, [rax + rax*2]
lea rax, [rcx + rax*8]
mov qword [rax + 0x10], rdx
add dword [rbx + 0x10], 1
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov r8d, 0x18
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov qword [rbx + 0x18], rax
jmp 0x6c641f93
Function at 0x6c644630
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rdi, qword [sym.imp.crypt32.dll_CryptFormatObject]
xor r9d, r9d
xor r12d, r12d
lea rbp, [rsp + 0x5c]
mov r8d, edx
mov rbx, rcx
mov esi, edx
mov qword [rsp + 0x40], rbp
xor edx, edx
mov qword [rsp + 0x38], 0
mov eax, dword [rcx + 0x10]
mov dword [rsp + 0x30], eax
mov rax, qword [rcx + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rcx]
mov ecx, 1
mov qword [rsp + 0x20], rax
call rdi
test eax, eax
je 0x6c6446d9
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov r8d, dword [rsp + 0x5c]
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov qword [rsp + 0x40], rbp
xor r9d, r9d
mov r8d, esi
mov qword [rsp + 0x38], rax
mov r12, rax
mov eax, dword [rbx + 0x10]
xor edx, edx
mov ecx, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
call rdi
mov rax, r12
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x6c644f70
Capabilities:
Get graphical window text

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
add rsp, 0xffffffffffffff80
mov rdi, qword gs:[0x30]
mov r13, rdx
mov edx, 0x965
call qword [sym.imp.user32.dll_GetDlgItem]
mov r8d, 0x30
mov edx, 8
mov rsi, qword [sym.imp.kernel32.dll_HeapAlloc]
mov r12, rax
mov rax, qword [rdi + 0x60]
mov rcx, qword [rax + 0x30]
call rsi
mov rbx, rax
test rax, rax
je 0x6c645049
mov rcx, r13
call qword [sym.imp.ucrtbase.dll_strlen]
mov rdx, qword [rdi + 0x60]
lea r8, [rax + 1]
mov rcx, qword [rdx + 0x30]
xor edx, edx
call rsi
mov rsi, rax
test rax, rax
je 0x6c645055
mov rdx, r13
mov rcx, rax
call qword [sym.imp.ucrtbase.dll_strcpy]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rax, qword [0x6c655f58]
mov rcx, r12
mov qword [rbx + 8], rsi
mov dword [rbx], 0x30
mov dword [rsp + 0x20], 0xd
mov qword [rsp + 0x2c], rax
call qword [sym.imp.user32.dll_SendMessageW]
mov qword [rsp + 0x48], rbx
xor r8d, r8d
mov rcx, r12
mov dword [rsp + 0x24], eax
lea r9, [rsp + 0x20]
mov edx, 0x1007
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x38], rsi
call qword [sym.imp.user32.dll_SendMessageA]
nop
sub rsp, 0xffffffffffffff80
pop rbx
pop rsi
pop rdi
pop r12
pop r13
ret
mov rax, qword [rdi + 0x60]
mov r8, rbx
xor edx, edx
mov rcx, qword [rax + 0x30]
sub rsp, 0xffffffffffffff80
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp qword [sym.imp.kernel32.dll_HeapFree]
Function at 0x6c647680
Capabilities:
Get graphical window text

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x2a8
mov edx, 0x10
mov r12, rcx
lea rsi, [rsp + 0xa0]
call qword [sym.imp.user32.dll_GetWindowLongPtrW]
mov rdi, qword [sym.imp.user32.dll_GetDlgItem]
mov edx, 0x960
mov rcx, r12
mov rbx, rax
call rdi
mov r9, rsi
mov r8d, 0x100
mov edx, 0xd
mov rbp, qword [sym.imp.user32.dll_SendMessageW]
mov rcx, rax
call rbp
mov rcx, qword [rbx]
mov r8, rsi
mov edx, 0xb
call fcn.6c647620
mov edx, 0x961
mov rcx, r12
call rdi
mov r9, rsi
mov r8d, 0x100
mov edx, 0xd
mov rcx, rax
call rbp
mov rcx, qword [rbx]
mov r8, rsi
mov edx, 0xd
call fcn.6c647620
mov rsi, qword [sym.imp.user32.dll_IsDlgButtonChecked]
mov edx, 0x962
mov rcx, r12
call rsi
test eax, eax
je 0x6c647780
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertSetEnhancedKeyUsage]
mov rsi, qword [sym.imp.user32.dll_GetParent]
mov rcx, r12
call rsi
mov rcx, rax
call rsi
xor r8d, r8d
lea rdx, [0x6c6475d0]
mov rcx, rax
call qword [sym.imp.user32.dll_EnumChildWindows]
mov rax, qword [rbx + 8]
test rax, rax
je 0x6c647767
mov dword [rax], 1
add rsp, 0x2a8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov edx, 0x963
mov rcx, r12
call rsi
test eax, eax
je 0x6c6477b0
mov dword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x48], 0
mov rcx, qword [rbx]
call qword [sym.imp.crypt32.dll_CertSetEnhancedKeyUsage]
jmp 0x6c647734
mov edx, 0x964
mov rcx, r12
call rsi
test eax, eax
je 0x6c647734
mov edx, 0x965
mov rcx, r12
xor r15d, r15d
call rdi
mov dword [rsp + 0x30], 0
xor r9d, r9d
xor r8d, r8d
mov rsi, rax
mov edx, 0x1004
lea rdi, [rsp + 0x40]
mov rcx, rax
mov qword [rsp + 0x38], 0
call rbp
mov dword [rsp + 0x40], 0xc
mov dword [rsp + 0x48], 0
mov r13d, eax
mov dword [rsp + 0x50], 0xf000
test eax, eax
jle 0x6c6478c0
mov rax, qword gs:[0x30]
mov qword [rsp + 0x28], rax
jmp 0x6c64783d
add r15d, 1
cmp r13d, r15d
je 0x6c6478c0
xor r8d, r8d
mov dword [rsp + 0x44], r15d
mov r9, rdi
mov edx, 0x104b
mov rcx, rsi
call rbp
test rax, rax
je 0x6c647830
mov eax, dword [rsp + 0x4c]
shr eax, 0xc
cmp eax, 2
jne 0x6c647830
mov eax, dword [rsp + 0x30]
mov r14, qword [rsp + 0x68]
test eax, eax
je 0x6c6478f8
lea r9d, [rax + 1]
mov r8, qword [rsp + 0x38]
mov rdx, qword gs:[0x30]
mov rax, qword [rdx + 0x60]
shl r9, 3
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapReAlloc]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x6c647830
mov edx, dword [rsp + 0x30]
lea ecx, [rdx + 1]
mov dword [rsp + 0x30], ecx
mov rcx, qword [r14 + 8]
mov qword [rax + rdx*8], rcx
jmp 0x6c647830
mov rcx, qword [rbx]
lea rdx, [rsp + 0x30]
call qword [sym.imp.crypt32.dll_CertSetEnhancedKeyUsage]
mov r8, qword [rsp + 0x38]
xor edx, edx
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x6c647734
mov rax, qword [rsp + 0x28]
mov r8d, 8
xor edx, edx
mov rax, qword [rax + 0x60]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov qword [rsp + 0x38], rax
jmp 0x6c64789f
Function at 0x6c64b450
Capabilities:
Get geographical location

Disassembly:
push r13
push r12
push rsi
push rbx
sub rsp, 0x188
mov r9d, 0x50
mov r12, rdx
lea rsi, [rsp + 0x40]
mov edx, 0x1f
mov r13, rcx
mov r8, rsi
mov ecx, 0x800
lea rbx, [rsp + 0x30]
call qword [sym.imp.kernel32.dll_GetLocaleInfoW]
mov rcx, r12
lea r12, [rsp + 0xe0]
mov rdx, rbx
call qword [sym.imp.kernel32.dll_FileTimeToSystemTime]
xor edx, edx
mov qword [rsp + 0x20], r12
mov r9, rsi
mov dword [rsp + 0x28], 0x50
mov r8, rbx
mov ecx, 0x800
call qword [sym.imp.kernel32.dll_GetDateFormatW]
cmp word [rsp + 0xe0], 0
je 0x6c64b500
mov r8, r12
nop dword [rax + rax]
add r8, 2
cmp word [r8], 0
jne 0x6c64b4d0
sub r8, r12
sar r8, 1
mov rdx, r12
mov rcx, r13
call fcn.6c64b350
nop
add rsp, 0x188
pop rbx
pop rsi
pop r12
pop r13
ret
xor r8d, r8d
jmp 0x6c64b4e1
Function at 0x6c64d360
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x70
mov rbx, rcx
test byte [0x6c653240], 8
jne 0x6c64d500
mov eax, dword [rbx]
cmp eax, 0x40
jne 0x6c64d4d8
movdqu xmm0, xmmword [rbx]
movdqu xmm1, xmmword [rbx + 0x10]
movdqu xmm2, xmmword [rbx + 0x20]
movdqu xmm3, xmmword [rbx + 0x30]
mov r8, qword [rbx + 0x18]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x50], xmm2
movups xmmword [rsp + 0x60], xmm3
test r8, r8
je 0x6c64d419
mov r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r12, qword [sym.imp.kernel32.dll_MultiByteToWideChar]
call r12
xor edx, edx
movsxd r8, eax
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rsi, r8
add r8, r8
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [rsp + 0x28], esi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rbx + 0x18]
mov qword [rsp + 0x48], rax
call r12
mov r8, qword [rbx + 0x20]
test r8, r8
je 0x6c64d488
mov r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r12, qword [sym.imp.kernel32.dll_MultiByteToWideChar]
call r12
xor edx, edx
movsxd r8, eax
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rsi, r8
add r8, r8
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [rsp + 0x28], esi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rbx + 0x20]
mov qword [rsp + 0x50], rax
call r12
lea rcx, [rsp + 0x30]
call sym.cryptui.dll_CryptUIDlgSelectStoreW
mov r8, qword [rsp + 0x50]
mov rbx, qword [sym.imp.kernel32.dll_HeapFree]
xor edx, edx
mov r12, rax
mov rsi, qword gs:[0x30]
mov rax, qword [rsi + 0x60]
mov rcx, qword [rax + 0x30]
call rbx
mov rax, qword [rsi + 0x60]
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rcx, qword [rax + 0x30]
call rbx
mov rax, r12
add rsp, 0x70
pop rbx
pop rsi
pop r12
ret
test byte [0x6c653240], 4
jne 0x6c64d530
xor r12d, r12d
mov rax, qword gs:[0x30]
mov dword [rax + 0x68], 0x80070057
mov rax, r12
add rsp, 0x70
pop rbx
pop rsi
pop r12
ret
mov qword [rsp + 0x20], rcx
lea r9, str.__p__n
lea r8, str.CryptUIDlgSelectStoreA
mov ecx, 3
lea rdx, [0x6c653240]
call fcn.6c6490a0
jmp 0x6c64d378
mov dword [rsp + 0x20], eax
lea r9, str.unexpected_size__ld_n
lea r8, str.CryptUIDlgSelectStoreA
mov ecx, 2
lea rdx, [0x6c653240]
call fcn.6c6490a0
jmp 0x6c64d4e1
Function at 0x6c6520e0
Capabilities:
Query environment variable

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x230
mov rax, qword [0x6c663180]
mov r12, rcx
mov rbx, rdx
test rax, rax
je 0x6c652170
mov rcx, rbx
call rax
mov dword [rbx + 0xc], eax
test eax, eax
js 0x6c65215c
lea rsi, [rsp + 0x20]
mov r8d, 0x104
mov rcx, r12
mov rdx, rsi
call qword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov rcx, qword [rbx]
mov r8, rsi
lea rdx, str.MODULE
mov rax, qword [rcx]
call qword [rax + 0x18]
mov r8d, 0x104
mov rdx, rsi
lea rcx, str.SystemRoot
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov rcx, qword [rbx]
mov r8, rsi
lea rdx, str.SystemRoot
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rax, qword [rbx]
add rsp, 0x230
pop rbx
pop rsi
pop r12
ret
lea rcx, str.atl100.dll
call qword [sym.imp.kernel32.dll_LoadLibraryW]
mov rcx, rax
test rax, rax
je 0x6c6521a2
lea rdx, str.AtlCreateRegistrar
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [0x6c663180], rax
test rax, rax
jne 0x6c6520fd
mov dword [rbx + 0xc], 0x80004002
xor eax, eax
jmp 0x6c65215f
Function at 0x10007510
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xa0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor edi, edi
xor eax, eax
lock cmpxchg qword [0x10015150], rbx
je 0x10007566
cmp rax, rbx
jne 0x10007559
mov edi, 1
jmp 0x10007566
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10007540
mov eax, dword [0x10015148]
cmp eax, 1
jne 0x1000757b
lea ecx, [rax + 0x1e]
call sub.MSVCR80.dll__amsg_exit
jmp 0x100075ba
mov eax, dword [0x10015148]
test eax, eax
jne 0x100075b0
mov dword [0x10015148], 1
lea rdx, [0x100014d0]
lea rcx, [0x100014b8]
call sub.MSVCR80.dll__initterm_e
test eax, eax
je 0x100075ba
mov eax, 0xff
jmp 0x10007714
mov dword [0x10014314], 1
mov eax, dword [0x10015148]
cmp eax, 1
jne 0x100075e2
lea rdx, [0x100014b0]
lea rcx, [0x10001470]
call sub.MSVCR80.dll__initterm
mov dword [0x10015148], 2
test edi, edi
jne 0x100075ef
xor eax, eax
xchg qword [0x10015150], rax
cmp qword [0x10015168], 0
je 0x10007618
lea rcx, [0x10015168]
call fcn.10007b90
test eax, eax
je 0x10007618
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x10015168]
mov rax, qword [sym.imp.MSVCR80.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
nop
nop
movzx ecx, byte [rbx]
cmp cl, 0x20
ja 0x100076aa
test cl, cl
je 0x10007640
test edi, edi
jne 0x100076aa
movzx eax, byte [rbx]
test al, al
je 0x10007656
cmp al, 0x20
ja 0x10007656
add rbx, 1
mov qword [rsp + 0x28], rbx
jmp 0x10007640
test byte [rsp + 0x6c], 1
je 0x10007665
movzx r9d, word [rsp + 0x70]
jmp 0x1000766b
mov r9d, 0xa
mov r8, rbx
xor edx, edx
lea rcx, [0x10000000]
call fcn.10005300
mov dword [0x10014310], eax
cmp dword [0x100142f4], 0
jne 0x10007693
mov ecx, eax
call qword [sym.imp.MSVCR80.dll_exit]
cmp dword [0x10014314], 0
jne 0x100076a8
call qword [sym.imp.MSVCR80.dll__cexit]
mov eax, dword [0x10014310]
jmp 0x1000770d
cmp cl, 0x22
jne 0x100076bc
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
movzx ecx, cl
call qword [sym.imp.MSVCR80.dll__ismbblead]
test eax, eax
je 0x100076d2
add rbx, 1
mov qword [rsp + 0x28], rbx
add rbx, 1
mov qword [rsp + 0x28], rbx
jmp 0x10007630
jmp 0x10007714
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
sub rsp, 0x28
call fcn.10168000
add rsp, 0x28
jmp 0x10007510
Function at 0x180010260
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180010288
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180010288
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14043c9a0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14043c9b0]
mov dword [rax], 1
mov rax, qword [0x14043c9c0]
mov dword [rax], 1
mov rax, qword [0x14043c990]
mov dword [rax], 1
mov rax, qword [0x14043c840]
cmp word [rax], 0x5a4d
jne 0x140001067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010d0
mov rax, qword [0x14043c980]
mov dword [0x140443020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010c0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x14043c940]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x14043c920]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x14043c7f0]
cmp dword [rax], 1
je 0x140001108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001120
cmp dx, 0x20b
jne 0x140001067
cmp dword [rax + 0x84], 0xe
jbe 0x140001067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x140001067
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x140001067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x140001067