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

Disassembly:
push ebp
sub esp, 0x2a0
lea ebp, [esp - 4]
mov eax, dword [0x4412c4]
xor eax, ebp
mov dword [ebp + 0x2a0], eax
push 0x2c
mov eax, 0x433ffc
call fcn.0041c1d7
push 1
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.00402541
push 0x6b
push dword [0x443bac]
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x4038a4
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 0x4038e9
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 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.004180a0
add esp, 0xc
cmp dword [ebx + 0x1a8], 8
jb 0x403978
mov eax, dword [ebx + 0x194]
jmp 0x40397e
lea eax, [ebx + 0x194]
push eax
push 0x104
lea eax, [ebp + 0x94]
push eax
push 0x438a60
push 0x438b7c
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea esi, [ebx + 0x110]
lea eax, [ebp + 0x94]
call fcn.0040109a
cmp dword [ebx + 0x1a8], 8
jb 0x4039c2
mov eax, dword [ebx + 0x194]
jmp 0x4039c8
lea eax, [ebx + 0x194]
push eax
push 0x104
lea eax, [ebp + 0x94]
push eax
push 0x438b98
push 0x438b9c
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x94]
lea esi, [ebp + 0x78]
call fcn.0040109a
push 0x438bb0
call fcn.004065f8
neg al
sbb al, al
inc al
mov byte [ebx + 0x22], al
cmp dword [ebx + 0x1a8], 8
pop ecx
jb 0x403a1d
mov eax, dword [ebx + 0x194]
jmp 0x403a23
lea eax, [ebx + 0x194]
push eax
push 0x104
lea eax, [ebp + 0x94]
push eax
push 0x438b98
push 0x438bb4
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x94]
lea esi, [ebp + 0x78]
call fcn.0040109a
push 0x438bb0
call fcn.004065f8
neg al
sbb al, al
inc al
mov byte [ebx + 0x21], al
cmp dword [ebx + 0x1a8], 8
pop ecx
jb 0x403a78
mov eax, dword [ebx + 0x194]
jmp 0x403a7e
lea eax, [ebx + 0x194]
push eax
push 0x104
lea eax, [ebp + 0x94]
push eax
push 0x438b98
push 0x438bc4
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x94]
lea esi, [ebp + 0x78]
call fcn.0040109a
push 0x438bb0
call fcn.004065f8
neg al
sbb al, al
inc al
mov byte [ebx + 0x25], al
cmp dword [ebx + 0x1a8], 8
pop ecx
jb 0x403ad3
mov eax, dword [ebx + 0x194]
jmp 0x403ad9
lea eax, [ebx + 0x194]
push eax
push 0x104
lea eax, [ebp + 0x94]
push eax
push 0x438b98
push str.Safe
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x94]
lea esi, [ebp + 0x78]
call fcn.0040109a
push 0x438bb0
call fcn.004065f8
neg al
sbb al, al
inc al
mov byte [ebx + 0x26], al
cmp dword [ebx + 0x1a8], 8
pop ecx
jb 0x403b2e
mov eax, dword [ebx + 0x194]
jmp 0x403b34
lea eax, [ebx + 0x194]
push eax
push 0x104
lea eax, [ebp + 0x94]
push eax
push 0x438b98
push str.Desk
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x94]
lea esi, [ebp + 0x78]
call fcn.0040109a
push 0x438bb0
call fcn.004065f8
neg al
sbb al, al
inc al
mov byte [ebx + 0x23], al
cmp dword [ebx + 0x1a8], 8
pop ecx
jb 0x403b89
mov eax, dword [ebx + 0x194]
jmp 0x403b8f
lea eax, [ebx + 0x194]
push eax
push 0x104
lea eax, [ebp + 0x94]
push eax
push 0x438b98
push str.Movie
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x94]
lea esi, [ebp + 0x78]
call fcn.0040109a
push 0x438bb0
call fcn.004065f8
neg al
sbb al, al
inc al
mov byte [ebx + 0x24], al
cmp dword [ebx + 0x1a8], 8
pop ecx
jb 0x403be4
mov eax, dword [ebx + 0x194]
jmp 0x403bea
lea eax, [ebx + 0x194]
push eax
push 0x104
lea eax, [ebp + 0x94]
push eax
push 0x438b98
push str.IEHome
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x94]
lea esi, [ebp + 0x78]
call fcn.0040109a
push 0x438bb0
call fcn.004065f8
neg al
sbb al, al
inc al
mov byte [ebx + 0x27], al
cmp dword [ebx + 0x1a8], 8
pop ecx
jb 0x403c3f
mov eax, dword [ebx + 0x194]
jmp 0x403c45
lea eax, [ebx + 0x194]
push eax
push 0x104
lea eax, [ebp + 0x94]
push eax
push 0x438b98
push str.AsDefault
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x94]
lea esi, [ebp + 0x78]
call fcn.0040109a
push 0x438bb0
call fcn.004065f8
neg al
sbb al, al
inc al
mov byte [ebx + 0x28], al
cmp dword [ebx + 0x1a8], 8
pop ecx
jb 0x403c9a
mov eax, dword [ebx + 0x194]
jmp 0x403ca0
lea eax, [ebx + 0x194]
push eax
push 0x104
lea eax, [ebp + 0x94]
push eax
push 0x438b98
push str.IEFav
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x94]
lea esi, [ebp + 0x78]
call fcn.0040109a
push 0x438bb0
call fcn.004065f8
neg al
sbb al, al
inc al
mov byte [ebx + 0x29], al
cmp dword [ebx + 0x1a8], 8
pop ecx
jb 0x403cf5
mov eax, dword [ebx + 0x194]
jmp 0x403cfb
lea eax, [ebx + 0x194]
push eax
push 0x104
lea eax, [ebp + 0x94]
push eax
push 0x438bb0
push str.PCMgr
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x94]
lea esi, [ebp + 0x78]
call fcn.0040109a
push 0x438bb0
call fcn.004065f8
mov byte [ebx + 0x2a], 0
cmp dword [ebx + 0x1a8], 8
pop ecx
jb 0x403d4b
mov eax, dword [ebx + 0x194]
jmp 0x403d51
lea eax, [ebx + 0x194]
push eax
push 0x104
lea eax, [ebp + 0x94]
push eax
push 0x438b98
push str.HideProgress
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x94]
lea esi, [ebp + 0x78]
call fcn.0040109a
push 0x438b98
call fcn.004065f8
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 - 0x20], eax
call edi
push 0x40d
push dword [esi]
mov dword [ebp - 0x28], eax
call edi
push 0x40b
push dword [esi]
mov dword [ebp - 0x30], eax
call edi
push 0x420
push dword [esi]
mov dword [ebp - 0x38], eax
call edi
push 0x40e
push dword [esi]
mov dword [ebp - 0x1c], eax
call edi
push 0x417
push dword [esi]
mov dword [ebp - 0x10], eax
call edi
push 0x418
push dword [esi]
mov dword [ebp - 0x14], eax
call edi
push 0x424
push dword [esi]
mov dword [ebp - 0x24], eax
call edi
push 0x41f
push dword [esi]
mov dword [ebp - 0x18], 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 - 0x20]
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 - 0x28]
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 - 0x30]
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 - 0x38]
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 - 0x1c]
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 - 0x14]
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 - 0x18]
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.00401680
mov byte [ebp - 4], 2
cmp dword [ebp + 0x70], 0
jne 0x403f4d
push 0x26
mov ecx, esi
call fcn.00402e87
cmp dword [ebp + 0x70], 0
pop ecx
je 0x403f73
mov edi, dword [ebp + 0x70]
dec edi
lea eax, [ebp + 0x5c]
call fcn.0040b36a
cmp word [eax], 0x5c
je 0x403f6d
push 0x438a58
lea eax, [ebp + 0x5c]
push eax
call fcn.00401053
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 0x403f89
lea ecx, [ebp + 0x60]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, ebx
call fcn.00404bfa
mov eax, ebx
call fcn.0040415a
push 0
push 1
lea esi, [ebp + 0x5c]
call fcn.00401108
push 0
push 1
lea esi, [ebp + 0x78]
call fcn.00401108
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.00417afe
add ebp, 0x2a4
leave
ret