joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180025900
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push r12
push r13
sub rsp, 0x30
xor ebx, ebx
test r8, r8
mov rbp, r9
mov rsi, r8
mov r12d, edx
mov r13, rcx
jne 0x18002594c
call fcn.18002a340
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
mov dword [rax], SafeArrayGetElement
call fcn.180026310
xor eax, eax
jmp 0x1800259f2
mov qword [rsp + 0x50], rdi
call fcn.18002a820
mov edx, 0x2d8
mov ecx, 1
call fcn.18002b5e0
test rax, rax
mov rdi, rax
je 0x1800259d8
call fcn.18002aab0
mov rcx, rdi
mov rdx, qword [rax + 0xc0]
call fcn.18002a890
mov rcx, qword [rsp + 0x78]
mov eax, dword [rsp + 0x70]
test rcx, rcx
lea r8, [rsp + 0x60]
mov rdx, r12
cmovne r8, rcx
mov r9, rdi
mov rcx, r13
mov qword [rsp + 0x28], r8
lea r8, [0x180025860]
mov qword [rdi + 0x90], rsi
mov qword [rdi + 0x98], rbp
mov qword [rdi + 8], 0xffffffffffffffff
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x1800259ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call fcn.180025310
test ebx, ebx
je 0x1800259eb
mov ecx, ebx
call fcn.18002a3a0
xor eax, eax
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r13
pop r12
pop rsi
ret

Function at 0x180026310
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 [0x18005cb70]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.18002a730
test rax, rax
je 0x180026364
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 0x1800263f9
mov ecx, 2
call fcn.18002d630
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.180026a20
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 0x1800263e5
test ebx, ebx
jne 0x1800263e5
lea ecx, [rax + 2]
call fcn.18002d630
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 0x180026420
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x5b8
mov rcx, qword [0x18005cb70]
call fcn.18002a730
test rax, rax
je 0x180026455
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], 0
call rax
add rsp, 0x5b8
ret
mov ecx, 2
mov qword [rsp + 0x5b0], rbx
call fcn.18002d630
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.180026a20
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 0x1800264de
test ebx, ebx
jne 0x1800264de
lea ecx, [rax + 2]
call fcn.18002d630
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rbx, qword [rsp + 0x5b0]
add rsp, 0x5b8
ret
Function at 0x180028f00
Capabilities:
Accept command line arguments

Disassembly:
push rbx
sub rsp, 0x20
cmp edx, 1
mov rbx, r8
jne 0x180029067
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov r8d, SysAllocStringByteLen
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rbx, rax
je 0x180028f58
mov rcx, rax
mov dword [rax], SysAllocStringByteLen
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x180028f60
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 0x180028fa5
bts edi, 0xf
mov eax, esi
mov ecx, 1
mov dword [0x18005cbd4], r12d
shl eax, 8
mov dword [0x18005cbe0], esi
mov dword [0x18005cbe4], ebp
add eax, ebp
mov dword [0x18005cbd8], edi
mov dword [0x18005cbdc], eax
call fcn.18002a430
mov r12, qword [rsp + 0x48]
test eax, eax
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
je 0x180028f58
call fcn.18002ad20
test eax, eax
je 0x18002905a
call fcn.180032d40
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov qword [0x18005eec8], rax
call fcn.180032b70
mov qword [0x18005cba0], rax
call fcn.180032310
test eax, eax
js 0x180029055
call fcn.180032a60
test eax, eax
js 0x180029050
call fcn.1800326d0
test eax, eax
js 0x180029050
xor ecx, ecx
call fcn.18002b2d0
test eax, eax
jne 0x180029050
add dword [0x18005cb98], 1
mov eax, 1
add rsp, 0x20
pop rbx
ret
call fcn.180032640
call fcn.18002a840
call fcn.18002a490
xor eax, eax
add rsp, 0x20
pop rbx
ret
test edx, edx
jne 0x1800290b0
mov eax, dword [0x18005cb98]
test eax, eax
jle 0x180028f58
sub eax, 1
cmp dword [0x18005cc30], edx
mov dword [0x18005cb98], eax
jne 0x18002908f
call fcn.18002b4f0
test rbx, rbx
jne 0x180029129
call fcn.180032640
call fcn.18002a840
call fcn.18002a490
lea eax, [rbx + 1]
add rsp, 0x20
pop rbx
ret
cmp edx, 2
jne 0x18002911d
call fcn.18002a820
mov edx, 0x2d8
mov ecx, 1
call fcn.18002b5e0
test rax, rax
mov rbx, rax
je 0x180028f58
mov ecx, dword [0x18005aaf4]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
test eax, eax
je 0x18002910d
xor edx, edx
mov rcx, rbx
call fcn.18002a890
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.180025310
xor eax, eax
add rsp, 0x20
pop rbx
ret
cmp edx, 3
jne 0x180029129
xor ecx, ecx
call fcn.18002acc0
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x18002d2f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x30
lea r12, reloc.OLEAUT32.dll_SysReAllocString
xor esi, esi
mov edi, ecx
mov rax, r12
mov ebx, esi
nop
cmp ecx, dword [rax]
je 0x18002d32e
add ebx, 1
add rax, 0x10
cmp ebx, 0x17
jb 0x18002d310
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
cmp ebx, 0x17
jae 0x18002d515
mov ecx, 3
call fcn.180036ae0
cmp eax, 1
je 0x18002d4cc
mov ecx, 3
call fcn.180036ae0
test eax, eax
jne 0x18002d365
cmp dword [0x18005cbb0], 1
je 0x18002d4cc
cmp edi, 0xfc
je 0x18002d515
mov qword [rsp + 0x50], rbp
lea rbp, [0x18005cc50]
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rbp
mov edx, 0x314
call fcn.18002a4c0
test eax, eax
je 0x18002d3a9
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.180026270
lea rdx, [0x18005cc69]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x18005cd6d], sil
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x18002d3f9
lea r8, str._program_name_unknown_
lea rcx, [0x18005cc69]
mov edx, 0x2fb
call fcn.18002a4c0
test eax, eax
je 0x18002d3f9
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.180026270
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x18005cc69]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x18002d448
lea rcx, [rcx + rbp - 0x23]
lea rdx, [0x18005cf64]
lea r9d, [rax + 3]
lea r8, [0x1800476b4]
sub rdx, rcx
call fcn.1800369c0
test eax, eax
je 0x18002d448
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.180026270
lea r8, [0x1800476b0]
mov edx, 0x314
mov rcx, rbp
call fcn.180036900
test eax, eax
je 0x18002d474
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.180026270
movsxd r8, ebx
mov edx, 0x314
mov rcx, rbp
add r8, r8
mov r8, qword [r12 + r8*8 + 8]
call fcn.180036900
test eax, eax
je 0x18002d4a4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.180026270
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.1800366a0
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 0x18002d515
cmp rax, 0xffffffffffffffff
je 0x18002d515
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 0x18002d530
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov ecx, 3
call fcn.180036ae0
cmp eax, 1
je 0x18002d562
mov ecx, 3
call fcn.180036ae0
test eax, eax
jne 0x18002d616
cmp dword [0x18005cbb0], 1
jne 0x18002d616
mov qword [rsp + 0x48], rbx
lea rbx, reloc.OLEAUT32.dll_SysReAllocString
mov qword [rsp + 0x30], rdi
mov rax, rbx
xor edi, edi
cmp dword [rax], 0xfc
je 0x18002d58e
add edi, 1
add rax, 0x10
cmp edi, 0x17
jb 0x18002d578
jmp 0x18002d602
cmp edi, 0x17
jae 0x18002d602
mov ecx, 3
call fcn.180036ae0
cmp eax, 1
je 0x18002d5b9
mov ecx, 3
call fcn.180036ae0
test eax, eax
jne 0x18002d602
cmp dword [0x18005cbb0], 1
jne 0x18002d602
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x18002d602
cmp rax, 0xffffffffffffffff
je 0x18002d602
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.18002d2f0
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x38
ret

Function at 0x18002d737
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x18005a960]
jne 0x18002697a
rol rcx, 0x10
test cx, 0xffff
jne 0x180026976
repz ret
ror rcx, 0x10
jmp 0x18002d690
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18005d020]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x18005d118]
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 0x18002d715
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, [0x18005d020]
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 0x18002d737
mov rax, qword [rsp + 0x88]
mov qword [0x18005d118], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18005d0b8], rax
mov rax, qword [0x18005d118]
mov qword [0x18005cf90], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18005d0a0], rax
mov dword [0x18005cf80], 0xc0000409
mov dword [0x18005cf84], 1
mov rax, qword [0x18005a960]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18005a968]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18005d018], eax
mov ecx, 1
call fcn.18002d630
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1800476f0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18005d018], 0
jne 0x18002d7be
mov ecx, 1
call fcn.18002d630
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 0x18002dd40
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x18005a960]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov qword [r11 + 8], rbp
lea rdx, [rsp + 0x20]
xor ebx, ebx
mov ecx, 0x105
mov qword [r11 + 0x10], rsi
lea rdi, [rsp + 0x20]
mov ebp, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp eax, 0x104
mov esi, eax
jle 0x18002ddd8
mov qword [rsp + 0x160], r12
lea r12d, [rax + 1]
lea edx, [rbx + 1]
movsxd rcx, r12d
call fcn.18002b5e0
test rax, rax
mov rdi, rax
jne 0x18002ddb9
call fcn.18002a340
mov esi, ebx
mov dword [rax], SafeArrayGetDim
jmp 0x18002ddd0
test esi, esi
mov ebp, 1
je 0x18002ddd0
mov rdx, rax
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, eax
mov r12, qword [rsp + 0x160]
test esi, esi
mov rsi, qword [rsp + 0x158]
je 0x18002ddf7
cmp byte [rdi + 1], 0x3a
jne 0x18002de02
movzx ecx, byte [rdi]
call fcn.180037f00
lea ebx, [rax - 0x40]
jmp 0x18002de02
call fcn.18002a340
mov dword [rax], SafeArrayGetDim
test ebp, ebp
mov rbp, qword [rsp + 0x150]
je 0x18002de16
mov rcx, rdi
call fcn.180025310
mov eax, ebx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.180026960
mov rbx, qword [rsp + 0x168]
add rsp, 0x140
pop rdi
ret
Function at 0x180032b70
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [0x18005d658]
test eax, eax
jne 0x180032bc3
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x180032ba3
mov dword [0x18005d658], 1
jmp 0x180032bde
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x180032bbd
mov dword [0x18005d658], 2
jmp 0x180032cb9
mov eax, dword [0x18005d658]
cmp eax, 1
jne 0x180032cb0
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x180032d03
cmp word [rdi], 0
mov qword [rsp + 0x50], rbp
mov rbx, rdi
mov qword [rsp + 0x58], r12
je 0x180032c05
add rbx, 2
cmp word [rbx], 0
jne 0x180032bf1
add rbx, 2
cmp word [rbx], 0
jne 0x180032bf1
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 0x180032ca3
mov rcx, rbp
call fcn.18002b570
test rax, rax
mov rsi, rax
je 0x180032ca3
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 0x180032c7d
mov rcx, rsi
call fcn.180025310
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 0x180032c89
cmp eax, 2
je 0x180032cb9
test eax, eax
jne 0x180032d03
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test rax, rax
mov rbx, rax
je 0x180032d03
cmp byte [rax], 0
je 0x180032ce2
nop
add rax, 1
cmp byte [rax], 0
jne 0x180032cd0
add rax, 1
cmp byte [rax], 0
jne 0x180032cd0
sub eax, ebx
add eax, 1
movsxd rsi, eax
mov rcx, rsi
call fcn.18002b570
test rax, rax
mov rdi, rax
jne 0x180032d15
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.1800280c0
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 0x1800366a0
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.18002a640
xor ebx, ebx
cmp qword [0x18005d938], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x1800367cc
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x1800368df
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800368df
mov rcx, rax
call fcn.18002a570
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x18005d938], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.18002a570
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x18005d940], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.18002a570
lea rcx, [rsp + 0x98]
mov qword [0x18005d948], rax
call fcn.18002b230
test eax, eax
je 0x18003677f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.180026270
cmp dword [rsp + 0x98], 2
jne 0x1800367cc
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.18002a570
test rax, rax
mov qword [0x18005d958], rax
je 0x1800367cc
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.18002a570
mov qword [0x18005d950], rax
mov rcx, qword [0x18005d950]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x180036878
cmp qword [0x18005d958], rbp
je 0x180036878
call fcn.18002a730
mov rcx, qword [0x18005d958]
mov rsi, rax
call fcn.18002a730
test rsi, rsi
mov r12, rax
je 0x180036878
test rax, rax
je 0x180036878
call rsi
test rax, rax
je 0x180036843
lea rcx, [rsp + 0x34]
mov r9d, SafeArrayGetDim
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x180036843
test byte [rsp + 0x40], 1
jne 0x180036878
lea rcx, [rsp + 0x30]
call fcn.18002b280
test eax, eax
je 0x180036865
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.180026270
cmp dword [rsp + 0x30], 4
jb 0x180036872
bts edi, 0x15
jmp 0x1800368b6
bts edi, 0x12
jmp 0x1800368b6
mov rcx, qword [0x18005d940]
cmp rcx, rbp
je 0x1800368b6
call fcn.18002a730
test rax, rax
je 0x1800368b6
call rax
test rax, rax
mov rbx, rax
je 0x1800368b6
mov rcx, qword [0x18005d948]
cmp rcx, rbp
je 0x1800368b6
call fcn.18002a730
test rax, rax
je 0x1800368b6
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x18005d938]
call fcn.18002a730
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x1800368df
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1800368e1
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x180039890
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x18005a960]
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 0x1800398d7
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180026960
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.180027cb0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180026960
add rsp, 0x38
ret
Function at 0x14001135c
Capabilities:
Terminate process

Disassembly:
jmp 0x140017a60
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011433
Capabilities:
Execute command

Disassembly:
jmp 0x140016150
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140024040]
xor rax, rbp
mov qword [rbp + 0x188], rax
lea rcx, [0x14002a066]
call fcn.14001160e
lea rdx, str.Menu:_n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110b9
lea rdx, str.1._Go_to_The_best_place_on_earth_n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110b9
lea rdx, str.2._Exit_n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110b9
lea rdx, str.Enter_your_choice:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110b9
lea rdx, [rbp + 4]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
mov eax, dword [rbp + 4]
mov dword [rbp + 0x174], eax
cmp dword [rbp + 0x174], 1
je 0x140016207
cmp dword [rbp + 0x174], 2
je 0x140016282
jmp 0x140016286
lea rax, str.https:__www.pornhub.com_
mov qword [rbp + 0x28], rax
mov rdx, qword [rbp + 0x28]
lea rcx, [rbp + 0x148]
call fcn.1400112a8
mov qword [rbp + 0x178], rax
mov rax, qword [rbp + 0x178]
mov qword [rbp + 0x180], rax
mov r8, qword [rbp + 0x180]
lea rdx, str.start
lea rcx, [rbp + 0x48]
call fcn.140011636
nop
lea rcx, [rbp + 0x148]
call fcn.14001112c
lea rcx, [rbp + 0x48]
call fcn.14001109b
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, [rbp + 0x48]
call fcn.14001112c
jmp 0x140016299
xor eax, eax
jmp 0x14001629b
lea rdx, str.Invalid_choice_n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110b9
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001fec0]
call fcn.140011514
mov rax, rdi
mov rcx, qword [rbp + 0x188]
xor rcx, rbp
call fcn.1400112f8
lea rsp, [rbp + 0x198]
pop rdi
pop rbp
ret
Function at 0x140011447
Capabilities:
Parse pe header

Disassembly:
jmp 0x140018db0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140018dd0
xor al, al
jmp 0x140018e51
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140018de3
xor al, al
jmp 0x140018e51
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 0x140018e0d
xor al, al
jmp 0x140018e51
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140018e21
xor al, al
jmp 0x140018e51
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140018e33
xor al, al
jmp 0x140018e51
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140018e4f
xor al, al
jmp 0x140018e51
mov al, 1
add rsp, 0x38
ret