Function at 0x4bc970
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51fdb0
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x55f904]
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.004f0080
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x4bc9c4
mov esi, dword [esi]
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x810]
push esi
push 0x400
push ecx
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 0x545f8c
push eax
push str.setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x818], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x814], 7
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4bca14
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.00403460
cmp dword [ebp - 0x818], 0
mov edx, dword [ebp - 0x814]
setne al
mov byte [ebp - 0x829], al
cmp edx, 8
jb 0x4bca8c
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4bca7c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bcc34
push edx
push ecx
call fcn.004ee3ca
mov al, byte [ebp - 0x829]
add esp, 8
test al, al
je 0x4bcb6e
xor eax, eax
mov dword [ebp - 0x828], 0
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 7
lea edx, [ecx + 2]
mov word [ebp - 0x828], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4bcac4
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.00403460
mov eax, dword [0x564d04]
mov byte [ebp - 4], 2
cmp eax, dword [0x564d08]
je 0x4bcb1a
movups xmm0, xmmword [ebp - 0x828]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x818]
movq qword [eax + 0x10], xmm0
add dword [0x564d04], 0x18
jmp 0x4bcb9a
lea ecx, [ebp - 0x828]
push ecx
push eax
mov ecx, 0x564d00
call fcn.0040f1d0
mov edx, dword [ebp - 0x814]
cmp edx, 8
jb 0x4bcb9a
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4bcb62
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bcc34
push edx
push ecx
call fcn.004ee3ca
add esp, 8
jmp 0x4bcb9a
mov eax, dword [0x564d04]
lea ecx, [ebp + 0x20]
push ecx
cmp eax, dword [0x564d08]
je 0x4bcb8f
mov ecx, eax
call fcn.004033c0
add dword [0x564d04], 0x18
jmp 0x4bcb9a
push eax
mov ecx, 0x564d00
call fcn.00432ac0
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x4bcbd0
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4bcbc6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bcc34
push edx
push ecx
call fcn.004ee3ca
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x4bcc1a
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4bcc10
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bcc34
push edx
push ecx
call fcn.004ee3ca
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.004edf30
mov esp, ebp
pop ebp
ret
call fcn.004f890c
int3