Function at 0x407a30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435a28
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x445010]
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, ecx
mov dword [ebp - 0x2c], eax
cmp byte [eax + 0x28], 0
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x40], 0
je 0x407b47
cmp dword [ebx + 0x14], 0x10
jb 0x407a82
mov ebx, dword [ebx]
cmp dword [esi + 0x14], 0x10
jb 0x407a8a
mov esi, dword [esi]
mov eax, dword [eax + 0x24]
test esi, esi
je 0x407afc
test ebx, ebx
je 0x407afc
mov dword [ebp - 0x38], esi
lea esi, [eax + 0xc]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x2c], 0
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
push eax
mov ecx, esi
mov dword [ebp - 0x30], 0
call fcn.004079c0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [esi]
je 0x407afc
lea esi, [eax + 0x1c]
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], ebx
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
push eax
mov ecx, esi
mov dword [ebp - 0x30], 0
call fcn.004079c0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [esi]
je 0x407afc
mov edx, dword [eax + 0x1c]
jmp 0x407b01
mov edx, 0x4380e8
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp byte [edx], 0
jne 0x407b27
xor ecx, ecx
push ecx
push edx
mov ecx, edi
call fcn.00402130
jmp 0x407c2d
mov ecx, edx
lea esi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407b30
sub ecx, esi
push ecx
push edx
mov ecx, edi
call fcn.00402130
jmp 0x407c2d
mov ecx, dword [eax + 0x18]
lea edx, [eax + 0x18]
mov dword [ebp - 0x3c], edx
test ecx, ecx
jne 0x407b65
push 0x4380e8
mov ecx, edi
call fcn.00401c50
jmp 0x407c2d
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0
test ecx, ecx
jne 0x407b8b
mov dword [ebp - 0x18], ecx
mov byte [ebp + ecx - 0x28], cl
jmp 0x407b9c
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.00402c30
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x3c]
cmp dword [eax + 0x14], 0x10
jb 0x407ba4
mov eax, dword [eax]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebx + 0x14], 0x10
jb 0x407bb7
mov ebx, dword [ebx]
cmp dword [esi + 0x14], 0x10
jb 0x407bbf
mov esi, dword [esi]
push eax
push dword [edx]
push ecx
push 0x4380e8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
cmp edx, 0x10
cmovae ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407be2
mov eax, dword [ebp - 0x18]
sub ecx, ebx
cmp ecx, eax
ja 0x407c04
cmp edx, 0x10
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x28]
cmovae eax, esi
mov byte [eax + ecx], 0
jmp 0x407c11
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.00402c30
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00401cb0
cmp dword [ebp - 0x14], 0x10
jb 0x407c2d
push dword [ebp - 0x28]
call fcn.00408433
add esp, 4
mov eax, edi
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.00407c4d
mov esp, ebp
pop ebp
ret 0xc