Function at 0x405a10
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48595d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x450
push esi
push edi
lea eax, [ebp - 0x58]
mov edi, ecx
push eax
call fcn.004422b0
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
call fcn.00444460
add esp, 0xc
push str.acquire.ini
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00408190
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x405ae2
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405ad8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c8c
push edx
push ecx
call fcn.00460334
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x405b32
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405b28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c8c
push edx
push ecx
call fcn.00460334
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor eax, eax
cmp dword [ebp - 0x14], 0x10
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x400
lea eax, [ebp - 0x460]
mov dword [ebp - 0x48], 0
push eax
push str.127.0.0.1
push str.mysqlserver
push str.settings
mov dword [ebp - 0x44], 7
call esi
lea ecx, [ebp - 0x460]
lea edx, [ecx + 1]
mov byte [ebp + eax - 0x460], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405b86
sub ecx, edx
lea eax, [ebp - 0x460]
push ecx
push eax
mov ecx, edi
call fcn.00408980
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x400
lea eax, [ebp - 0x460]
push eax
push str.root
push str.mysqluser
push str.settings
call esi
lea ecx, [ebp - 0x460]
lea edx, [ecx + 1]
mov byte [ebp + eax - 0x460], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405bd8
sub ecx, edx
lea eax, [ebp - 0x460]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.00408980
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x400
lea eax, [ebp - 0x460]
push eax
push 0x49abeb
push str.mysqlpass
push str.settings
call esi
lea ecx, [ebp - 0x460]
lea edx, [ecx + 1]
mov byte [ebp + eax - 0x460], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405c30
sub ecx, edx
lea eax, [ebp - 0x460]
push ecx
push eax
lea ecx, [edi + 0x30]
call fcn.00408980
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x405c79
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405c6f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405c91
push edx
push ecx
call fcn.00460334
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00465850
call fcn.00465850
int3