Function at 0x40cd80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8fc
mov eax, dword [0x446044]
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.00426670
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 0x434c78
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 0x40ce4f
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e7be
mov esp, ebp
pop ebp
ret
push 0x6000
push ebx
push 0xc91508
call fcn.00426670
add esp, 0xc
mov dword [0xc91508], esi
mov dword [0xc9150c], ebx
xor eax, eax
movzx ecx, word [eax + 0x435414]
mov word [eax + 0xc91510], cx
add eax, 2
cmp cx, bx
jne 0x40ce70
xor eax, eax
jmp 0x40ce90
movzx ecx, word [eax + 0x435414]
mov word [eax + 0xc91534], cx
add eax, 2
cmp cx, bx
jne 0x40ce90
mov dword [0xc91558], ebx
mov dword [0xc9155c], ebx
mov dword [0xc91560], ebx
mov dword [0xc91564], ebx
mov dword [ebp - 0x8f0], 1
cmp esi, 1
jl 0x40d2af
mov ebx, 0xc91570
mov esi, 0xc915b8
mov dword [ebp - 0x8ec], 0xc915c0
sub ebx, 0x435414
jmp 0x40cef0
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.0041ef95
mov eax, dword [ebp - 0x8f8]
add esp, 0xc
push eax
push 0x40
lea ecx, [ebp - 0xe8]
push ecx
push 0x435414
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.0041ed71
add esp, 8
test eax, eax
je 0x40cfb5
lea ecx, [ebp - 0xe8]
push 0x26
push ecx
call fcn.0041ed71
add eax, 2
lea edx, [ebp - 0x44]
add esp, 8
sub edx, eax
jmp 0x40cf90
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x40cf90
lea edx, [ebp - 0xe8]
push 0x26
push edx
call fcn.0041ed71
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0x44]
push edx
call fcn.00420a5b
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.0041ed71
add esp, 8
test eax, eax
je 0x40d025
lea ecx, [ebp - 0xe8]
push 0x26
push ecx
call fcn.0041ed71
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 0x40d000
lea edx, [ebp - 0xe8]
push 0x26
push edx
call fcn.0041ed71
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0x64]
push edx
call fcn.00420a5b
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0xe8]
push 0x26
push eax
mov dword [esi + 4], edx
call fcn.0041ed71
add esp, 8
test eax, eax
je 0x40d089
lea ecx, [ebp - 0xe8]
push 0x26
push ecx
call fcn.0041ed71
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 0x40d063
lea eax, [ebp - 0xe8]
push 0x26
push eax
call fcn.0041ed71
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0xe8]
push 0x26
push edx
call fcn.0041ed71
add esp, 8
test eax, eax
je 0x40d0e6
lea eax, [ebp - 0xe8]
push 0x26
push eax
call fcn.0041ed71
add eax, 2
mov edx, esi
add esp, 8
sub edx, eax
jmp 0x40d0c0
movzx ecx, word [eax]
mov word [edx + eax - 0x48], cx
add eax, 2
test cx, cx
jne 0x40d0c0
lea edx, [ebp - 0xe8]
push 0x26
push edx
call fcn.0041ed71
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0xe8]
push 0x26
push edx
call fcn.0041ed71
add esp, 8
test eax, eax
jne 0x40d126
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 0x40d100
lea eax, [ebp - 0x14]
push eax
call fcn.00420a50
add esp, 4
mov dword [esi - 0x4c], eax
jmp 0x40d166
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, 0x435414
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [ebx + eax + 0x24], cx
add eax, 2
cmp cx, dx
jne 0x40d140
mov eax, 0x435414
movzx ecx, word [eax]
mov word [ebx + eax], cx
add eax, 2
cmp cx, dx
jne 0x40d155
xor edi, edi
lea ecx, [esi - 0x48]
call fcn.00401100
test al, al
je 0x40d17e
lea ecx, [esi - 0x24]
call fcn.00401100
test al, al
jne 0x40d1c4
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, 0x435414
jmp 0x40d1a0
movzx ecx, word [eax]
mov word [ebx + eax + 0x24], cx
add eax, 2
cmp cx, di
jne 0x40d1a0
mov eax, 0x435414
movzx ecx, word [eax]
mov word [eax + ebx], cx
add eax, 2
cmp cx, di
jne 0x40d1b5
lea ecx, [esi - 0x48]
call fcn.00401210
cmp eax, dword [esi]
jne 0x40d1ec
cmp edx, dword [esi + 4]
jne 0x40d1ec
lea ecx, [esi - 0x24]
call fcn.00401210
mov ecx, dword [ebp - 0x8ec]
cmp eax, dword [ecx]
jne 0x40d1ec
cmp edx, dword [ecx + 4]
je 0x40d22f
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, 0x435414
movzx ecx, word [eax]
mov word [eax + ebx + 0x24], cx
add eax, 2
cmp cx, di
jne 0x40d204
mov eax, 0x435414
lea esp, [esp]
movzx ecx, word [eax]
mov word [eax + ebx], cx
add eax, 2
cmp cx, di
jne 0x40d220
cmp dword [0xc9ce68], edi
je 0x40d289
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.00403960
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 0x40cef0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0041e7be
mov esp, ebp
pop ebp
ret