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

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x540], ebx
push edi
je 0x40d2f5
call dword [sym.imp.MSVCRT.dll__errno]
push dword [eax]
push 0x43d5d0
push str._beginthreadex_...__failure__for_Launch_Thread
push str.UMServer.log
mov ecx, esi
call fcn.0040e3da
jmp 0x40d40a
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x538], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x53c], eax
lea eax, [esi + 0x508]
push eax
call edi
lea eax, [esi + 0x520]
push eax
call edi
mov ecx, esi
call fcn.0040d544
push ebx
push 1
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push eax
mov dword [esi + 0x4c0], eax
call edi
lea eax, [esi + 0x4b0]
push eax
push ebx
push esi
push 0x40d672
push ebx
push ebx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0x4ac], eax
je 0x40d2d2
push 0x7530
push dword [esi + 0x4c0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40d38f
push 0x7530
push 0x43d5d0
push str.Unable_to_get_response_from_Accept_Thread_withing_specified_Timeout___
jmp 0x40d3f2
push dword [esi + 0x4c0]
call edi
lea eax, [esi + 0x4b8]
push eax
push ebx
push esi
push 0x40de8d
push ebx
push ebx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0x4b4], eax
jne 0x40d3d1
call dword [sym.imp.MSVCRT.dll__errno]
push dword [eax]
push 0x43d5d0
push str._beginthreadex_...__failure__for_Helper_Thread
jmp 0x40d2e4
mov edi, 0x7530
push edi
push dword [esi + 0x4c0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40d40e
push edi
push 0x43d5d0
push str.Unable_to_get_response_from_Helper_Thread_within_specified_Timeout___
push str.UMServer.log
mov ecx, esi
call fcn.0040e3da
push dword [esi + 0x4c0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40d423
push dword [esi + 0x4c0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
mov dword [esi + 0x540], eax
pop edi
pop esi
pop ebx
ret 8
Function at 0x40d42c
Capabilities:
Terminate thread

Disassembly:
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x540], ebx
jne 0x40d440
xor eax, eax
jmp 0x40d53f
mov eax, dword [esi + 0x4ac]
push ebp
push edi
push 1
pop ebp
push dword [esi + 0x4bc]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x4b4]
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x3e8
push ebp
lea eax, [esp + 0x18]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0x102
je 0x40d484
cmp eax, 0xffffffff
jne 0x40d4f3
push ebx
mov ebx, 0x43d68c
push ebx
push str.WaitForMultipleObjects_...__timed_out
mov edi, str.UMServer.log
push edi
mov ecx, esi
call fcn.0040e3da
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x1234
push dword [esi + 0x4ac]
call ebp
test eax, eax
jne 0x40d4c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push str.TerminateThread_.ThreadA.__failure__probably_it_is_already_terminated
push edi
mov ecx, esi
call fcn.0040e3da
push 0x1234
push dword [esi + 0x4b4]
call ebp
test eax, eax
jne 0x40d4ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push str.TerminateThread_.ThreadC.__failure__probably_it_is_already_terminated
push edi
mov ecx, esi
call fcn.0040e3da
xor ebp, ebp
xor ebx, ebx
push dword [esi + 0x4ac]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [esi + 0x4b4]
call edi
lea edi, [esi + 0x4d0]
cmp dword [edi], ebx
je 0x40d51d
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40d50f
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea eax, [esi + 0x508]
push eax
call edi
lea eax, [esi + 0x520]
push eax
call edi
pop edi
mov eax, ebp
mov dword [esi + 0x540], ebx
pop ebp
pop esi
pop ebx
pop ecx
pop ecx
ret
Function at 0x40e3da
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x42055c
call fcn.0041ef90
sub esp, 0x14
push ebx
push esi
mov esi, ecx
lea eax, [esi + 0x494]
push edi
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edi, [esi + 0x490]
push edi
call dword [sym.imp.MSVCRT.dll_time]
lea ecx, [ebp - 0x10]
mov dword [esp], 0x42a648
call fcn.0041eb9a
push dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0041eb9a
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_operator
push ebx
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_operator
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CString::CString
push 0x43d998
push dword [ebp - 0x18]
call dword [sym.imp.MSVCRT.dll__wfopen]
test eax, eax
pop ecx
pop ecx
mov dword [esi + 4], eax
je 0x40e534
push edi
call dword [sym.imp.MSVCRT.dll_localtime]
push eax
push str._a___d__b__Y__H:_M:_S
lea ebx, [esi + 0x40c]
push 0x80
push ebx
mov dword [esi + 0x48c], eax
call dword [sym.imp.MSVCRT.dll_strftime]
add esp, 0x14
cmp dword [ebp + 0x10], 0
push dword [ebp + 0x14]
lea edi, [esi + 0xc]
je 0x40e4d8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
push str._s____s._t__s__t__d__n
push edi
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x18
jmp 0x40e4eb
push dword [ebp + 0xc]
push ebx
push str._s____s._t__d__n
push edi
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
push dword [esi + 4]
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push 1
push edi
call dword [sym.imp.MSVCRT.dll_fwrite]
push edi
mov ebx, eax
call sub.MSVCRT.dll_strlen
add esp, 0x14
cmp ebx, eax
je 0x40e525
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [esi + 4]
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
xor esi, esi
jmp 0x40e53f
push dword [esi + 4]
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
push 1
pop esi
jmp 0x40e536
xor esi, esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x40e98d
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4205e0
call fcn.0041ef90
sub esp, 0x1b0
and dword [ebp - 4], 0
push ebx
push esi
mov ebx, ecx
push edi
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x10], esp
call fcn.0040ee57
mov esi, 0xa000
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov dword [ebp - 0x14], eax
mov eax, dword [0x43d99c]
mov dword [ebp - 0xbc], eax
mov eax, dword [0x43d9a0]
pop ecx
mov dword [ebp - 0xb8], eax
push 0x1e
pop ecx
xor eax, eax
lea edi, [ebp - 0xb4]
mov dword [ebp - 0x1c], esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x3c]
push eax
push 0
lea eax, [ebp - 0xbc]
push eax
push VariantClear
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
je 0x40ea3f
cmp edi, 0xea
jne 0x40ea2a
add dword [ebp - 0x1c], esi
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call dword [sym.imp.MSVCRT.dll_realloc]
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
jmp 0x40ea0c
test edi, edi
je 0x40e9e7
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
push dword [ebp - 0x14]
call fcn.0040e65e
and dword [ebp - 0x28], 0
mov esi, eax
pop ecx
mov dword [ebp - 0x24], esi
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
cmp ecx, dword [eax + 0x1c]
jge 0x40eb73
cmp dword [esi + 0xc], 0x1fe
jne 0x40eb5f
or dword [ebp - 0x2c], 0xffffffff
push esi
call fcn.0040e668
pop ecx
xor edi, edi
cmp edi, dword [esi + 0x20]
jge 0x40ea98
cmp dword [eax + 4], 0x208
jne 0x40ea8e
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x2c], ecx
push eax
call fcn.0040e672
pop ecx
inc edi
jmp 0x40ea7a
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x40eaa6
push dword [ebp - 0x14]
jmp 0x40eb74
lea ecx, [ebp - 0x38]
call sub.MFC42u.DLL_CString::CString_3
push esi
mov byte [ebp - 4], 1
call fcn.0040e67b
and dword [ebp - 0x20], 0
pop ecx
mov edi, eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [esi + 0x28]
jge 0x40eb53
mov esi, dword [edi + 0x10]
push edi
add esi, edi
call fcn.0040e672
mov dword [ebp - 0x30], eax
push 0xff
lea eax, [ebp - 0x1bc]
push eax
push esi
call fcn.0040e699
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x30]
mov esi, dword [eax + ecx]
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x34], eax
add esp, 0x10
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebx + 0x10]
call fcn.0040ec80
push dword [ebp - 0x18]
mov ecx, eax
call fcn.0041ec12
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebx + 0x20]
call fcn.0040ed4e
mov dword [eax], esi
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebx + 0x30]
call fcn.0040ed4e
and dword [eax], 0
push edi
call fcn.0040e685
inc dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
pop ecx
mov edi, eax
jmp 0x40eabf
and byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call sub.MFC42u.DLL_CString::CString
push esi
call fcn.0040e672
inc dword [ebp - 0x28]
pop ecx
mov dword [ebp - 0x24], eax
mov esi, eax
jmp 0x40ea51
push eax
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push 1
pop eax
jmp 0x40ea30
Function at 0x4104f6
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x42077b
call fcn.0041ef90
sub esp, 0x5c
push ebx
push esi
push edi
push dword [ebp + 0xc]
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
call sub.MFC42u.DLL_CString::CString_1
push 0x18
lea eax, [ebp - 0x68]
push ebx
push eax
mov dword [ebp - 4], 1
call sub.MSVCRT.dll_memset
mov eax, dword [0x43d9dc]
mov dword [ebp - 0x3c], eax
xor eax, eax
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x43d9d8]
mov dword [ebp - 0x50], eax
xor eax, eax
lea edi, [ebp - 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0x13
lea eax, [ebp - 0x3c]
push eax
push 0xe
mov esi, 0x400
push esi
call edi
cmp dword [ebp + 0x14], ebx
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0x44030c
je 0x410587
push 0x13
lea eax, [ebp - 0x50]
push eax
push 0xf
push esi
call edi
lea eax, [ebp - 0x50]
mov dword [ebp - 0x58], eax
push 0x13
lea eax, [ebp - 0x28]
push eax
push 0x12
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll__wtoi]
lea eax, [ebp - 0x28]
push eax
call ebx
pop ecx
push 0x13
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x28]
push eax
push 0x10
push esi
call edi
lea eax, [ebp - 0x28]
push eax
call ebx
pop ecx
push 0x13
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x28]
push eax
push 0x1010
push esi
call edi
lea eax, [ebp - 0x28]
push eax
call ebx
mov edi, dword [ebp + 0x10]
cmp edi, 0xffffffff
pop ecx
mov dword [ebp - 0x54], eax
jne 0x410617
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp + 0x14]
call sub.MFC42u.DLL_CString::CString_1
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::Find
cmp eax, edi
jne 0x4105fb
xor edi, edi
jmp 0x41060b
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx - 8]
mov edx, dword [ebp + 0x14]
sub ecx, dword [edx - 8]
sub ecx, eax
mov edi, ecx
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
push dword [ebp + 0xc]
mov dword [ebp - 0x68], edi
call dword [sym.imp.MSVCRT.dll_wcslen]
lea edi, [eax + eax*2 + 0x64]
lea eax, [edi + edi]
push eax
call sub.MFC42u.DLL_operatornew
pop ecx
pop ecx
mov ebx, eax
dec edi
push edi
push ebx
lea eax, [ebp - 0x68]
push eax
push dword [ebp + 0xc]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
test eax, eax
je 0x410654
push ebx
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::operator_3
test ebx, ebx
je 0x41065f
push ebx
call sub.MFC42u.DLL_operatordelete
pop ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call sub.MFC42u.DLL_CString::CString_2
mov dword [ebp - 0x14], 1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x411063
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 4], 0
je 0x4110a0
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push 0x4c
call esi
push 0x4d
mov edi, eax
call esi
push 0x50
push 0x64
push 0x64
add eax, 0xffffff6a
push eax
add edi, 0xffffff6a
push edi
push 0xffffffffffffffff
push dword [0x4421dc]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
ret
push 0
push dword [0x4421dc]
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x411ada
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x4209ba
call fcn.0041ef90
push ecx
push edi
push 0x414f42
push 0x411ba1
mov edi, ecx
push 0x20
push 0x20
lea eax, [edi + 0xc]
push eax
mov dword [ebp - 0x10], edi
call fcn.0041f1fe
and dword [ebp - 4], 0
mov dword [edi], 0x423c50
cmp dword [0x44245c], 0
jne 0x411b87
push ebx
push esi
push str.powrprof.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push str.EnumPwrSchemes
push ebx
call esi
push str.PowerEnumerate
push ebx
mov dword [0x44245c], eax
call esi
push str.PowerReadFriendlyName
push ebx
mov dword [0x442460], eax
call esi
push str.PowerGetActiveScheme
push ebx
mov dword [0x442464], eax
call esi
push str.GetActivePwrScheme
push ebx
mov dword [0x442468], eax
call esi
push str.SetActivePwrScheme
push ebx
mov dword [0x44246c], eax
call esi
push str.PowerSetActiveScheme
push ebx
mov dword [0x442470], eax
call esi
pop esi
mov dword [0x442474], eax
pop ebx
or dword [edi + 4], 0xffffffff
mov ecx, edi
call fcn.00411c18
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
leave
ret

Function at 0x411f68
Capabilities:
Shutdown system

Disassembly:
cmp dword [esp + 4], 0
mov dword [ecx], 2
je 0x411f7b
mov dword [ecx], 6
push 0
push dword [ecx]
call dword [sym.imp.USER32.dll_ExitWindowsEx]
dec eax
neg eax
sbb eax, eax
inc eax
ret 4

Function at 0x4120c9
Capabilities:
Create process on windows

Disassembly:
push 5
push 0
push str.user32.dll_LockWorkStation
push str.rundll32.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
test eax, eax
setne al
ret

Function at 0x41213e
Capabilities:
Create process on windows
Shutdown system

Disassembly:
push 5
push 0
push str._s__t_0
push str.shutdown.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [0x442b94], 5
jae 0x41216c
push 0
push 1
call dword [sym.imp.USER32.dll_ExitWindowsEx]
ret

Function at 0x41216d
Capabilities:
Create process on windows
Shutdown system

Disassembly:
push 5
push 0
push str.__s__f__t_0
push str.shutdown.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [0x442b94], 5
jae 0x41219b
push 4
push 1
call dword [sym.imp.USER32.dll_ExitWindowsEx]
ret

Function at 0x41219c
Capabilities:
Create process on windows

Disassembly:
push 5
push 0
push str.powrprof.dll_SetSuspendState
push str.rundll32.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
Function at 0x4123bf
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x420a98
call fcn.0041ef90
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
push str.ShowInfo_int_type_CString_info_str__n
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esi + 0x20], ebx
je 0x4123ec
push ebx
mov ecx, esi
call sub.MFC42u.DLL_CWnd::ShowWindow
mov edi, dword [ebp + 8]
cmp edi, 7
jne 0x412403
mov ecx, esi
call fcn.00412623
push 1
pop ebx
jmp 0x4124ec
cmp dword [esi + 0x20], ebx
jne 0x412415
push ebx
push 0xed
mov ecx, esi
call sub.MFC42u.DLL_CDialog::Create
push 5
mov ecx, esi
call sub.MFC42u.DLL_CWnd::ShowWindow
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0x70]
mov dword [esi + 0x68], edi
mov dword [esi + 0x64], 0xa
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [ebp - 0x10]
mov dword [esi + 0x74], edi
call sub.MFC42u.DLL_CString::CString_3
push 0x43d1cc
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0041eb9a
push dword [esi + 0x64]
mov eax, dword [eax]
push dword [ebp + 0xc]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x10]
push eax
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
push dword [ebp - 0x10]
lea ecx, [esi + 0x78]
call sub.MFC42u.DLL_CWnd::SetWindowTextW
push str._s___d_
lea ecx, [ebp + 8]
call fcn.0041eb9a
push dword [esi + 0x64]
mov edi, dword [eax]
push 0x70
mov byte [ebp - 4], 3
call fcn.0041716a
pop ecx
push eax
lea eax, [ebp - 0x10]
push edi
push eax
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
push dword [ebp - 0x10]
push 1
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edi, 0x3e8
push edi
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
push ebx
push edi
push edi
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x412623
Capabilities:
Create process on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x74]
xor ebx, ebx
cmp esi, ebx
jne 0x412638
push ebx
jmp 0x412773
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 1
pop ebp
cmp esi, ebp
mov dword [0x442530], eax
jne 0x41264f
call fcn.0041213e
cmp esi, 2
jne 0x412659
call fcn.0041216d
cmp esi, 3
jne 0x412665
push ebx
call fcn.0041219c
pop ecx
cmp esi, 4
je 0x41277b
cmp esi, 5
je 0x41277b
cmp esi, 6
je 0x41277b
cmp esi, 7
je 0x41277b
cmp dword [edi + 0x74], 8
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ebp, str.shutdown.exe
mov ebx, str.open
jne 0x4126ae
push 5
push 0
push str.__r__f__t_0
push ebp
push ebx
push 0
call esi
cmp dword [edi + 0x74], 9
jne 0x4126c3
push 5
push 0
push str.__r__t_0
push ebp
push ebx
push 0
call esi
cmp dword [edi + 0x74], 0xa
jne 0x4126d8
push 5
push 0
push str.__l__f__t_0
push ebp
push ebx
push 0
call esi
cmp dword [edi + 0x74], 0xb
jne 0x4126ed
push 5
push 0
push str.__l__t_0
push ebp
push ebx
push 0
call esi
mov eax, dword [edi + 0x74]
cmp eax, 0xc
jne 0x41271a
mov ebx, dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
mov esi, bind
push esi
call ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 1
lea ecx, [edi + 0x60]
mov dword [0x442530], eax
call fcn.00411f46
jmp 0x41276c
cmp eax, 0xd
jne 0x412744
mov ebx, dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
mov esi, bind
push esi
call ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 1
lea ecx, [edi + 0x60]
mov dword [0x442530], eax
call fcn.00411f33
jmp 0x41276c
cmp eax, 0xe
jne 0x412771
mov ebx, dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
mov esi, bind
push esi
call ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 1
lea ecx, [edi + 0x60]
mov dword [0x442530], eax
call fcn.00411f20
push esi
call ebx
jmp 0x4127e4
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4127e4
push bind
call dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
cmp esi, 7
je 0x4127a6
cmp dword [0x4420d0], ebx
je 0x4127a6
push ebx
push 0x4420d4
mov dword [0x4420d0], ebx
call fcn.004163f9
pop ecx
pop ecx
cmp esi, 5
jne 0x4127b4
push ebp
lea ecx, [edi + 0x60]
call fcn.00411f20
cmp esi, 6
jne 0x4127c0
push ebx
call fcn.0041219c
pop ecx
cmp esi, 7
jne 0x4127e4
push ebp
mov dword [0x440f48], ebp
call fcn.004091e2
push dword [0x440f48]
push 0x440f4c
call fcn.004163f9
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x415cc5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x420e80
call fcn.0041ef90
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x415cfb
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x415cf7
call esi
cmp eax, 3
je 0x415cf7
or esi, 0xffffffff
jmp 0x415d06
xor esi, esi
jmp 0x415d06
test al, 0x10
je 0x415d03
push 2
jmp 0x415d05
push 1
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x416464
Capabilities:
Check os version
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x420f8c
call fcn.0041ef90
sub esp, 0x12c
push ebx
push esi
xor esi, esi
push edi
cmp dword [0x442fec], esi
je 0x41648e
push 0x45
mov esi, 0x442a78
pop ecx
jmp 0x416643
mov edi, 0x114
mov ebx, 0x442a78
push edi
push esi
push ebx
mov dword [0x442fec], 1
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x442a78], edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
movzx eax, word [0x442a7c]
movzx ecx, word [0x442a80]
shl eax, 0x10
or eax, ecx
lea ecx, [ebp - 0x24]
mov dword [0x442ff0], eax
call sub.MFC42u.DLL_CString::CString_3
cmp dword [0x442a7c], 5
mov dword [ebp - 4], esi
jb 0x416621
add edi, 8
push edi
push esi
mov esi, 0x442ca8
push esi
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x20]
mov dword [0x442ca8], edi
call sub.MFC42u.DLL_CString::CString_3
and byte [ebp - 0xf], 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x64
mov byte [ebp - 0x15], 0x6c
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x2e
mov byte [ebp - 0x12], 0x64
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0x10], 0x6c
call fcn.0041ec12
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4165f0
and byte [ebp - 0xf], 0
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov byte [ebp - 0x1c], 0x52
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x1a], 0x6c
mov byte [ebp - 0x19], 0x47
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x56
mov byte [ebp - 0x15], 0x65
mov byte [ebp - 0x14], 0x72
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0x12], 0x69
mov byte [ebp - 0x11], 0x6f
mov byte [ebp - 0x10], 0x6e
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4165f0
push esi
call eax
mov eax, dword [0x442cac]
test eax, eax
je 0x4165f0
mov dword [0x442a7c], eax
mov eax, dword [0x442cb0]
and byte [ebp - 4], 0
mov dword [0x442a80], eax
mov eax, dword [0x442cb4]
push 0x45
pop ecx
mov esi, ebx
lea edi, [ebp - 0x138]
mov dword [0x442a84], eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call sub.MFC42u.DLL_CString::CString
push 0x45
lea esi, [ebp - 0x138]
pop ecx
jmp 0x416643
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [0x442cac]
and byte [ebp - 4], 0
mov dword [0x442a7c], eax
mov eax, dword [0x442cb0]
mov dword [0x442a80], eax
mov eax, dword [0x442cb4]
lea ecx, [ebp - 0x20]
mov dword [0x442a84], eax
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
push 0x45
pop ecx
mov esi, ebx
lea edi, [ebp - 0x138]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x24]
call sub.MFC42u.DLL_CString::CString
push 0x45
lea esi, [ebp - 0x138]
pop ecx
mov eax, dword [ebp + 8]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret