Function at 0x410884
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468fa2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x16c
push edi
mov dword [ebp - 0x164], ecx
mov eax, dword [ebp + 8]
push eax
push 0x90
mov ecx, dword [ebp - 0x164]
call fcn.0045cadf
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x164]
add ecx, 0x5c
call fcn.004166e0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x164]
add ecx, 0x98
call fcn.00416410
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x164]
add ecx, 0xd4
call fcn.004164a0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x164]
add ecx, 0x130
call fcn.0040dfd0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x164]
add ecx, 0x158
call fcn.00416260
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x164]
add ecx, 0x160
call fcn.0040dfd0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x164]
add ecx, 0x164
call fcn.0040dfd0
mov byte [ebp - 4], 7
push fcn.0046051a
push fcn.0040dfd0
push 8
push 4
mov ecx, dword [ebp - 0x164]
add ecx, 0x168
push ecx
call fcn.0044d30b
mov byte [ebp - 4], 8
push fcn.0046051a
push fcn.0040dfd0
push 8
push 4
mov edx, dword [ebp - 0x164]
add edx, 0x188
push edx
call fcn.0044d30b
mov byte [ebp - 4], 9
push fcn.0046051a
push fcn.0040dfd0
push 8
push 4
mov eax, dword [ebp - 0x164]
add eax, 0x1a8
push eax
call fcn.0044d30b
mov byte [ebp - 4], 0xa
push fcn.0046051a
push fcn.0040dfd0
push 8
push 4
mov ecx, dword [ebp - 0x164]
add ecx, 0x1c8
push ecx
call fcn.0044d30b
mov byte [ebp - 4], 0xb
push fcn.0046051a
push fcn.0040dfd0
push 8
push 4
mov edx, dword [ebp - 0x164]
add edx, 0x1e8
push edx
call fcn.0044d30b
mov byte [ebp - 4], 0xc
push fcn.0046051a
push fcn.0040dfd0
push 4
push 4
mov eax, dword [ebp - 0x164]
add eax, 0x208
push eax
call fcn.0044d30b
mov byte [ebp - 4], 0xd
push fcn.0046051a
push fcn.0040dfd0
push 4
push 4
mov ecx, dword [ebp - 0x164]
add ecx, 0x218
push ecx
call fcn.0044d30b
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x164]
add ecx, 0x248
call fcn.0040dfd0
mov byte [ebp - 4], 0xf
push fcn.0046051a
push fcn.0040dfd0
push 4
push 4
mov edx, dword [ebp - 0x164]
add edx, 0x10f08
push edx
call fcn.0044d30b
mov byte [ebp - 4], 0x10
push fcn.0046051a
push fcn.0040dfd0
push 4
push 4
mov eax, dword [ebp - 0x164]
add eax, 0x10f18
push eax
call fcn.0044d30b
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x164]
mov dword [ecx], method.CDialog.virtual_0
push 0x4869bc
mov ecx, dword [ebp - 0x164]
add ecx, 0x130
call fcn.004606a3
mov edx, dword [ebp - 0x164]
mov dword [edx + 0x134], 0xffffffff
push 0x80
call fcn.00416250
mov ecx, eax
call fcn.00416460
mov ecx, dword [ebp - 0x164]
mov dword [ecx + 0x138], eax
mov dword [ebp - 0x150], 0
mov edx, dword [ebp - 0x164]
mov dword [edx + 0x10f04], 0
mov eax, dword [ebp - 0x164]
mov dword [eax + 0x148], 0
mov ecx, dword [ebp - 0x164]
mov dword [ecx + 0x13c], 0
mov edx, dword [ebp - 0x164]
mov dword [edx + 0x140], 0
mov eax, dword [ebp - 0x164]
mov dword [eax + 0x144], 1
mov ecx, dword [ebp - 0x164]
mov dword [ecx + 0x154], 0
mov edx, dword [ebp - 0x164]
mov dword [edx + 0x150], 0
mov dword [ebp - 0x150], 0
jmp 0x410b8e
mov eax, dword [ebp - 0x150]
add eax, 1
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0x20
jge 0x410bb0
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 0x164]
mov dword [edx + ecx*4 + 0x284], 0
jmp 0x410b7f
mov ecx, dword [ebp - 0x164]
call fcn.00415963
mov byte [ebp - 0x14c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x14b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0
push 0x26
lea eax, [ebp - 0x14c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov ecx, dword [0x46ea68]
push ecx
mov edx, dword [0x46ea70]
push edx
lea eax, [ebp - 0x14c]
push eax
push 0x47fc24
mov ecx, dword [ebp - 0x164]
add ecx, 0x164
push ecx
call fcn.0045b306
add esp, 0x14
mov edx, dword [0x46ea6c]
push edx
push 0x47fc30
mov eax, dword [ebp - 0x164]
add eax, 0x164
push eax
lea ecx, [ebp - 0x154]
push ecx
call fcn.004607af
mov dword [ebp - 0x168], eax
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x16c], edx
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x158]
push ecx
call fcn.004607af
mov dword [ebp - 0x170], eax
mov edx, dword [ebp - 0x170]
mov dword [ebp - 0x174], edx
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x174]
push eax
mov ecx, dword [ebp - 0x164]
add ecx, 0x160
call fcn.00460653
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x158]
call fcn.0046051a
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x154]
call fcn.0046051a
mov byte [ebp - 0x31], 0x86
mov byte [ebp - 0x2f], 2
mov dword [ebp - 0x40], 0
push 0x47fc34
call fcn.0044d290
add esp, 4
push eax
push 0x47fc3c
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0044ce70
add esp, 0xc
mov dword [ebp - 0x48], 0x12
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x30], 1
mov byte [ebp - 0x2d], 0x22
mov byte [ebp - 0x2e], 2
mov byte [ebp - 0x32], 0
mov byte [ebp - 0x33], 0
mov dword [ebp - 0x38], 0x2bc
mov dword [ebp - 0x44], 8
lea edx, [ebp - 0x48]
push edx
mov ecx, dword [ebp - 0x164]
add ecx, 0x158
call fcn.004163a0
push 0x91
push 0x93
push 0x95
push 0x93
mov ecx, dword [ebp - 0x164]
add ecx, 0xd4
call fcn.004166a0
push 0x108
call fcn.00460a43
add esp, 4
mov dword [ebp - 0x160], eax
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x160], 0
je 0x410d7e
mov ecx, dword [ebp - 0x160]
call fcn.004160b0
mov dword [ebp - 0x178], eax
jmp 0x410d88
mov dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 0x15c]
mov dword [ecx + 0x10f4c], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 4