Function at 0x40ae28
Capabilities:
Contain obfuscated stackstrings
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff1c
push ebx
push esi
push edi
mov ebx, eax
mov eax, 0x4aabd8
call fcn.00499b88
mov dl, byte [ebx + 0x360]
or byte [ebx + 0x361], dl
mov cl, byte [ebx + 0x361]
test cl, cl
je 0x40af23
mov word [ebp - 0xd4], 8
mov edx, 0x4a7bc8
lea eax, [ebp - 0xc]
call fcn.004a4ab8
inc dword [ebp - 0xc8]
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
xor eax, eax
push ecx
push 0
mov dword [ebp - 0x10], eax
push edx
inc dword [ebp - 0xc8]
mov edx, str.INFO_UPDATENOTCOMPLETE
lea eax, [ebp - 8]
call fcn.004a4ab8
inc dword [ebp - 0xc8]
mov edx, 0x4a7ba6
mov ecx, dword [eax]
lea eax, [ebp - 4]
push ecx
call fcn.004a4ab8
inc dword [ebp - 0xc8]
mov ecx, dword [eax]
push ecx
call fcn.00401818
pop edx
pop ecx
call fcn.00405408
lea edx, [ebp - 0x10]
mov eax, dword [ebx + 0x2f4]
mov edx, dword [edx]
call fcn.004500b8
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4bd4
jmp 0x40b815
xor ecx, ecx
mov edx, 0x4a7be6
mov dword [ebx + 0x364], ecx
lea eax, [ebp - 0x1c]
mov word [ebp - 0xd4], 0x14
call fcn.004a4ab8
inc dword [ebp - 0xc8]
mov edx, dword [eax]
xor ecx, ecx
mov eax, ebx
call fcn.00406afc
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004a4bd4
mov word [ebp - 0xd4], 0x20
mov edx, 0x4a7c29
lea eax, [ebp - 0x28]
call fcn.004a4ab8
inc dword [ebp - 0xc8]
lea edx, [ebp - 0x2c]
mov ecx, dword [eax]
xor eax, eax
push ecx
push 0
mov dword [ebp - 0x2c], eax
push edx
inc dword [ebp - 0xc8]
mov edx, str.INFO_POSTCOMPLETE
lea eax, [ebp - 0x24]
call fcn.004a4ab8
inc dword [ebp - 0xc8]
mov edx, 0x4a7c0c
mov ecx, dword [eax]
lea eax, [ebp - 0x20]
push ecx
call fcn.004a4ab8
inc dword [ebp - 0xc8]
mov ecx, dword [eax]
push ecx
call fcn.00401818
pop edx
pop ecx
call fcn.00405408
lea edx, [ebp - 0x2c]
mov edx, dword [edx]
xor ecx, ecx
mov eax, ebx
call fcn.00406afc
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004a4bd4
mov eax, ebx
call fcn.0040ad04
mov word [ebp - 0xd4], 0x2c
mov edx, 0x4a7c36
lea eax, [ebp - 0x30]
call fcn.004a4ab8
mov edx, eax
inc dword [ebp - 0xc8]
mov eax, dword [ebx + 0x330]
add eax, 0x44c
call fcn.004a4c04
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004a4bd4
mov word [ebp - 0xd4], 0x38
xor ecx, ecx
mov eax, ebx
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x34]
inc dword [ebp - 0xc8]
mov edx, dword [ebx + 0x338]
call fcn.004090c0
lea edx, [ebp - 0x34]
mov eax, dword [ebx + 0x330]
add eax, 0x464
call fcn.004a4c04
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004a4bd4
mov eax, dword [ebx + 0x330]
call fcn.004147f0
mov word [ebp - 0xd4], 0x44
mov edx, 0x4a7c64
lea eax, [ebp - 0x40]
call fcn.004a4ab8
inc dword [ebp - 0xc8]
xor ecx, ecx
mov edx, dword [eax]
lea eax, [ebp - 0x44]
push edx
push 0
mov dword [ebp - 0x44], ecx
push eax
inc dword [ebp - 0xc8]
lea eax, [ebp - 0x3c]
mov edx, str.INFO_UPDATECOMPLETE
call fcn.004a4ab8
inc dword [ebp - 0xc8]
mov edx, dword [eax]
push edx
mov edx, 0x4a7c45
lea eax, [ebp - 0x38]
call fcn.004a4ab8
inc dword [ebp - 0xc8]
mov ecx, dword [eax]
push ecx
call fcn.00401818
pop edx
pop ecx
call fcn.00405408
lea edx, [ebp - 0x44]
mov eax, dword [ebx + 0x2f4]
mov edx, dword [edx]
call fcn.004500b8
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004a4bd4
mov word [ebp - 0xd4], 0x50
mov edx, 0x4a7c8f
lea eax, [ebp - 0x50]
call fcn.004a4ab8
inc dword [ebp - 0xc8]
lea edx, [ebp - 0x54]
mov ecx, dword [eax]
xor eax, eax
push ecx
push 0
mov dword [ebp - 0x54], eax
push edx
inc dword [ebp - 0xc8]
mov edx, str.INFO_ALLUPDATECOMPLETE
lea eax, [ebp - 0x4c]
call fcn.004a4ab8
inc dword [ebp - 0xc8]
mov edx, 0x4a7c6d
mov ecx, dword [eax]
lea eax, [ebp - 0x48]
push ecx
call fcn.004a4ab8
inc dword [ebp - 0xc8]
mov ecx, dword [eax]
push ecx
call fcn.00401818
pop edx
pop ecx
call fcn.00405408
lea edx, [ebp - 0x54]
mov edx, dword [edx]
xor ecx, ecx
mov eax, ebx
call fcn.00406afc
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004a4bd4
mov word [ebp - 0xd4], 0x68
mov edx, 0x4a7c9c
lea eax, [ebp - 0x58]
call fcn.004a4ab8
inc dword [ebp - 0xc8]
lea edx, [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
inc dword [ebp - 0xc8]
lea esi, [ebx + 0x334]
mov eax, esi
call fcn.004a4c2c
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004a4bd4
mov word [ebp - 0xd4], 0x5c
mov word [ebp - 0xd4], 0x74
mov edx, str.RemoteUpdateVersion.xml
lea eax, [ebp - 0x5c]
call fcn.004a4ab8
inc dword [ebp - 0xc8]
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, esi
inc dword [ebp - 0xc8]
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x18]
call fcn.004a4c2c
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004a4bd4
mov word [ebp - 0xd4], 0x5c
mov eax, dword [ebp - 0x14]
call fcn.004851ec
test al, al
je 0x40b332
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x40b308
mov ecx, dword [ebp - 0x14]
jmp 0x40b30d
mov ecx, 0x4a7ccd
push ecx
call sub.KERNEL32.DLL_GetFileAttributesA
test al, 1
je 0x40b332
and eax, 0xfffffffe
push eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40b327
mov edx, dword [ebp - 0x14]
jmp 0x40b32c
mov edx, 0x4a7cce
push edx
call sub.KERNEL32.DLL_SetFileAttributesA
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40b340
mov ecx, dword [ebp - 0x14]
jmp 0x40b345
mov ecx, 0x4a7cd0
push ecx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40b352
mov edx, dword [ebp - 0x18]
jmp 0x40b357
mov edx, 0x4a7ccf
push edx
call sub.KERNEL32.DLL_CopyFileA
lea edi, [ebx + 0x370]
push edi
lea eax, [ebx + 0x374]
push eax
lea edx, [ebx + 0x378]
push edx
lea esi, [ebx + 0x36c]
mov ecx, esi
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.004067b0
mov word [ebp - 0xd4], 0x80
mov edx, str._____________________________________
lea eax, [ebp - 0x60]
call fcn.004a4ab8
inc dword [ebp - 0xc8]
mov edx, dword [eax]
xor ecx, ecx
mov eax, ebx
call fcn.00406afc
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.004a4bd4
mov word [ebp - 0xd4], 0x8c
mov edx, 0x4a7d1a
lea eax, [ebp - 0x6c]
call fcn.004a4ab8
inc dword [ebp - 0xc8]
lea edx, [ebp - 0x70]
mov ecx, dword [eax]
xor eax, eax
push ecx
push 0
mov dword [ebp - 0x70], eax
push edx
inc dword [ebp - 0xc8]
mov edx, str.INFO_CURRENTMAINVERSION
lea eax, [ebp - 0x68]
call fcn.004a4ab8
inc dword [ebp - 0xc8]
mov edx, 0x4a7cf7
mov ecx, dword [eax]
lea eax, [ebp - 0x64]
push ecx
call fcn.004a4ab8
inc dword [ebp - 0xc8]
mov ecx, dword [eax]
push ecx
call fcn.00401818
pop edx
pop ecx
call fcn.00405408
lea eax, [ebp - 0x70]
xor edx, edx
mov dword [ebp - 0x74], edx
lea ecx, [ebp - 0x74]
inc dword [ebp - 0xc8]
mov edx, esi
call fcn.004a4c2c
lea edx, [ebp - 0x74]
mov edx, dword [edx]
xor ecx, ecx
mov eax, ebx
call fcn.00406afc
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.004a4bd4
mov word [ebp - 0xd4], 0x98
mov edx, 0x4a7d49
lea eax, [ebp - 0x80]
call fcn.004a4ab8
inc dword [ebp - 0xc8]
lea edx, [ebp - 0x84]
mov ecx, dword [eax]
xor eax, eax
push ecx
push 0
mov dword [ebp - 0x84], eax
push edx
inc dword [ebp - 0xc8]
mov edx, str.INFO_UPDATEVERSION
lea eax, [ebp - 0x7c]
call fcn.004a4ab8
inc dword [ebp - 0xc8]
mov edx, 0x4a7d2b
mov ecx, dword [eax]
lea eax, [ebp - 0x78]
push ecx
call fcn.004a4ab8
inc dword [ebp - 0xc8]
mov ecx, dword [eax]
push ecx
call fcn.00401818
pop edx
pop ecx
call fcn.00405408
lea eax, [ebp - 0x84]
xor edx, edx
mov dword [ebp - 0x88], edx
lea ecx, [ebp - 0x88]
inc dword [ebp - 0xc8]
mov edx, edi
call fcn.004a4c2c
lea edx, [ebp - 0x88]
mov edx, dword [edx]
xor ecx, ecx
mov eax, ebx
call fcn.00406afc
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x88]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.004a4bd4
mov word [ebp - 0xd4], 0xa4
mov edx, 0x4a7d80
lea eax, [ebp - 0x94]
call fcn.004a4ab8
inc dword [ebp - 0xc8]
lea edx, [ebp - 0x98]
mov ecx, dword [eax]
xor eax, eax
push ecx
push 0
mov dword [ebp - 0x98], eax
push edx
inc dword [ebp - 0xc8]
mov edx, str.INFO_RECENTUPDATEVERSION
lea eax, [ebp - 0x90]
call fcn.004a4ab8
inc dword [ebp - 0xc8]
mov edx, 0x4a7d5c
mov ecx, dword [eax]
lea eax, [ebp - 0x8c]
push ecx
call fcn.004a4ab8
inc dword [ebp - 0xc8]
mov ecx, dword [eax]
push ecx
call fcn.00401818
pop edx
pop ecx
call fcn.00405408
lea eax, [ebp - 0x98]
xor edx, edx
mov dword [ebp - 0x9c], edx
lea ecx, [ebp - 0x9c]
inc dword [ebp - 0xc8]
lea edx, [ebx + 0x374]
call fcn.004a4c2c
lea edx, [ebp - 0x9c]
mov edx, dword [edx]
xor ecx, ecx
mov eax, ebx
call fcn.00406afc
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x9c]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x98]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x94]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x90]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x8c]
mov edx, 2
call fcn.004a4bd4
mov word [ebp - 0xd4], 0xb0
mov edx, 0x4a7db4
lea eax, [ebp - 0xa8]
call fcn.004a4ab8
inc dword [ebp - 0xc8]
lea edx, [ebp - 0xac]
mov ecx, dword [eax]
xor eax, eax
push ecx
push 0
mov dword [ebp - 0xac], eax
push edx
inc dword [ebp - 0xc8]
mov edx, str.INFO_RECENTUPDATEDATE
lea eax, [ebp - 0xa4]
call fcn.004a4ab8
inc dword [ebp - 0xc8]
mov edx, 0x4a7d93
mov ecx, dword [eax]
lea eax, [ebp - 0xa0]
push ecx
call fcn.004a4ab8
inc dword [ebp - 0xc8]
mov ecx, dword [eax]
push ecx
call fcn.00401818
pop edx
pop ecx
call fcn.00405408
lea eax, [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0xb0], edx
lea ecx, [ebp - 0xb0]
inc dword [ebp - 0xc8]
lea edx, [ebx + 0x378]
call fcn.004a4c2c
lea edx, [ebp - 0xb0]
mov edx, dword [edx]
xor ecx, ecx
mov eax, ebx
call fcn.00406afc
dec dword [ebp - 0xc8]
lea eax, [ebp - 0xb0]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0xac]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0xa8]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0xa4]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0xa0]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004a4bd4
mov word [ebp - 0xd4], 0
mov dl, 1
mov eax, dword [ebx + 0x31c]
call fcn.00463848
mov edx, 1
mov eax, dword [ebx + 0x300]
call fcn.00461a80
mov edx, 1
mov eax, dword [ebx + 0x300]
call fcn.00461a90
mov word [ebp - 0xd4], 0xbc
mov edx, 0x4a7ddf
lea eax, [ebp - 0xbc]
call fcn.004a4ab8
inc dword [ebp - 0xc8]
lea edx, [ebp - 0xc0]
mov ecx, dword [eax]
xor eax, eax
push ecx
push 0
mov dword [ebp - 0xc0], eax
push edx
inc dword [ebp - 0xc8]
mov edx, str.BUTTON_CLOSE
lea eax, [ebp - 0xb8]
call fcn.004a4ab8
inc dword [ebp - 0xc8]
mov edx, 0x4a7dc7
mov ecx, dword [eax]
lea eax, [ebp - 0xb4]
push ecx
call fcn.004a4ab8
inc dword [ebp - 0xc8]
mov ecx, dword [eax]
push ecx
call fcn.00401818
pop edx
pop ecx
call fcn.00405408
lea edx, [ebp - 0xc0]
mov eax, dword [ebx + 0x32c]
mov edx, dword [edx]
call fcn.004500b8
dec dword [ebp - 0xc8]
lea eax, [ebp - 0xc0]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0xbc]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0xb8]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0xc8]
lea eax, [ebp - 0xb4]
mov edx, 2
call fcn.004a4bd4
mov dl, 1
mov eax, dword [ebx + 0x32c]
call fcn.00427530
mov eax, ebx
call fcn.00406590
mov edx, dword [ebp - 0xe4]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret