Function at 0x40b46f
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x421bc0
call fcn.004175a4
sub esp, 0x150
push ebx
push esi
push edi
mov dword [ebp - 0x28], ecx
call fcn.00401046
mov esi, eax
xor ebx, ebx
cmp byte [esi + 0x2d0d], bl
lea eax, [esi + 0x2d0d]
mov dword [ebp - 0x10], eax
je 0x40b736
cmp dword [0x42ea60], ebx
jne 0x40b4fa
push 0x1f
xor eax, eax
pop ecx
lea edi, [ebp - 0x15b]
mov byte [ebp - 0x15c], bl
push 0x42db88
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x15c]
push 0x80
push eax
push 0x42bab0
push str.UseDotNetUI
push dword [0x4235b8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x15c], 0x59
je 0x40b505
cmp byte [ebp - 0x15c], 0x79
je 0x40b505
mov eax, dword [ebp + 8]
mov dword [eax], 1
jmp 0x40b50a
mov eax, dword [ebp + 8]
mov dword [eax], ebx
cmp byte [esi + 0x2e11], bl
je 0x40b604
push dword [0x42e1a4]
mov ecx, dword [ebp - 0x28]
call fcn.0040be95
mov ecx, eax
mov eax, dword [ebp + 0xc]
lea edi, [ebp - 0x3b]
mov byte [ebp - 0x3c], bl
mov dword [eax], ecx
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
push ecx
lea eax, [ebp - 0x3c]
push 0x427ae0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp + 0xb]
lea ecx, [ebp - 0x8c]
push 1
pop esi
push esi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0040c0e8
lea eax, [ebp - 0x8c]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.0040b76c
pop ecx
pop ecx
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 2
call fcn.00407cce
cmp dword [ebp - 0xa8], ebx
ja 0x40b5a5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.00407cce
mov eax, esi
jmp 0x40b738
mov eax, dword [ebp - 0xac]
mov dword [ebp + 0xc], 0x423620
cmp eax, ebx
je 0x40b5b9
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], ebx
je 0x40b5ee
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and al, 0xfc
call fcn.004176a0
mov edi, esp
push ebx
push ebx
push esi
push edi
push 0xffffffffffffffff
push dword [ebp + 0xc]
mov byte [edi], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, edi
push ebx
push dword [ebp - 0x10]
call fcn.00412252
pop ecx
pop ecx
xor ecx, ecx
test eax, eax
setl cl
mov esi, ecx
jmp 0x40b58f
mov al, byte [ebp + 0xb]
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
mov al, byte [ebp + 0xb]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x23], al
mov byte [ebp - 0x1c], bl
call fcn.0040d2a1
lea eax, [ebp + 0xb]
push 1
push eax
lea ecx, [ebp - 0x64]
push dword [ebp + 0x10]
mov dword [ebp - 4], 3
call fcn.0040c0e8
xor esi, esi
xor edi, edi
cmp dword [ebp - 0x58], ebx
mov byte [ebp - 4], 4
jbe 0x40b6aa
push edi
lea ecx, [ebp - 0x64]
call fcn.0040e1e3
cmp word [eax], 0x2c
mov ecx, dword [ebp - 0x58]
je 0x40b65f
lea eax, [ecx - 1]
cmp eax, edi
jne 0x40b6a5
mov eax, edi
sub eax, esi
dec ecx
cmp ecx, edi
jne 0x40b669
inc eax
push eax
lea eax, [ebp - 0x8c]
push esi
push eax
lea ecx, [ebp - 0x64]
call fcn.0040c16a
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.0040c2df
mov ecx, eax
xor eax, eax
mov byte [ebp - 4], 4
mov dword [ecx], ebx
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x8c]
call fcn.00407cce
mov ecx, dword [ebp - 0x58]
lea esi, [edi + 1]
inc edi
cmp edi, ecx
jb 0x40b646
push 1
lea eax, [ebp + 0xf]
pop esi
lea ecx, [ebp - 0xdc]
push esi
push eax
push dword [ebp - 0x10]
call fcn.0040c0e8
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
push ecx
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.0040bc29
add esp, 0xc
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 4
call fcn.00407cce
cmp dword [ebp - 0x30], esi
jb 0x40b74f
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [ebp - 0x14], eax
je 0x40b71e
cmp dword [eax + 0x34], esi
jae 0x40b70e
add eax, 0xc
push str.1033
push eax
call fcn.0040e210
pop ecx
test al, al
pop ecx
je 0x40b74f
lea ecx, [ebp - 0x14]
call fcn.0040cc4d
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
jne 0x40b6f5
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.00407cce
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0040c34a
xor eax, eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x168]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.00407cce
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0040c34a
jmp 0x40b59e