Function at 0x40add0
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x414c5e
push eax
mov dword fs:[0], esp
sub esp, 0x628
push ebx
push ebp
push esi
mov esi, dword [esp + 0x644]
push edi
push 1
push esi
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [0x419bf8]
xor ebp, ebp
push ebp
push ebp
push esi
push eax
call fcn.0040cab0
add esp, 0x10
mov ebx, eax
push ebp
push 0x3e8
push 1
push esi
call dword [sym.imp.USER32.dll_SetTimer]
cmp ebx, ebp
je 0x40b0b6
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40b0b6
mov edx, dword [0x419bf8]
lea ecx, [esp + 0x14]
push 0x103
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x28
call fcn.00402bed
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov dword [esp + 0x640], ebp
je 0x40ae76
mov ecx, eax
call fcn.0040c390
mov ebp, eax
lea eax, [esp + 0x14]
push 0
push eax
mov ecx, ebp
mov dword [esp + 0x648], 0xffffffff
call fcn.0040c3d0
test eax, eax
je 0x40b099
push 0
push 0x65
push str.MSGTEXT
mov ecx, ebp
call fcn.0040ca60
test eax, eax
je 0x40b099
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x118]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x648]
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 + 0x118]
push ecx
push edx
call fcn.0040a340
add esp, 8
test eax, eax
je 0x40b099
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
push eax
push 0x65
push str.MSGTEXT
mov ecx, ebp
call fcn.0040c4a0
lea eax, [esp + 0x118]
push eax
call fcn.004149f0
lea ecx, [esp + 0x18]
push ecx
call fcn.004149f0
add esp, 8
lea esi, [esp + 0x14]
lea eax, [esp + 0x118]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40af5d
test cl, cl
je 0x40af59
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40af5d
add eax, 2
add esi, 2
test cl, cl
jne 0x40af39
xor eax, eax
jmp 0x40af62
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40b00b
lea eax, [esp + 0x424]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x320]
lea edx, [esp + 0x424]
push ecx
push 0
push 0x419bf0
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x40b05a
lea eax, [esp + 0x5b0]
push 0x1001
lea ecx, [esp + 0x324]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov esi, eax
push 0
cmp esi, 0xffffffff
je 0x40b042
push 0
push esi
mov ecx, ebp
call fcn.0040c810
push esi
call dword [sym.imp.KERNEL32.dll__lclose]
lea edx, [esp + 0x14]
lea eax, [esp + 0x320]
push edx
push eax
lea ecx, [esp + 0x120]
push str._s__1__s
push ecx
call fcn.00412650
add esp, 0x10
lea edx, [esp + 0x118]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x40b05a
lea ecx, [esp + 0x528]
push 0x1001
lea edx, [esp + 0x11c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov esi, eax
push 0
cmp esi, 0xffffffff
je 0x40b042
push 0
push esi
mov ecx, ebp
call fcn.0040c810
push esi
call dword [sym.imp.KERNEL32.dll__lclose]
jmp 0x40b05a
mov eax, dword [esp + 0x64c]
push str.Error
push str.Couldnt_open_file.
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
test ebp, ebp
je 0x40b06e
mov ecx, ebp
call fcn.0040c3a0
push ebp
call fcn.00402be2
add esp, 4
push ebx
call fcn.00403618
mov ecx, dword [esp + 0x64c]
push ecx
call fcn.0040a420
mov edx, dword [0x419bfc]
add esp, 8
push 0
push 0
push 0x10
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x40b0b6
test ebp, ebp
je 0x40b0ad
mov ecx, ebp
call fcn.0040c3a0
push ebp
call fcn.00402be2
add esp, 4
push ebx
call fcn.00403618
add esp, 4
mov ecx, dword [esp + 0x638]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x634
ret