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

Disassembly:
push ebp
sub esp, 0x104
lea ebp, [esp - 4]
mov eax, dword [0x4c72ac]
xor eax, ebp
mov dword [ebp + 0x104], eax
push 0x30
mov eax, 0x48d713
call fcn.0046ad19
mov eax, dword [ebp + 0x110]
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [ebp - 0x24], eax
xor esi, esi
lea eax, [ebp]
push eax
push esi
push esi
push 0x23
push esi
mov dword [ebp - 4], esi
call ebx
test eax, eax
jl 0x42bf7f
call fcn.0044890c
push eax
lea ecx, [ebp - 0x18]
call fcn.004035c3
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00403a8a
push 0x4a1ccc
push 3
push 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.NBISTjItNA0xEzRPMgAOFikRPBw3Aw5OMDo8DDUsEh4pKgocKzhERA
call fcn.004023cb
lea eax, [ebp - 0x20]
push eax
call fcn.00403d46
add esp, 0x28
push dword [eax]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00407e2a
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401240
mov esi, dword [ebp - 0x18]
push esi
push 5
pop edi
push edi
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.NwNJMzQAFg0pPR5WMRI8NjY6ChM3LRocNj0gQDgBFjc0Kzs3LBMOOzA8Cgk4LEkINSg0HDo9IE4oKBIJMjsgADIrPE0oKkkIOhI8ACk6ETw
call fcn.004023cb
lea eax, [ebp - 0x20]
push eax
call fcn.00403d46
add esp, 0x28
push dword [eax]
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00407e2a
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401240
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.00401240
xor esi, esi
jmp 0x42bf82
push 5
pop edi
lea eax, [ebp]
push eax
push esi
push esi
push 0x26
push esi
call ebx
test eax, eax
jl 0x42bffa
call fcn.0044890c
push eax
lea ecx, [ebp - 0x18]
call fcn.004035c3
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00403a8a
mov esi, dword [ebp - 0x18]
push esi
push edi
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.NBAeTjQDPEAyPUlWMRFMOzQePB42PSgtMRBNQCkqHjU1KkkOPRASCikDHgA2ESAaNQE0DjcQSRY2OE1IMgMBOzQeNCspOgpNKzwoRA
call fcn.004023cb
lea eax, [ebp - 0x20]
push eax
call fcn.00403d46
add esp, 0x28
push dword [eax]
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00407e2a
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401240
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.00401240
xor esi, esi
lea eax, [ebp]
push eax
push esi
push esi
push 0x1c
push esi
call ebx
test eax, eax
jl 0x42c19f
call fcn.0044890c
push eax
lea ecx, [ebp - 0x18]
call fcn.004035c3
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00403a8a
push esi
push 4
pop esi
push esi
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Ny0KAzcDFkAoLyBAPBIVKTQTCgM2OhItPC00DikrFjU0PQocLBMgODgtOAk4LA5JKRFMPCs4REQ
call fcn.004023cb
lea eax, [ebp - 0x20]
push eax
call fcn.00403d46
mov ecx, dword [ebp - 0x24]
add esp, 0x28
push dword [eax]
call fcn.0040368a
mov ecx, dword [ebp - 0x20]
cmp eax, 0xffffffff
setg bl
add ecx, 0xfffffff0
call fcn.00401240
test bl, bl
je 0x42c10b
push edi
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.NwE8TTcDIEA0OEkANjw8NjceODs0EygcNjxJDjYRMA02EU0uOjoSCik7FkgyHk0uMgMRPCs4REQ
call fcn.004023cb
lea eax, [ebp - 0x14]
push eax
call fcn.00403d46
add esp, 0x28
push dword [eax]
mov byte [ebp - 4], 7
push 2
push 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.MTwKFTcrIBgOyxE
call fcn.004023cb
lea eax, [ebp - 0x20]
push eax
call fcn.00403d46
add esp, 0x28
push dword [eax]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.00407e2a
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401240
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.00401240
push dword [ebp - 0x18]
push edi
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.NwMWLjcDKD00PDgINTw_NzQePBM3LRotOh5NTTgDODA2ETw2KhMRMyo9Hko1KBJKNTs0NjoASRYoLBZNNjsgGjcOPE0oKkkIOhI8ACk6ETw
call fcn.004023cb
lea eax, [ebp - 0x14]
push eax
call fcn.00403d46
add esp, 0x28
mov byte [ebp - 4], 9
jmp 0x42c173
push 0
push edi
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.NBAKQS0tMC0tLR4IMjwSLjcePBM3LRotOh5NTTgDODA2ETw2KhMRMyo9Hko1KBJKNTs0NjoASRYoKE1IMgMBOzQeNCspOgpNKzwoRA
call fcn.004023cb
lea eax, [ebp - 0x14]
push eax
call fcn.00403d46
mov ecx, dword [ebp - 0x24]
add esp, 0x28
push dword [eax]
call fcn.0040368a
mov ecx, dword [ebp - 0x14]
cmp eax, 0xffffffff
setg bl
add ecx, 0xfffffff0
call fcn.00401240
test bl, bl
je 0x42c188
push dword [ebp - 0x18]
push esi
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Nz1JKzQDGkApPyBAPBIVKTQTCgM2OhItPC00DikrFjU0PQocLBMgOCgrHkQ
call fcn.004023cb
lea eax, [ebp - 0x14]
push eax
call fcn.00403d46
add esp, 0x28
mov byte [ebp - 4], 0xa
push dword [eax]
mov ecx, dword [ebp - 0x24]
call fcn.00407e2a
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401240
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00401240
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xor esi, esi
lea eax, [ebp]
push eax
push esi
push esi
push 0x1a
push esi
call ebx
test eax, eax
jl 0x42c217
call fcn.0044890c
push eax
lea ecx, [ebp - 0x18]
call fcn.004035c3
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.00403a8a
mov esi, dword [ebp - 0x18]
push esi
push 2
push 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Oj0jGjY4EjMpKx43Pj8ORA
call fcn.004023cb
lea eax, [ebp - 0x14]
push eax
call fcn.00403d46
add esp, 0x28
push dword [eax]
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 0xc
call fcn.00407e2a
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401240
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.00401240
push 3
push 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Mj0JNzQ6PE8qLDxKNhEsGA
call fcn.004023cb
lea eax, [ebp - 0x14]
push eax
call fcn.00403d46
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
add esp, 0x28
push eax
push ecx
call fcn.0046c19c
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
cmp eax, 0xffffffff
setg bl
add ecx, 0xfffffff0
call fcn.00401240
test bl, bl
je 0x42c2b7
lea eax, [ebp - 0x18]
push eax
call fcn.004365b8
pop ecx
push dword [ebp - 0x18]
mov byte [ebp - 4], 0xd
push edi
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.NBAWLjUQSQg_EjgOOAMrNTY6ChM0PRoIPC0oSTgAHhYyOkkeOgMgQTIDDkQ
call fcn.004023cb
lea eax, [ebp - 0x14]
push eax
call fcn.00403d46
add esp, 0x28
push dword [eax]
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 0xe
call fcn.00407e2a
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401240
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00401240
push 3
pop esi
push esi
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.N0keHjgAPEAoLyAAMjgWDDQoPE01AzxWPRIoRA
call fcn.004023cb
lea eax, [ebp - 0x14]
push eax
call fcn.00403d46
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
add esp, 0x28
push eax
push ecx
call fcn.0046c19c
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
cmp eax, 0xffffffff
setg bl
add ecx, 0xfffffff0
call fcn.00401240
test bl, bl
je 0x42c4af
call fcn.0044890c
push eax
lea ecx, [ebp - 0x1c]
call fcn.004035c3
lea eax, [ebp]
push eax
xor edi, edi
push edi
push edi
push 0x1a
push edi
mov byte [ebp - 4], 0xf
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x42c4a4
call fcn.0044890c
push eax
lea ecx, [ebp - 0x18]
call fcn.004035c3
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x10
call fcn.00403a8a
push esi
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.NBMBNzY9NA0yOk1NOC0eDykAChw_KhI7Nj0sATZJPAw2OhYKOi0WOzA7QUE2AA4YNhE4Cis4REQ
call fcn.004023cb
lea eax, [ebp - 0x14]
push eax
call fcn.00403d46
add esp, 0x28
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0x11
call fcn.004038c9
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x10
call fcn.00401240
lea ecx, [ebp - 0x3c]
call fcn.004572fb
push edi
push 2
push 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.PAE_LS9INEQ
mov byte [ebp - 4], 0x12
call fcn.004023cb
lea eax, [ebp - 0x20]
push eax
call fcn.00403d46
add esp, 0x28
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0x13
call fcn.00403a33
add esp, 0xc
push dword [eax]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x14
call fcn.00457390
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401240
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x12
call fcn.00401240
cmp esi, edi
je 0x42c451
lea ecx, [ebp - 0x3c]
call fcn.00456fff
mov esi, eax
mov eax, dword [ebp - 0x3c]
push 0x10
lea ecx, [ebp - 0x3c]
call dword [eax + 0x38]
cmp eax, edi
je 0x42c3fb
lea ecx, [ebp - 0x3c]
call fcn.004572c0
cmp eax, edi
jne 0x42c3fb
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004575ca
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0x15
call fcn.004038c9
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x12
call fcn.00401240
mov esi, dword [ebp - 0x18]
push esi
push 4
push 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.NwNJMi0tGgg_EEFAPyo4MzY9Cg4qOhI7KQMKACksPDU2OgouKzhERA
call fcn.004023cb
lea eax, [ebp - 0x20]
push eax
call fcn.00403d46
add esp, 0x28
push dword [eax]
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 0x16
call fcn.00407e2a
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401240
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x10
call fcn.00457321
lea ecx, [esi - 0x10]
call fcn.00401240
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401240
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.0046acd7
add ebp, 0x108
leave
ret