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

Disassembly:
push ebp
sub esp, 0x2bc
lea ebp, [esp - 4]
mov eax, dword [0x4422c4]
xor eax, ebp
mov dword [ebp + 0x2bc], eax
push 0x34
mov eax, 0x4364f6
call fcn.0041dc37
mov edi, ecx
push 1
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea esi, [edi + 4]
push dword [esi]
mov dword [ebp - 0x10], esi
call dword [sym.imp.USER32.dll_GetParent]
push esi
call fcn.004029c9
push 0x6b
push dword [0x444bcc]
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x403d65
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
push dword [esi]
call ebx
push dword [ebp - 0x14]
push 0
push 0x80
push dword [esi]
call ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push dword [esi]
call ebx
push 0
push 0
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [ebp - 4], 0
test eax, eax
je 0x403daa
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 [edi + 0x130], eax
push 0x413
push dword [esi]
call ebx
lea ecx, [edi + 0x134]
call fcn.00405ec6
mov eax, dword [edi + 0x188]
lea ecx, [edi + 0x134]
push 0x439bbc
or eax, 4
push ecx
mov dword [ecx + 0x54], eax
call fcn.004062f1
push 0x414
push dword [esi]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x41d
push dword [esi]
call ebx
mov ecx, dword [edi + 0x130]
push 1
push ecx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x403
push dword [esi]
call ebx
mov ecx, dword [edi + 0x130]
push 1
push ecx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov dword [ebp + 0xac], 7
mov dword [ebp + 0xa8], eax
mov word [ebp + 0x98], ax
push 0x208
mov byte [ebp - 4], 1
push eax
mov word [ebp + 0xb0], ax
lea eax, [ebp + 0xb2]
push eax
call fcn.00419f90
add esp, 0xc
cmp dword [edi + 0x1ac], 8
jb 0x403e6d
mov eax, dword [edi + 0x198]
jmp 0x403e73
lea eax, [edi + 0x198]
push eax
push 0x104
lea eax, [ebp + 0xb0]
push eax
push 0x439a70
push str.Path
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea esi, [edi + 0x110]
lea eax, [ebp + 0xb0]
call fcn.004010d5
xor eax, eax
cmp dword [edi + 0x124], eax
je 0x403f14
mov dword [ebp + 0x74], 7
mov dword [ebp + 0x70], eax
mov word [ebp + 0x60], ax
push 0x26
lea ecx, [ebp + 0x5c]
mov byte [ebp - 4], 2
call fcn.004032f7
mov esi, str._x86_
push esi
call fcn.004194fb
pop ecx
pop ecx
push eax
push esi
xor eax, eax
lea ecx, [ebp + 0x5c]
call fcn.004019bd
cmp eax, 0xffffffff
jne 0x403f04
lea eax, [edi + 0x110]
push esi
push eax
mov ebx, 0x439a70
call fcn.0040c30b
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
pop ecx
pop ecx
push 0
push 1
lea esi, [ebp + 0x5c]
mov byte [ebp - 4], 1
call fcn.004011b7
cmp dword [edi + 0x1ac], 8
jb 0x403f25
mov eax, dword [edi + 0x198]
jmp 0x403f2b
lea eax, [edi + 0x198]
push eax
push 0x104
lea eax, [ebp + 0xb0]
push eax
push 0x439c04
push 0x439c08
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0xb0]
lea esi, [ebp + 0x94]
call fcn.004010d5
push 0x439c1c
call fcn.004076a8
neg al
sbb al, al
inc al
mov byte [edi + 0x22], al
cmp dword [edi + 0x1ac], 8
pop ecx
jb 0x403f83
mov eax, dword [edi + 0x198]
jmp 0x403f89
lea eax, [edi + 0x198]
push eax
push 0x104
lea eax, [ebp + 0xb0]
push eax
push 0x439c04
push 0x439c20
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0xb0]
lea esi, [ebp + 0x94]
call fcn.004010d5
push 0x439c1c
call fcn.004076a8
neg al
sbb al, al
inc al
mov byte [edi + 0x21], al
cmp dword [edi + 0x1ac], 8
pop ecx
jb 0x403fe1
mov eax, dword [edi + 0x198]
jmp 0x403fe7
lea eax, [edi + 0x198]
push eax
push 0x104
lea eax, [ebp + 0xb0]
push eax
push 0x439c04
push 0x439c30
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0xb0]
lea esi, [ebp + 0x94]
call fcn.004010d5
push 0x439c1c
call fcn.004076a8
neg al
sbb al, al
inc al
mov byte [edi + 0x25], al
cmp dword [edi + 0x1ac], 8
pop ecx
jb 0x40403f
mov eax, dword [edi + 0x198]
jmp 0x404045
lea eax, [edi + 0x198]
push eax
push 0x104
lea eax, [ebp + 0xb0]
push eax
push 0x439c04
push str.Safe
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0xb0]
lea esi, [ebp + 0x94]
call fcn.004010d5
push 0x439c1c
call fcn.004076a8
neg al
sbb al, al
inc al
mov byte [edi + 0x26], al
cmp dword [edi + 0x1ac], 8
pop ecx
jb 0x40409d
mov eax, dword [edi + 0x198]
jmp 0x4040a3
lea eax, [edi + 0x198]
push eax
push 0x104
lea eax, [ebp + 0xb0]
push eax
push 0x439c04
push str.Desk
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0xb0]
lea esi, [ebp + 0x94]
call fcn.004010d5
push 0x439c1c
call fcn.004076a8
neg al
sbb al, al
inc al
mov byte [edi + 0x23], al
cmp dword [edi + 0x1ac], 8
pop ecx
jb 0x4040fb
mov eax, dword [edi + 0x198]
jmp 0x404101
lea eax, [edi + 0x198]
push eax
push 0x104
lea eax, [ebp + 0xb0]
push eax
push 0x439c1c
push str.Movie
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0xb0]
lea esi, [ebp + 0x94]
call fcn.004010d5
push 0x439c1c
call fcn.004076a8
neg al
sbb al, al
inc al
mov byte [edi + 0x24], al
cmp dword [edi + 0x1ac], 8
pop ecx
jb 0x404159
mov eax, dword [edi + 0x198]
jmp 0x40415f
lea eax, [edi + 0x198]
push eax
push 0x104
lea eax, [ebp + 0xb0]
push eax
push 0x439c04
push str.IEHome
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0xb0]
lea esi, [ebp + 0x94]
call fcn.004010d5
push 0x439c1c
call fcn.004076a8
neg al
sbb al, al
inc al
mov byte [edi + 0x27], al
cmp dword [edi + 0x1ac], 8
pop ecx
jb 0x4041b7
mov eax, dword [edi + 0x198]
jmp 0x4041bd
lea eax, [edi + 0x198]
push eax
push 0x104
lea eax, [ebp + 0xb0]
push eax
push 0x439c04
push str.AsDefault
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0xb0]
lea esi, [ebp + 0x94]
call fcn.004010d5
push 0x439c1c
call fcn.004076a8
neg al
sbb al, al
inc al
mov byte [edi + 0x28], al
cmp dword [edi + 0x1ac], 8
pop ecx
jb 0x404215
mov eax, dword [edi + 0x198]
jmp 0x40421b
lea eax, [edi + 0x198]
push eax
push 0x104
lea eax, [ebp + 0xb0]
push eax
push 0x439c04
push str.IEFav
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0xb0]
lea esi, [ebp + 0x94]
call fcn.004010d5
push 0x439c1c
call fcn.004076a8
neg al
sbb al, al
inc al
mov byte [edi + 0x29], al
cmp dword [edi + 0x1ac], 8
pop ecx
jb 0x404273
mov eax, dword [edi + 0x198]
jmp 0x404279
lea eax, [edi + 0x198]
push eax
push 0x104
lea eax, [ebp + 0xb0]
push eax
push 0x439c1c
push str.PCMgr
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0xb0]
lea esi, [ebp + 0x94]
call fcn.004010d5
push 0x439c1c
call fcn.004076a8
neg al
sbb al, al
inc al
mov byte [edi + 0x2a], al
cmp dword [edi + 0x1ac], 8
pop ecx
jb 0x4042d1
mov eax, dword [edi + 0x198]
jmp 0x4042d7
lea eax, [edi + 0x198]
push eax
push 0x104
lea eax, [ebp + 0xb0]
push eax
push 0x439c04
push str.HideProgress
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0xb0]
lea esi, [ebp + 0x94]
call fcn.004010d5
push 0x439c04
call fcn.004076a8
mov esi, dword [ebp - 0x10]
neg al
sbb al, al
mov dword [esp], 0x405
push dword [esi]
inc al
mov byte [edi + 0x20], al
call ebx
push 0x404
push dword [esi]
mov dword [ebp - 0x38], eax
call ebx
push 0x407
push dword [esi]
mov dword [ebp - 0x3c], eax
call ebx
push 0x40d
push dword [esi]
mov dword [ebp - 0x24], eax
call ebx
push 0x40b
push dword [esi]
mov dword [ebp - 0x28], eax
call ebx
push 0x420
push dword [esi]
mov dword [ebp - 0x30], eax
call ebx
push 0x40e
push dword [esi]
mov dword [ebp - 0x20], eax
call ebx
push 0x417
push dword [esi]
mov dword [ebp - 0x14], eax
call ebx
push 0x418
push dword [esi]
mov dword [ebp - 0x40], eax
call ebx
push 0x424
push dword [esi]
mov dword [ebp - 0x34], eax
call ebx
push 0x41f
push dword [esi]
mov dword [ebp - 0x1c], eax
call ebx
mov dword [ebp - 0x2c], eax
xor eax, eax
cmp byte [edi + 0x22], al
push 0
setne al
mov esi, 0xf1
push eax
push esi
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp byte [edi + 0x21], al
push 0
setne al
push eax
push esi
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp byte [edi + 0x23], al
setne al
push 0
push eax
push esi
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp byte [edi + 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 [edi + 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 [edi + 0x26], al
push 0
setne al
push eax
push esi
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp byte [edi + 0x27], al
push 0
setne al
push eax
push esi
push dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp byte [edi + 0x28], al
push 0
setne al
push eax
push esi
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp byte [edi + 0x2a], al
push 0
setne al
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp byte [edi + 0x20], al
push 0
sete al
push eax
push esi
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp byte [edi + 0x29], al
push 0
setne al
push eax
push esi
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
push 0
push 0
push pe_nt_image_headers32
push dword [ebp - 0x14]
call esi
cmp eax, 1
mov eax, dword [ebp - 0x10]
push 0x415
push dword [eax]
jne 0x4044b7
call ebx
push 5
jmp 0x4044bb
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [edi + 0x110]
lea esi, [ebp + 0x78]
call fcn.00401ab3
mov byte [ebp - 4], 3
cmp dword [ebp + 0x8c], 0
jne 0x4044f0
push 0x26
mov ecx, esi
call fcn.004032f7
cmp dword [ebp + 0x8c], 0
pop ecx
je 0x40451c
mov edi, dword [ebp + 0x8c]
dec edi
lea eax, [ebp + 0x78]
call fcn.00401071
cmp word [eax], 0x5c
je 0x404513
push 0x439a68
lea eax, [ebp + 0x78]
push eax
call fcn.00401053
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
push 0x41a
push dword [eax]
call ebx
cmp dword [ebp + 0x90], 8
mov ecx, dword [ebp + 0x7c]
jae 0x404537
lea ecx, [ebp + 0x7c]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
call fcn.00405bdc
mov esi, dword [ebp - 0x18]
mov eax, esi
call fcn.004047b2
cmp byte [esi + 0x12c], 0
je 0x404570
mov eax, dword [ebp - 0x10]
push 0
push 0x7d0
push 0x4d2
push dword [eax]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x4045c4
push 0xc
call fcn.00419491
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
mov byte [ebp - 4], 4
je 0x404591
push esi
push 0x405485
push eax
call fcn.0040ce10
jmp 0x404593
xor eax, eax
add esi, 0x190
mov ebx, eax
mov edi, esi
mov byte [ebp - 4], 3
call fcn.00407627
mov eax, esi
call fcn.00407624
mov ecx, eax
call fcn.0040ced5
push 0x14
mov eax, esi
call fcn.00407624
mov ecx, eax
call fcn.0040cf8c
push 0
push 1
lea esi, [ebp + 0x78]
call fcn.004011b7
push 0
push 1
lea esi, [ebp + 0x94]
call fcn.004011b7
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 + 0x2bc]
xor ecx, ebp
call fcn.00419556
add ebp, 0x2c0
leave
ret