Function at 0x493ec0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512220
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x10], esp
mov eax, dword [ebx + 0xbc]
push edi
push edi
push 0x1009
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x56b44c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 8]
push edi
lea eax, [ebp + 8]
push edx
push eax
lea ecx, [ebx + 0x5c]
mov byte [ebp - 4], 1
call fcn.004d9816
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004e1f6e
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.004e1e27
push edi
lea ecx, [ebp - 0x14]
push 0x5762b8
push ecx
call fcn.004a87d0
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp dword [edx - 8], edi
jne 0x493f7f
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004e1e27
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.004e1e27
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
lea ecx, [ebp - 0x14]
call fcn.004e226c
mov esi, eax
push esi
mov dword [ebp - 0x30], esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x28]
push eax
push 0x56589c
push ecx
mov dword [ebp + 8], edi
call fcn.004e2140
push 0x55d6f8
lea edx, [ebp - 0x24]
push eax
push edx
mov byte [ebp - 4], 4
call fcn.004e20cc
mov eax, dword [eax]
push eax
push esi
call fcn.004bde5d
add esp, 8
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.004e1e27
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004e1e27
cmp esi, edi
je 0x49415a
push 0x55c36c
push esi
call fcn.004bde5d
mov edi, eax
add esp, 8
add edi, 4
mov ax, word [edi]
test ax, ax
je 0x49405f
cmp ax, 0x5b
je 0x49405f
push 0x565898
push edi
call fcn.004bde5d
mov esi, eax
mov dword [ebp - 0x1c], eax
sub esi, edi
sar esi, 1
lea eax, [esi + esi + 2]
push eax
call fcn.004e24f0
add esp, 0xc
mov ebx, eax
push esi
push edi
push ebx
call fcn.004be4c4
mov ecx, dword [ebp - 0x1c]
push 0x55c36c
mov word [ebx + esi*2], 0
lea edi, [ecx + 2]
push edi
call fcn.004bde5d
add esp, 0x14
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x49409f
push ebx
call fcn.004e2519
mov ebx, dword [ebp - 0x20]
add esp, 4
mov ecx, dword [0x5762b8]
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x18]
push ecx
push 5
push esi
push 0x5705d0
push 0x55ccc8
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esi], 0x31
push 0
jne 0x49413b
mov eax, dword [ebx + 0x100]
push 1
push 0xf1
push eax
jmp 0x494149
mov esi, eax
sub esi, edi
sar esi, 1
lea edx, [esi + esi + 2]
push edx
call fcn.004e24f0
add esp, 4
mov dword [ebp - 0x2c], eax
push esi
push edi
push eax
call fcn.004be4c4
mov edi, dword [ebp - 0x2c]
add esp, 0xc
mov word [edi + esi*2], 0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x562120
push ebx
call esi
test eax, eax
je 0x494114
push 0x55ccc8
push ebx
call esi
test eax, eax
je 0x494114
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
push 0
push 0
push 0
push 0
lea esi, [eax + 0xa0]
push ebx
push ecx
push 1
mov ecx, esi
call fcn.004d96f0
mov edx, dword [ebp + 8]
push edi
push 1
push edx
mov ecx, esi
call fcn.004d97eb
push ebx
call fcn.004e2519
add esp, 4
push edi
call fcn.004e2519
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x20]
add esp, 4
inc eax
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x1c]
lea edi, [eax + 4]
jmp 0x493ff9
mov ecx, dword [ebx + 0x100]
push 0
push 0xf1
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebx + 0xa0]
call fcn.0049ca00
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004e22bc
jmp 0x493f54