Function at 0x4bc140
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598850
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x60b4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
xor edi, edi
cmp dword [esi + 0x28], edi
je 0x4bc2ba
cmp dword [esi + 0x3c], edi
cmovne edi, dword [ebp + 0x14]
call dword [eax + 0x88]
test eax, eax
jne 0x4bc1a8
push edi
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.004bb350
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.00526109
mov ecx, eax
test ecx, ecx
je 0x4bc3b6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x14], eax
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, 0x100
or ecx, edx
mov ebx, dword [esi + 0x48]
mov dword [ebp - 4], 0
jge 0x4bc1f1
push 0x100
lea ecx, [ebp + 0x14]
call fcn.00405195
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push 0x100
push eax
push 0
push ebx
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x4bc21b
push edi
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.004bb350
jmp 0x4bc280
cmp eax, 0xff
jne 0x4bc265
mov eax, dword [esi + 0x48]
mov edx, 1
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x3e80
or ecx, edx
jge 0x4bc250
push 0x3e80
lea ecx, [ebp + 0x14]
call fcn.00405195
mov eax, dword [ebp + 0x14]
push dword [ebp + 8]
push 0x3e80
push eax
push 0
push ebx
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
lea ecx, [ebp + 0x14]
call fcn.0040c3b5
push edi
push dword [ebp + 0x10]
lea eax, [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0xc]
push eax
call fcn.004bca50
mov edx, dword [ebp + 0x14]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4bc2a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esi + 0x40], edi
cmovne edi, dword [ebp + 0x14]
call dword [eax + 0x88]
test eax, eax
je 0x4bc3a0
mov ebx, dword [ebp + 0x10]
mov ecx, esi
push edi
push ebx
push dword [ebp + 0xc]
call fcn.004bdfd0
test eax, eax
je 0x4bc312
cmp dword [esi + 0x34], 0
jne 0x4bc2f9
push dword [esi + 0x48]
push 0
push dword [ebp + 8]
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.00526109
mov ecx, eax
test ecx, ecx
je 0x4bc3c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push edi
push ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.004bca50
test eax, eax
je 0x4bc37e
push dword [esi + 0x48]
push dword [ebp - 0x10]
push dword [ebp + 8]
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x4bc37e
lea ecx, [ebp - 0x10]
call fcn.00404ad1
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4bc3a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00404c28
push 0x80004005
call fcn.00404c28
int3