Function at 0x40c440
Capabilities:
Get common file path
Move file
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a69d8
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x294], ecx
mov eax, dword [ebp - 0x294]
mov ecx, dword [eax + 0x570]
mov dword [ebp - 0x2a0], ecx
mov edx, dword [ebp - 0x294]
mov eax, dword [edx + 0x570]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x2a4], edx
push 0x860194
mov ecx, dword [ebp - 0x2a0]
call dword [ebp - 0x2a4]
push 0x3e8
mov ecx, dword [ebp - 0x294]
call fcn.00402b80
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebp - 0x294]
mov ecx, dword [eax + 0x590]
mov dword [ebp - 0x2a8], ecx
mov edx, dword [ebp - 0x294]
mov eax, dword [edx + 0x590]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x2f4], edx
lea eax, [ebp - 0x290]
push eax
mov ecx, dword [ebp - 0x2a8]
call dword [ebp - 0x2f4]
mov dword [ebp - 0x2f0], eax
mov ecx, dword [ebp - 0x2f0]
mov dword [ebp - 0x2ec], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2ec]
call fcn.00402b70
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x598
call fcn.0040e720
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x290]
call fcn.0046f680
push 0x8601a0
mov ecx, dword [ebp - 0x294]
add ecx, 0x598
call fcn.0040e6e0
mov ecx, dword [ebp - 0x294]
call fcn.00405af0
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x598
call fcn.0040e6e0
push 0x8601a4
mov ecx, dword [ebp - 0x294]
add ecx, 0x598
call fcn.0040e6e0
mov edx, dword [ebp - 0x294]
movzx eax, byte [edx + 0x6b8]
test eax, eax
je 0x40c89b
lea ecx, [ebp - 0x114]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0x114]
add edx, 0xffffffff
mov dword [ebp - 0x29c], edx
mov eax, dword [ebp - 0x29c]
mov cl, byte [eax + 1]
mov byte [ebp - 0x295], cl
add dword [ebp - 0x29c], 1
cmp byte [ebp - 0x295], 0
jne 0x40c5c6
mov edi, dword [ebp - 0x29c]
mov edx, dword [0x8601a8]
mov dword [edi], edx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x144]
call fcn.00403610
mov dword [ebp - 4], 1
push 0x8601ac
mov ecx, dword [ebp - 0x294]
add ecx, 0x670
push ecx
lea edx, [ebp - 0x24c]
push edx
call fcn.00411c80
add esp, 0xc
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x2e4], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2e4]
push ecx
lea ecx, [ebp - 0x144]
call fcn.0040e700
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.00403560
push str..png
mov edx, dword [ebp - 0x294]
add edx, 0x670
push edx
lea eax, [ebp - 0x234]
push eax
call fcn.00411c80
add esp, 0xc
mov dword [ebp - 0x2e0], eax
mov ecx, dword [ebp - 0x2e0]
mov dword [ebp - 0x2dc], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2dc]
push edx
mov eax, dword [ebp - 0x294]
add eax, 0x598
push eax
lea ecx, [ebp - 0x174]
push ecx
call fcn.00411de0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.00403560
lea ecx, [ebp - 0x174]
call fcn.00403470
mov dword [ebp - 0x2d8], eax
lea ecx, [ebp - 0x144]
call fcn.00403470
mov dword [ebp - 0x2d4], eax
mov edx, dword [ebp - 0x2d8]
push edx
mov eax, dword [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [ebp - 0x174]
call fcn.00403560
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.00403560
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.00403610
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x294]
add edx, 0x6a0
push edx
lea ecx, [ebp - 0x12c]
call fcn.0040e700
mov eax, dword [ebp - 0x294]
add eax, 0x6a0
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x598
push ecx
lea edx, [ebp - 0x15c]
push edx
call fcn.00411e20
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x15c]
call fcn.00403470
mov dword [ebp - 0x2d0], eax
lea ecx, [ebp - 0x12c]
call fcn.00403470
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x2d0]
push eax
mov ecx, dword [ebp - 0x2cc]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov edx, dword [ebp - 0x294]
add edx, 0x6a0
mov dword [ebp - 0x2c8], edx
push 0
push str..exe
mov ecx, dword [ebp - 0x2c8]
call fcn.0040e610
cmp eax, 0xffffffff
je 0x40c82e
mov eax, dword [ebp - 0x294]
add eax, 0x6a0
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x598
push ecx
lea edx, [ebp - 0x21c]
push edx
call fcn.00411e20
add esp, 0xc
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp - 0x2c4]
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x5b0
call fcn.0040e780
lea ecx, [ebp - 0x21c]
call fcn.00403560
jmp 0x40c878
push 0x8601c4
mov ecx, dword [ebp - 0x294]
add ecx, 0x598
push ecx
lea edx, [ebp - 0x204]
push edx
call fcn.00411c80
add esp, 0xc
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x2c0]
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x5b0
call fcn.0040e780
lea ecx, [ebp - 0x204]
call fcn.00403560
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x15c]
call fcn.00403560
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.00403560
jmp 0x40c8e5
push 0x8601d8
mov ecx, dword [ebp - 0x294]
add ecx, 0x598
push ecx
lea edx, [ebp - 0x1ec]
push edx
call fcn.00411c80
add esp, 0xc
mov dword [ebp - 0x2f8], eax
mov eax, dword [ebp - 0x2f8]
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x5b0
call fcn.0040e780
lea ecx, [ebp - 0x1ec]
call fcn.00403560
push 0x8601e4
mov ecx, dword [ebp - 0x294]
add ecx, 0x598
push ecx
lea edx, [ebp - 0x1d4]
push edx
call fcn.00411c80
add esp, 0xc
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x2ac]
push eax
mov ecx, dword [ebp - 0x294]
add ecx, 0x5c8
call fcn.0040e780
lea ecx, [ebp - 0x1d4]
call fcn.00403560
call fcn.00406330
mov ecx, eax
call fcn.00401cd0
movzx ecx, al
test ecx, ecx
jne 0x40c94d
mov ecx, dword [ebp - 0x294]
call fcn.0040d180
mov ecx, dword [ebp - 0x294]
call fcn.0040d3b0
mov edx, dword [ebp - 0x294]
mov eax, dword [edx + 0x56c]
mov dword [ebp - 0x2b0], eax
mov ecx, dword [ebp - 0x294]
mov edx, dword [ecx + 0x56c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x208]
mov dword [ebp - 0x2b4], ecx
push 2
mov ecx, dword [ebp - 0x2b0]
call dword [ebp - 0x2b4]
mov ecx, dword [ebp - 0x294]
call fcn.00405af0
push eax
lea ecx, [ebp - 0x18c]
call fcn.00403610
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x294]
call fcn.00405af0
push eax
mov ecx, dword [ebp - 0x294]
call fcn.0040be00
push str.softwareMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [ebp - 0x1a4]
call fcn.00403610
mov byte [ebp - 4], 7
lea edx, [ebp - 0x18c]
push edx
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x1bc]
push ecx
call fcn.00411e20
add esp, 0xc
mov dword [ebp - 0x2b8], eax
mov edx, dword [ebp - 0x2b8]
mov dword [ebp - 0x2bc], edx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x2bc]
call fcn.00403470
push eax
mov ecx, dword [ebp - 0x294]
call fcn.0040c1b0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1bc]
call fcn.00403560
mov ecx, dword [ebp - 0x294]
call fcn.0040ce60
call fcn.00406330
mov ecx, eax
call fcn.00401ca0
movzx eax, al
test eax, eax
je 0x40ca5f
mov ecx, dword [ebp - 0x294]
call fcn.0040db70
jmp 0x40ca7a
call fcn.00406330
mov ecx, eax
call fcn.00401cb0
movzx ecx, al
test ecx, ecx
je 0x40ca7a
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1a4]
call fcn.00403560
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18c]
call fcn.00403560
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret