Function at 0x440840
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x594187
mov eax, dword fs:[0]
push eax
mov eax, 0x20a0
call fcn.00558cc0
mov eax, dword [0x611e60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x209c], eax
xor eax, eax
push 0x1ffe
push eax
mov word [ebp - 0x2010], ax
lea eax, [ebp - 0x200e]
push eax
call fcn.00558cf0
add esp, 0xc
lea eax, [ebp - 0x2010]
push esi
push 0x1000
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
lea esi, [ebp - 0x2010]
mov ebx, esi
mov dword [ebp - 0x2094], esi
lea ecx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x4408c4
sub ebx, ecx
sar ebx, 1
je 0x440c4d
lea esp, [esp]
xor eax, eax
mov dword [ebp - 0x2074], 7
mov dword [ebp - 0x2078], 0
mov word [ebp - 0x2088], ax
cmp word [esi], ax
jne 0x440906
xor ecx, ecx
jmp 0x44091f
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x440910
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440910
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2088]
call fcn.00422430
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x2014], 7
mov dword [ebp - 0x2018], 0
mov word [ebp - 0x2028], ax
mov dword [ebp - 0x202c], 7
mov dword [ebp - 0x2030], eax
mov word [ebp - 0x2040], ax
push 1
push 0x59e694
lea ecx, [ebp - 0x2058]
mov byte [ebp - 4], 2
mov dword [ebp - 0x2044], 7
mov dword [ebp - 0x2048], eax
mov word [ebp - 0x2058], ax
call fcn.00422430
lea eax, [ebp - 0x2040]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x2028]
push eax
lea eax, [ebp - 0x2058]
push eax
lea eax, [ebp - 0x2088]
push eax
call fcn.00441da0
add esp, 0x10
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2044], 8
jb 0x4409d7
push dword [ebp - 0x2058]
call fcn.00556a60
add esp, 4
mov edi, dword [ebp - 0x209c]
lea eax, [ebp - 0x2028]
push eax
lea eax, [ebp - 0x20a4]
mov ecx, edi
push eax
call fcn.00441bf0
push dword [ebp - 0x2098]
lea eax, [ebp - 0x208c]
mov dword [ebp - 0x208c], 0
push eax
push dword [ebp - 0x20a0]
push dword [ebp - 0x20a4]
call fcn.00440390
add esp, 0x10
cmp dword [ebp - 0x208c], 0
jne 0x440abc
lea eax, [ebp - 0x2040]
push eax
lea eax, [ebp - 0x2028]
push eax
lea eax, [ebp - 0x2070]
push eax
call fcn.00440400
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00440350
push eax
add eax, 0x10
mov ecx, edi
push eax
push 0
lea eax, [ebp - 0x20ac]
push eax
call fcn.0043ddd0
cmp dword [ebp - 0x2044], 8
jb 0x440a7f
push dword [ebp - 0x2058]
call fcn.00556a60
add esp, 4
xor eax, eax
mov dword [ebp - 0x2044], 7
cmp dword [ebp - 0x205c], 8
mov dword [ebp - 0x2048], 0
mov word [ebp - 0x2058], ax
jb 0x440b99
push dword [ebp - 0x2070]
call fcn.00556a60
add esp, 4
jmp 0x440b99
mov esi, dword [edi]
mov edi, dword [esi + 4]
cmp byte [edi + 0xd], 0
jne 0x440b0b
jmp 0x440ad0
cmp dword [ebp - 0x2014], 8
lea eax, [ebp - 0x2028]
push dword [ebp - 0x2018]
cmovae eax, dword [ebp - 0x2028]
lea ecx, [edi + 0x10]
push eax
push dword [ecx + 0x10]
push 0
call fcn.00421e70
test eax, eax
jns 0x440b01
mov edi, dword [edi + 8]
jmp 0x440b05
mov esi, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
je 0x440ad0
mov edi, dword [ebp - 0x209c]
cmp esi, dword [edi]
je 0x440b3c
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x440b23
mov eax, dword [eax]
push ecx
push eax
push dword [ebp - 0x2018]
lea ecx, [ebp - 0x2028]
push 0
call fcn.00421e70
test eax, eax
jns 0x440b7c
lea eax, [ebp - 0x2028]
mov ecx, edi
mov dword [ebp - 0x208c], eax
lea eax, [ebp - 0x208d]
push eax
lea eax, [ebp - 0x208c]
push eax
push 0x6177b7
call fcn.0043d7d0
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x2098]
push eax
call fcn.0043dbe0
mov esi, dword [ebp - 0x2098]
lea ecx, [esi + 0x28]
lea eax, [ebp - 0x2040]
cmp ecx, eax
je 0x440b93
push 0xffffffffffffffff
push 0
push eax
call fcn.004220c0
mov esi, dword [ebp - 0x2094]
lea esi, [esi + ebx*2]
add esi, 2
mov ebx, esi
mov dword [ebp - 0x2094], esi
lea ecx, [ebx + 2]
lea ebx, [ebx]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x440bb0
sub ebx, ecx
sar ebx, 1
cmp dword [ebp - 0x202c], 8
jb 0x440bd6
push dword [ebp - 0x2040]
call fcn.00556a60
add esp, 4
xor eax, eax
mov dword [ebp - 0x202c], 7
cmp dword [ebp - 0x2014], 8
mov dword [ebp - 0x2030], 0
mov word [ebp - 0x2040], ax
jb 0x440c0a
push dword [ebp - 0x2028]
call fcn.00556a60
add esp, 4
xor eax, eax
mov dword [ebp - 0x2014], 7
cmp dword [ebp - 0x2074], 8
mov dword [ebp - 0x2018], 0
mov word [ebp - 0x2028], ax
mov dword [ebp - 4], 0xffffffff
jb 0x440c45
push dword [ebp - 0x2088]
call fcn.00556a60
add esp, 4
test ebx, ebx
jne 0x4408e0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005571f4
mov esp, ebp
pop ebp
ret