Function at 0x431240
Capabilities:
Create process on windows
Read .ini file
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531e3e
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x58a06c]
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
mov eax, dword [ebp + 8]
push 0xc
push dword [ebx + 4]
mov dword [ebp - 0x240], eax
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.00401d90
mov ecx, eax
test ecx, ecx
je 0x431733
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 0
call fcn.004344f0
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 1
call fcn.0040a4d0
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4312e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00504db0
mov edi, dword [ebp - 0x224]
lea eax, [ebp - 0x218]
add esp, 0xc
push edi
push 0x104
push eax
push 0
push str.upgrade
push str.UserInformation
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
call dword [0x53e2dc]
test eax, eax
je 0x43145b
push edi
push 0x54e8f8
push str.upgrade
push str.UserInformation
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
call fcn.00401d90
mov ecx, eax
test ecx, ecx
je 0x43176b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 2
call fcn.0040ae80
push 1
push 0x552f60
mov ecx, eax
mov dword [ebp - 0x238], eax
call fcn.0047d65a
mov esi, eax
test esi, esi
jne 0x4313f0
mov eax, dword [ebp - 0x238]
cmp dword [eax + 0x10], esi
je 0x43142d
push 0x84
call fcn.0050058b
mov esi, eax
add esp, 4
mov dword [ebp - 0x23c], esi
mov eax, dword [ebp - 0x238]
mov byte [ebp - 4], 3
push 0
push 0x552f60
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
call dword [eax]
lea ecx, [esi + 4]
xor edx, edx
mov dword [esi], ecx
push 0xffffffffffffffff
mov word [ecx], dx
mov ecx, esi
push eax
call fcn.0047cf25
mov ecx, dword [ebp - 0x238]
push esi
push 0x552f60
mov byte [ebp - 4], 2
call fcn.0047d70f
mov eax, dword [esi]
lea ecx, [ebp - 0x218]
push ecx
push eax
lea eax, [ebp - 0x21c]
push str._s_r_nerr_s
push eax
call fcn.00412750
mov esi, dword [ebp - 0x21c]
mov edx, esi
mov ecx, dword [ebx + 4]
push 4
push 0
call fcn.004299c0
add esp, 0x18
cmp eax, 6
je 0x43173d
jmp 0x431434
mov eax, 0x552f60
jmp 0x4313f2
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43169d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43169d
mov eax, dword [0x58ee44]
test eax, eax
jne 0x431494
push 0x70
call fcn.0050058b
mov esi, eax
mov dword [ebp - 0x23c], esi
push 0x70
push 0
push esi
mov byte [ebp - 4], 4
call fcn.00504db0
add esp, 0x10
mov ecx, esi
call fcn.0045c650
mov byte [ebp - 4], 0
mov dword [0x58ee44], eax
mov ecx, dword [ebx + 4]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x234], ecx
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], 0
call fcn.0043b680
test al, al
je 0x43169a
lea ecx, [ebp - 0x234]
call fcn.0043bc70
test al, al
je 0x43169a
xor edx, edx
lea ecx, [ebp - 0x21c]
call fcn.004345e0
mov esi, eax
mov edx, str.XZMupgradeupgrade.zip
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x220]
call fcn.004346d0
mov byte [ebp - 4], 6
push dword [esi]
mov ecx, dword [eax]
call fcn.00452df0
mov byte [ebp - 4], 5
or esi, 0xffffffff
mov edx, dword [ebp - 0x220]
add esp, 4
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x431537
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x431558
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00401d90
mov ecx, eax
test ecx, ecx
je 0x43176b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov edx, 0x552f80
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x23c]
call fcn.004345e0
push eax
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 8
call fcn.0040a4d0
mov byte [ebp - 4], 7
mov eax, esi
mov edx, dword [ebp - 0x23c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4315ba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x220]
push 1
push 0
push 0
push esi
push str.Open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
test eax, eax
jne 0x431775
call fcn.0040ae80
push 1
push 0x552f60
mov ecx, eax
mov dword [ebp - 0x238], eax
call fcn.0047d65a
test eax, eax
jne 0x431674
mov eax, dword [ebp - 0x238]
cmp dword [eax + 0x10], 0
je 0x431693
push 0x84
call fcn.0050058b
add esp, 4
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x238]
mov byte [ebp - 4], 9
push 0
push 0x552f60
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
call dword [eax]
mov edx, dword [ebp - 0x21c]
xor edi, edi
lea ecx, [edx + 4]
push 0xffffffffffffffff
push eax
mov dword [edx], ecx
mov word [ecx], di
mov ecx, edx
call fcn.0047cf25
mov ecx, dword [ebp - 0x238]
mov byte [ebp - 4], 7
push dword [ebp - 0x21c]
push 0x552f60
call fcn.0047d70f
mov edi, dword [ebp - 0x224]
mov eax, dword [ebp - 0x21c]
mov edx, dword [eax]
mov ecx, dword [ebx + 4]
push 4
push 0
call fcn.004299c0
add esp, 8
cmp eax, 6
je 0x43177c
jmp 0x431434
mov edx, 0x552f60
jmp 0x431676
or esi, 0xffffffff
mov ecx, dword [ebx + 0x34]
push 1
push str.loginbtn
add ecx, 0x55c
call fcn.0047d65a
test eax, eax
je 0x4316c2
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x180]
mov ecx, dword [ebx + 0x34]
push 1
push str.labelgg
add ecx, 0x55c
call fcn.0047d65a
test eax, eax
je 0x4316e8
mov edx, dword [eax]
mov ecx, eax
push dword [ebp - 0x240]
call dword [edx + 0x50]
cmp dword [ebx + 0x4c], 1
mov byte [ebx + 0x50], 1
jne 0x4316f9
mov ecx, ebx
call fcn.00430f50
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x431715
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
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.005000f2
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404aa0
push 1
push 0
push 0
call fcn.00405d70
mov ecx, eax
call fcn.0045d280
mov ecx, eax
call fcn.00405d60
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call fcn.00512841
push 0x80004005
call fcn.00404aa0
push 0
call fcn.00512841
push 1
push 0
push 0
call fcn.00405d70
mov ecx, eax
call fcn.0045d280
mov ecx, eax
call fcn.00405d60
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call fcn.00512841
int3