Function at 0x419c50
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59acbb
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x608ec4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebp + 0x1c], 0
mov edi, dword [ebp + 0x18]
jne 0x419f9f
mov eax, dword [ebp + 0xc]
cmp eax, 0x110
jne 0x419dea
push ecx
call fcn.00412c10
push str.FileStar
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [ebx + 0x28]
mov edx, dword [eax + 0xb8]
lea eax, [ebx + 0x138]
test edx, edx
jne 0x419cc6
xor ecx, ecx
jmp 0x419cdf
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x419cd0
sub ecx, esi
lea eax, [ebx + 0x138]
push ecx
push edx
mov ecx, eax
call fcn.004036d0
push 0x400
lea esi, [ebx + 0x164]
push 0
push esi
call fcn.005720f0
add esp, 0xc
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.ver.ini
push dword [ebx + 0x138]
lea eax, [ebx + 0x13c]
push 0x5e4910
push eax
call fcn.00403070
push str._ver.ini
push esi
lea eax, [ebx + 0x140]
push 0x5e4910
push eax
call fcn.00403070
push str.setup.exe
push esi
lea eax, [ebx + 0x144]
push 0x5e4910
push eax
call fcn.00403070
push str.install_result
push esi
lea eax, [ebx + 0x15c]
push 0x5e4910
push eax
call fcn.00403070
add esp, 0x40
mov dword [ebp - 0x410], 0
lea eax, [ebp - 0x410]
push dword [ebx + 0x138]
push 0x5e2b34
push eax
call fcn.00402cc0
add esp, 0xc
lea eax, [ebp - 0x410]
mov ecx, ebx
push eax
call fcn.00412a50
mov ecx, ebx
call fcn.00412140
mov ecx, dword [ebx + 4]
test eax, eax
jne 0x419dca
push 1
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
push ecx
mov ecx, ebx
mov dword [edi], 1
call fcn.00412c10
jmp 0x419f99
push 0
push 0x64
push 1
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
push ecx
mov ecx, ebx
mov dword [edi], 1
call fcn.00412c10
jmp 0x419f99
cmp eax, 0x113
jne 0x419f75
mov eax, dword [ebp + 0x10]
sub eax, 1
je 0x419eda
sub eax, 1
jne 0x419f68
lea ecx, [ebp - 0x448]
call fcn.00439e2b
lea ecx, [ebp - 0x42c]
mov dword [ebp - 4], 0
call fcn.00425499
push 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x448]
push dword [ebx + 0x15c]
call fcn.0043a0ab
test eax, eax
je 0x419eb4
push 0
push 0
push dword [ebx + 0x15c]
lea ecx, [ebp - 0x42c]
call fcn.00425a28
push 2
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00425c29
lea ecx, [ebp - 0x448]
mov byte [ebp - 0x413], 0
call fcn.0043a051
lea ecx, [ebp - 0x42c]
call fcn.00425732
push 2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
lea eax, [ebp - 0x414]
push eax
call fcn.0057af29
add esp, 4
inc eax
push 0
push eax
push 0x464
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x42c]
call fcn.004254c2
lea ecx, [ebp - 0x448]
call fcn.00439fd3
mov dword [edi], 0
mov eax, 1
jmp 0x419fa1
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x3e9
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [ebx + 0xb0]
call fcn.00428b6f
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x640000
push 0
push 0x401
push dword [ebx + 0xd0]
call esi
push 0
push 0
push 0x402
push dword [ebx + 0xd0]
call esi
push 0
push 1
push 0x404
push dword [ebx + 0xd0]
call esi
lea ecx, [ebx + 0xb0]
call fcn.004292ca
lea eax, [ebp - 0x418]
push eax
push 0
push ebx
push 0x412a30
push 0
push 0
call fcn.0057cb95
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
mov eax, 1
jmp 0x419fa1
cmp eax, 0x464
jne 0x419f94
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov dword [edi], 0
mov eax, 1
jmp 0x419fa1
cmp eax, 2
jne 0x419f9f
mov dword [edi], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056ee93
mov esp, ebp
pop ebp
ret 0x18