Function at 0x401890
Capabilities:
Contain obfuscated stackstrings
Encode data using base64
Get common file path
Move file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x40a10e
push eax
mov eax, 0x1dc4
mov dword fs:[0], esp
call fcn.004098a0
push ebx
push ebp
push esi
mov dword [esp + 0x24], ecx
push edi
push 0
lea ecx, [esp + 0x38]
call fcn.00403a60
lea ecx, [esp + 0x34]
mov dword [esp + 0x1ddc], 0
call fcn.00405bf0
test eax, eax
je 0x401a13
lea ecx, [esp + 0x180]
mov dword [esp + 0x1ddc], 0xd
call fcn.004096fe
lea ecx, [esp + 0x140]
mov byte [esp + 0x1ddc], 0xc
call sub.MFC42.DLL_CListCtrl::CListCtrl
lea ecx, [esp + 0x100]
mov byte [esp + 0x1ddc], 0xb
call sub.MFC42.DLL_CButton::CButton
lea ecx, [esp + 0xfc]
mov byte [esp + 0x1ddc], 0xa
call fcn.0040960e
mov esi, 0x40b4d4
lea ecx, [esp + 0xd8]
mov byte [esp + 0x1ddc], 9
mov dword [esp + 0xd8], esi
call fcn.00403190
lea ecx, [esp + 0xd0]
mov byte [esp + 0x1ddc], 8
mov dword [esp + 0xd0], esi
call fcn.00403190
lea ecx, [esp + 0xc8]
mov byte [esp + 0x1ddc], 7
call fcn.00403200
lea ecx, [esp + 0xc0]
mov byte [esp + 0x1ddc], 6
call fcn.00403200
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1ddc], 5
call fcn.00403200
lea ecx, [esp + 0xb0]
mov byte [esp + 0x1ddc], 4
call fcn.00403200
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1ddc], 3
call fcn.00403200
lea ecx, [esp + 0x98]
mov byte [esp + 0x1ddc], 2
call fcn.004096e6
mov byte [esp + 0x1ddc], 1
lea ecx, [esp + 0x94]
call fcn.0040960e
lea ecx, [esp + 0x34]
mov dword [esp + 0x1ddc], 0xffffffff
call fcn.00409614
xor eax, eax
jmp 0x4023ea
mov ecx, 0x37
xor eax, eax
lea edi, [esp + 0x1c4]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 0x45
mov byte [esp + 0x1c5], 0x53
mov byte [esp + 0x1c6], 0x55
mov byte [esp + 0x1c7], 0xff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x1de4]
mov byte [esp + 0x1ddc], 0xe
test eax, eax
jle 0x401bda
mov ecx, dword [esp + 0x1de8]
mov dword [esp + 0x18], eax
lea ebx, [ecx + 4]
mov edx, dword [ebx - 4]
lea ecx, [esp + 0x10]
push edx
call fcn.0040961a
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeLower
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push str._install
push eax
call esi
add esp, 8
test eax, eax
jne 0x401b62
mov edi, dword [ebx]
cmp byte [edi], 0x2d
je 0x401bc8
or ecx, 0xffffffff
xor eax, eax
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401bc8
mov ecx, dword [ebx]
mov dl, byte [ecx + ebp]
mov ecx, dword [esp + 0x28]
push edx
call fcn.004016f0
mov esi, eax
mov eax, dword [ebx]
mov cl, byte [eax + ebp]
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.004017e0
cmp esi, 0xffffffff
mov ecx, eax
je case.default.0x401af4
cmp ecx, 0xffffffff
je case.default.0x401af4
dec ecx
cmp esi, 3
ja case.default.0x401af4
jmp dword [esi*4 + 0x402408]
mov eax, dword [esp + 0x1c8]
mov edx, 1
shl edx, cl
or eax, edx
mov dword [esp + 0x1c8], eax
jmp case.default.0x401af4
mov eax, 1
shl eax, cl
or dword [esp + 0x1cc], eax
jmp case.default.0x401af4
mov eax, dword [esp + 0x1d0]
mov edx, 1
shl edx, cl
or eax, edx
mov dword [esp + 0x1d0], eax
jmp case.default.0x401af4
mov eax, 1
shl eax, cl
or dword [esp + 0x1d4], eax
mov edi, dword [ebx]
or ecx, 0xffffffff
xor eax, eax
inc ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ebp, ecx
jb 0x401ac2
jmp 0x401bc8
mov ecx, dword [esp + 0x10]
push str._password
push ecx
call esi
add esp, 8
test eax, eax
jne 0x401bc8
mov eax, dword [ebx]
cmp byte [eax], 0x2d
je 0x401bc8
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x30]
lea ecx, [esp + 0x38]
push edx
call fcn.004052d0
mov edi, dword [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1d8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
call fcn.0040960e
mov eax, dword [esp + 0x18]
add ebx, 4
dec eax
mov dword [esp + 0x18], eax
jne 0x401a72
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x38]
call fcn.004050f0
mov edx, dword [esp + 0x14]
push 0x40e868
push edx
mov byte [esp + 0x1de4], 0xf
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x401e2a
mov eax, dword [esp + 0x14]
mov cl, byte [eax]
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x4ac]
mov edx, dword [esp + 0x18]
push edx
call fcn.00407ad0
lea ecx, [esp + 0x4ac]
mov byte [esp + 0x1ddc], 0x10
call fcn.00407c10
test eax, eax
je 0x401e16
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x570]
push ecx
lea ecx, [esp + 0x4b0]
mov dword [esp + 0x1fc], eax
call fcn.00407f00
mov esi, dword [esp + 0x1794]
cmp esi, 0x10
jle 0x401ddc
push 0x40
push 0x40e120
push 0x40e0ec
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x4ac]
mov byte [esp + 0x1ddc], 0xf
call fcn.00407bc0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1ddc], 0xe
call fcn.0040960e
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ddc], 0
call fcn.0040960e
lea ecx, [esp + 0x180]
mov dword [esp + 0x1ddc], 0x1d
call fcn.004096fe
lea ecx, [esp + 0x140]
mov byte [esp + 0x1ddc], 0x1c
call sub.MFC42.DLL_CListCtrl::CListCtrl
lea ecx, [esp + 0x100]
mov byte [esp + 0x1ddc], 0x1b
call sub.MFC42.DLL_CButton::CButton
lea ecx, [esp + 0xfc]
mov byte [esp + 0x1ddc], 0x1a
call fcn.0040960e
mov esi, 0x40b4d4
lea ecx, [esp + 0xd8]
mov byte [esp + 0x1ddc], 0x19
mov dword [esp + 0xd8], esi
call fcn.00403190
lea ecx, [esp + 0xd0]
mov byte [esp + 0x1ddc], 0x18
mov dword [esp + 0xd0], esi
call fcn.00403190
lea ecx, [esp + 0xc8]
mov byte [esp + 0x1ddc], 0x17
mov dword [esp + 0xc8], esi
call fcn.00403190
lea ecx, [esp + 0xc0]
mov byte [esp + 0x1ddc], 0x16
mov dword [esp + 0xc0], esi
call fcn.00403190
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1ddc], 0x15
call fcn.00403200
lea ecx, [esp + 0xb0]
mov byte [esp + 0x1ddc], 0x14
call fcn.00403200
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1ddc], 0x13
call fcn.00403200
lea ecx, [esp + 0x98]
mov byte [esp + 0x1ddc], 0x12
call fcn.004096e6
mov byte [esp + 0x1ddc], 0x11
jmp 0x4019ec
xor eax, eax
test esi, esi
jle 0x401e0a
lea edx, [esp + 0x240]
lea ecx, [esp + 0x1194]
cmp eax, 0x10
jge 0x401dff
mov edi, dword [ecx]
mov dword [edx - 0x40], edi
mov edi, dword [ecx + 8]
mov dword [edx], edi
inc eax
add ecx, 0xc
add edx, 4
cmp eax, esi
jl 0x401df0
lea ecx, [esp + 0x4ac]
call fcn.00407e30
lea ecx, [esp + 0x4ac]
mov byte [esp + 0x1ddc], 0xf
call fcn.00407bc0
mov edx, dword [esp + 0x14]
mov al, byte [edx]
mov byte [esp + 0x18], al
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.004017e0
or ebp, 0xffffffff
mov dword [esp + 0x1fc], eax
cmp eax, ebp
jne 0x401f9e
lea ecx, [esp + 0x14]
mov byte [esp + 0x1ddc], 0xe
call fcn.0040960e
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ddc], 0
call fcn.0040960e
lea ecx, [esp + 0x180]
mov dword [esp + 0x1ddc], 0x2a
call fcn.004096fe
lea ecx, [esp + 0x140]
mov byte [esp + 0x1ddc], 0x29
call sub.MFC42.DLL_CListCtrl::CListCtrl
lea ecx, [esp + 0x100]
mov byte [esp + 0x1ddc], 0x28
call sub.MFC42.DLL_CButton::CButton
lea ecx, [esp + 0xfc]
mov byte [esp + 0x1ddc], 0x27
call fcn.0040960e
mov esi, 0x40b4d4
lea ecx, [esp + 0xd8]
mov byte [esp + 0x1ddc], 0x26
mov dword [esp + 0xd8], esi
call fcn.00403190
lea ecx, [esp + 0xd0]
mov byte [esp + 0x1ddc], 0x25
mov dword [esp + 0xd0], esi
call fcn.00403190
lea ecx, [esp + 0xc8]
mov byte [esp + 0x1ddc], 0x24
mov dword [esp + 0xc8], esi
call fcn.00403190
lea ecx, [esp + 0xc0]
mov byte [esp + 0x1ddc], 0x23
mov dword [esp + 0xc0], esi
call fcn.00403190
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1ddc], 0x22
mov dword [esp + 0xb8], esi
call fcn.00403190
lea ecx, [esp + 0xb0]
mov byte [esp + 0x1ddc], 0x21
call fcn.00403200
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1ddc], 0x20
call fcn.00403200
lea ecx, [esp + 0x98]
mov byte [esp + 0x1ddc], 0x1f
call fcn.004096e6
mov byte [esp + 0x1ddc], 0x1e
jmp 0x402102
lea edx, [esp + 0x1c4]
lea ecx, [esp + 0x34]
push edx
call fcn.004054d0
test eax, eax
je 0x402125
push 0x40
push 0x40e120
push 0x40e0d4
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x1ddc], 0xe
call fcn.0040960e
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ddc], 0
call fcn.0040960e
lea ecx, [esp + 0x180]
mov dword [esp + 0x1ddc], 0x37
call fcn.004096fe
lea ecx, [esp + 0x140]
mov byte [esp + 0x1ddc], 0x36
call sub.MFC42.DLL_CListCtrl::CListCtrl
lea ecx, [esp + 0x100]
mov byte [esp + 0x1ddc], 0x35
call sub.MFC42.DLL_CButton::CButton
lea ecx, [esp + 0xfc]
mov byte [esp + 0x1ddc], 0x34
call fcn.0040960e
mov esi, 0x40b4d4
lea ecx, [esp + 0xd8]
mov byte [esp + 0x1ddc], 0x33
mov dword [esp + 0xd8], esi
call fcn.00403190
lea ecx, [esp + 0xd0]
mov byte [esp + 0x1ddc], 0x32
mov dword [esp + 0xd0], esi
call fcn.00403190
lea ecx, [esp + 0xc8]
mov byte [esp + 0x1ddc], 0x31
mov dword [esp + 0xc8], esi
call fcn.00403190
lea ecx, [esp + 0xc0]
mov byte [esp + 0x1ddc], 0x30
call fcn.00403200
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1ddc], 0x2f
call fcn.00403200
lea ecx, [esp + 0xb0]
mov byte [esp + 0x1ddc], 0x2e
call fcn.00403200
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1ddc], 0x2d
call fcn.00403200
lea ecx, [esp + 0x98]
mov byte [esp + 0x1ddc], 0x2c
call fcn.004096e6
mov byte [esp + 0x1ddc], 0x2b
lea ecx, [esp + 0x94]
call fcn.0040960e
lea ecx, [esp + 0x34]
mov dword [esp + 0x1ddc], ebp
call fcn.00409614
xor eax, eax
jmp 0x4023ea
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1ddc], 0x38
call sub.MFC42.DLL_CString::CString
mov bl, 0x39
lea ecx, [esp + 0x20]
mov byte [esp + 0x1ddc], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x2a4]
push 0x104
push eax
mov byte [esp + 0x1de4], 0x3a
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x3a8]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 0x2a4]
lea ecx, [esp + 0x24]
push edx
call fcn.0040961a
push str._bootstat.dat
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::operator
lea eax, [esp + 0x2a4]
lea ecx, [esp + 0x1c]
push eax
call fcn.0040961a
push str._bootstat.bak
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x3a8]
push ecx
lea ecx, [esp + 0x24]
call fcn.0040961a
push str.driversEsudisk.sys
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x34]
push edx
push 0x93
push 0x40e098
call fcn.004055a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0x34]
call fcn.00405650
lea ecx, [esp + 0x34]
call fcn.00405810
lea ecx, [esp + 0x20]
mov byte [esp + 0x1ddc], bl
call fcn.0040960e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1ddc], 0x38
call fcn.0040960e
lea ecx, [esp + 0x24]
mov byte [esp + 0x1ddc], 0xf
call fcn.0040960e
lea ecx, [esp + 0x14]
mov byte [esp + 0x1ddc], 0xe
call fcn.0040960e
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ddc], 0
call fcn.0040960e
lea ecx, [esp + 0x180]
mov dword [esp + 0x1ddc], 0x47
call fcn.004096fe
lea ecx, [esp + 0x140]
mov byte [esp + 0x1ddc], 0x46
call sub.MFC42.DLL_CListCtrl::CListCtrl
lea ecx, [esp + 0x100]
mov byte [esp + 0x1ddc], 0x45
call sub.MFC42.DLL_CButton::CButton
lea ecx, [esp + 0xfc]
mov byte [esp + 0x1ddc], 0x44
call fcn.0040960e
lea edx, [esp + 0xd8]
mov ebx, 0x40b4c0
mov dword [esp + 0x30], edx
mov dword [esp + 0xd8], ebx
lea ecx, [esp + 0xd8]
mov byte [esp + 0x1ddc], 0x48
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edi, 0x40b4ac
mov esi, 0x40b4d4
lea ecx, [esp + 0xd0]
mov dword [esp + 0xd8], edi
mov byte [esp + 0x1ddc], 0x42
mov dword [esp + 0xd0], esi
call fcn.00403190
lea eax, [esp + 0xc8]
mov dword [esp + 0xc8], ebx
mov dword [esp + 0x30], eax
lea ecx, [esp + 0xc8]
mov byte [esp + 0x1ddc], 0x49
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0xc0]
mov dword [esp + 0xc8], edi
mov byte [esp + 0x1ddc], 0x40
mov dword [esp + 0xc0], esi
call fcn.00403190
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1ddc], 0x3f
mov dword [esp + 0xb8], esi
call fcn.00403190
lea ecx, [esp + 0xb0]
mov byte [esp + 0x1ddc], 0x3e
mov dword [esp + 0xb0], esi
call fcn.00403190
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1ddc], 0x3d
mov dword [esp + 0xa8], esi
call fcn.00403190
lea ecx, [esp + 0x98]
mov byte [esp + 0x1ddc], 0x3c
call fcn.004096e6
lea ecx, [esp + 0x94]
mov byte [esp + 0x1ddc], 0x3b
call fcn.0040960e
lea ecx, [esp + 0x34]
mov dword [esp + 0x1ddc], ebp
call fcn.00409614
mov eax, 1
mov ecx, dword [esp + 0x1dd4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1dd0
ret 8