joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400010d0
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r12
push r15
mov eax, 0x2270
call fcn.140002030
sub rsp, rax
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x2240], rax
xor ebp, ebp
lea rcx, [rsp + 0x30]
mov r12, r8
mov dword [rsp + 0x28], ebp
mov r15, rdx
mov dword [rsp + 0x2c], ebp
lea r8, [rsp + 0x28]
mov qword [rsp + 0x20], rbp
mov edx, 0x2000
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
jne 0x140001156
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____EnumProcesses_Failed_With_Error_:__d__n
call fcn.140001070
xor eax, eax
mov rcx, qword [rsp + 0x2240]
xor rcx, rsp
call fcn.140001330
add rsp, 0x2270
pop r15
pop r12
pop rbp
ret
mov qword [rsp + 0x2268], rsi
lea rcx, str._i__Number_Of_Processes_Detected_:__d__n
mov qword [rsp + 0x2250], r14
mov r14d, dword [rsp + 0x28]
shr r14d, 2
mov edx, r14d
call fcn.140001070
mov esi, ebp
test r14d, r14d
je 0x1400012c8
mov qword [rsp + 0x2290], rbx
lea rbx, [rsp + 0x30]
mov qword [rsp + 0x2258], r13
lea r13, str.notepad.exe
mov qword [rsp + 0x2260], rdi
nop dword [rax]
mov r8d, dword [rbx]
test r8d, r8d
je 0x14000120a
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14000120a
lea r9, [rsp + 0x2c]
mov r8d, 8
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
jne 0x14000121a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [rbx]
lea rcx, str.____EnumProcessModules_Failed___At_Pid:__d___With_Error_:__d__n
mov r8d, eax
call fcn.140001070
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
add rbx, 4
cmp esi, r14d
jb 0x1400011b0
jmp 0x1400012b0
mov rdx, qword [rsp + 0x20]
lea r8, [rsp + 0x2030]
mov r9d, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
test eax, eax
jne 0x14000124e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [rbx]
lea rcx, str.____GetModuleBaseName_Failed___At_Pid:__d___With_Error_:__d__n
mov r8d, eax
jmp 0x1400011fc
lea rdx, [rsp + 0x2030]
mov rax, rbp
nop dword [rax]
movzx ecx, word [r13 + rax*2]
cmp cx, word [rdx + rax*2]
jne 0x140001201
movzx ecx, word [r13 + rax*2 + 2]
cmp cx, word [rdx + rax*2 + 2]
jne 0x140001201
add rax, 2
cmp rax, 0xc
jne 0x140001260
movsxd rax, esi
lea rbx, [rsp + 0x30]
mov r8d, dword [rbx + rax*4]
lea rbx, [rbx + rax*4]
lea rdx, [rsp + 0x2030]
lea rcx, str.___FOUND___s____Of_Pid_:__d__n
call fcn.140001010
mov ecx, dword [rbx]
mov dword [r15], ecx
mov qword [r12], rdi
mov rdi, qword [rsp + 0x2260]
mov rbx, qword [rsp + 0x2290]
mov r13, qword [rsp + 0x2258]
mov r14, qword [rsp + 0x2250]
mov rsi, qword [rsp + 0x2268]
cmp dword [r15], ebp
je 0x140001137
cmp qword [r12], rbp
setne bpl
mov eax, ebp
jmp 0x140001139
Function at 0x140001060
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x210
mov eax, 0x202
mov word [rsp + 0x24], ax
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x2c], 0
lea rdx, [rsp + 0x70]
movzx ecx, word [rsp + 0x24]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov byte [rsp + 0x20], al
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, gethostbyname
rep stosb byte [rdi], al
mov dword [rsp + 0x48], 2
lea rax, str.time.windows.com
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rsp + 0x38], rax
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
add rsp, 0x210
pop rdi
ret

Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x140002248]
mov r8d, 2
lea r9, str._J_ms8m
mov qword [rsp + 0x38], rax
lea rax, [0x140002238]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x14002f520
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14002f52d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14002f53d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14002f525
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14002f555
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14002f542
sub eax, 3
jb 0x14002f56f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14002f5a6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14002f596
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14002f594
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14002f583
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14002f4e2
jmp 0x14002f52d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1e000
mov dl, 1
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14002f5f2
cmp rsi, rcx
jae 0x14002f5fa
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14002f5d9
cmp al, 0x8f
ja 0x14002f5d9
cmp byte [rsi - 2], 0xf
je 0x14002f5df
sub al, 0xe8
cmp al, 1
ja 0x14002f5c3
cmp rsi, rcx
jae 0x14002f5fa
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14002f5c9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14002f5fa
lodsb al, byte [rsi]
jmp 0x14002f5d9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x2d000]
mov eax, dword [rdi]
or eax, eax
je 0x14002f657
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2f62c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14002f607
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14002f651
mov qword [rbx], rax
add rbx, 8
jmp 0x14002f627
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14002f691
cmp al, 0xef
ja 0x14002f683
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14002f663
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14002f672
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14002f6e5
sub rsp, 0xffffffffffffff80
jmp 0x14001caa8
Function at 0x140001000
Capabilities:
Terminate process

Disassembly:
test ecx, ecx
jne 0x1400010ca
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rdi
sub rsp, 0x448
mov rax, qword [0x140012008]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov r9, rdx
mov edx, 0x400
lea rax, [r11 + 0x18]
lea rcx, [rsp + 0x30]
lea r8d, [rdx - 1]
xor edi, edi
mov qword [rsp + 0x20], rax
call fcn.1400047c8
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
mov rax, qword [0x140014610]
test rax, rax
jne 0x14000109b
test rbx, rbx
je 0x1400010be
lea rdx, str.MessageBoxTimeoutA
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140014610], rax
test rax, rax
jne 0x14000109b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400010be
lea r8, str.Fatal_Error_in_Launcher
lea rdx, [rsp + 0x30]
mov r9d, 0x10010
xor ecx, ecx
mov dword [rsp + 0x28], 0xbb8
mov word [rsp + 0x20], di
call rax
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
ret

Function at 0x140001008
Capabilities:
Terminate process

Disassembly:
test ecx, ecx
jne 0x1400010ca
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rdi
sub rsp, 0x448
mov rax, qword [0x140012008]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov r9, rdx
mov edx, 0x400
lea rax, [r11 + 0x18]
lea rcx, [rsp + 0x30]
lea r8d, [rdx - 1]
xor edi, edi
mov qword [rsp + 0x20], rax
call fcn.1400047c8
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
mov rax, qword [0x140014610]
test rax, rax
jne 0x14000109b
test rbx, rbx
je 0x1400010be
lea rdx, str.MessageBoxTimeoutA
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140014610], rax
test rax, rax
jne 0x14000109b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400010be
lea r8, str.Fatal_Error_in_Launcher
lea rdx, [rsp + 0x30]
mov r9d, 0x10010
xor ecx, ecx
mov dword [rsp + 0x28], 0xbb8
mov word [rsp + 0x20], di
call rax
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
ret
Function at 0x140001134
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov r13, rcx
lea r8, [0x14000fd70]
lea rdx, [0x140014400]
lea rcx, [rbp + 0x30]
xor r12d, r12d
mov qword [rbp + 0x30], r12
call fcn.140001a80
mov ecx, r12d
test eax, eax
lea rdx, str.Failed_to_open_executable
sete cl
call section..text
mov rcx, qword [rbp + 0x30]
lea r8d, [r12 + 2]
xor edx, edx
call fcn.14000265c
mov rcx, qword [rbp + 0x30]
call fcn.140002550
mov rcx, qword [rbp + 0x30]
movsxd r14, eax
lea edi, [r14 - 0x104]
test edi, edi
cmovs edi, r12d
xor r8d, r8d
mov edx, edi
call fcn.14000265c
mov r9, qword [rbp + 0x30]
lea r15d, [r12 + 1]
mov edx, r15d
mov r8d, 0x104
mov rcx, r13
call fcn.140002310
mov rcx, r13
mov rdx, rax
call fcn.1400010cc
mov rbx, rax
test rax, rax
je 0x14000120b
lea rcx, [rbp - 0x20]
lea r8d, [r12 + 0x14]
mov rdx, rax
call fcn.140007580
movsxd rdi, edi
sub rdi, r13
add rdi, rbx
jmp 0x14000128d
mov ebx, 0x4100000
mov ecx, ebx
call fcn.140001f38
mov rcx, qword [rbp + 0x30]
lea edi, [r14 - 0x4100000]
test edi, edi
mov rsi, rax
cmovs edi, r12d
xor r8d, r8d
mov edx, edi
call fcn.14000265c
mov r9, qword [rbp + 0x30]
mov r8d, ebx
mov rdx, r15
mov rcx, rsi
call fcn.140002310
mov rcx, rsi
mov rdx, rax
call fcn.1400010cc
mov ecx, r12d
lea rdx, str.Unable_to_find_an_appended_archive.
test rax, rax
mov rbx, rax
setne cl
call section..text
lea rcx, [rbp - 0x20]
mov rdx, rbx
mov r8d, 0x14
call fcn.140007580
movsxd rdi, edi
mov rcx, rsi
sub rdi, rsi
add rdi, rbx
call fcn.140001eb4
sub edi, dword [rbp - 0x10]
mov rcx, qword [rbp + 0x30]
sub edi, dword [rbp - 0x14]
sub edi, 0x104
cmovs edi, r12d
xor r8d, r8d
mov edx, edi
call fcn.14000265c
mov r9, qword [rbp + 0x30]
mov r8d, 0x104
mov rdx, r15
mov rcx, r13
call fcn.140002310
mov ecx, r12d
lea rdx, str.Unable_to_read_from_file
test rax, rax
mov rbx, rax
setne cl
call section..text
lea r11, [rbx + r13 - 1]
cmp r11, r13
jb 0x1400012fc
movzx eax, word [0x14000fddc]
cmp word [r11], ax
je 0x1400012f9
sub r11, r15
cmp r11, r13
jae 0x1400012e9
jmp 0x1400012fc
mov r12, r11
mov rcx, qword [rbp + 0x30]
call fcn.140002754
lea r11, [rsp + 0x40]
mov rax, r12
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400013b8
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140012008]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rdi, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateJobObjectA]
lea r8, [rbp - 0x20]
mov r9d, 0x90
mov rbx, rax
lea rax, [rsp + 0x50]
mov edx, 9
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
test eax, eax
je 0x140001424
cmp dword [rsp + 0x50], 0x90
jne 0x140001424
mov ecx, 1
jmp 0x140001426
xor ecx, ecx
lea rdx, str.Job_information_querying_failed
call section..text
or dword [rbp - 0x10], 0x3000
lea r8, [rbp - 0x20]
mov r9d, 0x90
mov edx, 9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetInformationJobObject]
lea rdx, str.Job_information_setting_failed
mov ecx, eax
call section..text
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.140004a30
mov ecx, 0xfffffff6
mov dword [rsp + 0x70], 0x68
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.140001328
lea rdx, str.stdin_duplication_failed
mov ecx, eax
call section..text
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rdx, [rbp - 0x38]
mov rcx, rax
call fcn.140001328
lea rdx, str.stdout_duplication_failed
mov ecx, eax
call section..text
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.140001328
lea rdx, str.stderr_duplication_failed
mov ecx, eax
call section..text
lea rcx, [0x140001394]
mov edx, 1
mov dword [rbp - 0x54], 0x100
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
lea r11, [rsp + 0x58]
mov qword [rsp + 0x48], r11
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
lea rdx, str.Unable_to_create_process_using__s
mov r8, rdi
mov ecx, eax
call section..text
mov r11d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x58]
mov rcx, rbx
mov dword [0x140014608], r11d
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea rdx, str.Failed_to_get_exit_code_of_process
mov ecx, eax
call section..text
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140002a13
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140012008]
jne 0x14000199a
rol rcx, 0x10
test cx, 0xffff
jne 0x140001996
repz ret
ror rcx, 0x10
jmp 0x14000296c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400134d0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400135c8]
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 0x1400029f1
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, [0x1400134d0]
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 0x140002a13
mov rax, qword [rsp + 0x88]
mov qword [0x1400135c8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140013568], rax
mov rax, qword [0x1400135c8]
mov qword [0x140013440], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140013550], rax
mov dword [0x140013430], 0xc0000409
mov dword [0x140013434], 1
mov rax, qword [0x140012008]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140012010]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400134c8], eax
mov ecx, 1
call fcn.1400067d8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000e358]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400134c8], 0
jne 0x140002a9a
mov ecx, 1
call fcn.1400067d8
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 0x140008578
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140012008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140003ba8
xor ebx, ebx
cmp qword [0x1400143a0], rbx
mov rdi, rax
jne 0x14000868b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140008762
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140008762
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1400143a0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1400143a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x1400143b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1400143c0], rax
test rax, rax
je 0x140008682
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1400143b8], rax
jmp 0x140008692
mov rax, qword [0x1400143b8]
jmp 0x140008699
mov rax, qword [0x1400143b8]
mov r11, qword [0x1400143c0]
cmp rax, rdi
je 0x140008700
cmp r11, rdi
je 0x140008700
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1400143c0]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140008700
test rax, rax
je 0x140008700
call rsi
test rax, rax
je 0x1400086fa
lea rcx, [rsp + 0x30]
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 0x1400086fa
test byte [rsp + 0x40], 1
jne 0x140008700
bts ebp, 0x15
jmp 0x140008740
mov rcx, qword [0x1400143a8]
cmp rcx, rdi
je 0x140008740
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140008740
call rax
mov rbx, rax
test rax, rax
je 0x140008740
mov rcx, qword [0x1400143b0]
cmp rcx, rdi
je 0x140008740
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140008740
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400143a0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140008762
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140008764
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001980
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
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.10169000
add rsp, 0x28
jmp 0x10007510