Function at 0x41f6d0
Capabilities:
Hide graphical window
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b2b0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x5e2500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
xor esi, esi
push 1
mov ecx, 0x5e3e60
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call fcn.0042ed60
call fcn.0044c93b
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41f729
push 0x80004005
call fcn.00401330
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
push str.HandleLaunchSetup
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], esi
call fcn.00404670
push 0x580060
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00404670
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x5e3c90
mov byte [ebp - 4], 2
call fcn.004261a0
mov esi, dword [eax]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
mov ebx, 0x400
sub eax, ebx
or eax, ecx
mov byte [ebp - 4], 3
jge 0x41f796
push ebx
lea ecx, [ebp - 0x14]
call fcn.00401de0
mov edx, dword [ebp - 0x14]
mov eax, edx
cmp dword [edx - 8], ebx
jge 0x41f7a7
push 0x80070057
call fcn.00401330
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
push ebx
push eax
push 0x580060
mov dword [edx - 0xc], ebx
mov ecx, dword [ebp - 0x14]
push str.AutoLaunchInstallationDialog
xor edx, edx
push 0x580298
mov word [ecx + 0x800], dx
call edi
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f7f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x580060
lea ecx, [ebp - 0x10]
call fcn.00404670
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x5e3c90
mov byte [ebp - 4], 4
call fcn.004261a0
mov esi, dword [eax]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
mov byte [ebp - 4], 5
jge 0x41f838
push ebx
lea ecx, [ebp - 0x10]
call fcn.00401de0
mov edx, dword [ebp - 0x10]
mov eax, edx
cmp dword [edx - 8], ebx
jge 0x41f849
push 0x80070057
call fcn.00401330
push esi
push ebx
push eax
push 0x580060
mov dword [edx - 0xc], ebx
mov ecx, dword [ebp - 0x10]
push 0x58034c
xor edx, edx
push 0x580298
mov word [ecx + 0x800], dx
call edi
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f88f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0054d87f
add esp, 8
test eax, eax
js 0x41f79d
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x41f79d
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov esi, esp
push eax
call fcn.00401e40
add eax, 0x10
add esp, 4
mov ecx, 0x5e3e60
mov dword [esi], eax
call fcn.0042da80
mov ecx, 0x5e3c90
call fcn.00425ac0
mov edi, dword [ebp - 0x24]
cmp eax, 1
jne 0x41f905
test edi, edi
je 0x41f905
cmp dword [edi + 0x20], 0
je 0x41f905
mov dword [edi + 0xafc], eax
call fcn.0044c93b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41f91f
push 0x80004005
call fcn.00401330
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
mov ecx, 0x5e3c90
mov byte [ebp - 4], 6
call fcn.00426ef0
push eax
lea ecx, [ebp - 0x20]
push ecx
mov ecx, 0x5e3e60
call fcn.0042e250
push 0xa
lea ecx, [ebp - 0x4c]
call fcn.00455312
push 0xa
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 7
call fcn.00455312
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x20]
push ecx
add eax, 0xfffffff0
mov ebx, 8
mov dword [ebp - 0x2c], esp
mov esi, esp
push eax
mov byte [ebp - 4], bl
call fcn.00401e40
add eax, 0x10
add esp, 4
mov ecx, edi
mov dword [esi], eax
call fcn.0041c440
cmp dword [ebp - 0x40], 0
jle 0x41fc1d
mov ecx, 0x5e3c90
call fcn.00429a60
test eax, eax
jne 0x41fc1d
test edi, edi
je 0x41f9eb
mov eax, dword [edi + 0x20]
test eax, eax
je 0x41f9eb
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41f9eb
lea ecx, [ebp - 0x14]
push ecx
push 0x580348
call fcn.00401b00
add esp, 8
test al, al
mov eax, dword [edi + 0x20]
je 0x41f9e2
push 5
jmp 0x41f9e4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x5e3a78], 0
jne 0x41fa06
mov ecx, 0x5e3c90
call fcn.00425db0
test eax, eax
jne 0x41fb73
mov ecx, 0x5e39a0
mov esi, 1
call fcn.00401560
cmp eax, 0x1fe
je 0x41fa1e
xor esi, esi
mov ecx, 0x5e39a0
call fcn.00401550
cmp eax, 0x12e
jne 0x41fa9e
cmp esi, 1
jne 0x41fb48
test edi, edi
jne 0x41fa40
xor eax, eax
jmp 0x41fa43
mov eax, dword [edi + 0x20]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 1
mov ecx, 0x5e3c90
call fcn.00426ef0
push eax
mov ecx, 0x5e39a0
call fcn.00401550
push eax
mov ecx, 0x5e3c6c
call fcn.00423ec0
lea edx, [ebp - 0x2c]
push edx
mov ecx, 0x5e3c90
call fcn.0042b140
mov eax, dword [eax]
push 0
push 0x10
push eax
mov byte [ebp - 4], 9
call fcn.0045148c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00402000
jmp 0x41fb48
mov ecx, 0x5e39a0
call fcn.00401550
cmp eax, 0x12d
jne 0x41fb56
cmp esi, 1
jne 0x41fb56
test edi, edi
jne 0x41fac4
xor eax, eax
jmp 0x41fac7
mov eax, dword [edi + 0x20]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 1
mov ecx, 0x5e3c90
call fcn.00426ef0
push eax
mov ecx, 0x5e39a0
call fcn.00401550
push eax
mov ecx, 0x5e3c6c
call fcn.00423ec0
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x5e3c90
call fcn.0042b140
mov eax, dword [eax]
push 0
push 0x34
push eax
mov byte [ebp - 4], 0xa
call fcn.0045148c
lea ecx, [ebp - 0x2c]
mov esi, eax
mov byte [ebp - 4], bl
call fcn.00402000
cmp esi, 7
jne 0x41fb56
mov ecx, dword [ebp - 0x28]
push str.Current_operating_system__not_supported
push ecx
push 0
push 0x5e3e78
call fcn.0042b490
add esp, 0x10
push 0xb
mov ecx, 0x5e3c90
call fcn.00429a80
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0xa
push str.Current_OS_is_supported
push ebx
push 0x5e3e78
call fcn.0042b840
add esp, 0xc
cmp dword [ebp - 0x1c], 0
jne 0x41fc24
mov ecx, 0x5e39a0
call fcn.00405990
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov esi, esp
push eax
call fcn.00401e40
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x20]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov esi, esp
push eax
mov byte [ebp - 4], 0xb
call fcn.00401e40
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.0041e160
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x40]
cmp eax, 1
jg 0x41fc07
jne 0x41fbf7
mov ecx, 0x5e3c90
call fcn.00425a80
test eax, eax
jne 0x41fc07
lea ecx, [ebp - 0x14]
push ecx
push 0x580348
call fcn.00401b00
add esp, 8
test al, al
jne 0x41fc07
mov dword [ebp - 0x18], 0xa
mov dword [ebp - 0x1c], 1
jmp 0x41fc24
test edi, edi
je 0x41fc4b
mov eax, dword [edi + 0x20]
test eax, eax
je 0x41fc24
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41fc24
mov dword [ebp - 0x18], 0xffffffff
test edi, edi
je 0x41fc4b
cmp dword [edi + 0x20], 0
je 0x41fc4b
cmp dword [edi + 0xee4], 1
jne 0x41fc4b
cmp dword [ebp - 0x1c], 0
jne 0x41fc4b
lea edx, [edi + 0xa44]
push edx
mov ecx, edi
call fcn.0044d5b0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 7
call fcn.00455440
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.00455440
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fc86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fca9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fccc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fcef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fd15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret