joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401970
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x40af50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
mov edi, dword [esp + 0x38]
mov ebp, ecx
lea edx, [esi + 4]
mov eax, dword [edi + 0x38]
mov ecx, dword [esi]
push edx
mov dword [eax], ecx
mov ecx, dword [edi + 0x38]
add ecx, 8
call fcn.0040a632
mov ecx, dword [edi + 0x38]
lea eax, [esi + 0x10]
push eax
add ecx, 4
call fcn.0040a632
lea ecx, [esi + 0x18]
push ecx
mov ecx, dword [edi + 0x38]
add ecx, 0xc
call fcn.0040a632
mov ecx, dword [edi + 0x40]
lea edx, [esi + 0x14]
push edx
add ecx, 4
call fcn.0040a632
mov ecx, dword [edi + 0x38]
lea eax, [esi + 0x2c]
push eax
add ecx, 0x10
call fcn.0040a632
lea ecx, [esi + 0x1c]
push 0x41005c
lea edx, [esp + 0x18]
push ecx
push edx
call sub.MFC42.DLL_operator_1
lea ecx, [esi + 0x20]
lea edx, [esp + 0x10]
push ecx
push eax
push edx
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
mov ecx, dword [edi + 0x38]
lea eax, [esp + 0x10]
push eax
add ecx, 0x14
call fcn.0040a632
lea ecx, [ebp + 0x7c]
push ecx
mov ecx, dword [edi + 0x44]
add ecx, 0x18
call fcn.0040a632
lea ecx, [esp + 0x38]
call fcn.0040a5e4
lea edx, [esi + 8]
lea ecx, [esp + 0x38]
push edx
mov byte [esp + 0x30], 3
call fcn.0040a632
lea ecx, [esp + 0x34]
call fcn.0040a5e4
lea eax, [esp + 0x34]
add esi, 0xc
push eax
mov byte [esp + 0x30], 4
push esi
mov ecx, ebp
call fcn.00401fe0
mov ecx, dword [esi]
mov edx, dword [esp + 0x34]
mov eax, dword [ecx - 8]
mov ebx, dword [edx - 8]
sub eax, ebx
mov ecx, esi
push eax
lea eax, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 5
call fcn.0040a632
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
push 1
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x410058
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x401af1
push 0x410058
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::operator_1
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push ecx
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x38], 6
call sub.MFC42.DLL_CString::CString_1
push edi
mov ecx, ebp
mov byte [esp + 0x38], 4
call fcn.00401b70
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 8
Function at 0x4022e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40b0fa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
lea eax, [esp + 0x24]
push esi
mov esi, ecx
push eax
mov dword [esp + 0x18], 0
call fcn.00409cb0
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
call fcn.00409ce0
lea ecx, [esp + 0x38]
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.00409d90
add esp, 0x18
lea ecx, [esp + 8]
push 0x4103f0
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0xc]
mov dword [esp + 0x88], 1
call fcn.0040a5e4
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
mov bl, 2
push ecx
mov ecx, esi
mov byte [esp + 0x90], bl
call fcn.00402560
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x8c], 3
call fcn.0040a632
lea ecx, [esp + 0x10]
mov byte [esp + 0x88], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0xc]
lea eax, [esp + 8]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x8c], 4
call fcn.0040a632
lea ecx, [esp + 0x10]
mov byte [esp + 0x88], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
push eax
mov ecx, esi
call fcn.00402560
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x8c], 5
call fcn.0040a632
lea ecx, [esp + 0x10]
mov byte [esp + 0x88], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x8c], 6
call fcn.0040a632
lea ecx, [esp + 0x10]
mov byte [esp + 0x88], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.00402560
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x8c], 7
call fcn.0040a632
lea ecx, [esp + 0x10]
mov byte [esp + 0x88], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x8c], 8
call fcn.0040a632
lea ecx, [esp + 0x10]
mov byte [esp + 0x88], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.00402560
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x8c], 9
call fcn.0040a632
lea ecx, [esp + 0x10]
mov byte [esp + 0x88], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0xc]
lea eax, [esp + 8]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x8c], 0xa
call fcn.0040a632
lea ecx, [esp + 0x10]
mov byte [esp + 0x88], bl
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x90]
lea edx, [esp + 8]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x14], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x88], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x88], 0
call sub.MFC42.DLL_CString::CString
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret 0xc
Function at 0x4053b0
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x40b810
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x20], 1
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x40541f
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], al
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop esi
add esp, 0x18
ret 8
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 8], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
mov byte [esp + 0x24], 1
call fcn.00404e80
mov esi, eax
mov eax, dword [esp + 0x20]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x18
ret 8
Function at 0x4055e0
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x40b870
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov esi, ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x44], 0
call sub.MFC42.DLL_CFileFind::CFileFind
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x14]
push 1
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 2
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x410058
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x405668
push 0x410058
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
push 0x410074
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0x10]
push 0
push edx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFileFind::FindFile
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
je 0x405750
mov bl, 3
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x20]
mov ebp, eax
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x4056e1
mov eax, dword [esp + 0x20]
push 0x10
lea ecx, [esp + 0x24]
call dword [eax + 0x40]
test eax, eax
jne 0x4056e1
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CFileFind::GetFilePath
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
jmp 0x405748
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x405748
mov edx, dword [esp + 0x20]
push 0x10
lea ecx, [esp + 0x24]
call dword [edx + 0x40]
test eax, eax
je 0x405748
lea eax, [esp + 0x18]
lea ecx, [esp + 0x20]
push eax
call sub.MFC42.DLL_CFileFind::GetFilePath
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], bl
call fcn.0040a632
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CString::CString
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.004055e0
mov eax, dword [esp + 0x10]
push eax
call edi
test ebp, ebp
jne 0x405696
mov ecx, dword [esp + 0x4c]
push ecx
call edi
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 0
call fcn.0040a64a
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret 4
Function at 0x405bd0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x40b949
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x40d8c4
lea ebp, [esi + 0x10]
xor edi, edi
mov ecx, ebp
mov dword [esp + 0x1c], edi
call fcn.0040a5e4
push sub.MFC42.DLL_CString::CString
push fcn.0040a5e4
lea ebx, [esi + 0x14]
push 1
push 4
push ebx
mov byte [esp + 0x30], 1
call fcn.0040ab1f
mov eax, dword [esp + 0x24]
mov ecx, ebp
mov dword [esi + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 4], eax
add eax, 0x1a0
push eax
mov byte [esp + 0x20], 2
mov dword [esi], 0x40d950
call fcn.0040a632
push str.update.speedmt.com.cn
mov ecx, ebx
mov dword [esi + 0xc], 1
mov dword [esi + 0x18], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
call fcn.0040a5d8
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4071f0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x40bbf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], 2
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40734b
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 8]
test eax, eax
je 0x40734b
mov edx, dword [esp + 0x18]
push ebx
push esi
push edx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0xc]
push 1
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x410058
push eax
call esi
add esp, 8
lea ecx, [esp + 0xc]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x407286
push 0x410058
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 8]
test eax, eax
je 0x40729f
lea edx, [esp + 0x24]
lea ecx, [esp + 0x20]
push edx
call sub.MFC42.DLL_CString::operator
lea eax, [esp + 0xc]
push 1
push eax
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x410058
push eax
call esi
add esp, 8
lea ecx, [esp + 0xc]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
pop esi
test bl, bl
pop ebx
je 0x4072de
push 0x410058
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0x18]
lea ecx, [esp]
push ecx
push 0xf003f
push 0
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40733d
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x24]
mov eax, dword [eax - 8]
inc eax
push eax
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [ecx - 8]
inc ecx
push ecx
push eax
mov eax, dword [esp + 8]
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x407389
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x10], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x10], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x409480
Capabilities:
Access peb ldr_data
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x40c18f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
mov dword [esp + 0x18], 0
push 0x4103f0
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], 0x34
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 2
mov eax, dword [eax - 8]
push eax
call sub.MFC42.DLL_CString::GetBuffer
mov ebp, eax
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x409637
push ebx
push edi
push esi
call sub.MFC42.DLL_operatornew
mov ecx, esi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
push esi
push 0
push ebp
rep stosb byte es:[edi], al
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40962c
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0x410058
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40962c
lea ecx, [esp + 0x10]
call fcn.0040a5e4
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 3
mov eax, dword [edx + 0x10]
shr eax, 0x10
push eax
push 0x410078
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::operator
push 0x410310
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x18]
xor eax, eax
lea edx, [esp + 0x10]
mov ax, word [ecx + 0x10]
push eax
push 0x410078
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::operator
push 0x410310
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
mov edx, dword [ecx + 0x14]
shr edx, 0x10
push edx
push 0x410078
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
push 0x410310
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x18]
xor edx, edx
lea ecx, [esp + 0x10]
mov dx, word [eax + 0x14]
push edx
push 0x410078
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
pop ebx
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x18], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x409930
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
lea eax, [esp]
push esi
push eax
mov esi, ecx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x409953
pop esi
add esp, 0x14
ret
lea ecx, [esp + 0xc]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp + 4]
push 0
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40999e
xor eax, eax
pop esi
add esp, 0x14
ret
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x4099b1
pop esi
add esp, 0x14
ret
push 0
push 0
mov ecx, esi
call fcn.004097d0
mov eax, 1
pop esi
add esp, 0x14
ret

Function at 0x409cb0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40644e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x40645d
pop dword [ebp - 0x4c]
mov eax, 0x40645d
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xb15113c3
add dword [ebp - 0x5c], 0x9d013188
mov dword [ebp - 0x58], 0x37d41e93
add dword [ebp - 0x58], 0xfa5f2db2
mov dword [ebp - 0x54], 0xb0599823
add dword [ebp - 0x54], 0x9bf2ac0b
mov dword [ebp - 0x50], 0xc057e56e
sub dword [ebp - 0x50], 0xc057e56e
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x98e8f2f7
add eax, 0x67578d81
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xfaf97150
add dword [ebp - 0x5c], 0x7978f806
mov dword [ebp - 0x58], 0xf90fbc2b
sub dword [ebp - 0x58], 0xb7a35ab6
mov dword [ebp - 0x54], 0xdd8ff0f3
sub dword [ebp - 0x54], 0x7a208487
mov dword [ebp - 0x50], 0xc570dac7
add dword [ebp - 0x50], 0x3a8f2539
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x35b37
push 0
call eax
mov ecx, 0x80b25348
add ecx, 0x7f4def50
xor esi, esi
add esi, eax
mov edx, 0x451400
add edx, dword [ebp - 0x4c]
mov ebx, 0x3c943efd
sub ebx, 0xb9233fa1
add dword [ebp - 0xc], 0x8e57b966
mov edi, dword [edx]
xor dword [ebp - 0x44], 0xb0fb16be
sub edi, ebx
add dword [ebp - 0x30], edx
mov dword [esi], edi
sub dword [ebp - 0x3c], 0xfeb5f291
add esi, 0xf6c22beb
add esi, 0x93dd419
add edx, 4
loop 0x406571
add eax, 0x10948a7a
add eax, 0xef6c72b9
xor ebx, ebx
add ebx, eax
add eax, 0x6b7a2bfa
add eax, 0x9485d40b
mov ecx, 0xc9f03469
sub ecx, 0xc9b03469
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x4068f3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x40692a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406904
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x4068ff
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40695b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x40693d
pop edi
not eax
pop esi
ret 0xc
Function at 0x401176
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
and byte [ebp - 0x104], 0
push esi
push edi
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
and byte [ebp - 0x208], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x207]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, 0x104
lea eax, [ebp - 0x208]
push esi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [ebp - 0x208]
push str.setup.exe
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x208]
push esi
push eax
call fcn.00401031
pop ecx
test eax, eax
pop ecx
je 0x401368
lea eax, [ebp - 0x208]
push ebx
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.004057f0
lea eax, [ebp - 0x104]
push str.ArSwp.exe
push eax
call fcn.00405800
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
add esp, 0x10
mov ebx, 0x80
lea eax, [ebp - 0x104]
push ebx
push eax
call edi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
lea eax, [ebp - 0x104]
push eax
call esi
test eax, eax
je 0x401264
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x104]
push eax
call esi
test eax, eax
je 0x401287
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x401287
call fcn.00401000
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.004057f0
lea eax, [ebp - 0x104]
push str.ArSwp64.exe
push eax
call fcn.00405800
add esp, 0x10
lea eax, [ebp - 0x104]
push ebx
push eax
call edi
lea eax, [ebp - 0x104]
push eax
call esi
test eax, eax
je 0x4012d2
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x104]
push eax
call esi
test eax, eax
je 0x4012f5
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4012f5
call fcn.00401000
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.004057f0
lea eax, [ebp - 0x104]
push str.ArSwp3.exe
push eax
call fcn.00405800
add esp, 0x10
lea eax, [ebp - 0x104]
push ebx
push eax
call edi
lea eax, [ebp - 0x104]
push eax
call esi
test eax, eax
pop ebx
je 0x401341
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x104]
push eax
call esi
test eax, eax
je 0x40136c
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40136c
xor esi, esi
call fcn.00401000
mov eax, esi
pop edi
pop esi
leave
ret
push 1
pop esi
jmp 0x401366