joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4166ca
Capabilities:
Delete service

Disassembly:
push 0xffffffffffffffff
push 0x4a3100
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], ebp
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], ebp
call fcn.0043c730
push 0xf003f
push ebp
push ebp
mov byte [esp + 0x40], 1
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, dword [esp + 0x3c]
mov edi, eax
cmp edi, ebp
je 0x416738
mov eax, dword [ebx]
push 0xf01ff
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebp, eax
test ebp, ebp
je 0x41672d
push ebp
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push ebp
mov dword [esp + 0x18], eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebp, dword [esp + 0x14]
mov eax, dword [ebx]
lea ecx, [esp + 0x10]
push eax
push str.RegistryMachineSYSTEMCurrentControlSetServices_s
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.0043c860
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
push eax
push eax
call sub.MFC42u.DLL_CString::GetBuffer
push eax
lea ecx, [esp + 0x20]
call fcn.0043c970
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call dword [eax + 0x108]
or ebp, eax
cmp ebp, 1
jne 0x416836
mov ebx, dword [esp + 0x40]
lea edi, [esi + 0xa0]
push ebx
mov ecx, edi
call fcn.004042f0
cmp eax, ebp
jne 0x4167a8
dec dword [esi + 0x12c]
push ebx
mov ecx, edi
call fcn.00403590
mov eax, dword [0x5401c4]
cmp eax, 1
jne 0x4167df
mov edx, dword [esi + 0xc0]
push 0
push 0
push 0x1004
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x12c]
push ecx
push eax
push 0x4c9c54
jmp 0x41681c
cmp eax, 2
mov eax, dword [esi + 0xc0]
push 0
push 0
push 0x1004
push eax
jne 0x416809
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x12c]
push ecx
push eax
push 0x4c9c30
jmp 0x41681c
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x12c]
push ecx
push eax
push str.Services:__d__Hidden_Services:__d
lea edx, [esp + 0x1c]
push edx
call sub.MFC42u.DLL_CString::Format
mov eax, dword [esp + 0x20]
add esp, 0x10
lea ecx, [esi + 0x60]
push eax
call sub.MFC42u.DLL_CWnd::SetWindowTextW
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 0
call fcn.0043c7e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x2c]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x419430
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov dword [edi + 0x104], 1
lea ebx, [edi + 0xec]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [edi + 0xe8]
test esi, esi
je 0x419460
mov dword [edi + 0xe8], 0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x419498
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xbb8
push esi
call edi
cmp eax, 0x102
jne 0x419491
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x3e8
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
ret
Function at 0x41f2b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4a3eeb
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.0042cbb0
mov esi, dword [esp + 0x24c]
add esp, 0x18
cmp al, 1
jne 0x41f3b4
lea eax, [esp + 0x14]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
jne 0x41f35a
lea eax, [esp + 0x14]
jmp 0x41f35d
add eax, 2
lea ecx, [esp + 0x14]
push str.Machine_Script
push ecx
push eax
push 0x4c7c88
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.0042cbb0
add esp, 0x18
cmp al, 1
jne 0x41f473
lea eax, [esp + 0x14]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
jne 0x41f419
lea eax, [esp + 0x14]
jmp 0x41f41c
add eax, 2
lea ecx, [esp + 0x14]
push str.User_Script
push ecx
push eax
push 0x4c7c88
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 0x424000
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4a4441
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 0x4c61d8
push eax
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
push str.BootExecute
push 0x4c61d8
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.0043c770
lea ecx, [esp + 0x18]
mov byte [esp + 0x138], 2
push ecx
push 0x20019
lea ecx, [esp + 0x24]
call fcn.0043c810
push eax
lea ecx, [esp + 0x28]
call fcn.0043c820
push eax
call fcn.0042c6d0
add esp, 0x10
cmp al, 1
jne 0x42412d
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.0042c940
add esp, 0x14
cmp al, 1
jne 0x424122
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.0043c7e0
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 0x424180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a4460
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 0x4c61d8
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.0043c770
lea edx, [esp + 8]
lea ecx, [esp + 0xc]
push edx
push 0x20019
mov byte [esp + 0x30], 1
call fcn.0043c810
push eax
lea ecx, [esp + 0x18]
call fcn.0043c820
push eax
call fcn.0042c6d0
add esp, 0x10
cmp al, 1
jne 0x42422f
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.0042c8c0
add esp, 8
cmp al, 1
jne 0x424224
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.0043c7e0
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 0x424270
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a4498
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, 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 0x4cb3d4
push 0x4c61d8
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0xc]
lea ecx, [esp + 0x14]
push edx
call fcn.0043c770
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push 0x20019
mov byte [esp + 0x38], 2
call fcn.0043c810
push eax
lea ecx, [esp + 0x20]
call fcn.0043c820
push eax
call fcn.0042c6d0
add esp, 0x10
cmp al, 1
jne 0x424431
push edi
push str.wdmaud.drv
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ecx, dword [esp + 0x10]
add esp, 4
lea edi, [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 edi
push str.wdmaud.drv
push 1
push edx
call fcn.0042c940
add esp, 0x14
cmp al, 1
jne 0x424425
push ebp
mov ebp, dword [esp + 0x40]
lea edi, [esi + 0xa0]
push str.wdmaud.drv
push 0
push ebp
mov ecx, edi
call fcn.00403f00
lea ecx, [esp + 0x40]
call sub.MFC42u.DLL_CString::CString_5
push str.wdmaud.drv
lea eax, [esp + 0x44]
push 0x4c61d8
push eax
mov byte [esp + 0x44], 3
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call fcn.004198d0
mov edx, dword [esp + 0x40]
mov ecx, edi
push edx
push 2
push ebp
call fcn.00403f00
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_5
mov eax, dword [esi]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x40]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x40], 4
call dword [eax + 0xf0]
mov eax, dword [esp + 0xc]
mov ecx, edi
push eax
push 3
push ebp
call fcn.00403f00
push 0
push ebp
mov ecx, edi
call fcn.00404310
mov edx, dword [esi]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call dword [edx + 0x118]
test eax, eax
jne 0x424408
push 3
push ebp
mov ecx, edi
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 ebp
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.0043c7e0
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 esi
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x424590
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4a4517
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 0x4c621c
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 0x4c61d8
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.0043c770
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push 0x20019
mov byte [esp + 0x244], 2
call fcn.0043c810
push eax
lea ecx, [esp + 0x24]
call fcn.0043c820
push eax
call fcn.0042c6d0
add esp, 0x10
cmp al, 1
jne 0x424799
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.0042c940
add esp, 0x14
cmp al, 1
jne 0x42478d
push ebp
mov ebp, dword [esp + 0x24c]
lea edi, [esi + 0xa0]
push 0x4cd0c4
push 0
push ebp
mov ecx, edi
call fcn.00403f00
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_5
lea edx, [esp + 0x34]
lea eax, [esp + 0xc]
push edx
push 0x4c61d8
push eax
mov byte [esp + 0x250], 3
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ecx
push 2
push ebp
mov ecx, edi
call fcn.00403f00
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_5
mov edx, dword [esi]
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x24c], 4
call dword [edx + 0xf0]
mov edx, dword [esp + 0x10]
mov ecx, edi
push edx
push 3
push ebp
call fcn.00403f00
push 0
push ebp
mov ecx, edi
call fcn.00404310
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call dword [eax + 0x118]
test eax, eax
jne 0x42476a
push 3
push ebp
mov ecx, edi
call fcn.00404310
lea ecx, [esp + 0x10]
mov byte [esp + 0x244], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x244], 2
call sub.MFC42u.DLL_CString::CString
pop ebp
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x23c], 1
call fcn.0043c7e0
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 0x4247f0
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 0x424837
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edx, 0x104
sub edx, eax
push edx
push str.GroupPolicyMachineScripts_scripts.ini
jmp 0x42484a
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.0042cee0
add esp, 4
cmp al, 1
mov eax, 1
je 0x424870
mov eax, esi
pop esi
add esp, 0x208
ret 4
Function at 0x4274a0
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x4a481d
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], 0x4af258
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 0x427518
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], 0x4add30
call fcn.004a1038
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x429dd0
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 0x429e3b
lea ecx, [esp + 0xc]
push ecx
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x429e30
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 0x429e30
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 0x42a350
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4a5368
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.0040b3e0
add esp, 4
lea ecx, [esp + 4]
push str._XTMadeByLinxer
call fcn.004a1128
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 + 0x4864], eax
je 0x42a3fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42a3fa
mov edx, dword [0x5401c4]
push 4
push 0
mov ecx, esi
mov eax, dword [edx*4 + 0x4cef3c]
push eax
call sub.MFC42u.DLL_CWnd::MessageBoxW
cmp eax, 7
jne 0x42a3fa
mov ecx, dword [esi + 0x4864]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
mov dword [esi + 0x4864], 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 0x42b6a0
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push esi
push eax
push 0
push 0
push 0x42b690
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
jne 0x42b6c8
mov dword [esp + 4], 0xffffffff
mov ecx, dword [esp + 4]
push ecx
push 0xf
call fcn.0042c1e0
add esp, 8
test esi, esi
je 0x42b6e2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
Function at 0x42cf40
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4a53d8
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 0x42cf87
push 0x64
call ebp
inc edi
cmp edi, 0x10
jl 0x42cf71
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, 1
cmp eax, ebx
jne 0x42cfac
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 0x42cfe8
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 0x42d064
push 0
push 0x4000000
push 3
push 0
push 3
push 0x10000
push str..xuetrkillfile
call edi
cmp eax, 0xffffffff
je 0x42d059
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