Function at 0x49ddd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e3a9c
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x661204]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x98], 8
lea edx, [ebx + 0x84]
jb 0x49de11
mov edx, dword [edx]
cmp word [edx], 0
jne 0x49de1b
xor ecx, ecx
jmp 0x49de2f
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49de20
sub ecx, esi
sar ecx, 1
push ecx
lea edi, [ebx + 0xcc]
push edx
mov ecx, edi
call fcn.0049ee20
push 0x12
push str.PuddingDesktop.ini
mov ecx, edi
call fcn.0049e9a0
push 0x5ead24
push str.Spreader
push str.AppInfo
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0049b760
lea esi, [ebx + 0xe4]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x248]
cmp esi, eax
je 0x49de8c
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.0049ed00
cmp dword [esi + 0x14], 8
jb 0x49de96
mov eax, dword [esi]
jmp 0x49de98
mov eax, esi
push 2
push 0x5ead24
push dword [esi + 0x10]
push eax
call fcn.0049e760
add esp, 0x10
test eax, eax
jne 0x49df40
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005b9c20
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x49ded0
mov edi, dword [edi]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x5ead24
push str.Spreader
push str.AppInfo
call edi
cmp word [ebp - 0x218], 0
jne 0x49df11
xor ecx, ecx
lea eax, [ebp - 0x218]
push ecx
push eax
mov ecx, esi
call fcn.0049ee20
jmp 0x49df46
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49df20
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0049ee20
jmp 0x49df46
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp dword [esi + 0x14], 8
jb 0x49df50
mov eax, dword [esi]
jmp 0x49df52
mov eax, esi
push 2
push 0x5ead24
push dword [esi + 0x10]
push eax
call fcn.0049e760
add esp, 0x10
test eax, eax
jne 0x49e050
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005b9c20
add esp, 0xc
mov dword [ebp - 0x21c], 7
xor ecx, ecx
mov dword [ebp - 0x220], 0
lea eax, [ebx + 0x6c]
mov word [ebp - 0x230], cx
push 0xffffffffffffffff
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.0049ed00
push 0x12
push str.PuddingDesktop.ini
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.0049e9a0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x5ead24
push str.Spreader
push str.AppInfo
call edi
cmp word [ebp - 0x218], 0
jne 0x49e007
xor ecx, ecx
jmp 0x49e01f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49e010
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.0049ee20
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x49e050
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.0049ef70
cmp dword [esi + 0x14], 8
jb 0x49e05a
mov eax, dword [esi]
jmp 0x49e05c
mov eax, esi
push 2
push 0x5ead24
push dword [esi + 0x10]
push eax
call fcn.0049e760
add esp, 0x10
test eax, eax
jne 0x49e0ee
push 0x5ead24
push str.Spreader
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0049b7e0
mov edi, eax
cmp esi, edi
je 0x49e0d0
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x49e0a9
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.0049ef70
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x49e0c1
mov eax, dword [esi]
jmp 0x49e0c3
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.0049e3e0
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x49e0ee
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.0049ef70
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x49e10c
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.0049ef70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054c3c9
mov esp, ebp
pop ebp
ret