Function at 0x40f810
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8fc
mov eax, dword [0x44c044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
push 0x7fe
xor ebx, ebx
lea ecx, [ebp - 0x8e6]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0x8f8], edi
mov word [ebp - 0x8e8], ax
call fcn.00428450
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add esp, 0xc
push edi
push ebx
push str.Enable
push str.Dispersion
call esi
push edi
push ebx
push 0x43cb40
push str.Dispersion
call esi
mov esi, eax
xor eax, eax
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x8f4], esi
mov word [ebp - 0x64], dx
mov dword [ebp - 0x62], eax
mov dword [ebp - 0x5e], eax
mov dword [ebp - 0x5a], eax
mov dword [ebp - 0x56], eax
mov dword [ebp - 0x52], eax
mov dword [ebp - 0x4e], eax
mov dword [ebp - 0x4a], eax
mov word [ebp - 0x46], ax
mov word [ebp - 0x44], ax
mov dword [ebp - 0x42], eax
mov dword [ebp - 0x3e], eax
mov dword [ebp - 0x3a], eax
mov dword [ebp - 0x36], eax
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov word [ebp - 0x26], ax
mov word [ebp - 0x14], cx
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
cmp esi, 1
jge 0x40f8df
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004217a4
mov esp, ebp
pop ebp
ret
push 0x6000
push ebx
push 0x480140
call fcn.00428450
add esp, 0xc
mov dword [0x480140], esi
mov dword [0x480144], ebx
xor eax, eax
movzx ecx, word [eax + 0x43d31c]
mov word [eax + 0x480148], cx
add eax, 2
cmp cx, bx
jne 0x40f900
xor eax, eax
jmp 0x40f920
movzx ecx, word [eax + 0x43d31c]
mov word [eax + 0x48016c], cx
add eax, 2
cmp cx, bx
jne 0x40f920
mov dword [0x480190], ebx
mov dword [0x480194], ebx
mov dword [0x480198], ebx
mov dword [0x48019c], ebx
mov dword [ebp - 0x8f0], 1
cmp esi, 1
jl 0x40fd3f
mov ebx, 0x4801a8
mov esi, 0x4801f0
mov dword [ebp - 0x8ec], 0x4801f8
sub ebx, 0x43d31c
jmp 0x40f980
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0x20
lea edi, [ebp - 0xe8]
rep stosd dword es:[edi], eax
xor eax, eax
movzx ecx, ax
mov eax, ecx
shl ecx, 0x10
or eax, ecx
push 0xa
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x8f0]
push edx
push eax
mov dword [esi - 0x50], eax
call fcn.00423125
mov eax, dword [ebp - 0x8f8]
add esp, 0xc
push eax
push 0x40
lea ecx, [ebp - 0xe8]
push ecx
push 0x43d31c
lea edx, [ebp - 0x24]
push edx
push str.Dispersion
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0xe8]
push 0x26
push eax
call fcn.0042220c
add esp, 8
test eax, eax
je 0x40fa45
lea ecx, [ebp - 0xe8]
push 0x26
push ecx
call fcn.0042220c
add eax, 2
lea edx, [ebp - 0x44]
add esp, 8
sub edx, eax
jmp 0x40fa20
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x40fa20
lea edx, [ebp - 0xe8]
push 0x26
push edx
call fcn.0042220c
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0x44]
push edx
call fcn.004242bb
mov edi, dword [ebp - 0x8ec]
add esp, 4
mov dword [edi], eax
lea eax, [ebp - 0xe8]
push 0x26
push eax
mov dword [edi + 4], edx
call fcn.0042220c
add esp, 8
test eax, eax
je 0x40fab5
lea ecx, [ebp - 0xe8]
push 0x26
push ecx
call fcn.0042220c
add eax, 2
lea edx, [ebp - 0x64]
add esp, 8
sub edx, eax
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x40fa90
lea edx, [ebp - 0xe8]
push 0x26
push edx
call fcn.0042220c
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0x64]
push edx
call fcn.004242bb
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0xe8]
push 0x26
push eax
mov dword [esi + 4], edx
call fcn.0042220c
add esp, 8
test eax, eax
je 0x40fb19
lea ecx, [ebp - 0xe8]
push 0x26
push ecx
call fcn.0042220c
add eax, 2
mov edx, esi
add esp, 8
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax - 0x24], cx
add eax, 2
test cx, cx
jne 0x40faf3
lea eax, [ebp - 0xe8]
push 0x26
push eax
call fcn.0042220c
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0xe8]
push 0x26
push edx
call fcn.0042220c
add esp, 8
test eax, eax
je 0x40fb76
lea eax, [ebp - 0xe8]
push 0x26
push eax
call fcn.0042220c
add eax, 2
mov edx, esi
add esp, 8
sub edx, eax
jmp 0x40fb50
movzx ecx, word [eax]
mov word [edx + eax - 0x48], cx
add eax, 2
test cx, cx
jne 0x40fb50
lea edx, [ebp - 0xe8]
push 0x26
push edx
call fcn.0042220c
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0xe8]
push 0x26
push edx
call fcn.0042220c
add esp, 8
test eax, eax
jne 0x40fbb6
xor edi, edi
lea ecx, [ecx]
movzx ecx, word [ebp + eax - 0xe8]
mov word [ebp + eax - 0x14], cx
add eax, 2
cmp cx, di
jne 0x40fb90
lea eax, [ebp - 0x14]
push eax
call fcn.004242b0
add esp, 4
mov dword [esi - 0x4c], eax
jmp 0x40fbf6
xor edx, edx
mov dword [esi - 0x4c], edx
mov dword [edi], edx
mov dword [edi + 4], edx
mov dword [esi], edx
mov dword [esi + 4], edx
mov eax, 0x43d31c
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [ebx + eax + 0x24], cx
add eax, 2
cmp cx, dx
jne 0x40fbd0
mov eax, 0x43d31c
movzx ecx, word [eax]
mov word [ebx + eax], cx
add eax, 2
cmp cx, dx
jne 0x40fbe5
xor edi, edi
lea ecx, [esi - 0x48]
call fcn.00403680
test al, al
je 0x40fc0e
lea ecx, [esi - 0x24]
call fcn.00403680
test al, al
jne 0x40fc54
mov eax, dword [ebp - 0x8ec]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [esi - 0x4c], edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov eax, 0x43d31c
jmp 0x40fc30
movzx ecx, word [eax]
mov word [ebx + eax + 0x24], cx
add eax, 2
cmp cx, di
jne 0x40fc30
mov eax, 0x43d31c
movzx ecx, word [eax]
mov word [eax + ebx], cx
add eax, 2
cmp cx, di
jne 0x40fc45
lea ecx, [esi - 0x48]
call fcn.00403790
cmp eax, dword [esi]
jne 0x40fc7c
cmp edx, dword [esi + 4]
jne 0x40fc7c
lea ecx, [esi - 0x24]
call fcn.00403790
mov ecx, dword [ebp - 0x8ec]
cmp eax, dword [ecx]
jne 0x40fc7c
cmp edx, dword [ecx + 4]
je 0x40fcbf
mov eax, dword [ebp - 0x8ec]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [esi - 0x4c], edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov eax, 0x43d31c
movzx ecx, word [eax]
mov word [eax + ebx + 0x24], cx
add eax, 2
cmp cx, di
jne 0x40fc94
mov eax, 0x43d31c
lea esp, [esp]
movzx ecx, word [eax]
mov word [eax + ebx], cx
add eax, 2
cmp cx, di
jne 0x40fcb0
cmp dword [0x48ba88], edi
je 0x40fd19
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0x200
lea edi, [ebp - 0x8e8]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [esi - 0x50]
lea edx, [esi - 0x24]
push edx
lea eax, [esi - 0x48]
push eax
mov eax, dword [esi - 0x4c]
push eax
push ecx
lea edx, [ebp - 0x8e8]
push str._Debug__GetDispersionList___u_Week:_u___s___s____s___s_
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x8e8]
push eax
call fcn.00406870
add esp, 0x24
mov eax, dword [ebp - 0x8f0]
add dword [ebp - 0x8ec], 0x60
inc eax
add esi, 0x60
add ebx, 0x60
mov dword [ebp - 0x8f0], eax
cmp eax, dword [ebp - 0x8f4]
jle 0x40f980
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004217a4
mov esp, ebp
pop ebp
ret