Function at 0x457660
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa530
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x4d1480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x38]
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.00482730
add esp, 0xc
cmp dword [esi + 0x14], 7
jbe 0x4576b4
mov esi, dword [esi]
cmp dword [ebp + 0x1c], 7
lea ecx, [ebp - 0x810]
push esi
push 0x400
push ecx
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
push 0x4c0228
push eax
push str.setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xorps xmm0, xmm0
mov dword [ebp - 0x818], 0
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x814], 0
movups xmmword [ebp - 0x828], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457704
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.004082b0
cmp dword [ebp - 0x818], 0
mov ecx, dword [ebp - 0x814]
setne al
mov byte [ebp - 0x829], al
cmp ecx, 7
jbe 0x45777c
mov edx, dword [ebp - 0x828]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45776c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45792b
push ecx
push edx
call fcn.004804a9
mov al, byte [ebp - 0x829]
add esp, 8
test al, al
je 0x457865
xorps xmm0, xmm0
mov dword [ebp - 0x818], 0
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x814], 0
movups xmmword [ebp - 0x828], xmm0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4577b0
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.004082b0
mov eax, dword [0x4d49a0]
mov byte [ebp - 4], 2
cmp eax, dword [0x4d49a4]
je 0x457811
movups xmm0, xmmword [ebp - 0x828]
mov ecx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x818]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [0x4d49a0], 0x18
mov word [ebp - 0x828], ax
jmp 0x457829
lea ecx, [ebp - 0x828]
push ecx
push eax
mov ecx, 0x4d499c
call fcn.004208f0
mov ecx, dword [ebp - 0x814]
cmp ecx, 7
jbe 0x457891
mov edx, dword [ebp - 0x828]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x457859
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45792b
push ecx
push edx
call fcn.004804a9
add esp, 8
jmp 0x457891
mov eax, dword [0x4d49a0]
lea ecx, [ebp + 0x20]
push ecx
cmp eax, dword [0x4d49a4]
je 0x457886
mov ecx, eax
call fcn.00408b10
add dword [0x4d49a0], 0x18
jmp 0x457891
push eax
mov ecx, 0x4d499c
call fcn.00421420
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x4578c7
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4578bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45792b
push ecx
push edx
call fcn.004804a9
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 7
jbe 0x457911
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x457907
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45792b
push ecx
push edx
call fcn.004804a9
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048049b
mov esp, ebp
pop ebp
ret
call fcn.00485a5d
int3