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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ac72
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.0045e786
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x164]
add ecx, 0x5c
call fcn.00416fa0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x164]
add ecx, 0x98
call fcn.00416cd0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x164]
add ecx, 0xd4
call fcn.00416d60
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x164]
add ecx, 0x130
call fcn.0040e500
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x164]
add ecx, 0x158
call fcn.00416b10
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x164]
add ecx, 0x160
call fcn.0040e500
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x164]
add ecx, 0x164
call fcn.0040e500
mov byte [ebp - 4], 7
push fcn.004621ea
push fcn.0040e500
push 8
push 4
mov ecx, dword [ebp - 0x164]
add ecx, 0x168
push ecx
call fcn.0044e07b
mov byte [ebp - 4], 8
push fcn.004621ea
push fcn.0040e500
push 8
push 4
mov edx, dword [ebp - 0x164]
add edx, 0x188
push edx
call fcn.0044e07b
mov byte [ebp - 4], 9
push fcn.004621ea
push fcn.0040e500
push 8
push 4
mov eax, dword [ebp - 0x164]
add eax, 0x1a8
push eax
call fcn.0044e07b
mov byte [ebp - 4], 0xa
push fcn.004621ea
push fcn.0040e500
push 8
push 4
mov ecx, dword [ebp - 0x164]
add ecx, 0x1c8
push ecx
call fcn.0044e07b
mov byte [ebp - 4], 0xb
push fcn.004621ea
push fcn.0040e500
push 8
push 4
mov edx, dword [ebp - 0x164]
add edx, 0x1e8
push edx
call fcn.0044e07b
mov byte [ebp - 4], 0xc
push fcn.004621ea
push fcn.0040e500
push 4
push 4
mov eax, dword [ebp - 0x164]
add eax, 0x208
push eax
call fcn.0044e07b
mov byte [ebp - 4], 0xd
push fcn.004621ea
push fcn.0040e500
push 4
push 4
mov ecx, dword [ebp - 0x164]
add ecx, 0x218
push ecx
call fcn.0044e07b
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x164]
add ecx, 0x248
call fcn.0040e500
mov byte [ebp - 4], 0xf
push fcn.004621ea
push fcn.0040e500
push 4
push 4
mov edx, dword [ebp - 0x164]
add edx, 0x10f08
push edx
call fcn.0044e07b
mov byte [ebp - 4], 0x10
push fcn.004621ea
push fcn.0040e500
push 4
push 4
mov eax, dword [ebp - 0x164]
add eax, 0x10f18
push eax
call fcn.0044e07b
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x164]
mov dword [ecx], method.CDialog.virtual_0
push 0x48aca4
mov ecx, dword [ebp - 0x164]
add ecx, 0x130
call fcn.00462373
mov edx, dword [ebp - 0x164]
mov dword [edx + 0x134], 0xffffffff
push 0x80
call fcn.00416b00
mov ecx, eax
call fcn.00416d20
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 0x411413
mov eax, dword [ebp - 0x150]
add eax, 1
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0x20
jge 0x411435
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 0x164]
mov dword [edx + ecx*4 + 0x284], 0
jmp 0x411404
mov ecx, dword [ebp - 0x164]
call fcn.00416212
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 [0x470b64]
push ecx
mov edx, dword [0x470b6c]
push edx
lea eax, [ebp - 0x14c]
push eax
push 0x481ccc
mov ecx, dword [ebp - 0x164]
add ecx, 0x164
push ecx
call fcn.0045cfab
add esp, 0x14
mov edx, dword [0x470b68]
push edx
push 0x481cd8
mov eax, dword [ebp - 0x164]
add eax, 0x164
push eax
lea ecx, [ebp - 0x154]
push ecx
call fcn.0046247f
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.0046247f
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.00462323
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x158]
call fcn.004621ea
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x154]
call fcn.004621ea
mov byte [ebp - 0x31], 0x86
mov byte [ebp - 0x2f], 2
mov dword [ebp - 0x40], 0
push 0x481cdc
call fcn.0044e000
add esp, 4
push eax
push 0x481ce4
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0044dbe0
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.00416c60
push 0x91
push 0x93
push 0x95
push 0x93
mov ecx, dword [ebp - 0x164]
add ecx, 0xd4
call fcn.00416f60
push 0x110
call fcn.00462713
add esp, 4
mov dword [ebp - 0x160], eax
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x160], 0
je 0x411603
mov ecx, dword [ebp - 0x160]
call fcn.00416960
mov dword [ebp - 0x178], eax
jmp 0x41160d
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 + 0x10f50], 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