Function at 0x424c70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d266d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x64c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
or esi, 0xffffffff
cmp dword [edi + 4], esi
jne 0x424cde
lea eax, [ebp - 0x10]
push eax
call fcn.00425d60
push dword [eax]
push 0
push str.debug
push str.basesetting
call ebx
mov edx, dword [ebp - 0x10]
mov dword [edi + 4], eax
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424cde
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 4], 0
je 0x424d55
mov ecx, edi
call fcn.004255f0
test eax, eax
jne 0x424d06
mov eax, 0x60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 8], 0xffffffff
jne 0x424d40
lea eax, [ebp - 0x10]
push eax
call fcn.00425d60
push dword [eax]
push 0x60
push str.debugdpi
push str.basesetting
call ebx
mov edx, dword [ebp - 0x10]
mov dword [edi + 8], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x424d40
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x10], 0
jne 0x424e54
lea eax, [ebp - 0x1c]
push eax
call fcn.00425c70
push 0
mov dword [ebp - 4], 0
push dword [eax]
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x424d88
lea ebx, [eax + 0x60]
jmp 0x424e32
push 0x6374fc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x424da2
lea ebx, [eax + 0x60]
jmp 0x424e32
push str.GetDpiForWindow
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, 0x60
test eax, eax
je 0x424dc0
push dword [ebp - 0x10]
call eax
mov ebx, eax
jmp 0x424e29
cmp dword [edi + 0x18], 0
jne 0x424e00
lea eax, [ebp - 0x14]
push eax
call fcn.00425d60
push dword [eax]
push 2
push 0x637574
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 0x14]
mov dword [edi + 0x18], eax
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424e00
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x18], 1
jne 0x424e29
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
push dword [ebp - 0x10]
mov ebx, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
or esi, 0xffffffff
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
mov dword [edi + 0x10], ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x424e54
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret