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

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

Function at 0x14004f354
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x240
mov rax, qword [0x14008c040]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdx, [0x14006e458]
mov rbp, rcx
call fcn.14005b94c
xor edi, edi
test rax, rax
je 0x14004f43a
mov ebx, edi
call fcn.14004d814
mov r14d, dword [rax]
call fcn.14004d814
mov r8d, 0x104
lea rcx, [rsp + 0x20]
mov rdx, rbp
mov dword [rax], edi
call fcn.14005b898
mov rsi, rax
test rax, rax
je 0x14004f3cb
call fcn.14004d814
mov dword [rax], r14d
jmp 0x14004f3f5
call fcn.14004d814
cmp dword [rax], 0x22
jne 0x14004f432
call fcn.14004d814
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.14005b898
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x14004f432
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x14004f3f9
cmp rax, 3
je 0x14004f414
mov rcx, rsi
call fcn.14004f2b0
test al, al
je 0x14004f425
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x14004f425
mov dil, 1
mov rcx, rbx
call fcn.14004cbdc
mov al, dil
jmp 0x14004f43c
mov rcx, rbx
call fcn.14004cbdc
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400417f0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x14004f780
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14004f5df
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004f5df
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004f5df
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004f5df
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004f5df
cmp dword [rcx + 0x84], 0xe
jbe 0x14004f5df
cmp dword [rcx + 0xf8], 0
je 0x14004f5df
mov ecx, ebx
call fcn.14004f69c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14004f46c
nop
cmp dword [rbp + 0x20], 0
je 0x14004f62d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14004f638
int3
xor r8d, r8d
xor edx, edx
jmp 0x14004f570
Function at 0x14005f114
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14005f19b
mov rsi, rbx
cmp word [rax], bp
je 0x14005f15a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14005f144
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14005f140
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140057e2c
mov rdi, rax
test rax, rax
je 0x14005f188
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400667d0
mov rbp, rdi
xor ecx, ecx
call fcn.140057df0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140066040
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140066068
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140066068
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180001040
Capabilities:
Accept command line arguments

Disassembly:
push rbx
sub rsp, 0x20
cmp edx, 1
mov rbx, r8
jne 0x1800011a7
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0x94
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rbx, rax
je 0x180001098
mov rcx, rax
mov dword [rax], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x1800010a0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 0x30], rbp
mov ebp, dword [rbx + 8]
mov qword [rsp + 0x38], rsi
mov esi, dword [rbx + 4]
mov qword [rsp + 0x40], rdi
mov edi, dword [rbx + 0xc]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x10]
and edi, 0x7fff
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp r12d, 2
je 0x1800010e5
bts edi, 0xf
mov eax, esi
mov ecx, 1
mov dword [0x18000c674], r12d
shl eax, 8
mov dword [0x18000c680], esi
mov dword [0x18000c684], ebp
add eax, ebp
mov dword [0x18000c678], edi
mov dword [0x18000c67c], eax
call fcn.1800023e0
mov r12, qword [rsp + 0x48]
test eax, eax
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
je 0x180001098
call fcn.1800020e0
test eax, eax
je 0x18000119a
call fcn.180002eb0
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov qword [0x18000d150], rax
call fcn.180002ce0
mov qword [0x18000c0e8], rax
call fcn.180002470
test eax, eax
js 0x180001195
call fcn.180002bd0
test eax, eax
js 0x180001190
call fcn.180002840
test eax, eax
js 0x180001190
xor ecx, ecx
call fcn.1800016c0
test eax, eax
jne 0x180001190
add dword [0x18000c0e0], 1
mov eax, 1
add rsp, 0x20
pop rbx
ret
call fcn.1800027b0
call fcn.180001c00
call fcn.180002440
xor eax, eax
add rsp, 0x20
pop rbx
ret
test edx, edx
jne 0x1800011f0
mov eax, dword [0x18000c0e0]
test eax, eax
jle 0x180001098
sub eax, 1
cmp dword [0x18000c6d0], edx
mov dword [0x18000c0e0], eax
jne 0x1800011cf
call fcn.1800018e0
test rbx, rbx
jne 0x180001269
call fcn.1800027b0
call fcn.180001c00
call fcn.180002440
lea eax, [rbx + 1]
add rsp, 0x20
pop rbx
ret
cmp edx, 2
jne 0x18000125d
call fcn.180001bf0
mov edx, 0x2d8
mov ecx, 1
call fcn.1800022c0
test rax, rax
mov rbx, rax
je 0x180001098
mov ecx, dword [0x18000b018]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
test eax, eax
je 0x18000124d
xor edx, edx
mov rcx, rbx
call fcn.180001c50
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov qword [rbx + 8], 0xffffffffffffffff
mov dword [rbx], eax
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
call fcn.180002200
xor eax, eax
add rsp, 0x20
pop rbx
ret
cmp edx, 3
jne 0x180001269
xor ecx, ecx
call fcn.180002080
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x1800014a7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [section..data]
jne 0x18000103a
rol rcx, 0x10
test cx, 0xffff
jne 0x180001036
repz ret
ror rcx, 0x10
jmp 0x180001400
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18000c1a0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x18000c298]
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 0x180001485
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, [0x18000c1a0]
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 0x1800014a7
mov rax, qword [rsp + 0x88]
mov qword [0x18000c298], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18000c238], rax
mov rax, qword [0x18000c298]
mov qword [0x18000c110], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18000c220], rax
mov dword [0x18000c100], 0xc0000409
mov dword [0x18000c104], 1
mov rax, qword [section..data]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18000b008]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18000c198], eax
mov ecx, 1
call fcn.1800033e0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180008278]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18000c198], 0
jne 0x18000152e
mov ecx, 1
call fcn.1800033e0
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 0x180002ce0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [0x18000c7f8]
test eax, eax
jne 0x180002d33
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x180002d13
mov dword [0x18000c7f8], 1
jmp 0x180002d4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x180002d2d
mov dword [0x18000c7f8], 2
jmp 0x180002e29
mov eax, dword [0x18000c7f8]
cmp eax, 1
jne 0x180002e20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x180002e73
cmp word [rdi], 0
mov qword [rsp + 0x50], rbp
mov rbx, rdi
mov qword [rsp + 0x58], r12
je 0x180002d75
add rbx, 2
cmp word [rbx], 0
jne 0x180002d61
add rbx, 2
cmp word [rbx], 0
jne 0x180002d61
xor r12d, r12d
sub rbx, rdi
mov r8, rdi
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
sar rbx, 1
lea r9d, [rbx + 1]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
movsxd rbp, eax
je 0x180002e13
mov rcx, rbp
call fcn.180002250
test rax, rax
mov rsi, rax
je 0x180002e13
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea r9d, [rbx + 1]
mov r8, rdi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x180002ded
mov rcx, rsi
call fcn.180002200
mov rsi, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x180002df9
cmp eax, 2
je 0x180002e29
test eax, eax
jne 0x180002e73
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test rax, rax
mov rbx, rax
je 0x180002e73
cmp byte [rax], 0
je 0x180002e52
nop
add rax, 1
cmp byte [rax], 0
jne 0x180002e40
add rax, 1
cmp byte [rax], 0
jne 0x180002e40
sub eax, ebx
add eax, 1
movsxd rsi, eax
mov rcx, rsi
call fcn.180002250
test rax, rax
mov rdi, rax
jne 0x180002e85
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1800056b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x1800033f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x30
lea r12, [0x18000b140]
xor esi, esi
mov edi, ecx
mov rax, r12
mov ebx, esi
nop
cmp ecx, dword [rax]
je 0x18000342e
add ebx, 1
add rax, 0x10
cmp ebx, 0x17
jb 0x180003410
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
cmp ebx, 0x17
jae 0x180003615
mov ecx, 3
call fcn.180005eb0
cmp eax, 1
je 0x1800035cc
mov ecx, 3
call fcn.180005eb0
test eax, eax
jne 0x180003465
cmp dword [0x18000c0f8], 1
je 0x1800035cc
cmp edi, 0xfc
je 0x180003615
mov qword [rsp + 0x50], rbp
lea rbp, [0x18000c800]
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rbp
mov edx, 0x314
call fcn.180005530
test eax, eax
je 0x1800034a9
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1800039f0
lea rdx, [0x18000c819]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x18000c91d], sil
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1800034f9
lea r8, str._program_name_unknown_
lea rcx, [0x18000c819]
mov edx, 0x2fb
call fcn.180005530
test eax, eax
je 0x1800034f9
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1800039f0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x18000c819]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x180003548
lea rcx, [rcx + rbp - 0x23]
lea rdx, [0x18000cb14]
lea r9d, [rax + 3]
lea r8, [0x180008894]
sub rdx, rcx
call fcn.180005d90
test eax, eax
je 0x180003548
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1800039f0
lea r8, [0x180008890]
mov edx, 0x314
mov rcx, rbp
call fcn.180005cd0
test eax, eax
je 0x180003574
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1800039f0
movsxd r8, ebx
mov edx, 0x314
mov rcx, rbp
add r8, r8
mov r8, qword [r12 + r8*8 + 8]
call fcn.180005cd0
test eax, eax
je 0x1800035a4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1800039f0
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.180005a70
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x180003615
cmp rax, 0xffffffffffffffff
je 0x180003615
xor eax, eax
movsxd rcx, ebx
lea r9, [rsp + 0x58]
add rcx, rcx
mov qword [rsp + 0x20], rsi
mov rdx, qword [r12 + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x180003630
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov ecx, 3
call fcn.180005eb0
cmp eax, 1
je 0x180003662
mov ecx, 3
call fcn.180005eb0
test eax, eax
jne 0x180003716
cmp dword [0x18000c0f8], 1
jne 0x180003716
mov qword [rsp + 0x48], rbx
lea rbx, [0x18000b140]
mov qword [rsp + 0x30], rdi
mov rax, rbx
xor edi, edi
cmp dword [rax], 0xfc
je 0x18000368e
add edi, 1
add rax, 0x10
cmp edi, 0x17
jb 0x180003678
jmp 0x180003702
cmp edi, 0x17
jae 0x180003702
mov ecx, 3
call fcn.180005eb0
cmp eax, 1
je 0x1800036b9
mov ecx, 3
call fcn.180005eb0
test eax, eax
jne 0x180003702
cmp dword [0x18000c0f8], 1
jne 0x180003702
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x180003702
cmp rax, 0xffffffffffffffff
je 0x180003702
movsxd rcx, edi
xor eax, eax
lea r9, [rsp + 0x40]
add rcx, rcx
mov qword [rsp + 0x20], rax
mov rdx, qword [rbx + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xff
call fcn.1800033f0
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x38
ret

Function at 0x180003a90
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x5b0
mov rbp, rcx
mov rcx, qword [0x18000cd50]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.180001b20
test rax, rax
je 0x180003ae4
mov r10, qword [rsp + 0x5e0]
mov r9d, ebx
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], r10
call rax
jmp 0x180003b79
mov ecx, 2
call fcn.1800033e0
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.180005f20
mov rax, qword [rsp + 0x5b8]
mov dword [rsp + 0x40], 0xc000000d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x180003b65
test ebx, ebx
jne 0x180003b65
lea ecx, [rax + 2]
call fcn.1800033e0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180005a70
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x50
mov edi, r8d
mov r13, rdx
mov r14, rcx
call fcn.180001a30
xor ebx, ebx
cmp qword [0x18000cdf8], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x180005b9c
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x180005caf
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180005caf
mov rcx, rax
call fcn.180001960
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x18000cdf8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.180001960
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x18000ce00], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.180001960
lea rcx, [rsp + 0x98]
mov qword [0x18000ce08], rax
call fcn.180001620
test eax, eax
je 0x180005b4f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.1800039f0
cmp dword [rsp + 0x98], 2
jne 0x180005b9c
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.180001960
test rax, rax
mov qword [0x18000ce18], rax
je 0x180005b9c
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.180001960
mov qword [0x18000ce10], rax
mov rcx, qword [0x18000ce10]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x180005c48
cmp qword [0x18000ce18], rbp
je 0x180005c48
call fcn.180001b20
mov rcx, qword [0x18000ce18]
mov rsi, rax
call fcn.180001b20
test rsi, rsi
mov r12, rax
je 0x180005c48
test rax, rax
je 0x180005c48
call rsi
test rax, rax
je 0x180005c13
lea rcx, [rsp + 0x34]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x180005c13
test byte [rsp + 0x40], 1
jne 0x180005c48
lea rcx, [rsp + 0x30]
call fcn.180001670
test eax, eax
je 0x180005c35
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.1800039f0
cmp dword [rsp + 0x30], 4
jb 0x180005c42
bts edi, 0x15
jmp 0x180005c86
bts edi, 0x12
jmp 0x180005c86
mov rcx, qword [0x18000ce00]
cmp rcx, rbp
je 0x180005c86
call fcn.180001b20
test rax, rax
je 0x180005c86
call rax
test rax, rax
mov rbx, rax
je 0x180005c86
mov rcx, qword [0x18000ce08]
cmp rcx, rbp
je 0x180005c86
call fcn.180001b20
test rax, rax
je 0x180005c86
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x18000cdf8]
call fcn.180001b20
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x180005caf
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x180005cb1
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x180007360
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov r9d, 6
mov edx, 0x1004
mov byte [rsp + 0x26], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1800073a7
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180001020
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.180007350
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180001020
add rsp, 0x38
ret
Function at 0x1400e76f4
Capabilities:
Write file on windows

Disassembly:
jmp 0x140289e00
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14036f65e]
call fcn.1400eb8ad
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x140289e58
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x140289f6a
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x140289f03
cmp qword [rbp + 0x28], 0
jle 0x140289f03
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x140289ea1
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.1400eb420
nop
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rbp + 0x130], 0
jle 0x140289f59
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140289f59
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400e843c
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x1401131e0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x14036e2c2]
call fcn.1400eb8ad
nop
movzx eax, byte [0x14034b5ae]
test eax, eax
jne 0x140113210
jmp 0x1401132f1
mov dword [rbp + 4], 0
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140113230
mov byte [rbp + 0x154], 1
jmp 0x140113237
mov byte [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x24], al
mov rcx, qword [rbp + 0x180]
call fcn.1400ea903
mov byte [rbp + 0x44], al
mov edx, dword [rbp + 4]
lea rcx, [0x14034af30]
call fcn.1400eb614
nop
movzx eax, byte [rbp + 0x24]
test eax, eax
je 0x1401132aa
movzx eax, byte [rbp + 0x44]
test eax, eax
je 0x1401132aa
mov dword [rbp + 0x144], 5
lea rdx, [rbp + 0x144]
lea rcx, [rbp + 0x128]
call fcn.1400ea5b6
mov rcx, rax
call fcn.1400eabdd
nop
mov edx, 0x10001
lea rcx, [0x14034af30]
call fcn.1400eb614
nop
jmp 0x1401132f1
movzx eax, byte [rbp + 0x24]
test eax, eax
je 0x1401132ce
movzx eax, byte [rbp + 0x44]
test eax, eax
jne 0x1401132ce
mov edx, 0x100
lea rcx, [0x14034af30]
call fcn.1400eb614
nop
jmp 0x1401132f1
movzx eax, byte [rbp + 0x24]
test eax, eax
jne 0x1401132f1
cmp dword [rbp + 4], 0x10001
jne 0x1401132f1
mov edx, 0x100
lea rcx, [0x14034af30]
call fcn.1400eb614
nop
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret