joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4221b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4a936b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push ebx
push ebp
push esi
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_5
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [esp + 0x14]
push 0x104
push eax
mov dword [esp + 0x22c], 0
call ebx
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
lea ecx, [esp + 0x14]
push ecx
mov word [esp + 0x21e], 0
call ebp
mov edx, 0x104
sub edx, eax
lea eax, [esp + 0x18]
push edx
push str.GroupPolicyMachineScripts_scripts.ini
push eax
call dword [sym.imp.MSVCRT.dll_wcsncat]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.0042fa40
mov esi, dword [esp + 0x24c]
add esp, 0x18
cmp al, 1
jne 0x4222b4
lea eax, [esp + 0x14]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
jne 0x42225a
lea eax, [esp + 0x14]
jmp 0x42225d
add eax, 2
lea ecx, [esp + 0x14]
push str.Machine_Script
push ecx
push eax
push 0x4cd9cc
lea edx, [esp + 0x1c]
push str._s__s____s_____s_
push edx
call sub.MFC42u.DLL_CString::Format
mov eax, dword [esi + 0x20]
add esp, 0x18
push 0
push 0
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
push ecx
push eax
push 1
mov ecx, esi
call sub.MFC42u.DLL_CListCtrl::InsertItem
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x14]
push 0x104
push eax
call ebx
lea ecx, [esp + 0x14]
mov word [esp + 0x21a], 0
push ecx
call ebp
mov edx, 0x104
sub edx, eax
lea eax, [esp + 0x18]
push edx
push str.GroupPolicyUserScripts_scripts.ini
push eax
call dword [sym.imp.MSVCRT.dll_wcsncat]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.0042fa40
add esp, 0x18
cmp al, 1
jne 0x422373
lea eax, [esp + 0x14]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
jne 0x422319
lea eax, [esp + 0x14]
jmp 0x42231c
add eax, 2
lea ecx, [esp + 0x14]
push str.User_Script
push ecx
push eax
push 0x4cd9cc
lea edx, [esp + 0x1c]
push str._s__s____s_____s_
push edx
call sub.MFC42u.DLL_CString::Format
mov eax, dword [esi + 0x20]
add esp, 0x18
push 0
push 0
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
push ecx
push eax
push 1
mov ecx, esi
call sub.MFC42u.DLL_CListCtrl::InsertItem
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov dword [esp + 0x224], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x21c]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x21c
ret 0xc
Function at 0x426f40
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4a98c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x14]
xor ebx, ebx
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x10]
mov dword [esp + 0x138], ebx
call sub.MFC42u.DLL_CString::CString_5
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.autocheck_autochk_
mov byte [esp + 0x13c], 1
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ebp, [eax + eax + 2]
lea eax, [esp + 0x14]
push str.RegistryMachineSystemCurrentControlSetControlSession_Manager
push 0x4cb1f8
push eax
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
push str.BootExecute
push 0x4cb1f8
push ecx
call sub.MFC42u.DLL_CString::Format
mov ecx, ebp
mov esi, str.autocheck_autochk_
mov edx, ecx
lea edi, [esp + 0x3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 0xc
and ecx, 3
lea eax, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [esp + 0x20]
add ebp, 2
call fcn.0043f600
lea ecx, [esp + 0x18]
mov byte [esp + 0x138], 2
push ecx
push 0x20019
lea ecx, [esp + 0x24]
call fcn.0043f6a0
push eax
lea ecx, [esp + 0x28]
call fcn.0043f6b0
push eax
call fcn.0042f560
add esp, 0x10
cmp al, 1
jne 0x42706d
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
push eax
call sub.MFC42u.DLL_CString::GetBuffer
mov ecx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x34]
push ebp
push eax
push 7
push ecx
call fcn.0042f7d0
add esp, 0x14
cmp al, 1
jne 0x427062
mov ebx, 1
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], 1
call fcn.0043f670
lea ecx, [esp + 0x10]
mov byte [esp + 0x138], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x138], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x130]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret
Function at 0x4270c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a98e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
lea ecx, [esp + 4]
xor esi, esi
call sub.MFC42u.DLL_CString::CString_5
push str.AutoRun
lea eax, [esp + 8]
push 0x4cb1f8
push eax
mov dword [esp + 0x34], esi
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push ecx
lea ecx, [esp + 0x10]
call fcn.0043f600
lea edx, [esp + 8]
lea ecx, [esp + 0xc]
push edx
push 0x20019
mov byte [esp + 0x30], 1
call fcn.0043f6a0
push eax
lea ecx, [esp + 0x18]
call fcn.0043f6b0
push eax
call fcn.0042f560
add esp, 0x10
cmp al, 1
jne 0x42716f
mov eax, dword [esp + 4]
lea ecx, [esp + 4]
mov eax, dword [eax - 8]
push eax
call sub.MFC42u.DLL_CString::GetBuffer
mov ecx, dword [esp + 8]
push eax
push ecx
call fcn.0042f750
add esp, 8
cmp al, 1
jne 0x427164
mov esi, 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.0043f670
lea ecx, [esp + 4]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x4271b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a9918
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebp
mov ebp, ecx
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0
call sub.MFC42u.DLL_CString::CString_5
lea eax, [esp + 0xc]
push str.RegistryMachineSOFTWAREMicrosoftWindows_NTCurrentVersionDrivers32
push eax
mov byte [esp + 0x38], 1
call sub.MFC42u.DLL_CString::Format
add esp, 8
lea ecx, [esp + 8]
push 0x4d1230
push 0x4cb1f8
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0xc]
lea ecx, [esp + 0x14]
push edx
call fcn.0043f600
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push 0x20019
mov byte [esp + 0x38], 2
call fcn.0043f6a0
push eax
lea ecx, [esp + 0x20]
call fcn.0043f6b0
push eax
call fcn.0042f560
add esp, 0x10
cmp al, 1
jne 0x42736d
push esi
push str.wdmaud.drv
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ecx, dword [esp + 0x10]
add esp, 4
lea esi, [eax + eax + 2]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0xc]
push eax
call sub.MFC42u.DLL_CString::GetBuffer
mov edx, dword [esp + 0x14]
push eax
push esi
push str.wdmaud.drv
push 1
push edx
call fcn.0042f7d0
add esp, 0x14
cmp al, 1
jne 0x427361
push edi
mov edi, dword [esp + 0x40]
lea esi, [ebp + 0xa0]
push str.wdmaud.drv
push 0
push edi
mov ecx, esi
call fcn.00403f00
lea ecx, [esp + 0x40]
call sub.MFC42u.DLL_CString::CString_5
push str.wdmaud.drv
lea eax, [esp + 0x44]
push 0x4cb1f8
push eax
mov byte [esp + 0x44], 3
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebp
call fcn.0041c830
mov edx, dword [esp + 0x40]
mov ecx, esi
push edx
push 2
push edi
call fcn.00403f00
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_5
lea eax, [esp + 0xc]
lea ecx, [esp + 0x40]
push eax
push ecx
mov byte [esp + 0x40], 4
call fcn.0040ab80
mov edx, dword [esp + 0x14]
add esp, 8
mov ecx, esi
push edx
push 3
push edi
call fcn.00403f00
push 0
push edi
mov ecx, esi
call fcn.00404310
lea eax, [esp + 0xc]
push eax
call fcn.0040b4a0
add esp, 4
test eax, eax
jne 0x427344
push 3
push edi
mov ecx, esi
call fcn.00404310
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 2
call sub.MFC42u.DLL_CString::CString
pop edi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.0043f670
lea ecx, [esp + 8]
mov byte [esp + 0x30], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop ebp
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x4274d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4a9997
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0xc]
mov dword [esp + 0x23c], 0
call sub.MFC42u.DLL_CString::CString_5
mov eax, dword [esi + 0x120]
push str.Control_PanelDesktop
push eax
lea ecx, [esp + 0x18]
push 0x4cb23c
push ecx
mov byte [esp + 0x24c], 1
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
lea edx, [esp + 0xc]
push str.SCRNSAVE.EXE
push 0x4cb1f8
push edx
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x2c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 0x2c]
push str.logon.scr
push ecx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
mov word [esp + 0x232], 0
push edx
call fcn.0043f600
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push 0x20019
mov byte [esp + 0x244], 2
call fcn.0043f6a0
push eax
lea ecx, [esp + 0x24]
call fcn.0043f6b0
push eax
call fcn.0042f560
add esp, 0x10
cmp al, 1
jne 0x4276d3
lea ecx, [esp + 0x2c]
push edi
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edx, dword [esp + 0x14]
add esp, 4
lea edi, [eax + eax + 2]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
push eax
call sub.MFC42u.DLL_CString::GetBuffer
mov ecx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x34]
push edi
push eax
push 1
push ecx
call fcn.0042f7d0
add esp, 0x14
cmp al, 1
jne 0x4276c7
mov edi, dword [esp + 0x248]
add esi, 0xa0
push 0x4d2f20
push 0
push edi
mov ecx, esi
call fcn.00403f00
lea ecx, [esp + 8]
call sub.MFC42u.DLL_CString::CString_5
lea edx, [esp + 0x30]
lea eax, [esp + 8]
push edx
push 0x4cb1f8
push eax
mov byte [esp + 0x24c], 3
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x14]
add esp, 0xc
push ecx
push 2
push edi
mov ecx, esi
call fcn.00403f00
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_5
lea edx, [esp + 0xc]
lea eax, [esp + 8]
push edx
push eax
mov byte [esp + 0x248], 4
call fcn.0040ab80
mov ecx, dword [esp + 0x14]
add esp, 8
push ecx
push 3
push edi
mov ecx, esi
call fcn.00403f00
push 0
push edi
mov ecx, esi
call fcn.00404310
lea edx, [esp + 0xc]
push edx
call fcn.0040b4a0
add esp, 4
test eax, eax
jne 0x4276a5
push 3
push edi
mov ecx, esi
call fcn.00404310
lea ecx, [esp + 0xc]
mov byte [esp + 0x240], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x240], 2
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x23c], 1
call fcn.0043f670
lea ecx, [esp + 0xc]
mov byte [esp + 0x23c], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x23c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x234]
pop esi
mov dword fs:[0], ecx
add esp, 0x23c
ret 4
Function at 0x427730
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push esi
lea eax, [esp + 4]
push 0x104
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, dword [esp + 0x210]
lea ecx, [esp + 4]
cmp eax, 1
mov word [esp + 0x20a], si
push ecx
jne 0x427777
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edx, 0x104
sub edx, eax
push edx
push str.GroupPolicyMachineScripts_scripts.ini
jmp 0x42778a
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edx, 0x104
sub edx, eax
push edx
push str.GroupPolicyUserScripts_scripts.ini
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_wcsncat]
add esp, 0x10
lea ecx, [esp + 4]
push ecx
call fcn.0042fd70
add esp, 4
cmp al, 1
mov eax, 1
je 0x4277b0
mov eax, esi
pop esi
add esp, 0x208
ret 4
Function at 0x42a220
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x4a9cbd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x4b4478
lea edi, [esi + 0x1b8]
mov dword [esp + 0x14], 4
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x1d0]
test eax, eax
je 0x42a298
push 0
mov eax, dword [esi + 0x1d0]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
mov ecx, dword [esi + 0x1d0]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 0x1d0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1d0], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [esi + 0x160]
call sub.MFC42u.DLL_CListCtrl::CListCtrl
lea ecx, [esi + 0x120]
mov byte [esp + 0x14], 3
call sub.MFC42u.DLL_CListCtrl::CListCtrl
lea ecx, [esi + 0xe0]
mov byte [esp + 0x14], 2
call sub.MFC42u.DLL_CButton::CButton
lea ecx, [esi + 0xa0]
mov byte [esp + 0x14], 1
call sub.MFC42u.DLL_CButton::CButton
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 0
call sub.MFC42u.DLL_CButton::CButton
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], 0x4b2d44
call fcn.004a6198
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42cbb0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x14
lea eax, [esp]
push esi
push eax
push 0x28
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42cc1b
lea ecx, [esp + 0xc]
push ecx
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x42cc10
mov eax, dword [esp + 4]
push esi
push esi
lea edx, [esp + 0x10]
push esi
push edx
push esi
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x42cc10
mov esi, 1
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x14
ret

Function at 0x42d0c0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4aa818
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.MFC42u.DLL_CString::CString_5
lea eax, [esp + 4]
mov dword [esp + 0x10], 0
push eax
call fcn.0040d570
add esp, 4
lea ecx, [esp + 4]
push 0x4d5754
call fcn.004a62ac
push str.MadeBy
lea ecx, [esp + 8]
call fcn.004a62ac
push str.Linxer
lea ecx, [esp + 8]
call fcn.004a62ac
mov ecx, dword [esp + 4]
push ecx
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
mov dword [esi + 0x4aa8], eax
je 0x42d186
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42d186
mov edx, dword [0x545f7c]
push 4
push 0
mov ecx, esi
mov eax, dword [edx*4 + 0x4d4d64]
push eax
call sub.MFC42u.DLL_CWnd::MessageBoxW
cmp eax, 7
jne 0x42d186
mov ecx, dword [esi + 0x4aa8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
mov dword [esi + 0x4aa8], 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42dd30
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0x80]
push 0
push 0x130b
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
xor ecx, ecx
test edi, edi
sete cl
push ecx
lea ecx, [esi + 0x1c4]
call sub.MFC42u.DLL_CWnd::ShowWindow
mov edx, edi
lea ecx, [esi + 0xa0]
xor edx, 1
neg edx
sbb edx, edx
inc edx
push edx
call sub.MFC42u.DLL_CWnd::ShowWindow
mov eax, edi
lea ecx, [esi + 0x19fc]
xor eax, 2
neg eax
sbb eax, eax
inc eax
push eax
call sub.MFC42u.DLL_CWnd::ShowWindow
mov ecx, edi
xor ecx, 3
neg ecx
sbb ecx, ecx
inc ecx
push ecx
lea ecx, [esi + 0x394]
call sub.MFC42u.DLL_CWnd::ShowWindow
mov edx, edi
lea ecx, [esi + 0x14f4]
xor edx, 4
neg edx
sbb edx, edx
inc edx
push edx
call sub.MFC42u.DLL_CWnd::ShowWindow
mov eax, edi
lea ecx, [esi + 0x227c]
xor eax, 5
neg eax
sbb eax, eax
inc eax
push eax
call sub.MFC42u.DLL_CWnd::ShowWindow
mov ecx, edi
xor ecx, 6
neg ecx
sbb ecx, ecx
inc ecx
push ecx
lea ecx, [esi + 0x2b34]
call sub.MFC42u.DLL_CWnd::ShowWindow
mov edx, edi
lea ecx, [esi + 0x2d0c]
xor edx, 7
neg edx
sbb edx, edx
inc edx
push edx
call sub.MFC42u.DLL_CWnd::ShowWindow
mov eax, edi
lea ecx, [esi + 0x2ef4]
xor eax, 8
neg eax
sbb eax, eax
inc eax
push eax
call sub.MFC42u.DLL_CWnd::ShowWindow
mov ecx, edi
xor ecx, 9
neg ecx
sbb ecx, ecx
inc ecx
push ecx
lea ecx, [esi + 0x3018]
call sub.MFC42u.DLL_CWnd::ShowWindow
mov edx, edi
lea ecx, [esi + 0x3148]
xor edx, 0xa
neg edx
sbb edx, edx
inc edx
push edx
call sub.MFC42u.DLL_CWnd::ShowWindow
mov eax, edi
lea ecx, [esi + 0x36e4]
xor eax, 0xb
neg eax
sbb eax, eax
inc eax
push eax
call sub.MFC42u.DLL_CWnd::ShowWindow
mov ecx, edi
xor ecx, 0xc
neg ecx
sbb ecx, ecx
inc ecx
push ecx
lea ecx, [esi + 0x38bc]
call sub.MFC42u.DLL_CWnd::ShowWindow
mov edx, edi
lea ecx, [esi + 0x40c4]
xor edx, 0xd
neg edx
sbb edx, edx
inc edx
push edx
call sub.MFC42u.DLL_CWnd::ShowWindow
mov eax, edi
lea ecx, [esi + 0x4304]
xor eax, 0xe
neg eax
sbb eax, eax
inc eax
push eax
call sub.MFC42u.DLL_CWnd::ShowWindow
mov ecx, dword [esi + edi*4 + 0x46b4]
mov edx, dword [ecx]
call dword [edx + 0xdc]
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [eax], 0
ret 8

Function at 0x42e530
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push esi
push eax
push 0
push 0
push 0x42e520
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
jne 0x42e558
mov dword [esp + 4], 0xffffffff
mov ecx, dword [esp + 4]
push ecx
push 0xf
call fcn.0042f070
add esp, 8
test esi, esi
je 0x42e572
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret
Function at 0x42fdd0
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4aa888
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
mov esi, dword [esp + 0x20]
push edi
mov byte [esp + 0x13], 0
xor edi, edi
push 0x80
push esi
call ebx
test eax, eax
jne 0x42fe17
push 0x64
call ebp
inc edi
cmp edi, 0x10
jl 0x42fe01
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, 1
cmp eax, ebx
jne 0x42fe3c
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x4000000
push 3
push 0
push 3
push 0x10000
push esi
call edi
cmp eax, 0xffffffff
je 0x42fe78
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0x24]
call sub.MFC42u.DLL_CString::CString_5
push esi
lea eax, [esp + 0x28]
push str.___s
push eax
mov dword [esp + 0x28], 0
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x24]
push eax
call sub.MFC42u.DLL_CString::GetBuffer
mov esi, dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
push eax
push str.xuetrkillfile
push ebx
call esi
test eax, eax
je 0x42fef4
push 0
push 0x4000000
push 3
push 0
push 3
push 0x10000
push str..xuetrkillfile
call edi
cmp eax, 0xffffffff
je 0x42fee9
push eax
mov byte [esp + 0x17], bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push str.xuetrkillfile
push 2
call esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4325a0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x410
lea eax, [esp]
push ebx
push 0x208
push eax
push 0
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 4]
push 0x5c
push ecx
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x432675
push ebp
push esi
push edi
mov word [eax + 2], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
push 0x4cc3ec
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 8
mov ebx, eax
call dword [sym.imp.MSVCRT.dll_rand]
mov ebp, dword [esp + 0x424]
and eax, 3
add ebx, eax
test ebx, ebx
jbe 0x43262e
mov esi, ebp
mov edi, ebx
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 0x1a
add esi, 2
idiv ecx
add edx, 0x61
dec edi
mov word [esi - 2], dx
jne 0x432613
lea edx, [esp + 0x10]
push ebp
push edx
push 0x4e9ce0
lea eax, [esp + 0x224]
push 0x208
push eax
mov word [ebp + ebx*2], 0
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea ecx, [esp + 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43260b
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x410
ret
mov al, bl
pop ebx
add esp, 0x410
ret

Function at 0x432680
Capabilities:
Delete file
Extract resource via kernel32 functions
Get file attributes
Set file attributes
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
sub esp, 0x20c
lea edx, [esp + 4]
push ebx
push ebp
push esi
push edi
push eax
push ecx
push str._s_s.sys
push 0x208
push edx
xor bl, bl
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x432797
mov eax, dword [esp + 0x228]
push 0x4e9cf4
test eax, eax
jne 0x4326d7
push 0xb2
jmp 0x4326dc
push 0xa7
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x432797
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x432797
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x432797
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x432797
push 0
push 0x80
push 1
push 0
push 0
lea eax, [esp + 0x28]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x432797
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or al, 6
lea edx, [esp + 0x14]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0x10]
push 0
push eax
push edi
push ebp
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x43278c
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x20c
ret
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
add esp, 0x20c
ret
Function at 0x4327b0
Capabilities:
Delete file
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
sub esp, 0x208
lea edx, [esp]
push ebx
push esi
push edi
push eax
push ecx
push str._s_s.sys
push 0x208
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x14
xor esi, esi
lea eax, [esp + 0xc]
push 0x80
push eax
call ebx
test eax, eax
jne 0x432803
push 0x64
call edi
inc esi
cmp esi, 0x10
jb 0x4327e9
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
lea ecx, [esp + 0xc]
push ecx
call ebx
test eax, eax
jne 0x432820
push 0x64
call edi
inc esi
cmp esi, 0x10
jb 0x43280b
pop edi
pop esi
pop ebx
add esp, 0x208
ret