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

Disassembly:
push ebp
sub esp, 0x2a0
lea ebp, [esp - 4]
mov eax, dword [0x4442c4]
xor eax, ebp
mov dword [ebp + 0x2a0], eax
push 0x2c
mov eax, 0x43779a
call fcn.0041ed67
push 1
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea esi, [ebx + 4]
push dword [esi]
call dword [sym.imp.USER32.dll_GetParent]
push esi
call fcn.0040322e
push 0x6b
push dword [0x446c6c]
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x404faf
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
push dword [esi]
call edi
push dword [ebp - 0x10]
push 0
push 0x80
push dword [esi]
call edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push dword [esi]
call edi
push 0
push 0
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [ebp - 4], 0
test eax, eax
je 0x404ff4
lea ecx, [ebp]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [ebp]
push eax
mov dword [ebp + 0x10], 0x2bc
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebx + 0x12c], eax
push 0x413
push dword [esi]
call edi
lea ecx, [ebx + 0x130]
call fcn.00406f8c
mov eax, dword [ebx + 0x184]
lea ecx, [ebx + 0x130]
push 0x43bcbc
or eax, 4
push ecx
mov dword [ecx + 0x54], eax
call fcn.00407398
push 0x414
push dword [esi]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x41d
push dword [esi]
call edi
mov ecx, dword [ebx + 0x12c]
push 1
push ecx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x403
push dword [esi]
call edi
mov ecx, dword [ebx + 0x12c]
push 1
push ecx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov dword [ebp + 0x90], 7
mov dword [ebp + 0x8c], eax
mov word [ebp + 0x7c], ax
push 0x208
mov byte [ebp - 4], 1
push eax
mov word [ebp + 0x94], ax
lea eax, [ebp + 0x96]
push eax
call fcn.0041b0d0
add esp, 0xc
cmp dword [ebx + 0x1a8], 8
jb 0x4050b4
mov eax, dword [ebx + 0x194]
jmp 0x4050ba
lea eax, [ebx + 0x194]
push eax
push 0x104
lea eax, [ebp + 0x94]
push eax
push 0x43baa8
push str.Path
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea esi, [ebx + 0x110]
lea eax, [ebp + 0x94]
call fcn.0040185a
cmp dword [ebx + 0x1a8], 8
jb 0x4050fe
mov eax, dword [ebx + 0x194]
jmp 0x405104
lea eax, [ebx + 0x194]
push eax
push 0x104
lea eax, [ebp + 0x94]
push eax
push 0x43bcf8
push 0x43bcfc
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x94]
lea esi, [ebp + 0x78]
call fcn.0040185a
push 0x43bd10
call fcn.0040874f
neg al
sbb al, al
inc al
mov byte [ebx + 0x22], al
cmp dword [ebx + 0x1a8], 8
pop ecx
jb 0x405159
mov eax, dword [ebx + 0x194]
jmp 0x40515f
lea eax, [ebx + 0x194]
push eax
push 0x104
lea eax, [ebp + 0x94]
push eax
push 0x43bcf8
push 0x43bd14
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x94]
lea esi, [ebp + 0x78]
call fcn.0040185a
push 0x43bd10
call fcn.0040874f
neg al
sbb al, al
inc al
mov byte [ebx + 0x21], al
cmp dword [ebx + 0x1a8], 8
pop ecx
jb 0x4051b4
mov eax, dword [ebx + 0x194]
jmp 0x4051ba
lea eax, [ebx + 0x194]
push eax
push 0x104
lea eax, [ebp + 0x94]
push eax
push 0x43bcf8
push 0x43bd24
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x94]
lea esi, [ebp + 0x78]
call fcn.0040185a
push 0x43bd10
call fcn.0040874f
neg al
sbb al, al
inc al
mov byte [ebx + 0x25], al
cmp dword [ebx + 0x1a8], 8
pop ecx
jb 0x40520f
mov eax, dword [ebx + 0x194]
jmp 0x405215
lea eax, [ebx + 0x194]
push eax
push 0x104
lea eax, [ebp + 0x94]
push eax
push 0x43bcf8
push str.Safe
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x94]
lea esi, [ebp + 0x78]
call fcn.0040185a
push 0x43bd10
call fcn.0040874f
neg al
sbb al, al
inc al
mov byte [ebx + 0x26], al
cmp dword [ebx + 0x1a8], 8
pop ecx
jb 0x40526a
mov eax, dword [ebx + 0x194]
jmp 0x405270
lea eax, [ebx + 0x194]
push eax
push 0x104
lea eax, [ebp + 0x94]
push eax
push 0x43bcf8
push str.Desk
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x94]
lea esi, [ebp + 0x78]
call fcn.0040185a
push 0x43bd10
call fcn.0040874f
neg al
sbb al, al
inc al
mov byte [ebx + 0x23], al
cmp dword [ebx + 0x1a8], 8
pop ecx
jb 0x4052c5
mov eax, dword [ebx + 0x194]
jmp 0x4052cb
lea eax, [ebx + 0x194]
push eax
push 0x104
lea eax, [ebp + 0x94]
push eax
push 0x43bcf8
push str.Movie
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x94]
lea esi, [ebp + 0x78]
call fcn.0040185a
push 0x43bd10
call fcn.0040874f
neg al
sbb al, al
inc al
mov byte [ebx + 0x24], al
cmp dword [ebx + 0x1a8], 8
pop ecx
jb 0x405320
mov eax, dword [ebx + 0x194]
jmp 0x405326
lea eax, [ebx + 0x194]
push eax
push 0x104
lea eax, [ebp + 0x94]
push eax
push 0x43bcf8
push str.IEHome
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x94]
lea esi, [ebp + 0x78]
call fcn.0040185a
push 0x43bd10
call fcn.0040874f
neg al
sbb al, al
inc al
mov byte [ebx + 0x27], al
cmp dword [ebx + 0x1a8], 8
pop ecx
jb 0x40537b
mov eax, dword [ebx + 0x194]
jmp 0x405381
lea eax, [ebx + 0x194]
push eax
push 0x104
lea eax, [ebp + 0x94]
push eax
push 0x43bcf8
push str.AsDefault
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x94]
lea esi, [ebp + 0x78]
call fcn.0040185a
push 0x43bd10
call fcn.0040874f
neg al
sbb al, al
inc al
mov byte [ebx + 0x28], al
cmp dword [ebx + 0x1a8], 8
pop ecx
jb 0x4053d6
mov eax, dword [ebx + 0x194]
jmp 0x4053dc
lea eax, [ebx + 0x194]
push eax
push 0x104
lea eax, [ebp + 0x94]
push eax
push 0x43bcf8
push str.IEFav
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x94]
lea esi, [ebp + 0x78]
call fcn.0040185a
push 0x43bd10
call fcn.0040874f
neg al
sbb al, al
inc al
mov byte [ebx + 0x29], al
cmp dword [ebx + 0x1a8], 8
pop ecx
jb 0x405431
mov eax, dword [ebx + 0x194]
jmp 0x405437
lea eax, [ebx + 0x194]
push eax
push 0x104
lea eax, [ebp + 0x94]
push eax
push 0x43bd10
push str.PCMgr
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x94]
lea esi, [ebp + 0x78]
call fcn.0040185a
push 0x43bd10
call fcn.0040874f
mov byte [ebx + 0x2a], 0
cmp dword [ebx + 0x1a8], 8
pop ecx
jb 0x405487
mov eax, dword [ebx + 0x194]
jmp 0x40548d
lea eax, [ebx + 0x194]
push eax
push 0x104
lea eax, [ebp + 0x94]
push eax
push 0x43bcf8
push str.HideProgress
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x94]
lea esi, [ebp + 0x78]
call fcn.0040185a
push 0x43bcf8
call fcn.0040874f
neg al
sbb al, al
mov dword [esp], 0x405
lea esi, [ebx + 4]
push dword [esi]
inc al
mov byte [ebx + 0x20], al
call edi
push 0x404
push dword [esi]
mov dword [ebp - 0x2c], eax
call edi
push 0x407
push dword [esi]
mov dword [ebp - 0x1c], eax
call edi
push 0x40d
push dword [esi]
mov dword [ebp - 0x20], eax
call edi
push 0x40b
push dword [esi]
mov dword [ebp - 0x28], eax
call edi
push 0x420
push dword [esi]
mov dword [ebp - 0x30], eax
call edi
push 0x40e
push dword [esi]
mov dword [ebp - 0x38], eax
call edi
push 0x417
push dword [esi]
mov dword [ebp - 0x10], eax
call edi
push 0x418
push dword [esi]
mov dword [ebp - 0x18], eax
call edi
push 0x424
push dword [esi]
mov dword [ebp - 0x24], eax
call edi
push 0x41f
push dword [esi]
mov dword [ebp - 0x14], eax
call edi
mov dword [ebp - 0x34], eax
xor eax, eax
cmp byte [ebx + 0x22], al
push 0
setne al
mov esi, 0xf1
push eax
push esi
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp byte [ebx + 0x21], al
push 0
setne al
push eax
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp byte [ebx + 0x23], al
setne al
push 0
push eax
push esi
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp byte [ebx + 0x24], al
push 0
setne al
push eax
push esi
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp byte [ebx + 0x25], al
push 0
setne al
push eax
push esi
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp byte [ebx + 0x26], al
push 0
setne al
push eax
push esi
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp byte [ebx + 0x27], al
push 0
setne al
push eax
push esi
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp byte [ebx + 0x28], al
push 0
setne al
push eax
push esi
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp byte [ebx + 0x2a], al
push 0
setne al
push eax
push esi
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp byte [ebx + 0x20], al
push 0
sete al
push eax
push esi
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp byte [ebx + 0x29], al
push 0
setne al
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebp - 0x10]
call esi
push 0x415
push dword [ebx + 4]
call edi
push 0
push eax
call esi
lea eax, [ebx + 0x110]
lea esi, [ebp + 0x5c]
call fcn.0040231d
mov byte [ebp - 4], 2
cmp dword [ebp + 0x70], 0
jne 0x405689
push 0x26
mov ecx, esi
call fcn.0040459b
cmp dword [ebp + 0x70], 0
pop ecx
je 0x4056af
mov edi, dword [ebp + 0x70]
dec edi
lea eax, [ebp + 0x5c]
call fcn.004017f6
cmp word [eax], 0x5c
je 0x4056a9
push 0x43ba78
lea eax, [ebp + 0x5c]
push eax
call fcn.004017d8
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x41a
push dword [ebx + 4]
call edi
cmp dword [ebp + 0x74], 8
mov ecx, dword [ebp + 0x60]
jae 0x4056c5
lea ecx, [ebp + 0x60]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, ebx
call fcn.00406cae
mov eax, ebx
call fcn.004058f5
push 0xc
call fcn.0041a5dd
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
mov byte [ebp - 4], 3
je 0x4056fc
push ebx
push 0x406557
push eax
call fcn.0040e000
jmp 0x4056fe
xor eax, eax
lea edi, [ebx + 0x18c]
mov ebx, eax
mov byte [ebp - 4], 2
call fcn.004086ce
mov eax, edi
call fcn.004086cb
mov ecx, eax
call fcn.0040e0c5
push 0x14
mov eax, edi
call fcn.004086cb
mov ecx, eax
call fcn.0040e17c
push 0
push 1
lea esi, [ebp + 0x5c]
call fcn.0040193c
push 0
push 1
lea esi, [ebp + 0x78]
call fcn.0040193c
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2a0]
xor ecx, ebp
call fcn.0041a6a2
add ebp, 0x2a4
leave
ret