joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ad0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [0x41700c], 0
mov dword [esp + 8], 0xc0
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov dword [0x417008], 0x10
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_HeapAlloc]
mov dword [0x417004], eax
sub esp, 0xc
test eax, eax
je 0x401b3a
mov dword [esp + 4], 0
mov dword [esp], dbg.enum_proc
call dword [0x4185e0]
sub esp, 8
test eax, eax
jne 0x401b50
lea esp, [ebp - 0xc]
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x41700c]
mov dword [esp + 0xc], dbg.cmp_window
mov esi, 0xfffffff4
xor ebx, ebx
mov dword [esp + 8], 0xc
mov dword [esp + 4], eax
mov eax, dword [0x417004]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_qsort]
call dword [0x4185e4]
mov dword [esp + 4], 0x417000
mov dword [esp], eax
call dword [0x4185f0]
mov eax, dword [0x417004]
mov ecx, dword [0x41700c]
xor edx, edx
sub esp, 8
cmp ecx, ebx
jbe 0x401bc4
test edx, edx
je 0x401c20
mov edi, dword [eax + esi + 0x10]
cmp dword [eax + esi + 4], edi
jne 0x401c30
add edx, 1
add ebx, 1
add esi, 0xc
cmp ecx, ebx
ja 0x401ba9
mov ebx, 1
test edx, edx
je 0x401be8
sub ecx, edx
xor ebx, ebx
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*4]
call sym._send_end_session_messages.constprop.0
mov edx, eax
mov eax, dword [0x417004]
test edx, edx
setne bl
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_HeapFree]
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, 1
jmp 0x401bba
mov ecx, ebx
add esi, 0xc
add ebx, 1
sub ecx, edx
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*4]
call sym._send_end_session_messages.constprop.0
mov edx, eax
mov eax, dword [0x417004]
test edx, edx
je 0x401c60
mov ecx, dword [0x41700c]
mov edx, 1
jmp 0x401ba5
xor ebx, ebx
jmp 0x401be8
Function at 0x401e60
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x26c
call dword [0x4185e4]
mov dword [esp + 4], 0x417000
mov dword [esp], eax
call dword [0x4185f0]
sub esp, 8
lea esi, [esi]
lea esi, [esi]
mov dword [esp + 4], 0
mov dword [esp], 2
call sym._CreateToolhelp32Snapshot_8
sub esp, 8
mov edi, eax
test eax, eax
je 0x401fe8
lea ebx, [ebp - 0x244]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [ebp - 0x244], 0x22c
call sym._Process32FirstW_8
sub esp, 8
test eax, eax
je 0x402000
mov dword [ebp - 0x250], 0
mov esi, dword fs:[0x18]
jmp 0x401f59
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 1
call dword [sym.imp.kernelbase.dll_OpenProcess]
sub esp, 0xc
test eax, eax
je 0x401f46
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [ebp - 0x24c], eax
call dword [sym.imp.kernelbase.dll_TerminateProcess]
mov edx, dword [ebp - 0x24c]
sub esp, 8
cmp eax, 1
sbb dword [ebp - 0x250], 0xffffffff
mov dword [esp], edx
call dword [sym.imp.kernelbase.dll_CloseHandle]
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], edi
call sym._Process32NextW_8
sub esp, 8
test eax, eax
je 0x401fc8
mov eax, dword [ebp - 0x23c]
cmp dword [esi + 0x20], eax
je 0x401f46
cmp eax, dword [section..bss]
je 0x401f46
test byte [global___dbch.0], 8
je 0x401ef0
lea eax, [ebp - 0x220]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.killing_process__04lx__s_n
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x23c]
mov dword [esp + 8], global___func__.4
mov dword [esp + 0x10], eax
mov dword [esp + 4], global___dbch.0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0x23c]
jmp 0x401ef0
mov dword [esp], edi
call dword [sym.imp.kernelbase.dll_CloseHandle]
mov ecx, dword [ebp - 0x250]
sub esp, 4
test ecx, ecx
jne 0x401e90
lea esi, [esi]
mov edx, dword [ebp + 8]
mov eax, dword [section..bss]
test edx, edx
je 0x401ff8
test eax, eax
jne 0x40200e
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], edi
call dword [sym.imp.kernelbase.dll_CloseHandle]
sub esp, 4
jmp 0x401fe8
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 1
call dword [sym.imp.kernelbase.dll_OpenProcess]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x401ff8
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_TerminateProcess]
sub esp, 8
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_CloseHandle]
sub esp, 4
jmp 0x401ff8
Function at 0x4022f0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x818]
push ebx
push ecx
sub esp, 0x838
mov ebx, dword [ecx]
mov edi, dword [ecx + 0xc]
mov dword [esp + 0x14], 0x8000
mov dword [ebp - 0x820], ebx
mov dword [esp + 0x10], 0x30
mov dword [esp + 0xc], 0x30
mov dword [esp + 8], 1
mov dword [esp + 4], 0x7f05
mov dword [esp], 0
call dword [0x4185fc]
sub esp, 0x18
mov dword [esp + 0xc], eax
mov eax, dword [0x41860c]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x170
mov dword [esp + 4], 1
mov dword [esp], ebx
mov dword [ebp - 0x81c], eax
call eax
mov eax, dword [ebp - 0x81c]
sub esp, 0x14
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], 0xd
mov dword [esp + 4], 2
mov dword [esp], ebx
call eax
sub esp, 0x14
cmp word [ebp - 0x818], 0
je 0x4024a0
mov eax, esi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4023c0
sub eax, esi
sar eax, 1
cmp word [edi], 0
je 0x4023e7
mov ebx, edi
lea esi, [esi]
add ebx, 2
cmp word [ebx], 0
jne 0x4023d8
sub ebx, edi
sar ebx, 1
add eax, ebx
lea ecx, [eax + 1]
mov dword [esp + 4], 0
lea eax, [ecx + ecx]
mov dword [ebp - 0x828], ecx
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x824], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_HeapAlloc]
mov ecx, dword [ebp - 0x828]
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp], eax
call dbg.swprintf
mov eax, dword [ebp - 0x820]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x81c]
mov dword [esp + 8], 0xc
mov dword [esp + 4], 2
call eax
mov edx, dword [ebp - 0x824]
sub esp, 0x14
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
xor eax, eax
jmp 0x4023cd

Function at 0x402a80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0xc]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 0x18
leave
ret

Function at 0x402ac0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
sub esp, 0x24
cmp word [ecx], 0
je 0x402b18
mov eax, ecx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x402ad8
sub eax, ecx
add eax, 2
mov dword [esp], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], edx
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov ebx, dword [ebp - 4]
sub esp, 0x18
leave
ret
mov eax, 2
jmp 0x402ae6
Function at 0x402b20
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov dword [ebp - 0x20], edx
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, ecx
mov ecx, dword [ebp + 0x10]
lea ebx, [edx + esi]
test al, al
je 0x402b83
cmp esi, ecx
jae 0x402b83
xor esi, esi
movzx edi, al
lea esi, [esi]
cmp byte [ebx], 0
je 0x402b83
add esi, 1
cmp esi, edi
je 0x402bc1
mov eax, ebx
sub eax, edx
cmp ecx, eax
jbe 0x402b78
lea esi, [esi]
add ebx, 1
mov eax, ebx
sub eax, edx
cmp ecx, eax
jbe 0x402b78
cmp byte [ebx], 0
jne 0x402b68
add ebx, 1
mov eax, ebx
sub eax, edx
cmp ecx, eax
ja 0x402b50
xor esi, esi
mov ecx, 0x40b268
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
call sym._set_reg_value.isra.0
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [sym.imp.kernelbase.dll_MultiByteToWideChar]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [ebp - 0x24], edx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
mov edi, eax
sub esp, 0x18
lea ecx, [edi + edi]
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x402b85
mov dword [esp + 0x14], edi
mov edx, dword [ebp - 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
mov ecx, esi
sub esp, 0x18
jmp 0x402b8a

Function at 0x402ce0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
sub esp, 0x14
mov dword [esp], str.Usage:_wineboot__options__n
call dbg.wine_dbg_printf
mov dword [esp], str.Options__n
call dbg.wine_dbg_printf
mov dword [esp], str._____h___help_________Display_this_help_message_n
call dbg.wine_dbg_printf
mov dword [esp], str._____e___end_session__End_the_current_session_cleanly_n
call dbg.wine_dbg_printf
mov dword [esp], str._____f___force________Force_exit_for_processes_that_dont_exit_cleanly_n
call dbg.wine_dbg_printf
mov dword [esp], str._____i___init_________Perform_initialization_for_first_Wine_instance_n
call dbg.wine_dbg_printf
mov dword [esp], str._____k___kill_________Kill_running_processes_without_any_cleanup_n
call dbg.wine_dbg_printf
mov dword [esp], str._____r___restart______Restart_only__dont_do_normal_startup_operations_n
call dbg.wine_dbg_printf
mov dword [esp], str._____s___shutdown_____Shutdown_only__dont_reboot_n
call dbg.wine_dbg_printf
mov dword [esp], str._____u___update_______Update_the_wineprefix_directory_n
call dbg.wine_dbg_printf
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_exit]
lea esi, [esi]
Function at 0x402dc0
Capabilities:
Get process heap flags
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0xac
cmp word [eax], 0
mov dword [ebp - 0x90], edx
je 0x402de9
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x402de0
sub eax, ebx
mov dword [esp + 4], 0
add eax, 0x26
mov dword [esp + 8], eax
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_HeapAlloc]
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x40301b
xor eax, eax
nop
movzx ecx, word [ebx + eax]
mov word [edi + eax], cx
add eax, 2
test cx, cx
jne 0x402e20
mov dword [esp + 4], str..update_timestamp
mov dword [esp], edi
call sym._lstrcatW_8
mov esi, dword [sym.imp.ucrtbase.dll__wopen]
sub esp, 8
mov dword [esp + 4], 2
mov dword [esp], edi
call esi
mov ebx, eax
cmp eax, 0xffffffff
je 0x402f9d
lea eax, [ebp - 0x7c]
mov dword [esp + 8], 0x63
mov dword [ebp - 0x8c], eax
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll__read]
test eax, eax
js 0x402edb
mov byte [ebp + eax - 0x7c], 0
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], 7
mov dword [esp + 4], str.disable
mov dword [esp], eax
call sym._strncmp
mov esi, eax
test eax, eax
je 0x402f66
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strtoul]
cmp eax, dword [ebp - 0x90]
je 0x40300a
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll__lseek]
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll__chsize]
mov eax, dword [ebp - 0x90]
mov dword [esp + 4], str._lu_n
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp], eax
call sym._sprintf.constprop.0
mov dword [esp], ebx
mov esi, eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll__write]
cmp esi, eax
je 0x403011
test byte [0x40a39c], 4
jne 0x402fd6
mov dword [esp + 4], 0
xor esi, esi
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll__chsize]
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll__close]
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
call dword [sym.imp.ucrtbase.dll__errno]
cmp dword [eax], 2
je 0x402fac
xor esi, esi
jmp 0x402f6f
mov dword [esp + 8], 0x1b6
mov dword [esp + 4], 0x301
mov dword [esp], edi
call esi
mov ebx, eax
cmp eax, 0xffffffff
je 0x402fa8
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x8c], eax
jmp 0x402f05
mov eax, edi
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0xc], str.failed_to_update_timestamp_in__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], global___func__.7
mov dword [esp + 4], global___dbch
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x402f53
xor esi, esi
jmp 0x402f66
mov esi, 1
jmp 0x402f66
xor esi, esi
jmp 0x402f93
Function at 0x404ee0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x404f3b
cmp byte [esi + ebx - 1], 0xa
je 0x404f0f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x417504], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x405990
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_narrow_argv
call sym.__initialize_narrow_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___argv
mov edi, dword [eax]
call sym.__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call dbg.main
mov dword [esp], eax
call sym._exit
Function at 0x1000aedc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10012058]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10007afb
and dword [ebp - 0x14], 0
cmp dword [0x10013874], 0
mov dword [ebp - 0x18], eax
jne 0x1000af8f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1000b037
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1000b037
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10013874], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10013878], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1001387c], eax
call edi
push eax
call esi
mov dword [0x10013884], eax
test eax, eax
je 0x1000af8f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10013880], eax
mov eax, dword [0x10013880]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1000afe8
cmp dword [0x10013884], ecx
je 0x1000afe8
push eax
call esi
push dword [0x10013884]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1000afe8
test ebx, ebx
je 0x1000afe8
call edi
test eax, eax
je 0x1000afdf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000afdf
test byte [ebp - 8], 1
jne 0x1000afe8
or dword [ebp + 0x10], 0x200000
jmp 0x1000b01b
mov eax, dword [0x10013878]
cmp eax, dword [ebp - 0x18]
je 0x1000b01b
push eax
call esi
test eax, eax
je 0x1000b01b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000b01b
mov eax, dword [0x1001387c]
cmp eax, dword [ebp - 0x18]
je 0x1000b01b
push eax
call esi
test eax, eax
je 0x1000b01b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10013874]
call esi
test eax, eax
je 0x1000b037
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1000b039
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100064a2
leave
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x52b063d6
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x52a473f3
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x495444
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
test ecx, ecx
add byte [ebx], al
mov ecx, dword [edx - 4]
jmp 0x4a5348
add ah, byte [ebp + 0x43]

Function at 0x4aae68
Capabilities:
Encode data using xor

Disassembly:
mov ebp, 0xf45bbd6c
mov byte [eax + 7], dl
mov ah, 0x87
sahf
outsd dx, dword [esi]
invalid

Function at 0x4c421e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4cc230
cmp edx, dword [eax]
je 0x4c4240
add eax, 8
inc ecx
cmp eax, 0x4cc2c0
jl 0x4c4231
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4cc230]
jne 0x4c436e
mov eax, dword [0x4d08b8]
cmp eax, 1
je 0x4c4348
test eax, eax
jne 0x4c4271
cmp dword [0x4cc174], 1
je 0x4c4348
cmp edx, 0xfc
je 0x4c436e
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c42a8
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c4930
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c4b60
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c42eb
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c4b60
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c8a20
push edi
call fcn.004c6330
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c4930
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c4940
lea eax, [ebp - 0xa0]
push 0x4c8a00
push eax
call fcn.004c4940
push dword [esi + 0x4cc234]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c4940
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c62a4
add esp, 0x2c
pop edi
jmp 0x4c436e
lea eax, [ebp + 8]
lea esi, [esi + 0x4cc234]
push 0
push eax
push dword [esi]
call fcn.004c4b60
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x6fa83040
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x1c
mov eax, dword [eax + 8]
cmp eax, 0x10de
je 0x6fa83098
cmp eax, 0x1002
je 0x6fa83068
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [ebx + 0xc], 0x163f
jne 0x6fa8305c
mov dword [esp], str.WINE_HIDE_VANGOGH_GPU
mov esi, dword [sym.imp.ucrtbase.dll_getenv]
call esi
test eax, eax
je 0x6fa830be
cmp byte [eax], 0x30
je 0x6fa8305c
mov dword [ebx + 0xc], 0x687f
jmp 0x6fa8305c
mov dword [esp], str.WINE_HIDE_NVIDIA_GPU
call dword [sym.imp.ucrtbase.dll_getenv]
test eax, eax
je 0x6fa8305c
cmp byte [eax], 0x30
je 0x6fa8305c
mov dword [ebx + 8], 0x1002
mov dword [ebx + 0xc], 0x67df
jmp 0x6fa8305c
mov dword [esp], str.SteamGameId
call esi
mov esi, eax
test eax, eax
je 0x6fa8305c
mov edi, str.257420
mov ecx, 7
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
je 0x6fa83089
jmp 0x6fa8305c
Function at 0x6fa84f20
Capabilities:
Delete file
Delete registry value
Get common file path

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x230
test byte [0x6fa99018], 8
jne 0x6fa84ff0
lea ebx, [ebp - 0x210]
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
mov edx, ebx
sub esp, 8
cmp word [ebp - 0x210], 0
je 0x6fa84f79
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x6fa84f70
xor eax, eax
mov ecx, 0x5c
jmp 0x6fa84f8f
movzx ecx, word [eax + str.winevulkan.json]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x6fa84f88
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_DeleteFileW]
lea eax, [ebp - 0x214]
sub esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareKhronosVulkanDrivers
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
je 0x6fa85020
lea esp, [ebp - 8]
xor eax, eax
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp + 0xc], 0x6fa9b270
mov dword [esp + 8], str.DllUnregisterServer
mov dword [esp + 4], 0x6fa99018
mov dword [esp], 3
call fcn.6fa833a0
jmp 0x6fa84f42
mov eax, dword [ebp - 0x214]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
mov eax, dword [ebp - 0x214]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
xor eax, eax
sub esp, 4
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret