Function at 0x40b3ec
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x421be0
call fcn.004175e4
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 0x40b6b3
cmp dword [0x42ea80], ebx
jne 0x40b477
push 0x1f
xor eax, eax
pop ecx
lea edi, [ebp - 0x15b]
mov byte [ebp - 0x15c], bl
push 0x42dba8
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 0x42bad0
push str.UseDotNetUI
push dword [0x4235b8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x15c], 0x59
je 0x40b482
cmp byte [ebp - 0x15c], 0x79
je 0x40b482
mov eax, dword [ebp + 8]
mov dword [eax], 1
jmp 0x40b487
mov eax, dword [ebp + 8]
mov dword [eax], ebx
cmp byte [esi + 0x2e11], bl
je 0x40b581
push dword [0x42e1c4]
mov ecx, dword [ebp - 0x28]
call fcn.0040beb0
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 0x427af8
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.0040c103
lea eax, [ebp - 0x8c]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.0040b6e9
pop ecx
pop ecx
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 2
call fcn.00407d33
cmp dword [ebp - 0xa8], ebx
ja 0x40b522
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.00407d33
mov eax, esi
jmp 0x40b6b5
mov eax, dword [ebp - 0xac]
mov dword [ebp + 0xc], 0x423620
cmp eax, ebx
je 0x40b536
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], ebx
je 0x40b56b
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.004176e0
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.00412294
pop ecx
pop ecx
xor ecx, ecx
test eax, eax
setl cl
mov esi, ecx
jmp 0x40b50c
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.0040d2bc
lea eax, [ebp + 0xb]
push 1
push eax
lea ecx, [ebp - 0x64]
push dword [ebp + 0x10]
mov dword [ebp - 4], 3
call fcn.0040c103
xor esi, esi
xor edi, edi
cmp dword [ebp - 0x58], ebx
mov byte [ebp - 4], 4
jbe 0x40b627
push edi
lea ecx, [ebp - 0x64]
call fcn.0040e204
cmp word [eax], 0x2c
mov ecx, dword [ebp - 0x58]
je 0x40b5dc
lea eax, [ecx - 1]
cmp eax, edi
jne 0x40b622
mov eax, edi
sub eax, esi
dec ecx
cmp ecx, edi
jne 0x40b5e6
inc eax
push eax
lea eax, [ebp - 0x8c]
push esi
push eax
lea ecx, [ebp - 0x64]
call fcn.0040c185
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.0040c2fa
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.00407d33
mov ecx, dword [ebp - 0x58]
lea esi, [edi + 1]
inc edi
cmp edi, ecx
jb 0x40b5c3
push 1
lea eax, [ebp + 0xf]
pop esi
lea ecx, [ebp - 0xdc]
push esi
push eax
push dword [ebp - 0x10]
call fcn.0040c103
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
push ecx
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.0040bba6
add esp, 0xc
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 4
call fcn.00407d33
cmp dword [ebp - 0x30], esi
jb 0x40b6cc
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [ebp - 0x14], eax
je 0x40b69b
cmp dword [eax + 0x34], esi
jae 0x40b68b
add eax, 0xc
push str.1033
push eax
call fcn.0040e231
pop ecx
test al, al
pop ecx
je 0x40b6cc
lea ecx, [ebp - 0x14]
call fcn.0040cc68
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
jne 0x40b672
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.00407d33
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0040c365
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.00407d33
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0040c365
jmp 0x40b51b