Function at 0x40b8f0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a07ec
push eax
mov eax, 0x21c0
mov dword fs:[0], esp
call fcn.004999f0
push ebp
push esi
push edi
mov ebp, ecx
call fcn.0040b8d0
test eax, eax
je 0x40c06e
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x1cc]
push 0
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
lea ecx, [esp + 0x1d0]
push 0x1000
push ecx
push 0x4b9480
push eax
lea ecx, [esp + 0x20]
call fcn.0040c090
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x40b976
mov esi, dword [esp + 0x10]
test esi, esi
je 0x40b976
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40b976
mov edx, dword [esp + 0x1c]
cmp edx, 0x80
jg 0x40b97d
xor eax, eax
jmp 0x40c06e
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ecx
push edx
mov edx, dword [esp + 0x20]
push eax
push edx
push str.Logo
push esi
call ebx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0
je 0x40ba2d
test eax, eax
mov esi, eax
je 0x40ba2d
lea ecx, [esp + 0x30]
call fcn.00433a70
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x21dc], 0
call fcn.00433a90
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx - 8]
test eax, eax
je 0x40ba15
mov eax, dword [ebp + 4]
push ecx
push eax
lea eax, [esp + 0x1d8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x1d0]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
lea eax, [esp + 0x34]
push 0
push eax
add ecx, 0x28
call fcn.0040a800
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x40ba15
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x30]
mov dword [esp + 0x21d8], 0xffffffff
call fcn.0040c0e0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
push ecx
push eax
mov eax, dword [esp + 0x20]
push edx
push str.Title
push eax
call ebx
mov ecx, dword [esp + 0x1c]
mov ax, word [ecx]
neg ax
sbb eax, eax
and eax, ecx
mov ecx, dword [ebp + 0x1c]
push eax
add ecx, 0x7c
call fcn.00432f10
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push str.TopTitle
push edx
call ebx
mov eax, dword [esp + 0x1c]
mov edi, dword [ebp + 0x1c]
mov si, word [eax]
neg si
sbb esi, esi
add edi, 0x108
and esi, eax
test esi, esi
jne 0x40baa2
xor eax, eax
jmp 0x40baa9
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
mov ecx, edi
call fcn.00406cb0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push str.Company
push ecx
call ebx
mov eax, dword [esp + 0x1c]
mov edi, dword [ebp + 0x1c]
mov si, word [eax]
neg si
sbb esi, esi
add edi, 0x10c
and esi, eax
test esi, esi
jne 0x40baf1
xor eax, eax
jmp 0x40baf8
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
mov ecx, edi
call fcn.00406cb0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push str.LicenseURL
push eax
call ebx
mov eax, dword [esp + 0x1c]
mov edi, dword [ebp + 0x1c]
mov si, word [eax]
neg si
sbb esi, esi
add edi, 0x110
and esi, eax
test esi, esi
jne 0x40bb40
xor eax, eax
jmp 0x40bb47
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
mov ecx, edi
call fcn.00406cb0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push str.TitleBkColor
push edx
call ebx
mov eax, dword [esp + 0x1c]
mov si, word [eax]
neg si
sbb esi, esi
and esi, eax
mov eax, dword [0x4b7080]
test esi, esi
mov dword [esp + 0x28], eax
je 0x40bbd6
mov ecx, esi
shr ecx, 0x10
jne 0x40bba4
and esi, 0xffff
lea ecx, [esp + 0x28]
push esi
call fcn.004068b0
jmp 0x40bbd6
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x40bbd6
push edi
lea ecx, [esp + 0x2c]
call fcn.00406c50
test eax, eax
je 0x40bbd6
mov ecx, dword [esp + 0x28]
lea edx, [edi + edi]
push edx
lea eax, [edi + edi + 2]
push esi
push eax
push ecx
call fcn.00405800
add esp, 0x10
mov edx, dword [esp + 0x28]
mov dword [esp + 0x21d8], 1
mov eax, dword [edx - 8]
test eax, eax
je 0x40bc07
lea eax, [esp + 0x28]
push 0xffffff
push eax
call fcn.004321b0
mov ecx, dword [ebp + 0x1c]
add esp, 8
mov dword [ecx + 0x8c], eax
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push 0x3e8
push str.GermTime
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x17c], eax
mov eax, dword [ebp + 0x1c]
add eax, 0x17c
mov ecx, dword [eax]
cmp ecx, 0x2710
jle 0x40bc44
mov dword [eax], 0x2710
jmp 0x40bc4f
cmp ecx, 1
jge 0x40bc4f
mov dword [eax], 1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push str.Margin
push eax
call ebx
mov ecx, dword [esp + 0x1c]
mov ax, word [ecx]
neg ax
sbb eax, eax
and eax, ecx
mov ecx, dword [ebp + 0x1c]
push eax
add ecx, 0x90
call fcn.00433460
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push str.MainWindowSize
push edx
call ebx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0
je 0x40bd19
test eax, eax
je 0x40bd19
mov ecx, dword [ebp + 0x1c]
push eax
add ecx, 0x180
call fcn.004337b0
mov eax, dword [ebp + 0x1c]
add eax, 0x180
mov ecx, dword [eax]
cmp ecx, 0x400
jle 0x40bce3
mov dword [eax], 0x400
jmp 0x40bcf1
cmp ecx, 0x190
jge 0x40bcf1
mov dword [eax], 0x190
mov eax, dword [ebp + 0x1c]
add eax, 0x184
mov ecx, dword [eax]
cmp ecx, 0x300
jle 0x40bd0b
mov dword [eax], 0x300
jmp 0x40bd19
cmp ecx, 0x12c
jge 0x40bd19
mov dword [eax], 0x12c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push str.GameList
push ecx
call ebx
mov ecx, dword [esp + 0x1c]
mov ax, word [ecx]
neg ax
sbb eax, eax
and eax, ecx
mov ecx, dword [ebp + 0x1c]
push eax
add ecx, 0x188
call fcn.00417450
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push str.WizardPage
push eax
call ebx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0
je 0x40bdba
test eax, eax
je 0x40bdba
push eax
call fcn.00431e30
mov cx, word [0x4c71ec]
lea edx, [esp + 0x1d4]
push ecx
push 0x2c
push edx
mov esi, eax
call fcn.00431d20
add esp, 0x10
lea eax, [esp + 0x1d0]
mov ecx, ebp
push esi
push eax
call fcn.0040c1e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x24]
push eax
push str.PRLogo
push ecx
call ebx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0
je 0x40be5f
test eax, eax
mov esi, eax
je 0x40be5f
lea ecx, [esp + 0x38]
call fcn.00433a70
push esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x21dc], 2
call fcn.00433a90
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx - 8]
test eax, eax
je 0x40be4a
mov eax, dword [ebp + 4]
push ecx
lea edx, [esp + 0x1d4]
push eax
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x1d0]
push eax
push ecx
mov ecx, dword [ebp + 0x1c]
lea edx, [esp + 0x34]
push 0x1f4
push edx
add ecx, 0x28
call fcn.0040a800
lea ecx, [esp + 0x2c]
call fcn.004058a0
lea ecx, [esp + 0x38]
mov byte [esp + 0x21d8], 1
call fcn.0040c0e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x24]
push eax
push str.Caption
push ecx
call ebx
mov eax, dword [esp + 0x1c]
mov edi, dword [ebp + 0x1c]
mov si, word [eax]
neg si
sbb esi, esi
add edi, 0x118
and esi, eax
test esi, esi
jne 0x40be9a
xor eax, eax
jmp 0x40bea1
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
mov ecx, edi
call fcn.00406cb0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push str.CheckBoxName
push eax
call ebx
mov eax, dword [esp + 0x1c]
mov edi, dword [ebp + 0x1c]
mov si, word [eax]
neg si
sbb esi, esi
add edi, 0x11c
and esi, eax
test esi, esi
jne 0x40bee9
xor eax, eax
jmp 0x40bef0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
mov ecx, edi
call fcn.00406cb0
mov ecx, dword [0x4b7080]
mov dword [esp + 0x24], ecx
mov byte [esp + 0x21d8], 3
mov esi, 1
push esi
lea edx, [esp + 0x44]
push str.BoldDes_d
push edx
call dword [sym.imp.MSVCRT.dll_swprintf]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
add esp, 0xc
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x4c]
push eax
push ecx
push edx
call ebx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0
jne 0x40bf54
xor edi, edi
xor eax, eax
jmp 0x40bf61
test eax, eax
mov edi, eax
je 0x40bf61
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [esp + 0x2c]
call fcn.00406cb0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40bf98
mov ecx, dword [ebp + 0x1c]
lea edx, [esp + 0x24]
add ecx, 0x130
push edx
mov eax, dword [ecx + 8]
push eax
call fcn.0040f900
inc esi
cmp esi, 5
jl 0x40bf10
mov esi, 1
push esi
lea eax, [esp + 0x44]
push str.Descrip_d
push eax
call dword [sym.imp.MSVCRT.dll_swprintf]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add esp, 0xc
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x4c]
push ecx
push edx
push eax
call ebx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0
jne 0x40bfe1
xor edi, edi
xor eax, eax
jmp 0x40bfee
test eax, eax
mov edi, eax
je 0x40bfee
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [esp + 0x2c]
call fcn.00406cb0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40c029
mov ecx, dword [ebp + 0x1c]
lea edx, [esp + 0x24]
add ecx, 0x120
push edx
mov eax, dword [ecx + 8]
push eax
call fcn.0040f900
inc esi
cmp esi, 5
jl 0x40bf9d
mov eax, dword [esp + 0x24]
mov edx, dword [0x4b7084]
lea ecx, [eax - 0xc]
cmp ecx, edx
pop ebx
je 0x40c055
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40c055
mov edx, dword [esp + 0x20]
lea eax, [edx - 0xc]
push eax
call fcn.00437568
add esp, 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x21d4], 0xffffffff
call fcn.0040c0e0
mov eax, 1
mov ecx, dword [esp + 0x21cc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x21cc
ret