Function at 0x10004095
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005cd73
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
cmp byte [ebp + 0x1c], 0
push ebx
push esi
push edi
mov dword [esp + 0x1c], ecx
je 0x10004218
sub esp, 0x18
mov ecx, esp
push dword [ebp + 0x10]
call fcn.10006630
lea ecx, [esp + 0x44]
call fcn.10002ad3
add esp, 0x18
xor ebx, ebx
mov dword [esp + 0x8c], ebx
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x2c], eax
je 0x10004211
push dword [esp + 0x28]
xor ecx, ecx
mov dword [esp + 0x50], 7
push eax
push dword [esp + 0x34]
mov word [esp + 0x44], cx
lea ecx, [esp + 0x44]
mov dword [esp + 0x54], ebx
call fcn.10009f43
mov byte [esp + 0x8c], 1
mov dword [esp + 0x18], 0x52ee
cmp dword [esp + 0x18], 0x53fe
jle 0x100041bf
push 0x1b3a
push 0x1352
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov esi, ebx
mov dword [esp + 0x14], ebx
mov edi, ebx
mov dword [esp + 0x10], ebx
mov eax, esi
mov dword [esp + 0x20], ebx
cdq
mov esi, ebx
idiv edi
mov edi, edx
mov eax, edi
lea ecx, [esp + 0x50]
and eax, esi
cdq
push edx
push eax
call fcn.10001ac9
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10004181
mov eax, dword [eax]
push eax
call fcn.10045f6d
pop ecx
push ebx
push 1
lea ecx, [esp + 0x58]
call fcn.10007132
inc esi
cmp esi, 0x698
jl 0x10004167
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
inc edi
mov dword [esp + 0x10], edi
cmp edi, 0x665
jl 0x1000415a
inc esi
mov dword [esp + 0x14], esi
cmp esi, 0xb4
jl 0x10004154
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x38]
call fcn.10003f0d
test eax, eax
jns 0x100041f0
mov eax, dword [ebp + 0x18]
lea ecx, [esp + 0x38]
push ebx
push 1
mov byte [eax], 1
call fcn.10007591
lea ecx, [esp + 0x2c]
call fcn.1000783f
jmp 0x10004311
cmp dword [esp + 0x18], 0x5068
jge 0x10004205
push str.ddf_bymq_cvbj_meoflofbi_xovrgivzw_dsrir_yvzftdtux_gcgzzwxn_cfjesr
call fcn.10045f6d
pop ecx
push ebx
push 1
lea ecx, [esp + 0x40]
call fcn.10007591
mov eax, dword [ebp + 0x18]
mov byte [eax], bl
jmp 0x100041e2
mov dword [esp + 0x20], 0x359e
cmp dword [esp + 0x20], 0x3817
push 0
pop ebx
jle 0x100042e6
push 0x20b9
push ebx
push ebx
push 0x15b1
push 0x169d
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDIBits]
mov esi, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0x3ac4
mov edi, ebx
mov dword [esp + 0x18], ebx
and esi, edi
mov dword [esp + 0x28], esi
mov esi, ebx
mov edi, dword [esp + 0x28]
mov eax, edi
lea ecx, [esp + 0x68]
or eax, esi
cdq
push edx
push eax
call fcn.10001ac9
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10004295
mov eax, dword [eax]
push eax
call fcn.10045f6d
pop ecx
push ebx
push 1
lea ecx, [esp + 0x70]
call fcn.10007132
inc esi
cmp esi, 0x18c0
jl 0x1000427b
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
inc edi
mov dword [esp + 0x18], edi
cmp edi, 0x79ae
jl 0x1000426f
dec esi
dec dword [esp + 0x14]
mov dword [esp + 0x10], esi
jne 0x10004269
mov esi, dword [esp + 0x1c]
inc esi
mov dword [esp + 0x1c], esi
cmp esi, 0x407
jl 0x1000425d
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x100042fc
push ebx
push 0x1b21
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [esp + 0x20], 0x3478
jge 0x10004311
push str.ehvra_nmtiivw_hismsnx_tlvrke_xzgtsx_owuqw_vqhudij_hpb_hbnflqcdw_xmag_zxapkmlwp_wnvd_miatxlb_wibtvizhx
call fcn.10045f6d
pop ecx
mov ecx, dword [esp + 0x84]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret