Function at 0x4061de
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45df9a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x498
push edi
mov dword [ebp - 0x49c], ecx
lea ecx, [ebp - 0x78]
call fcn.00402210
mov dword [ebp - 4], 0
mov word [ebp - 0x7c], 0
lea ecx, [ebp - 0x8c]
call fcn.00402210
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00402210
mov byte [ebp - 4], 2
mov ecx, 0x479910
call fcn.00402270
push eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0x471f8c
push 0x471f94
push 0x471f9c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004552a9
push 0x471fa0
lea ecx, [ebp - 0x10]
call fcn.00402280
test eax, eax
jne 0x406398
mov dword [ebp - 0x94], 0
lea edx, [ebp - 0x94]
push edx
push 0x20019
push 0
push 0x471fa8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x94], 0
je 0x4062c8
mov eax, dword [ebp - 0x94]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x94], 0
cmp dword [ebp - 0x90], 0
jne 0x406364
push 0x471fe8
lea ecx, [ebp - 0x78]
call fcn.004552a9
lea ecx, [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x7c]
and edx, 0xffff
push edx
mov ecx, dword [ebp + 8]
call fcn.004512d4
mov ax, word [ebp - 0x7c]
add ax, 1
mov word [ebp - 0x7c], ax
push 0x471ff0
lea ecx, [ebp - 0x78]
call fcn.004552a9
lea ecx, [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x7c]
and edx, 0xffff
push edx
mov ecx, dword [ebp + 8]
call fcn.004512d4
mov ax, word [ebp - 0x7c]
add ax, 1
mov word [ebp - 0x7c], ax
push 0x471ff8
lea ecx, [ebp - 0x78]
call fcn.004552a9
lea ecx, [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x7c]
and edx, 0xffff
push edx
mov ecx, dword [ebp + 8]
call fcn.004512d4
mov ax, word [ebp - 0x7c]
add ax, 1
mov word [ebp - 0x7c], ax
jmp 0x406393
push 0x472000
lea ecx, [ebp - 0x78]
call fcn.004552a9
lea ecx, [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x7c]
and edx, 0xffff
push edx
mov ecx, dword [ebp + 8]
call fcn.004512d4
mov ax, word [ebp - 0x7c]
add ax, 1
mov word [ebp - 0x7c], ax
jmp 0x4066a7
push 0x472008
lea ecx, [ebp - 0x10]
call fcn.00402280
test eax, eax
jne 0x406420
mov cl, byte [0x479670]
mov byte [ebp - 0x288], cl
mov ecx, 0x7c
xor eax, eax
lea edi, [ebp - 0x287]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x1f4
lea edx, [ebp - 0x288]
push edx
push 0x147
mov ecx, 0x479934
call fcn.0041c0a1
lea eax, [ebp - 0x288]
push eax
push 0x472014
lea ecx, [ebp - 0x78]
push ecx
call fcn.0044fdfe
add esp, 0xc
lea edx, [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x7c]
and eax, 0xffff
push eax
mov ecx, dword [ebp + 8]
call fcn.004512d4
mov cx, word [ebp - 0x7c]
add cx, 1
mov word [ebp - 0x7c], cx
jmp 0x4066a7
push 0x472018
lea ecx, [ebp - 0x10]
call fcn.00402280
test eax, eax
jne 0x4064a9
mov dl, byte [0x479674]
mov byte [ebp - 0x47c], dl
mov ecx, 0x7c
xor eax, eax
lea edi, [ebp - 0x47b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x1f4
lea eax, [ebp - 0x47c]
push eax
push 0x147
mov ecx, 0x479934
call fcn.0041c0a1
lea ecx, [ebp - 0x47c]
push ecx
push 0x472020
lea edx, [ebp - 0x78]
push edx
call fcn.0044fdfe
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x7c]
and ecx, 0xffff
push ecx
mov ecx, dword [ebp + 8]
call fcn.004512d4
mov dx, word [ebp - 0x7c]
add dx, 1
mov word [ebp - 0x7c], dx
jmp 0x4066a7
push 0x472024
lea ecx, [ebp - 0x10]
call fcn.00402280
test eax, eax
jne 0x4065f2
mov dword [ebp - 0x488], 0
lea eax, [ebp - 0x488]
push eax
push 0x20019
push 0
push 0x472030
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x484], eax
cmp dword [ebp - 0x488], 0
je 0x40650c
mov ecx, dword [ebp - 0x488]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x488], 0
cmp dword [ebp - 0x484], 0
jne 0x406543
push 0x472070
lea ecx, [ebp - 0x78]
call fcn.004552a9
lea edx, [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x7c]
and eax, 0xffff
push eax
mov ecx, dword [ebp + 8]
call fcn.004512d4
mov cx, word [ebp - 0x7c]
add cx, 1
mov word [ebp - 0x7c], cx
push 0x472078
lea ecx, [ebp - 0x78]
call fcn.004552a9
lea edx, [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x7c]
and eax, 0xffff
push eax
mov ecx, dword [ebp + 8]
call fcn.004512d4
mov cx, word [ebp - 0x7c]
add cx, 1
mov word [ebp - 0x7c], cx
lea edx, [ebp - 0x488]
push edx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsExcel.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x480], eax
cmp dword [ebp - 0x488], 0
je 0x4065b5
mov eax, dword [ebp - 0x488]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x488], 0
cmp dword [ebp - 0x480], 0
jne 0x4065ed
push str.Excel
lea ecx, [ebp - 0x78]
call fcn.004552a9
lea ecx, [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x7c]
and edx, 0xffff
push edx
mov ecx, dword [ebp + 8]
call fcn.004512d4
mov ax, word [ebp - 0x7c]
add ax, 1
mov word [ebp - 0x7c], ax
jmp 0x4066a7
mov dword [ebp - 0x490], 0
lea ecx, [ebp - 0x490]
push ecx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsWinword.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x48c], eax
cmp dword [ebp - 0x490], 0
je 0x406640
mov edx, dword [ebp - 0x490]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x490], 0
cmp dword [ebp - 0x48c], 0
jne 0x406678
push 0x472108
lea ecx, [ebp - 0x78]
call fcn.004552a9
lea eax, [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x7c]
and ecx, 0xffff
push ecx
mov ecx, dword [ebp + 8]
call fcn.004512d4
mov dx, word [ebp - 0x7c]
add dx, 1
mov word [ebp - 0x7c], dx
push 0x472110
lea ecx, [ebp - 0x78]
call fcn.004552a9
lea eax, [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x7c]
and ecx, 0xffff
push ecx
mov ecx, dword [ebp + 8]
call fcn.004512d4
mov dx, word [ebp - 0x7c]
add dx, 1
mov word [ebp - 0x7c], dx
mov eax, dword [ebp - 0x7c]
and eax, 0xffff
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x49c]
add ecx, 0x34
call fcn.00407190
lea ecx, [ebp - 0x84]
call fcn.00402210
mov byte [ebp - 4], 3
mov dword [ebp - 0x80], 0
jmp 0x4066e4
mov ecx, dword [ebp - 0x80]
add ecx, 1
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
cmp edx, dword [ebp - 0x88]
jge 0x406754
mov eax, dword [ebp - 0x80]
push eax
lea ecx, [ebp - 0x494]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004071b0
mov dword [ebp - 0x4a0], eax
mov edx, dword [ebp - 0x4a0]
mov dword [ebp - 0x4a4], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x4a4]
push eax
lea ecx, [ebp - 0x84]
call fcn.00455259
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x494]
call fcn.00455120
lea ecx, [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x80]
push edx
mov ecx, dword [ebp - 0x49c]
add ecx, 0x34
call fcn.004512d4
jmp 0x4066db
mov ax, word [ebp - 0x7c]
mov word [ebp - 0x498], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x84]
call fcn.00455120
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00455120
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.00455120
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00455120
mov ax, word [ebp - 0x498]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 4