Function at 0x415fe0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x472db0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4878d4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x30]
cmp dword [ebp + 0xde4], 0
jne 0x4160ba
mov eax, dword [ebp + 0x59c]
push eax
push 3
push 0x47bae8
push str.memory
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0xf120
mov esi, eax
mov eax, dword [ebp + 4]
push 0x112
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 4]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp esi, 1
je 0x416099
cmp esi, 2
je 0x416099
cmp esi, 3
jne 0x4160af
mov edx, dword [ebp + 4]
push edx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, dword [ebp + 4]
push esi
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call esi
mov ecx, dword [ebp + 4]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push ecx
call esi
jmp 0x4160af
mov edx, dword [ebp + 4]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 1
mov ecx, ebp
call fcn.00432550
mov ecx, dword [edi + 8]
lea eax, [esp + 0x30]
push eax
call fcn.004040c0
mov dword [esp + 0x28], 0
cmp dword [edi + 4], 0
mov eax, dword [esp + 0x30]
je 0x416285
cmp dword [eax - 0xc], 0
je 0x416285
cmp dword [ebp + 0x538], 0
jne 0x416138
mov ecx, dword [ebp + 0x520]
push 0
push ecx
mov edx, 0x47b668
mov ecx, str._g0W
call fcn.00423900
mov dword [ebp + 0x538], eax
cmp dword [ebp + 0x538], 0
mov eax, dword [esp + 0x30]
jne 0x416138
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x41629d
mov eax, dword [eax - 0xc]
lea ecx, [esp + 0x30]
push ecx
add eax, 0xfffffffe
mov ecx, 1
lea edx, [esp + 0x1c]
call fcn.00404580
lea edi, [esp + 0x30]
mov byte [esp + 0x28], 1
call fcn.004048f0
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x416184
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.00404c80
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x28], 2
mov eax, dword [esp + 0x30]
mov esi, dword [eax - 0xc]
push 0x5c
push eax
call fcn.0045b55b
add esp, 8
test eax, eax
jne 0x4161b7
or ecx, 0xffffffff
jmp 0x4161bf
sub eax, dword [esp + 0x30]
sar eax, 1
mov ecx, eax
mov eax, esi
sub eax, ecx
lea ecx, [esp + 0x30]
push ecx
dec eax
lea ecx, [esp + 0x1c]
call fcn.0040a440
lea edi, [esp + 0x30]
mov byte [esp + 0x28], 3
call fcn.004048f0
mov byte [esp + 0x28], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x416205
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x538]
mov edx, dword [ebp + 0x520]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, ebx
call fcn.00423900
mov edi, eax
test edi, edi
je 0x41624c
lea esi, [esp + 0x30]
call fcn.00418960
mov eax, dword [ebp + 0x598]
push eax
mov eax, dword [esp + 0x34]
push ebx
push eax
push str._g0W
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push edi
push ebp
call fcn.00411f60
mov ecx, dword [esp + 0x34]
add ebx, 0xfffffff0
mov dword [ecx], 0
mov byte [esp + 0x28], 0
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x416277
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x30]
jmp 0x41628d
mov dword [esp + 0x28], 0xffffffff
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4162a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8