Function at 0x40d580
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8fc
mov eax, dword [0x447044]
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.004272d0
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 0x434c88
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 0x40d64f
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041f53e
mov esp, ebp
pop ebp
ret
push 0x6000
push ebx
push 0x107b4a8
call fcn.004272d0
add esp, 0xc
mov dword [0x107b4a8], esi
mov dword [0x107b4ac], ebx
xor eax, eax
movzx ecx, word [eax + 0x435474]
mov word [eax + 0x107b4b0], cx
add eax, 2
cmp cx, bx
jne 0x40d670
xor eax, eax
jmp 0x40d690
movzx ecx, word [eax + 0x435474]
mov word [eax + 0x107b4d4], cx
add eax, 2
cmp cx, bx
jne 0x40d690
mov dword [0x107b4f8], ebx
mov dword [0x107b4fc], ebx
mov dword [0x107b500], ebx
mov dword [0x107b504], ebx
mov dword [ebp - 0x8f0], 1
cmp esi, 1
jl 0x40daaf
mov ebx, 0x107b510
mov esi, 0x107b558
mov dword [ebp - 0x8ec], 0x107b560
sub ebx, 0x435474
jmp 0x40d6f0
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.0041fd15
mov eax, dword [ebp - 0x8f8]
add esp, 0xc
push eax
push 0x40
lea ecx, [ebp - 0xe8]
push ecx
push 0x435474
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.0041faf1
add esp, 8
test eax, eax
je 0x40d7b5
lea ecx, [ebp - 0xe8]
push 0x26
push ecx
call fcn.0041faf1
add eax, 2
lea edx, [ebp - 0x44]
add esp, 8
sub edx, eax
jmp 0x40d790
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x40d790
lea edx, [ebp - 0xe8]
push 0x26
push edx
call fcn.0041faf1
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0x44]
push edx
call fcn.004217db
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.0041faf1
add esp, 8
test eax, eax
je 0x40d825
lea ecx, [ebp - 0xe8]
push 0x26
push ecx
call fcn.0041faf1
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 0x40d800
lea edx, [ebp - 0xe8]
push 0x26
push edx
call fcn.0041faf1
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0x64]
push edx
call fcn.004217db
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0xe8]
push 0x26
push eax
mov dword [esi + 4], edx
call fcn.0041faf1
add esp, 8
test eax, eax
je 0x40d889
lea ecx, [ebp - 0xe8]
push 0x26
push ecx
call fcn.0041faf1
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 0x40d863
lea eax, [ebp - 0xe8]
push 0x26
push eax
call fcn.0041faf1
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0xe8]
push 0x26
push edx
call fcn.0041faf1
add esp, 8
test eax, eax
je 0x40d8e6
lea eax, [ebp - 0xe8]
push 0x26
push eax
call fcn.0041faf1
add eax, 2
mov edx, esi
add esp, 8
sub edx, eax
jmp 0x40d8c0
movzx ecx, word [eax]
mov word [edx + eax - 0x48], cx
add eax, 2
test cx, cx
jne 0x40d8c0
lea edx, [ebp - 0xe8]
push 0x26
push edx
call fcn.0041faf1
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0xe8]
push 0x26
push edx
call fcn.0041faf1
add esp, 8
test eax, eax
jne 0x40d926
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 0x40d900
lea eax, [ebp - 0x14]
push eax
call fcn.004217d0
add esp, 4
mov dword [esi - 0x4c], eax
jmp 0x40d966
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, 0x435474
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [ebx + eax + 0x24], cx
add eax, 2
cmp cx, dx
jne 0x40d940
mov eax, 0x435474
movzx ecx, word [eax]
mov word [ebx + eax], cx
add eax, 2
cmp cx, dx
jne 0x40d955
xor edi, edi
lea ecx, [esi - 0x48]
call fcn.00401100
test al, al
je 0x40d97e
lea ecx, [esi - 0x24]
call fcn.00401100
test al, al
jne 0x40d9c4
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, 0x435474
jmp 0x40d9a0
movzx ecx, word [eax]
mov word [ebx + eax + 0x24], cx
add eax, 2
cmp cx, di
jne 0x40d9a0
mov eax, 0x435474
movzx ecx, word [eax]
mov word [eax + ebx], cx
add eax, 2
cmp cx, di
jne 0x40d9b5
lea ecx, [esi - 0x48]
call fcn.00401210
cmp eax, dword [esi]
jne 0x40d9ec
cmp edx, dword [esi + 4]
jne 0x40d9ec
lea ecx, [esi - 0x24]
call fcn.00401210
mov ecx, dword [ebp - 0x8ec]
cmp eax, dword [ecx]
jne 0x40d9ec
cmp edx, dword [ecx + 4]
je 0x40da2f
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, 0x435474
movzx ecx, word [eax]
mov word [eax + ebx + 0x24], cx
add eax, 2
cmp cx, di
jne 0x40da04
mov eax, 0x435474
lea esp, [esp]
movzx ecx, word [eax]
mov word [eax + ebx], cx
add eax, 2
cmp cx, di
jne 0x40da20
cmp dword [0x1086df0], edi
je 0x40da89
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.004042f0
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 0x40d6f0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0041f53e
mov esp, ebp
pop ebp
ret