Function at 0x42e94e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af013
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x78
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], 0x5e10
mov dword [ebp - 0x48], str.rpditywh_ojys_migd_uhoprtsxg_syaqiep_phmobgtt_cqs_ykcwdfw_hgcvx_rvotaj_cec
cmp dword [ebp - 0x2c], 0x6194
jle 0x42ea1f
and dword [ebp - 0x1c], 0
jmp 0x42e998
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1b23
jge 0x42ea0b
and dword [ebp - 0x14], 0
jmp 0x42e9ae
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x68d6
jge 0x42ea09
and dword [ebp - 0x18], 0
jmp 0x42e9c4
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x35b
jge 0x42ea07
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sar eax, cl
xor eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
lea ecx, [ebp - 0x70]
call fcn.004019d3
pop ecx
pop ecx
mov ecx, eax
call fcn.00441f2b
push eax
call fcn.00499008
pop ecx
lea ecx, [ebp - 0x70]
call fcn.00441f21
jmp 0x42e9bd
jmp 0x42e9a7
jmp 0x42e991
push 0
push 0x2004
push 0x1e6
push 0
call dword [sym.imp.GDI32.dll_SetPaletteEntries]
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x42ea44
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push 0x7f96
push 1
call fcn.0042eb9a
add esp, 0xc
jmp 0x42eb4a
lea eax, [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x42eb38
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x28], 0x3e7e
mov dword [ebp - 0x44], str.zvrf_lmw_wdekwe_sboyyho
cmp dword [ebp - 0x28], 0x41bf
jle 0x42eaed
and dword [ebp - 0x20], 0
jmp 0x42ea8e
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x2c07
jge 0x42eaed
and dword [ebp - 0x24], 0
jmp 0x42eaa4
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x1306
jge 0x42eaeb
mov eax, dword [ebp - 0x20]
cdq
idiv dword [ebp - 0x24]
mov eax, edx
cdq
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
push dword [ebp - 0x54]
push dword [ebp - 0x58]
lea ecx, [ebp - 0x88]
call fcn.004019d3
pop ecx
pop ecx
mov ecx, eax
call fcn.00441f2b
push eax
call fcn.00499008
pop ecx
lea ecx, [ebp - 0x88]
call fcn.00441f21
jmp 0x42ea9d
jmp 0x42ea87
push 1
mov ecx, dword [ebp - 0x40]
call fcn.00442139
and dword [eax], 0
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x3e0e
jge 0x42eb10
push dword [ebp - 0x44]
call fcn.00499008
pop ecx
jmp 0x42eb2c
or dword [ebp - 4], 0xffffffff
jmp 0x42eb36
jmp 0x42eb4a
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x2c], 0x5a5f
jge 0x42eb63
push dword [ebp - 0x48]
call fcn.00499008
pop ecx
jmp 0x42eb7f
or dword [ebp - 4], 0xffffffff
jmp 0x42eb89
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret