Function at 0x10005720
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 0x1003c39c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x170
mov eax, dword [0x10051040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x150], ecx
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0x14c]
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x13c], 0
push str.ChatTimestamps
movups xmmword [ebp - 0x14c], xmm0
mov dword [ebp - 0x138], 0
call fcn.10003120
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x134]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x124], 0
push 0x10046bc0
movups xmmword [ebp - 0x134], xmm0
mov dword [ebp - 0x120], 0
call fcn.10003120
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x100057db
mov edx, dword [esi]
cmp dword [ebp - 0x138], 0xf
lea ecx, [ebp - 0x14c]
push edx
cmova ecx, dword [ebp - 0x14c]
lea edx, [ebp - 0x118]
cmp dword [ebp - 0x120], 0xf
lea eax, [ebp - 0x134]
push pe_nt_image_headers32
cmova eax, dword [ebp - 0x134]
push edx
push 0x10046b41
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x120]
mov edi, eax
cmp ecx, 0xf
jbe 0x10005859
mov edx, dword [ebp - 0x134]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000584f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005b08
push ecx
push edx
call fcn.1001aa97
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
cmp ecx, 0xf
jbe 0x100058b5
mov edx, dword [ebp - 0x14c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100058ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005b08
push ecx
push edx
call fcn.1001aa97
add esp, 8
test edi, edi
jne 0x100059d5
push 0xe
xorps xmm0, xmm0
mov byte [ebp - 0x119], 0
push str.ChatTimestamps
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x13c], edi
movups xmmword [ebp - 0x14c], xmm0
mov dword [ebp - 0x138], edi
call fcn.10003120
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x134]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x124], edi
push 0x10046bc0
movups xmmword [ebp - 0x134], xmm0
mov dword [ebp - 0x120], edi
call fcn.10003120
lea eax, [ebp - 0x119]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x14c]
mov ecx, esi
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.100090d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x120]
cmp ecx, 0xf
jbe 0x10005979
mov edx, dword [ebp - 0x134]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000596f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005b0d
push ecx
push edx
call fcn.1001aa97
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
cmp ecx, 0xf
jbe 0x100059d5
mov edx, dword [ebp - 0x14c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100059cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005b0d
push ecx
push edx
call fcn.1001aa97
add esp, 8
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x170], 0
push str.ChatTimestamps
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x16c], 0
movups xmmword [ebp - 0x180], xmm0
call fcn.10003120
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x168]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x158], 0
push 0x10046bc0
movups xmmword [ebp - 0x168], xmm0
mov dword [ebp - 0x154], 0
call fcn.10003120
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x168]
mov ecx, esi
push eax
call fcn.100091e0
mov ecx, dword [ebp - 0x150]
mov byte [ecx], al
mov ecx, dword [ebp - 0x154]
cmp ecx, 0xf
jbe 0x10005a97
mov edx, dword [ebp - 0x168]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005a8d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005b12
push ecx
push edx
call fcn.1001aa97
add esp, 8
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0xf
mov byte [ebp - 0x168], 0
cmp ecx, 0xf
jbe 0x10005ae8
mov edx, dword [ebp - 0x180]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005ade
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005b12
push ecx
push edx
call fcn.1001aa97
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001aa54
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.1001f989
call fcn.1001f989
call fcn.1001f989
int3