Function at 0x40a8c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44c2d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x410
mov eax, dword [0x464834]
push ebx
push esi
mov dword [esp + 0x410], eax
mov eax, dword [ebp + 8]
push edi
mov esi, ecx
push eax
lea ecx, [esp + 0x18]
xor ebx, ebx
push ecx
mov dword [esp + 0x18], ebx
call fcn.0040f9f0
add esp, 8
mov edx, dword [ebp + 8]
push edx
xor eax, eax
push 0x3e8
mov ecx, 0xfa
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov ecx, dword [str.Buttons]
lea eax, [esp + 0x30]
push eax
push 0x4559f0
push str.Bitmap
push ecx
mov dword [esp + 0x43c], ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0x28]
test al, al
je 0x40a9d4
push 1
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.0040faa0
mov edi, eax
push 0x44f85c
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x43c], 1
mov dword [esp + 0x28], 1
call fcn.0040a800
push edi
push eax
lea eax, [esp + 0x38]
mov ebx, 3
push eax
mov dword [esp + 0x448], 2
mov dword [esp + 0x34], ebx
call fcn.0040a750
add esp, 0x24
mov edi, dword [eax]
mov dword [esp + 0x424], ebx
mov ebx, 7
mov ecx, esi
mov dword [esp + 0x10], ebx
call fcn.0043987f
push 0
push edi
mov ecx, esi
call fcn.00403bf0
test eax, eax
mov byte [esp + 0xf], 0
jne 0x40a9d9
mov byte [esp + 0xf], 1
test bl, 4
mov dword [esp + 0x424], 2
je 0x40aa0e
mov eax, dword [esp + 0x18]
and ebx, 0xfffffffb
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aa0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, 2
mov dword [esp + 0x424], 1
je 0x40aa43
mov eax, dword [esp + 0x20]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aa43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, 1
mov dword [esp + 0x424], 0
je 0x40aa74
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
and ebx, 0xfffffffe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aa74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [esp + 0xf]
test al, al
jne 0x40ad7b
mov edx, dword [str.Buttons]
xor eax, eax
mov ecx, 0xfa
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
push eax
push 0x3e8
lea ecx, [esp + 0x30]
push ecx
push 0x4559f0
push str.RadioButton
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0x28]
test al, al
je 0x40ab4e
push 1
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.0040faa0
mov edi, eax
push 0x44f85c
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
or ebx, 8
push eax
mov byte [esp + 0x43c], 4
mov dword [esp + 0x28], ebx
call fcn.0040a800
push edi
push eax
lea ecx, [esp + 0x40]
or ebx, 0x10
push ecx
mov dword [esp + 0x448], 5
mov dword [esp + 0x34], ebx
call fcn.0040a750
add esp, 0x24
mov edx, dword [eax]
lea edi, [esi + 8]
or ebx, 0x20
mov ecx, edi
mov dword [esp + 0x424], 6
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], edx
call fcn.0043987f
mov eax, dword [esp + 0x1c]
push 0
push eax
mov ecx, edi
call fcn.00403bf0
test eax, eax
mov byte [esp + 0xf], 0
jne 0x40ab53
mov byte [esp + 0xf], 1
test bl, 0x20
mov dword [esp + 0x424], 5
je 0x40ab88
mov eax, dword [esp + 0x20]
and ebx, 0xffffffdf
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ab88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, 0x10
mov dword [esp + 0x424], 4
je 0x40abbd
mov eax, dword [esp + 0x18]
and ebx, 0xffffffef
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40abbd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, 8
mov dword [esp + 0x424], 0
je 0x40abee
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
and ebx, 0xfffffff7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40abee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [esp + 0xf]
test al, al
jne 0x40ad7b
xor eax, eax
mov ecx, 0xfa
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
mov ecx, dword [str.Buttons]
push edi
push 0x3e8
lea eax, [esp + 0x30]
push eax
push 0x4559f0
push str.CheckButton
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0x28]
test al, al
je 0x40acd1
push 1
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.0040faa0
mov edi, eax
push 0x44f85c
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x34]
or ebx, 0x40
push edx
mov byte [esp + 0x43c], 7
mov dword [esp + 0x28], ebx
call fcn.0040a800
push edi
push eax
lea eax, [esp + 0x3c]
or ebx, 0x80
push eax
mov dword [esp + 0x448], 8
mov dword [esp + 0x34], ebx
call fcn.0040a750
add esp, 0x24
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
lea edi, [esi + 0x10]
or ebx, 0x100
mov ecx, edi
mov dword [esp + 0x424], 9
mov dword [esp + 0x10], ebx
call fcn.0043987f
mov edx, dword [esp + 0x24]
push 0
push edx
mov ecx, edi
call fcn.00403bf0
test eax, eax
mov edi, dword [ebp + 8]
mov byte [esp + 0xf], 0
jne 0x40acd6
mov byte [esp + 0xf], 1
test bh, 1
mov dword [esp + 0x424], 8
je 0x40ad0e
mov eax, dword [esp + 0x1c]
and ebx, 0xfffffeff
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ad0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
mov dword [esp + 0x424], 7
jns 0x40ad45
mov eax, dword [esp + 0x20]
and ebx, 0xffffff7f
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ad45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, 0x40
mov dword [esp + 0x424], 0
je 0x40ad73
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ad73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [esp + 0xf]
test al, al
je 0x40adab
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x424], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ada4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x40ae48
mov eax, dword [str.Buttons]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edi
push 0
push str.TopHeight
push eax
call ebx
mov ecx, dword [str.Buttons]
push edi
push 0
push str.BottomHeight
push ecx
mov dword [esi + 0x18], eax
call ebx
mov edx, dword [str.Buttons]
push edi
push 0
push str.LeftWidth
push edx
mov dword [esi + 0x24], eax
call ebx
push edi
push 0
mov dword [esi + 0x1c], eax
mov eax, dword [str.Buttons]
push str.RightWidth
push eax
call ebx
mov ecx, dword [str.Buttons]
push edi
push 0
push str.Trans
push ecx
mov dword [esi + 0x20], eax
call ebx
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esi + 0x30], 1
mov dword [esp + 0x424], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ae43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x41c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x414]
call fcn.0041cfab
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4