Function at 0x4097a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40a9fc
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
push esi
mov eax, dword [0x40e018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.00401730
add esp, 8
mov dword [ebp - 4], 0
push str.new_AliIM.exe
lea ecx, [ebp - 0x10]
call fcn.00402c40
test eax, eax
jne 0x40a018
push str.updateError
lea ecx, [ebp - 0x118]
call fcn.00402b10
mov byte [ebp - 4], 1
push str.update
lea ecx, [ebp - 0x11c]
call fcn.00402b10
mov byte [ebp - 4], 2
push 0x1000
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x11c]
push edx
lea ecx, [ebp - 0x94]
call fcn.00401c50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x11c]
call fcn.00402b90
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x118]
call fcn.00402b90
push str.________begin_ReplaceMainFiles________
lea ecx, [ebp - 0x120]
call fcn.00402b10
mov byte [ebp - 4], 6
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x94]
call fcn.00401eb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x120]
call fcn.00402b90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00402980
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00401670
add esp, 8
mov byte [ebp - 4], 7
push 0x40b30c
lea ecx, [ebp - 0x1c]
call fcn.00402b10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3c]
call fcn.00403100
mov esi, eax
lea ecx, [ebp - 0x1c]
call fcn.00403100
sub esi, eax
push esi
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00402ec0
mov byte [ebp - 4], 9
mov byte [ebp - 0x35], 0
mov dword [ebp - 0x98], 0
jmp 0x409902
mov eax, dword [ebp - 0x98]
add eax, 1
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0x14
jge 0x40999f
push 0x40b5f0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x124]
push edx
call fcn.00403030
add esp, 0xc
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x168], eax
mov byte [ebp - 4], 0xa
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
mov ecx, dword [ebp - 0x168]
call fcn.004031d0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x124]
call fcn.00402b90
cmp dword [ebp - 0x9c], 0xffffffff
je 0x409992
mov byte [ebp - 0x35], 1
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40999f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4098f3
movzx edx, byte [ebp - 0x35]
test edx, edx
jne 0x409a53
push str.updateError
lea ecx, [ebp - 0x128]
call fcn.00402b10
mov byte [ebp - 4], 0xb
push str.update
lea ecx, [ebp - 0x12c]
call fcn.00402b10
mov byte [ebp - 4], 0xc
push 0x1000
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0xac]
call fcn.00401c50
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x12c]
call fcn.00402b90
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x128]
call fcn.00402b90
push str.ReplaceMainFiles::ReplaceMainFiles_Cant_Write
lea ecx, [ebp - 0x130]
call fcn.00402b10
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x130]
push edx
lea ecx, [ebp - 0xac]
call fcn.00401fe0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x130]
call fcn.00402b90
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xac]
call fcn.00402980
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x409e27
call fcn.004094b0
movzx ecx, al
test ecx, ecx
je 0x409e27
push 0x40b5f0
lea ecx, [ebp - 0xd4]
call fcn.00402b10
mov byte [ebp - 4], 0x11
push str.AliIM.exe.manifest
lea ecx, [ebp - 0xd0]
call fcn.00402b10
mov byte [ebp - 4], 0x12
push str.Aliim.ini
lea ecx, [ebp - 0xcc]
call fcn.00402b10
mov byte [ebp - 4], 0x13
push str.Microsoft.VC80.ATL.manifest
lea ecx, [ebp - 0xc8]
call fcn.00402b10
mov byte [ebp - 4], 0x14
push str.ATL80.dll
lea ecx, [ebp - 0xc4]
call fcn.00402b10
mov byte [ebp - 4], 0x15
push str.Microsoft.VC80.CRT.manifest
lea ecx, [ebp - 0xc0]
call fcn.00402b10
mov byte [ebp - 4], 0x16
push str.msvcp80.dll
lea ecx, [ebp - 0xbc]
call fcn.00402b10
mov byte [ebp - 4], 0x17
push str.msvcr80.dll
lea ecx, [ebp - 0xb8]
call fcn.00402b10
mov byte [ebp - 4], 0x18
push str.Microsoft.Windows.GdiPlus.manifest
lea ecx, [ebp - 0xb4]
call fcn.00402b10
mov byte [ebp - 4], 0x19
push str.GdiPlus.dll
lea ecx, [ebp - 0xb0]
call fcn.00402b10
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0xd8], 0xa
lea ecx, [ebp - 0xe8]
call fcn.004021d0
mov byte [ebp - 4], 0x1c
push 1
lea ecx, [ebp - 0xe8]
call fcn.00402230
mov dword [ebp - 0xec], 0
jmp 0x409b78
mov edx, dword [ebp - 0xec]
add edx, 1
mov dword [ebp - 0xec], edx
mov eax, dword [ebp - 0xec]
cmp eax, dword [ebp - 0xd8]
jge 0x409d2e
mov ecx, dword [ebp - 0xec]
lea edx, [ebp + ecx*4 - 0xd4]
push edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xf4]
push ecx
call fcn.00402f80
add esp, 0xc
mov byte [ebp - 4], 0x1d
push str.new_
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x134]
push eax
call fcn.00403030
add esp, 0xc
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x170], ecx
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0xec]
lea eax, [ebp + edx*4 - 0xd4]
push eax
mov ecx, dword [ebp - 0x170]
push ecx
lea edx, [ebp - 0xf0]
push edx
call fcn.00402f80
add esp, 0xc
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x134]
call fcn.00402b90
lea eax, [ebp - 0xf0]
push eax
call fcn.004090a0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x409d0b
lea edx, [ebp - 0xf0]
push edx
lea eax, [ebp - 0x140]
push eax
call fcn.004090f0
add esp, 8
mov dword [ebp - 0x174], eax
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x178], ecx
mov byte [ebp - 4], 0x21
lea edx, [ebp - 0xf4]
push edx
lea eax, [ebp - 0x13c]
push eax
call fcn.004090f0
add esp, 8
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
mov dword [ebp - 0x180], ecx
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x178]
call fcn.004031d0
push eax
mov ecx, dword [ebp - 0x180]
call fcn.00402c40
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x135], al
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x13c]
call fcn.00402b90
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x140]
call fcn.00402b90
movzx edx, byte [ebp - 0x135]
test edx, edx
je 0x409cf2
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xf0]
call fcn.00402b90
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xf4]
call fcn.00402b90
jmp 0x409b69
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0xf4]
push ecx
lea ecx, [ebp - 0xe8]
call fcn.00402250
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xf0]
call fcn.00402b90
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xf4]
call fcn.00402b90
jmp 0x409b69
lea ecx, [ebp - 0xe8]
call fcn.00402280
test eax, eax
jbe 0x409dff
lea ecx, [ebp - 0xe8]
call fcn.004022a0
movzx edx, al
test edx, edx
jne 0x409dff
push str.updateError
lea ecx, [ebp - 0x144]
call fcn.00402b10
mov byte [ebp - 4], 0x23
push str.update
lea ecx, [ebp - 0x148]
call fcn.00402b10
mov byte [ebp - 4], 0x24
push 0x1000
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x148]
push ecx
lea ecx, [ebp - 0x104]
call fcn.00401c50
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x148]
call fcn.00402b90
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x144]
call fcn.00402b90
push str.ReplaceMainFiles_af_Run_Failed
lea ecx, [ebp - 0x14c]
call fcn.00402b10
mov byte [ebp - 4], 0x28
lea edx, [ebp - 0x14c]
push edx
lea ecx, [ebp - 0x104]
call fcn.00401fe0
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x14c]
call fcn.00402b90
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x104]
call fcn.00402980
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0xe8]
call fcn.00402a00
mov byte [ebp - 4], 9
push fcn.00402b90
push 0xa
push 4
lea eax, [ebp - 0xd4]
push eax
call fcn.00407ad8
push 0x40b5f0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.00403030
add esp, 0xc
mov byte [ebp - 4], 0x29
mov dword [ebp - 0x84], 0
push 0x40
push 0
lea eax, [ebp - 0x80]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [ebp - 0x84], 0x44
mov dword [ebp - 0x30], 0
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
push 0x40b7f4
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x150]
push eax
call fcn.00403030
add esp, 0xc
mov dword [ebp - 0x184], eax
mov ecx, dword [ebp - 0x184]
mov dword [ebp - 0x188], ecx
mov byte [ebp - 4], 0x2a
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x188]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.00403030
add esp, 0xc
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x150]
call fcn.00402b90
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004031d0
push eax
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x18]
call fcn.004031d0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x409f16
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.updateError
lea ecx, [ebp - 0x154]
call fcn.00402b10
mov byte [ebp - 4], 0x2d
push str.update
lea ecx, [ebp - 0x158]
call fcn.00402b10
mov byte [ebp - 4], 0x2e
push 0x1000
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x158]
push ecx
lea ecx, [ebp - 0x114]
call fcn.00401c50
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x158]
call fcn.00402b90
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x154]
call fcn.00402b90
push 0x40b7f8
lea ecx, [ebp - 0x15c]
call fcn.00402b10
mov byte [ebp - 4], 0x32
lea edx, [ebp - 0x15c]
push edx
lea ecx, [ebp - 0x114]
call fcn.00401eb0
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x15c]
call fcn.00402b90
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x114]
call fcn.00402980
mov byte [ebp - 0x15d], 1
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x18]
call fcn.00402b90
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x34]
call fcn.00402b90
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.00402b90
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c]
call fcn.00402b90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00402b90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402b90
mov al, byte [ebp - 0x15d]
jmp 0x40a034
mov byte [ebp - 0x15e], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402b90
mov al, byte [ebp - 0x15e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret