Function at 0x404d50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568b1a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
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 - 0x14], ecx
call fcn.0044c93b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404d95
push 0x80004005
call fcn.00401330
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x20]
push ecx
mov ecx, 0x5e3c90
mov dword [ebp - 4], 0
call fcn.004261a0
mov esi, dword [eax]
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
mov edi, 0x400
sub eax, edi
or eax, ecx
mov byte [ebp - 4], 1
jge 0x404de1
push edi
lea ecx, [ebp - 0x1c]
call fcn.00401de0
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx - 8], edi
jge 0x404df0
push 0x80070057
call fcn.00401330
push esi
push edi
push ebx
push 0x580060
push str.LicenseDialog
xor edx, edx
mov dword [ebx - 0xc], edi
push str.Dialogs
mov word [ebx + 0x800], dx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp - 0x20]
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 0x404e37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx - 8]
push eax
push ebx
call fcn.0054d87f
add esp, 8
test eax, eax
js 0x404de6
cmp eax, dword [ebx - 8]
jg 0x404de6
xor ecx, ecx
mov dword [ebx - 0xc], eax
push 0xfac
mov word [ebx + eax*2], cx
call fcn.0044a464
add esp, 4
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x404e86
push 0
push 0
push 0
push 0
push 0
push 0x580060
mov ecx, eax
call fcn.0041c0b0
jmp 0x404e88
xor eax, eax
mov esi, dword [ebp - 0x14]
push 0
mov byte [ebp - 4], 0
mov dword [esi + 0xb8], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, dword [esi + 0xb8]
mov dword [edx + 0x80], eax
call fcn.0044c93b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404ec3
push 0x80004005
call fcn.00401330
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
lea ecx, [ebp - 0x24]
push ecx
mov ecx, 0x5e3c90
mov byte [ebp - 4], 3
call fcn.004261a0
mov esi, dword [eax]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x400
or eax, ecx
mov byte [ebp - 4], 4
jge 0x404f0e
push 0x400
lea ecx, [ebp - 0x20]
call fcn.00401de0
mov edi, dword [ebp - 0x20]
cmp dword [edi - 8], 0x400
jge 0x404f21
push 0x80070057
call fcn.00401330
push esi
push 0x400
push edi
push 0x580060
push 0x5803e0
xor edx, edx
mov dword [edi - 0xc], 0x400
push str.Dialogs
mov word [edi + 0x800], dx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404f70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi - 8]
push eax
push edi
call fcn.0054d87f
add esp, 8
test eax, eax
js 0x404de6
cmp eax, dword [edi - 8]
jg 0x404de6
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
mov ecx, 0x5803dc
mov eax, edi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x404fc6
test dx, dx
je 0x404fc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x404fc6
add eax, 4
add ecx, 4
test dx, dx
jne 0x404fa0
xor eax, eax
jmp 0x404fcb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x404fe9
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0xb8]
lea eax, [ecx + 0xd8c]
push eax
call fcn.0044e1c1
push 0x580060
lea ecx, [ebp - 0x10]
call fcn.00404670
lea ecx, [ebp - 0x24]
push ecx
mov ecx, 0x5e3c90
mov byte [ebp - 4], 5
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, 0x400
or eax, ecx
mov byte [ebp - 4], 6
jge 0x405035
push 0x400
lea ecx, [ebp - 0x10]
call fcn.00401de0
mov edx, dword [ebp - 0x10]
cmp dword [edx - 8], 0x400
mov eax, edx
jge 0x40504a
push 0x80070057
call fcn.00401330
push esi
push 0x400
push eax
push 0x580060
mov dword [edx - 0xc], 0x400
mov ecx, dword [ebp - 0x10]
push str.LanguageDialog
xor edx, edx
push str.Dialogs
mov word [ecx + 0x800], dx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40509c
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 0x404de6
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x404de6
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp - 0x10]
mov ecx, 0x580348
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4050fa
test dx, dx
je 0x4050f6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4050fa
add eax, 4
add ecx, 4
test dx, dx
jne 0x4050d4
xor eax, eax
jmp 0x4050ff
sbb eax, eax
sbb eax, 0xffffffff
mov esi, dword [ebp - 0x14]
test eax, eax
sete al
test al, al
je 0x40511d
mov ecx, dword [esi + 0xb8]
lea eax, [ecx + 0xcc]
push eax
call fcn.0044e1c1
mov ecx, 0x5e3c90
call fcn.00425e10
test eax, eax
jne 0x40513d
mov ecx, dword [esi + 0xb8]
lea edx, [ecx + 0xc60]
push edx
call fcn.0044e1c1
push 0xffffffffffffffff
mov ecx, 0x5e3c90
call fcn.00429a80
mov ecx, 0x5e3c90
call fcn.00425e10
test eax, eax
jne 0x405171
mov ecx, 0x5e3c90
call fcn.00426ef0
push eax
mov ecx, 0x5e3c6c
call fcn.00423570
cmp eax, 1
jne 0x4051a4
cmp dword [esi + 0xe0], 0
jne 0x4051a4
mov ecx, 0x5e3c90
mov dword [esi + 0xe0], 1
call fcn.00425e10
test eax, eax
jne 0x4051a4
mov ecx, dword [esi + 0xb8]
lea eax, [ecx + 0xc60]
push eax
call fcn.0044ddec
mov ecx, 0x580348
mov eax, ebx
jmp 0x4051b0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4051d6
test dx, dx
je 0x4051d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4051d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4051b0
xor eax, eax
jmp 0x4051db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x4051f6
mov ecx, dword [esi + 0xb8]
lea edx, [ecx + 0x1c0]
push edx
call fcn.0044e1c1
mov ecx, 0x5e3c90
call fcn.00425ba0
cmp eax, 1
je 0x405218
mov ecx, 0x5e3c90
call fcn.00425ba0
test eax, eax
jne 0x40522a
cmp dword [ebp + 8], eax
jne 0x40522a
mov ecx, dword [esi + 0xb8]
lea eax, [ecx + 0x730]
push eax
call fcn.0044e1c1
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0xb8]
lea edx, [ecx + 0x4c0]
push edx
call fcn.0044e1c1
push 0x580060
lea ecx, [ebp - 0x18]
call fcn.00404670
lea eax, [ebp + 8]
mov bl, 7
push eax
mov ecx, 0x5e3c90
mov byte [ebp - 4], bl
call fcn.004261a0
mov esi, dword [eax]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x400
or eax, ecx
mov byte [ebp - 4], 8
jge 0x40528c
push 0x400
lea ecx, [ebp - 0x18]
call fcn.00401de0
mov edx, dword [ebp - 0x18]
cmp dword [edx - 8], 0x400
mov eax, edx
jge 0x4052a1
push 0x80070057
call fcn.00401330
push esi
push 0x400
push eax
push 0x580060
mov dword [edx - 0xc], 0x400
mov edx, dword [ebp - 0x18]
push str.AutoLaunchInstallationDialog
xor ecx, ecx
push 0x580298
mov word [edx + 0x800], cx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4052f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
mov ecx, 0x580348
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x405326
test dx, dx
je 0x405322
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x405326
add eax, 4
add ecx, 4
test dx, dx
jne 0x405300
xor eax, eax
jmp 0x40532b
sbb eax, eax
sbb eax, 0xffffffff
mov esi, dword [ebp - 0x14]
test eax, eax
sete al
test al, al
je 0x405349
mov ecx, dword [esi + 0xb8]
lea edx, [ecx + 0x5fc]
push edx
call fcn.0044e1c1
mov ecx, dword [esi + 0xb8]
lea eax, [ecx + 0xa44]
push eax
call fcn.0044e1c1
mov ecx, dword [esi + 0xb8]
mov dword [esi + 0x20], ecx
mov edx, dword [ecx]
mov eax, dword [edx + 0x164]
call eax
mov esi, eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405393
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], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4053b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4053d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
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 0x4053fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4