Function at 0x42f320
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4474cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x708
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x99]
mov byte [esp + 0x98], 0
mov byte [esp + 0x330], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf9
xor eax, eax
lea edi, [esp + 0x331]
mov byte [esp + 0x128], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x129]
mov byte [esp + 0x22c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x22d]
push 0x74
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00420d90
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov dword [esp + 0x720], 0
je 0x42f3f4
lea eax, [esp + 0x4f]
push 1
push eax
lea ecx, [esi + 4]
call fcn.00435590
lea ecx, [esp + 0x12]
push 1
push ecx
lea ecx, [esi + 0x2c]
mov byte [esp + 0x728], 1
call fcn.00435590
jmp 0x42f3f6
xor esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x98]
push str.BUTTONSUP
push edx
mov dword [esp + 0x728], 0xffffffff
call ebx
lea edi, [ebp + 8]
mov ecx, edi
call fcn.00404afe
mov edx, dword [esp + 0x728]
push eax
lea eax, [esp + 0x12c]
push 0x104
push eax
lea ecx, [esp + 0xa4]
push 0x458884
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x12]
push 1
lea ecx, [esp + 0x12c]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.00435770
test eax, eax
mov dword [esp + 0x720], 2
je 0x42f475
add eax, 4
jmp 0x42f477
xor eax, eax
mov edx, dword [0x4494e0]
lea ecx, [esi + 8]
push edx
push 0
push eax
call fcn.00402293
lea ecx, [esp + 0x20]
mov dword [esp + 0x720], 0xffffffff
call fcn.00401291
lea eax, [esp + 0x98]
push str.BUTTONSDOWN
push eax
call ebx
mov ecx, edi
call fcn.00404afe
push eax
mov eax, dword [esp + 0x72c]
lea ecx, [esp + 0x230]
push 0x104
push ecx
lea edx, [esp + 0xa4]
push 0x458884
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x12]
push 1
lea edx, [esp + 0x230]
push ecx
push edx
lea ecx, [esp + 0x2c]
call fcn.00435770
test eax, eax
mov dword [esp + 0x720], 3
je 0x42f508
add eax, 4
jmp 0x42f50a
xor eax, eax
mov ecx, dword [0x4494e0]
push ecx
push 0
push eax
lea ecx, [esi + 0x30]
call fcn.00402293
lea ecx, [esp + 0x20]
mov dword [esp + 0x720], 0xffffffff
call fcn.00401291
lea edx, [esp + 0x98]
or eax, 0xffffffff
push str.BUTTONSOPT
push edx
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], eax
call ebx
mov ecx, edi
call fcn.00404afe
mov edx, dword [esp + 0x728]
push eax
lea eax, [esp + 0x334]
push 0x3e8
push eax
lea ecx, [esp + 0xa4]
push 0x458884
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x60]
lea edx, [esp + 0x12]
push eax
lea eax, [esp + 0x334]
sub esp, 0x28
mov dword [esp + 0x8c], 2
mov ecx, esp
mov dword [esp + 0x48], esp
push 1
push edx
push eax
call fcn.00433c90
mov ecx, ebp
call fcn.00431f40
mov ecx, dword [esp + 0x60]
lea edx, [esp + 0x98]
push str.BUTTONSTRNSPRNTCLR
push edx
mov dword [esi + 0x68], ecx
call ebx
mov ecx, edi
call fcn.00404afe
mov edx, dword [esp + 0x728]
push eax
lea eax, [esp + 0x334]
push 0x3e8
push eax
lea ecx, [esp + 0xa4]
push 0x458884
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x5c]
lea edx, [esp + 0x12]
push eax
lea eax, [esp + 0x334]
sub esp, 0x28
mov dword [esp + 0x88], 0x808080
mov ecx, esp
mov dword [esp + 0x48], esp
push 1
push edx
push eax
call fcn.00433c90
mov ecx, ebp
call fcn.00431b90
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x98]
push str.BUTTONSTXTCLR
push edx
mov dword [esi + 0x5c], ecx
call ebx
mov ecx, edi
call fcn.00404afe
mov edx, dword [esp + 0x728]
push eax
lea eax, [esp + 0x334]
push 0x3e8
push eax
lea ecx, [esp + 0xa4]
push 0x458884
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x64]
push eax
lea edx, [esp + 0x16]
sub esp, 0x28
lea eax, [esp + 0x35c]
mov ecx, esp
mov dword [esp + 0x48], esp
push 1
push edx
push eax
call fcn.00433c90
mov ecx, ebp
call fcn.00431b90
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x98]
push str.BUTTONSDISTXTCLR
push edx
mov dword [esi + 0x60], ecx
call ebx
mov ecx, edi
call fcn.00404afe
mov edx, dword [esp + 0x728]
push eax
lea eax, [esp + 0x334]
push 0x3e8
push eax
lea ecx, [esp + 0xa4]
push 0x458884
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x58]
push eax
lea edx, [esp + 0x16]
sub esp, 0x28
lea eax, [esp + 0x35c]
mov ecx, esp
mov dword [esp + 0x48], esp
push 1
push edx
push eax
call fcn.00433c90
mov ecx, ebp
call fcn.00431b90
mov edx, dword [esi + 0x68]
mov ecx, dword [esp + 0x58]
push edx
lea eax, [esp + 0x334]
push 0x4585e8
push eax
mov dword [esi + 0x64], ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [0x449e80]
add esp, 0xc
mov dword [esp + 0x68], 0x449e7c
mov dword [esp + 0x88], 0x449e74
lea edi, [esp + ecx + 0x68]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
lea edx, [esp + 0x12]
mov dword [esp + 0x720], 4
push edx
lea ecx, [esp + 0x70]
call fcn.00435080
lea ecx, [esp + 0x7c]
mov byte [esp + 0x720], 5
call fcn.00435500
push 0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x724], 6
call fcn.00435540
lea eax, [esp + 0x68]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x720], 8
test ecx, ecx
je 0x42f7f3
lea edx, [esp + 0x128]
test edx, edx
je 0x42f7d8
lea edi, [esp + 0x128]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42f7da
xor ecx, ecx
lea eax, [esp + 0x4f]
push 1
push eax
push ecx
lea ecx, [esp + 0x134]
push ecx
lea ecx, [esp + 0x78]
call fcn.00434e90
mov edx, dword [esp + 0x68]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [edx + 4]
mov ecx, dword [esp + eax + 0x68]
lea eax, [esp + eax + 0x68]
push ecx
call ebx
mov edx, dword [0x449e80]
mov dword [esp + 0x720], 9
mov dword [esp + 0x20], 0x449e7c
mov dword [esp + 0x40], 0x449e74
lea edi, [esp + edx + 0x20]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
lea eax, [esp + 0x1b]
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0x724], 0xa
call fcn.00435080
lea ecx, [esp + 0x34]
mov byte [esp + 0x720], 0xb
call fcn.00435500
push 0
lea ecx, [esp + 0x44]
mov byte [esp + 0x724], 0xc
call fcn.00435540
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x20]
mov byte [esp + 0x720], 0xe
pop es
add byte [eax], al
push cs
test edx, edx
je 0x42f8c3
lea eax, [esp + 0x330]
test eax, eax
je 0x42f8a8
lea edi, [esp + 0x330]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42f8aa
xor ecx, ecx
lea edx, [esp + 0x13]
push 1
push edx
lea eax, [esp + 0x338]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00434e90
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 4]
lea eax, [esp + edx + 0x20]
mov eax, dword [esp + edx + 0x20]
push eax
call ebx
mov edx, dword [0x449d28]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
lea ecx, [esp + 0x24]
and eax, ecx
push edx
push 0
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x72c], 0xf
call fcn.00412441
lea eax, [esp + 0x20]
lea ecx, [esp + 0x40]
neg eax
sbb eax, eax
mov byte [esp + 0x720], 9
and eax, ecx
mov edx, dword [eax]
mov edi, dword [edx + 4]
add edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
lea edi, [esp + 0x20]
neg edi
sbb edi, edi
lea eax, [esp + 0x34]
and edi, eax
mov eax, dword [edi]
push eax
call fcn.0041fd63
mov ecx, dword [edi + 8]
add esp, 4
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x24]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
call fcn.00411124
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov edx, dword [esp + ecx + 0x20]
lea eax, [esp + ecx + 0x20]
push edx
call ebx
lea eax, [esp + 0x68]
lea edx, [esp + 0x54]
lea ecx, [ebp + 0x40]
push eax
push edx
mov dword [esp + 0x58], ecx
call fcn.00436c80
mov eax, dword [ebp + 0x44]
mov ecx, dword [esp + 0x54]
cmp ecx, eax
jne 0x42fc1e
push 0xc
call fcn.00420d90
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
mov byte [esp + 0x720], 0x10
je 0x42fa0c
push 0x30
call fcn.00420d90
mov edx, eax
mov ecx, 0xc
mov dword [edi], edx
xor eax, eax
mov edi, edx
push 0x48
rep stosd dword es:[edi], eax
call fcn.00420d90
mov edi, eax
mov eax, dword [esp + 0x24]
mov ecx, 0x12
push 0x18
mov dword [eax + 4], edi
xor eax, eax
rep stosd dword es:[edi], eax
call fcn.00420d90
add esp, 0xc
test eax, eax
je 0x42f9f6
mov ecx, eax
call fcn.0042f2f0
mov edi, eax
jmp 0x42f9f8
xor edi, edi
mov edx, dword [esp + 0x1c]
mov ecx, 6
xor eax, eax
mov dword [edx + 8], edi
rep stosd dword es:[edi], eax
mov eax, edx
jmp 0x42fa0e
xor eax, eax
push 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x724], 9
mov dword [esi + 0x6c], eax
mov dword [esp + 0x24], 0x4494ec
mov dword [esp + 0x44], 0x4494e4
call fcn.00435510
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x28], cl
lea ecx, [esp + 0x28]
mov byte [esp + 0x724], 0x11
call fcn.00411124
lea ecx, [esp + 0x34]
mov byte [esp + 0x720], 0x12
call fcn.00435500
push 0
lea ecx, [esp + 0x44]
mov byte [esp + 0x724], 0x13
call fcn.00435540
lea edx, [esp + 0x20]
mov dword [esp + 0x14], edx
lea eax, [esp + 0x20]
mov byte [esp + 0x720], 0x15
test eax, eax
je 0x42fac4
lea ecx, [esp + 0x128]
test ecx, ecx
je 0x42faa9
lea edi, [esp + 0x128]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x42faab
xor ecx, ecx
lea edx, [esp + 0x13]
push 1
push edx
lea eax, [esp + 0x130]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.004047f0
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 4]
lea eax, [esp + edx + 0x20]
mov eax, dword [esp + edx + 0x20]
push eax
call ebx
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x104]
mov byte [esp + 0x728], 0x16
mov dword [esp + 0x24], 0
call fcn.00436910
push eax
lea eax, [esp + 0x94]
push eax
lea ecx, [ebp + 0x30]
mov byte [esp + 0x728], 0x17
call fcn.004365e0
mov edi, dword [eax]
lea ecx, [esp + 0xfc]
mov byte [esp + 0x720], 0x16
call fcn.00401291
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x20]
lea edx, [esp + 0x40]
neg eax
sbb eax, eax
mov byte [esp + 0x720], 0x18
and eax, edx
mov ecx, dword [eax]
mov edi, dword [ecx + 4]
add edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
lea edi, [esp + 0x20]
neg edi
sbb edi, edi
lea edx, [esp + 0x34]
and edi, edx
mov eax, dword [edi]
push eax
call fcn.0041fd63
mov eax, dword [edi + 8]
add esp, 4
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x24]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx
call fcn.00411124
mov eax, dword [esp + 0x20]
mov byte [esp + 0x720], 9
mov ecx, dword [eax + 4]
mov edx, dword [esp + ecx + 0x20]
lea eax, [esp + ecx + 0x20]
push edx
call ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
lea eax, [esi + 4]
mov ecx, dword [esi + 0x6c]
push edx
push eax
lea eax, [esi + 0x68]
push eax
lea eax, [esi + 0x5c]
push eax
call fcn.0042d880
mov dword [esp + 0x14], 0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x68]
push eax
push ecx
lea ecx, [esp + 0x104]
call fcn.00436d80
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x90]
push eax
push edx
mov byte [esp + 0x728], 0x19
call fcn.004369c0
mov edi, dword [eax]
lea ecx, [esp + 0xfc]
mov byte [esp + 0x720], 9
call fcn.0040a2af
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x34], eax
jmp 0x42fc24
mov ecx, dword [ecx + 0x34]
mov dword [esi + 0x6c], ecx
mov edx, dword [esi + 0x68]
lea eax, [esp + 0x330]
push edx
push 0x4585e8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor edi, edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0x449e7c
push edi
mov dword [esp + 0x44], 0x449e74
call fcn.00435510
lea ecx, [esp + 0x13]
mov byte [esp + 0x720], 0x1a
push ecx
lea ecx, [esp + 0x28]
call fcn.00435080
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
push edi
lea ecx, [esp + 0x44]
mov byte [esp + 0x724], 0x1c
call fcn.00435540
lea edx, [esp + 0x20]
mov dword [esp + 0x14], edx
lea eax, [esp + 0x20]
mov byte [esp + 0x720], 0x1e
test eax, eax
je 0x42fce1
lea ecx, [esp + 0x22c]
test ecx, ecx
je 0x42fcc6
lea edi, [esp + 0x22c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor edi, edi
jmp 0x42fcc8
xor ecx, ecx
lea edx, [esp + 0x1b]
push 1
push edx
lea eax, [esp + 0x234]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00434e90
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 4]
lea eax, [esp + edx + 0x20]
mov eax, dword [esp + edx + 0x20]
push eax
call ebx
mov edx, dword [0x449d28]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
lea ecx, [esp + 0x24]
and eax, ecx
push edx
push edi
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x72c], 0x1f
call fcn.00411c77
lea eax, [esp + 0x20]
lea ecx, [esp + 0x40]
neg eax
sbb eax, eax
mov byte [esp + 0x720], 9
and eax, ecx
mov edx, dword [eax]
mov edi, dword [edx + 4]
add edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x20]
mov dword [edi], eax
neg ecx
sbb ecx, ecx
lea eax, [esp + 0x34]
and ecx, eax
call fcn.004047c8
lea ecx, [esp + 0x20]
lea edx, [esp + 0x24]
neg ecx
sbb ecx, ecx
push 1
and ecx, edx