Function at 0x40b559
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x42295c
call fcn.00418354
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 0x40b82b
cmp dword [0x430b30], ebx
jne 0x40b5e4
push 0x1f
xor eax, eax
pop ecx
lea edi, [ebp - 0x15b]
mov byte [ebp - 0x15c], bl
push 0x42fc58
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 0x42db80
push str.UseDotNetUI
push dword [0x4245cc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x15c], 0x59
je 0x40b5ef
cmp byte [ebp - 0x15c], 0x79
je 0x40b5ef
mov eax, dword [ebp + 8]
mov dword [eax], 1
jmp 0x40b5f4
mov eax, dword [ebp + 8]
mov dword [eax], ebx
cmp byte [esi + 0x2e11], bl
je 0x40b6ee
push dword [0x430274]
mov ecx, dword [ebp - 0x28]
call fcn.0040c1da
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 0x429af8
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.0040c41e
lea eax, [ebp - 0x8c]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.0040b861
pop ecx
pop ecx
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 2
call fcn.00407e99
cmp dword [ebp - 0xa8], ebx
ja 0x40b68f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.00407e99
mov eax, esi
jmp 0x40b82d
mov eax, dword [ebp - 0xac]
mov dword [ebp + 0xc], 0x424634
cmp eax, ebx
je 0x40b6a3
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], ebx
je 0x40b6d8
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.00418450
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.004127d8
pop ecx
pop ecx
xor ecx, ecx
test eax, eax
setl cl
mov esi, ecx
jmp 0x40b679
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.0040d603
lea eax, [ebp + 0xb]
push 1
push eax
lea ecx, [ebp - 0x64]
push dword [ebp + 0x10]
mov dword [ebp - 4], 3
call fcn.0040c41e
xor esi, esi
xor edi, edi
cmp dword [ebp - 0x58], ebx
mov byte [ebp - 4], 4
jbe 0x40b794
push edi
lea ecx, [ebp - 0x64]
call fcn.0040e5fd
cmp word [eax], 0x2c
mov ecx, dword [ebp - 0x58]
je 0x40b749
lea eax, [ecx - 1]
cmp eax, edi
jne 0x40b78f
mov eax, edi
sub eax, esi
dec ecx
cmp ecx, edi
jne 0x40b753
inc eax
push eax
lea eax, [ebp - 0x8c]
push esi
push eax
lea ecx, [ebp - 0x64]
call fcn.0040c4a0
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.0040c615
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.00407e99
mov ecx, dword [ebp - 0x58]
lea esi, [edi + 1]
inc edi
cmp edi, ecx
jb 0x40b730
push 1
lea eax, [ebp + 0xf]
pop esi
lea ecx, [ebp - 0xdc]
push esi
push eax
push dword [ebp - 0x10]
call fcn.0040c41e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
push ecx
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.0040bd1e
add esp, 0xc
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 4
call fcn.00407e99
cmp dword [ebp - 0x30], esi
jb 0x40b844
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [ebp - 0x14], eax
je 0x40b813
cmp dword [eax + 0x34], esi
jae 0x40b803
add eax, 0xc
push str.1033
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040e09c
pop ecx
test al, al
pop ecx
je 0x40b844
lea ecx, [ebp - 0x14]
call fcn.0040cfae
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
jne 0x40b7df
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.00407e99
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0040c680
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.00407e99
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0040c680
jmp 0x40b688