Function at 0x40a860
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8fc
mov eax, dword [0x43e044]
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.00422210
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 0x42fc18
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 0x40a92f
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041a70e
mov esp, ebp
pop ebp
ret
push 0x6000
push ebx
push 0xb4e3c0
call fcn.00422210
add esp, 0xc
mov dword [0xb4e3c0], esi
mov dword [0xb4e3c4], ebx
xor eax, eax
movzx ecx, word [eax + 0x4301b4]
mov word [eax + 0xb4e3c8], cx
add eax, 2
cmp cx, bx
jne 0x40a950
xor eax, eax
jmp 0x40a970
movzx ecx, word [eax + 0x4301b4]
mov word [eax + 0xb4e3ec], cx
add eax, 2
cmp cx, bx
jne 0x40a970
mov dword [0xb4e410], ebx
mov dword [0xb4e414], ebx
mov dword [0xb4e418], ebx
mov dword [0xb4e41c], ebx
mov dword [ebp - 0x8f0], 1
cmp esi, 1
jl 0x40ad8f
mov ebx, 0xb4e428
mov esi, 0xb4e470
mov dword [ebp - 0x8ec], 0xb4e478
sub ebx, 0x4301b4
jmp 0x40a9d0
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.0041aee5
mov eax, dword [ebp - 0x8f8]
add esp, 0xc
push eax
push 0x40
lea ecx, [ebp - 0xe8]
push ecx
push 0x4301b4
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.0041acc1
add esp, 8
test eax, eax
je 0x40aa95
lea ecx, [ebp - 0xe8]
push 0x26
push ecx
call fcn.0041acc1
add eax, 2
lea edx, [ebp - 0x44]
add esp, 8
sub edx, eax
jmp 0x40aa70
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x40aa70
lea edx, [ebp - 0xe8]
push 0x26
push edx
call fcn.0041acc1
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0x44]
push edx
call fcn.0041c6a1
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.0041acc1
add esp, 8
test eax, eax
je 0x40ab05
lea ecx, [ebp - 0xe8]
push 0x26
push ecx
call fcn.0041acc1
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 0x40aae0
lea edx, [ebp - 0xe8]
push 0x26
push edx
call fcn.0041acc1
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0x64]
push edx
call fcn.0041c6a1
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0xe8]
push 0x26
push eax
mov dword [esi + 4], edx
call fcn.0041acc1
add esp, 8
test eax, eax
je 0x40ab69
lea ecx, [ebp - 0xe8]
push 0x26
push ecx
call fcn.0041acc1
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 0x40ab43
lea eax, [ebp - 0xe8]
push 0x26
push eax
call fcn.0041acc1
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0xe8]
push 0x26
push edx
call fcn.0041acc1
add esp, 8
test eax, eax
je 0x40abc6
lea eax, [ebp - 0xe8]
push 0x26
push eax
call fcn.0041acc1
add eax, 2
mov edx, esi
add esp, 8
sub edx, eax
jmp 0x40aba0
movzx ecx, word [eax]
mov word [edx + eax - 0x48], cx
add eax, 2
test cx, cx
jne 0x40aba0
lea edx, [ebp - 0xe8]
push 0x26
push edx
call fcn.0041acc1
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0xe8]
push 0x26
push edx
call fcn.0041acc1
add esp, 8
test eax, eax
jne 0x40ac06
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 0x40abe0
lea eax, [ebp - 0x14]
push eax
call fcn.0041c696
add esp, 4
mov dword [esi - 0x4c], eax
jmp 0x40ac46
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, 0x4301b4
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [ebx + eax + 0x24], cx
add eax, 2
cmp cx, dx
jne 0x40ac20
mov eax, 0x4301b4
movzx ecx, word [eax]
mov word [ebx + eax], cx
add eax, 2
cmp cx, dx
jne 0x40ac35
xor edi, edi
lea ecx, [esi - 0x48]
call fcn.00401100
test al, al
je 0x40ac5e
lea ecx, [esi - 0x24]
call fcn.00401100
test al, al
jne 0x40aca4
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, 0x4301b4
jmp 0x40ac80
movzx ecx, word [eax]
mov word [ebx + eax + 0x24], cx
add eax, 2
cmp cx, di
jne 0x40ac80
mov eax, 0x4301b4
movzx ecx, word [eax]
mov word [eax + ebx], cx
add eax, 2
cmp cx, di
jne 0x40ac95
lea ecx, [esi - 0x48]
call fcn.00401210
cmp eax, dword [esi]
jne 0x40accc
cmp edx, dword [esi + 4]
jne 0x40accc
lea ecx, [esi - 0x24]
call fcn.00401210
mov ecx, dword [ebp - 0x8ec]
cmp eax, dword [ecx]
jne 0x40accc
cmp edx, dword [ecx + 4]
je 0x40ad0f
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, 0x4301b4
movzx ecx, word [eax]
mov word [eax + ebx + 0x24], cx
add eax, 2
cmp cx, di
jne 0x40ace4
mov eax, 0x4301b4
lea esp, [esp]
movzx ecx, word [eax]
mov word [eax + ebx], cx
add eax, 2
cmp cx, di
jne 0x40ad00
cmp dword [0xb57ce0], edi
je 0x40ad69
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.00403790
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 0x40a9d0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0041a70e
mov esp, ebp
pop ebp
ret