Function at 0x408410
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5497b6
mov eax, dword fs:[0]
push eax
sub esp, 0xa98
mov eax, dword [0x5ad040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xa98], ebx
movdqu xmm0, xmmword [str.PostInstall]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x84c]
push 0x1f8
movdqu xmmword [ebp - 0x2c], xmm0
push 0
movq xmm0, qword [0x58da74]
movq qword [ebp - 0x1c], xmm0
movdqu xmm0, xmmword [str.ExtRun0]
push eax
mov dword [ebp - 0xaa0], edi
movdqu xmmword [ebp - 0x85c], xmm0
call fcn.00530d50
movdqu xmm0, xmmword [str.ExtRunParam0]
mov ax, word [0x58daa4]
push 0x1ee
mov word [ebp - 0x63c], ax
lea eax, [ebp - 0x63a]
movdqu xmmword [ebp - 0x654], xmm0
push 0
movq xmm0, qword [0x58da9c]
push eax
movq qword [ebp - 0x644], xmm0
call fcn.00530d50
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x244], ax
lea eax, [ebp - 0x242]
push eax
call fcn.00530d50
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xa64], ax
lea eax, [ebp - 0xa62]
push eax
call fcn.00530d50
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0x30
xor eax, eax
mov dword [ebp - 0xa9c], 0
mov word [ebp - 0x38], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x244]
movq qword [ebp - 0x36], xmm0
push edi
push 0x104
push eax
push 0x58c7b0
lea eax, [ebp - 0x85c]
push eax
lea eax, [ebp - 0x2c]
push eax
call esi
push edi
test eax, eax
je 0x408a9e
push 0x104
lea eax, [ebp - 0xa64]
push eax
push 0x58c7b0
lea eax, [ebp - 0x654]
push eax
lea eax, [ebp - 0x2c]
push eax
call esi
xor eax, eax
lea ecx, [ebp - 0x38]
push 0xa
mov word [ebp - 0x850], ax
mov word [ebp - 0x63e], ax
mov eax, dword [ebp - 0xa9c]
push 5
inc eax
push ecx
push eax
mov dword [ebp - 0xa9c], eax
call fcn.0052fe6d
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x85c]
push 0x104
push eax
call fcn.0052f62b
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x654]
push 0x104
push eax
call fcn.0052f62b
lea eax, [ebp - 0x244]
push str.SOURCE
push eax
call fcn.0052f6c5
lea ecx, [ebp - 0x244]
add esp, 0x30
cmp ecx, eax
jne 0x4086b2
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x44c], ax
lea eax, [ebp - 0x44a]
push eax
call fcn.00530d50
add esp, 0xc
lea eax, [ebp - 0x44c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x44c]
lea edx, [eax + 2]
jmp 0x408620
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408620
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0x44e], 0x5c
je 0x40867f
lea ebx, [ebx]
lea eax, [eax*2 - 2]
cmp eax, 0x208
jae 0x408a99
xor ecx, ecx
mov word [ebp + eax - 0x44c], cx
lea eax, [ebp - 0x44c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408665
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0x44e], 0x5c
jne 0x408640
lea eax, [ebp - 0x236]
push eax
lea eax, [ebp - 0x44c]
push 0x104
push eax
call fcn.0052f62b
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x244]
push 0x104
push eax
call fcn.0052f5cf
add esp, 0x18
xor eax, eax
mov dword [ebp - 0xa80], 7
mov dword [ebp - 0xa84], 0
mov word [ebp - 0xa94], ax
cmp word [ebp - 0x244], ax
jne 0x4086dc
xor ecx, ecx
jmp 0x4086f4
lea ecx, [ebp - 0x244]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4086e5
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0xa94]
call fcn.00406a30
lea esi, [ebx + 0xc60]
mov dword [ebp - 4], 0
mov ebx, dword [esi + 4]
lea eax, [ebp - 0xa94]
cmp eax, ebx
jae 0x4087c4
mov eax, dword [esi]
lea ecx, [ebp - 0xa94]
cmp eax, ecx
ja 0x4087c4
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp ebx, dword [esi + 8]
jne 0x408755
push ecx
mov ecx, esi
call fcn.004067e0
mov eax, dword [esi]
lea ecx, [edi + edi*2]
mov ebx, dword [esi + 4]
lea edi, [eax + ecx*8]
test ebx, ebx
je 0x408853
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp dword [edi + 0x14], 8
jae 0x408796
mov eax, dword [edi + 0x10]
inc eax
je 0x4087a0
add eax, eax
push eax
push edi
push ebx
call fcn.0052e350
add esp, 0xc
jmp 0x4087a0
mov eax, dword [edi]
mov dword [ebx], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
jmp 0x408853
cmp ebx, dword [esi + 8]
jne 0x4087d1
push ecx
mov ecx, esi
call fcn.004067e0
mov edi, dword [esi + 4]
test edi, edi
je 0x408853
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [ebp - 0xa80], 8
jae 0x408812
mov eax, dword [ebp - 0xa84]
inc eax
je 0x408824
add eax, eax
push eax
lea eax, [ebp - 0xa94]
push eax
push edi
call fcn.0052e350
add esp, 0xc
jmp 0x408824
mov eax, dword [ebp - 0xa94]
mov dword [edi], eax
mov dword [ebp - 0xa94], 0
mov eax, dword [ebp - 0xa84]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0xa80]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [ebp - 0xa80], 7
mov dword [ebp - 0xa84], 0
mov word [ebp - 0xa94], ax
add dword [esi + 4], 0x18
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xa80], 8
jb 0x408875
push dword [ebp - 0xa94]
call fcn.0040f8c3
add esp, 4
xor eax, eax
mov dword [ebp - 0xa68], 7
mov dword [ebp - 0xa6c], 0
mov word [ebp - 0xa7c], ax
cmp word [ebp - 0xa64], ax
jne 0x40889f
xor ecx, ecx
jmp 0x4088bf
lea ecx, [ebp - 0xa64]
lea edx, [ecx + 2]
jmp 0x4088b0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4088b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0xa64]
push eax
lea ecx, [ebp - 0xa7c]
call fcn.00406a30
mov esi, dword [ebp - 0xa98]
lea eax, [ebp - 0xa7c]
add esi, 0xc6c
mov dword [ebp - 4], 1
mov ebx, dword [esi + 4]
cmp eax, ebx
jae 0x408995
mov eax, dword [esi]
lea ecx, [ebp - 0xa7c]
cmp eax, ecx
ja 0x408995
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp ebx, dword [esi + 8]
jne 0x408926
push ecx
mov ecx, esi
call fcn.004067e0
mov eax, dword [esi]
lea ecx, [edi + edi*2]
mov ebx, dword [esi + 4]
lea edi, [eax + ecx*8]
test ebx, ebx
je 0x408a24
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp dword [edi + 0x14], 8
jae 0x408967
mov eax, dword [edi + 0x10]
inc eax
je 0x408971
add eax, eax
push eax
push edi
push ebx
call fcn.0052e350
add esp, 0xc
jmp 0x408971
mov eax, dword [edi]
mov dword [ebx], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
jmp 0x408a24
cmp ebx, dword [esi + 8]
jne 0x4089a2
push ecx
mov ecx, esi
call fcn.004067e0
mov edi, dword [esi + 4]
test edi, edi
je 0x408a24
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [ebp - 0xa68], 8
jae 0x4089e3
mov eax, dword [ebp - 0xa6c]
inc eax
je 0x4089f5
add eax, eax
push eax
lea eax, [ebp - 0xa7c]
push eax
push edi
call fcn.0052e350
add esp, 0xc
jmp 0x4089f5
mov eax, dword [ebp - 0xa7c]
mov dword [edi], eax
mov dword [ebp - 0xa7c], 0
mov eax, dword [ebp - 0xa6c]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0xa68]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [ebp - 0xa68], 7
mov dword [ebp - 0xa6c], 0
mov word [ebp - 0xa7c], ax
add dword [esi + 4], 0x18
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xa68], 8
jb 0x408a46
push dword [ebp - 0xa7c]
call fcn.0040f8c3
add esp, 4
mov edi, dword [ebp - 0xaa0]
xor eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
mov word [ebp - 0xa7c], ax
lea eax, [ebp - 0x244]
push 0x104
push eax
push 0x58c7b0
lea eax, [ebp - 0x85c]
mov dword [ebp - 0xa68], 7
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xa6c], 0
push eax
call esi
mov ebx, dword [ebp - 0xa98]
jmp 0x408542
call fcn.0052fd91
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [ebp - 0x2c]
push 0xffffffffffffffff
push str.Auto
push eax
call esi
push edi
push 0xffffffffffffffff
mov dword [ebx + 0xc78], eax
lea eax, [ebp - 0x2c]
push str.ServerType
push eax
call esi
push edi
push 0x104
mov dword [ebx + 0x1298], eax
lea eax, [ebx + 0xc80]
push eax
push 0x58c7b0
push str.ServerPath
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
push 0x104
lea eax, [ebx + 0x1090]
push eax
push 0x58c7b0
push str.ServerPassWD
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
push 0x104
lea eax, [ebx + 0xe88]
push eax
push 0x58c7b0
push str.ServerUserID
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
push 0xffffffffffffffff
push str.HMLImageCompress
lea eax, [ebp - 0x2c]
push eax
call esi
push edi
push 0xffffffffffffffff
mov dword [ebx + 0x129c], eax
lea eax, [ebp - 0x2c]
push str.ActiveDocument
push eax
call esi
mov dword [ebx + 0x12a0], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052e288
mov esp, ebp
pop ebp
ret 4