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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460788
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
push ebx
push esi
push edi
mov eax, dword [0x4786a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0xc]
cmp eax, ebx
je 0x4159cd
mov edx, dword [0x478034]
mov eax, dword [edx + 0xc]
mov ecx, 0x478034
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x48]
push ecx
mov ecx, 0x46a058
mov byte [ebp - 4], 1
call fcn.00401110
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 0xa
push 0x46cea0
push str.Microsoft
lea edx, [ebp + 0xc]
push edx
mov byte [ebp - 4], 3
call fcn.0041ddd0
push 0x46cea0
push str.Office
lea eax, [ebp + 0xc]
push eax
call fcn.0041ddd0
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp + 0xc]
push eax
call fcn.00423c50
mov edi, dword [ebp + 0x10]
add esp, 0xc
mov eax, edi
call fcn.004239a0
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], ebx
cmp edx, ebx
jbe 0x41590b
mov ecx, dword [ebp - 0x2c]
cmp ecx, edx
jb 0x414c4d
xor eax, eax
jmp 0x414c65
mov eax, dword [ebp - 0x44]
cmp eax, ebx
jne 0x414c58
xor eax, eax
jmp 0x414c65
cmp ecx, ebx
jbe 0x414c65
lea esp, [esp]
dec ecx
mov eax, dword [eax]
jne 0x414c60
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x415a07
mov ecx, dword [eax + 8]
mov esi, dword [ebp - 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x414cc9
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x414cbc
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x414cbc
call fcn.004218e0
mov dword [ebp - 0x1c], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x414cb1
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x10
mov dword [ebp - 0x18], ecx
jmp 0x414cc9
mov ebx, dword [ecx - 0xc]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.00401330
lea ebx, [ebp - 0x18]
call fcn.004202e0
mov ebx, eax
call fcn.00420360
mov ecx, dword [eax]
mov esi, dword [ebp - 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x414d2c
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x414d1f
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x414d1f
call fcn.004218e0
mov dword [ebp - 0x1c], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x414d14
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x10
mov dword [ebp - 0x18], ecx
jmp 0x414d2c
mov ebx, dword [ecx - 0xc]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.00401330
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x4158f7
push 0x46a05c
push eax
call fcn.0044646f
add esp, 8
test eax, eax
jne 0x414e0a
mov eax, dword [ebp + 8]
cmp dword [eax + 0x124], 0
sete cl
movzx edx, cl
push edx
xor ebx, ebx
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
push eax
mov ecx, 0x46a068
call fcn.00401110
call fcn.00416870
test al, al
je 0x4158f7
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x88]
push edx
push str.Microsoft_Excel
lea eax, [ebp - 0xe4]
mov ecx, edi
call fcn.00425ac0
test eax, eax
jne 0x4158f7
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
push eax
mov ecx, 0x46cea0
call fcn.00401110
push ecx
mov ecx, esp
mov byte [ebp - 4], 4
mov dword [ebp - 0x20], esp
push ecx
mov ecx, str.00020813_0000_0000_C000_000000000046
call fcn.00401110
push ecx
mov byte [ebp - 4], 5
mov edx, esp
mov dword [ebp - 0x14], esp
push edx
mov esi, str.excel.exe
call fcn.0041d6f0
lea eax, [ebp - 0x68]
mov bl, 3
push eax
mov byte [ebp - 4], bl
call fcn.00416a00
mov byte [ebp - 4], 6
mov ecx, dword [eax]
push edi
mov edx, str.Microsoft_Excel
call fcn.00423890
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x68]
jmp 0x414ed5
mov ecx, dword [ebp - 0x18]
push str.word
push ecx
call fcn.0044646f
add esp, 8
test eax, eax
jne 0x414efa
mov edx, dword [ebp + 8]
cmp dword [edx + 0x124], eax
sete al
movzx ecx, al
push ecx
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
push edx
mov ecx, 0x46a0b4
xor ebx, ebx
call fcn.00401110
call fcn.00416870
test al, al
je 0x4158f7
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x80]
push ecx
push str.Microsoft_Word
lea eax, [ebp - 0xb8]
mov ecx, edi
call fcn.00425ac0
test eax, eax
jne 0x4158f7
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
push edx
mov ecx, 0x46cea0
call fcn.00401110
push ecx
mov byte [ebp - 4], 7
mov eax, esp
mov dword [ebp - 0x20], esp
push eax
mov ecx, str.00020905_0000_0000_C000_000000000046
call fcn.00401110
push ecx
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x1c], esp
push ecx
mov esi, str.winword.exe
call fcn.0041d6f0
lea edx, [ebp - 0x6c]
mov bl, 3
push edx
mov byte [ebp - 4], bl
call fcn.00416a00
mov byte [ebp - 4], 9
mov ecx, dword [eax]
push edi
mov edx, str.Microsoft_Word
call fcn.00423890
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4158f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4158f7
mov ecx, dword [ebp - 0x18]
push str.infopath
push ecx
call fcn.0044646f
add esp, 8
test eax, eax
jne 0x415030
mov edx, dword [ebp + 8]
cmp dword [edx + 0x124], eax
sete al
movzx ecx, al
push ecx
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
push edx
mov ecx, 0x46a10c
xor ebx, ebx
call fcn.00401110
call fcn.00416870
test al, al
je 0x4158f7
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x90]
push ecx
push str.Microsoft_Office_InfoPath
lea eax, [ebp - 0xd0]
mov ecx, edi
call fcn.00425ac0
test eax, eax
jne 0x4158f7
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
push edx
mov ecx, 0x46cea0
call fcn.00401110
push ecx
mov byte [ebp - 4], 0xa
mov eax, esp
mov dword [ebp - 0x20], esp
push eax
mov ecx, str.FD34A360_115F_43CA_8D6F_BBD45FD6F828
call fcn.00401110
push ecx
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x1c], esp
push ecx
mov esi, str.infopath.exe
call fcn.0041d6f0
lea edx, [ebp - 0x28]
push edx
mov byte [ebp - 4], 3
call fcn.00416a00
mov bl, 0xc
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x28]
cmp dword [eax - 0xc], 0
jne 0x41501a
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, 0x46cea0
call fcn.00401110
push ecx
mov byte [ebp - 4], 0xd
mov edx, esp
mov dword [ebp - 0x20], esp
push edx
mov ecx, str.FD34A370_115F_43CA_8D6F_BBD45FD6F828
call fcn.00401110
push ecx
mov byte [ebp - 4], 0xe
mov eax, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.0041d6f0
lea ecx, [ebp - 0x74]
push ecx
mov byte [ebp - 4], bl
call fcn.00416a00
lea edi, [ebp - 0x28]
mov byte [ebp - 4], 0xf
call fcn.0041db20
lea eax, [ebp - 0x74]
mov byte [ebp - 4], bl
call fcn.0041d790
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x28]
push edi
mov edx, str.Microsoft_Office_InfoPath
call fcn.00423890
lea eax, [ebp - 0x28]
jmp 0x4158ee
mov edx, dword [ebp - 0x18]
push str.access
push edx
call fcn.0044646f
add esp, 8
test eax, eax
jne 0x415104
mov eax, dword [ebp + 8]
cmp dword [eax + 0x124], 0
sete cl
movzx edx, cl
push edx
xor ebx, ebx
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov ecx, 0x46a17c
call fcn.00401110
call fcn.00416870
test al, al
je 0x4158f7
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x98]
push edx
push str.Microsoft_Access
lea eax, [ebp - 0xc0]
mov ecx, edi
call fcn.00425ac0
test eax, eax
jne 0x4158f7
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov ecx, 0x46cea0
call fcn.00401110
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x20], esp
push ecx
mov ecx, str.4AFFC9A0_5F99_101B_AF4E_00AA003F0F07
call fcn.00401110
push ecx
mov byte [ebp - 4], 0x11
mov edx, esp
mov dword [ebp - 0x1c], esp
push edx
mov esi, str.msaccess.exe
call fcn.0041d6f0
lea eax, [ebp - 0x7c]
mov bl, 3
push eax
mov byte [ebp - 4], bl
call fcn.00416a00
mov byte [ebp - 4], 0x12
mov ecx, dword [eax]
push edi
mov edx, str.Microsoft_Access
call fcn.00423890
mov byte [ebp - 4], bl
lea eax, [ebp - 0x7c]
jmp 0x4158f2
mov ecx, dword [ebp - 0x18]
push str.outlook
push ecx
call fcn.0044646f
add esp, 8
test eax, eax
jne 0x4151d7
mov edx, dword [ebp + 8]
cmp dword [edx + 0x124], eax
sete al
movzx ecx, al
push ecx
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
push edx
mov ecx, 0x46a1dc
xor ebx, ebx
call fcn.00401110
call fcn.00416870
test al, al
je 0x4158f7
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xa0]
push ecx
push str.Microsoft_Outlook
lea eax, [ebp - 0xe0]
mov ecx, edi
call fcn.00425ac0
test eax, eax
jne 0x4158f7
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
push edx
mov ecx, 0x46cea0
call fcn.00401110
push ecx
mov byte [ebp - 4], 0x13
mov eax, esp
mov dword [ebp - 0x20], esp
push eax
mov ecx, str.00062FFF_0000_0000_C000_000000000046
call fcn.00401110
push ecx
mov byte [ebp - 4], 0x14
mov ecx, esp
mov dword [ebp - 0x1c], esp
push ecx
mov esi, str.outlook.exe
call fcn.0041d6f0
lea edx, [ebp - 0x4c]
mov bl, 3
push edx
mov byte [ebp - 4], bl
call fcn.00416a00
mov byte [ebp - 4], 0x15
mov ecx, dword [eax]
push edi
mov edx, str.Microsoft_Outlook
call fcn.00423890
mov byte [ebp - 4], bl
lea eax, [ebp - 0x4c]
jmp 0x4158f2
mov eax, dword [ebp - 0x18]
push str.powerpoint
push eax
call fcn.0044646f
add esp, 8
test eax, eax
jne 0x4152aa
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x124], eax
sete dl
movzx eax, dl
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, 0x46a23c
xor ebx, ebx
call fcn.00401110
call fcn.00416870
test al, al
je 0x4158f7
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0xa8]
push eax
push str.Microsoft_PowerPoint
lea eax, [ebp - 0xc8]
mov ecx, edi
call fcn.00425ac0
test eax, eax
jne 0x4158f7
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, 0x46cea0
call fcn.00401110
push ecx
mov byte [ebp - 4], 0x16
mov edx, esp
mov dword [ebp - 0x20], esp
push edx
mov ecx, str.91493440_5A91_11CF_8700_00AA0060263B
call fcn.00401110
push ecx
mov byte [ebp - 4], 0x17
mov eax, esp
mov dword [ebp - 0x1c], esp
push eax
mov esi, str.powerpnt.exe
call fcn.0041d6f0
lea ecx, [ebp - 0x58]
mov bl, 3
push ecx
mov byte [ebp - 4], bl
call fcn.00416a00
mov byte [ebp - 4], 0x18
mov ecx, dword [eax]
push edi
mov edx, str.Microsoft_PowerPoint
call fcn.00423890
mov byte [ebp - 4], bl
lea eax, [ebp - 0x58]
jmp 0x4158f2
lea edx, [ebp - 0x18]
push edx
mov ecx, str.publisher
call fcn.0041dc60
test eax, eax
jne 0x41537b
mov eax, dword [ebp + 8]
cmp dword [eax + 0x124], 0
sete cl
movzx edx, cl
push edx
xor ebx, ebx
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov ecx, 0x46a2a8
call fcn.00401110
call fcn.00416870
test al, al
je 0x4158f7
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0xb0]
push edx
push str.Microsoft_Publisher
lea eax, [ebp - 0xd8]
mov ecx, edi
call fcn.00425ac0
test eax, eax
jne 0x4158f7
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov ecx, 0x46cea0
call fcn.00401110
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x20], esp
push ecx
mov ecx, str.0002123C_0000_0000_C000_000000000046
call fcn.00401110
push ecx
mov byte [ebp - 4], 0x1a
mov edx, esp
mov dword [ebp - 0x1c], esp
push edx
mov esi, str.mspub.exe
call fcn.0041d6f0
lea eax, [ebp - 0x78]
mov bl, 3
push eax
mov byte [ebp - 4], bl
call fcn.00416a00
mov byte [ebp - 4], 0x1b
mov ecx, dword [eax]
push edi
mov edx, str.Microsoft_Publisher
call fcn.00423890
mov byte [ebp - 4], bl
lea eax, [ebp - 0x78]
jmp 0x4158f2
lea ecx, [ebp - 0x18]
push ecx
mov ecx, str.project
call fcn.0041dc60
test eax, eax
jne 0x41544b
mov edx, dword [ebp + 8]
cmp dword [edx + 0x124], eax
sete al
movzx ecx, al
push ecx
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
push edx
mov ecx, 0x46a300
xor ebx, ebx
call fcn.00401110
call fcn.00416870
test al, al
je 0x4158f7
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x84]
push ecx
push str.Microsoft_Project
lea eax, [ebp - 0x8c]
mov ecx, edi
call fcn.00425ac0
test eax, eax
jne 0x4158f7
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
push edx
mov ecx, 0x46cea0
call fcn.00401110
push ecx
mov byte [ebp - 4], 0x1c
mov eax, esp
mov dword [ebp - 0x20], esp
push eax
mov ecx, str.A7107640_94DF_1068_855E_00DD01075445
call fcn.00401110
push ecx
mov byte [ebp - 4], 0x1d
mov ecx, esp
mov dword [ebp - 0x1c], esp
push ecx
mov esi, str.msproject.exe
call fcn.0041d6f0
lea edx, [ebp - 0x60]
mov bl, 3
push edx
mov byte [ebp - 4], bl
call fcn.00416a00
mov byte [ebp - 4], 0x1e
mov ecx, dword [eax]
push edi
mov edx, str.Microsoft_Project
call fcn.00423890
mov byte [ebp - 4], bl
lea eax, [ebp - 0x60]
jmp 0x4158f2
lea eax, [ebp - 0x18]
push eax
mov ecx, str.mappoint
call fcn.0041dc60
test eax, eax
jne 0x41551b
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x124], eax
sete dl
movzx eax, dl
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, 0x46a364
xor ebx, ebx
call fcn.00401110
call fcn.00416870
test al, al
je 0x4158f7
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x94]
push eax
push str.Microsoft_MapPoint
lea eax, [ebp - 0x9c]
mov ecx, edi
call fcn.00425ac0
test eax, eax
jne 0x4158f7
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, 0x46cea0
call fcn.00401110
push ecx
mov byte [ebp - 4], 0x1f
mov edx, esp
mov dword [ebp - 0x20], esp
push edx
mov ecx, str.15A40120_24D2_4FDB_8155_5F65FCE7017F
call fcn.00401110
push ecx
mov byte [ebp - 4], 0x20
mov eax, esp
mov dword [ebp - 0x1c], esp
push eax
mov esi, str.mappoint.exe
call fcn.0041d6f0
lea ecx, [ebp - 0x70]
mov bl, 3
push ecx
mov byte [ebp - 4], bl
call fcn.00416a00
mov byte [ebp - 4], 0x21
mov ecx, dword [eax]
push edi
mov edx, str.Microsoft_MapPoint
call fcn.00423890
mov byte [ebp - 4], bl
lea eax, [ebp - 0x70]
jmp 0x4158f2
lea edx, [ebp - 0x18]
push edx
mov ecx, str.visio
call fcn.0041dc60
test eax, eax
jne 0x4155ec
mov eax, dword [ebp + 8]
cmp dword [eax + 0x124], 0
sete cl
movzx edx, cl
push edx
xor ebx, ebx
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov ecx, 0x46a3c4
call fcn.00401110
call fcn.00416870
test al, al
je 0x4158f7
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0xa4]
push edx
push str.Microsoft_Visio
lea eax, [ebp - 0xac]
mov ecx, edi
call fcn.00425ac0
test eax, eax
jne 0x4158f7
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov ecx, 0x46cea0
call fcn.00401110
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x22
mov dword [ebp - 0x20], esp
push ecx
mov ecx, str.00021A98_0000_0000_C000_000000000046
call fcn.00401110
push ecx
mov byte [ebp - 4], 0x23
mov edx, esp
mov dword [ebp - 0x1c], esp
push edx
mov esi, str.visio.exe
call fcn.0041d6f0
lea eax, [ebp - 0x50]
mov bl, 3
push eax
mov byte [ebp - 4], bl
call fcn.00416a00
mov byte [ebp - 4], 0x24
mov ecx, dword [eax]
push edi
mov edx, str.Microsoft_Visio
call fcn.00423890
mov byte [ebp - 4], bl
lea eax, [ebp - 0x50]
jmp 0x4158f2
lea ecx, [ebp - 0x18]
push ecx
mov ecx, str.frontpage
call fcn.0041dc60
test eax, eax
jne 0x4156bc
mov edx, dword [ebp + 8]
cmp dword [edx + 0x124], eax
sete al
movzx ecx, al
push ecx
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
push edx
mov ecx, 0x46a418
xor ebx, ebx
call fcn.00401110
call fcn.00416870
test al, al
je 0x4158f7
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xb4]
push ecx
push str.Microsoft_FrontPage
lea eax, [ebp - 0xbc]
mov ecx, edi
call fcn.00425ac0
test eax, eax
jne 0x4158f7
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
push edx
mov ecx, 0x46cea0
call fcn.00401110
push ecx
mov byte [ebp - 4], 0x25
mov eax, esp
mov dword [ebp - 0x20], esp
push eax
mov ecx, str.3824BCD5_7042_11CE_8E17_0020AF9F9648
call fcn.00401110
push ecx
mov byte [ebp - 4], 0x26
mov ecx, esp
mov dword [ebp - 0x1c], esp
push ecx
mov esi, str.frontpage.exe
call fcn.0041d6f0
lea edx, [ebp - 0x54]
mov bl, 3
push edx
mov byte [ebp - 4], bl
call fcn.00416a00
mov byte [ebp - 4], 0x27
mov ecx, dword [eax]
push edi
mov edx, str.Microsoft_FrontPage
call fcn.00423890
mov byte [ebp - 4], bl
lea eax, [ebp - 0x54]
jmp 0x4158f2
lea eax, [ebp - 0x18]
push eax
mov ecx, str.onenote
call fcn.0041dc60
test eax, eax
jne 0x41578c
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x124], eax
sete dl
movzx eax, dl
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, 0x46a47c
xor ebx, ebx
call fcn.00401110
call fcn.00416870
test al, al
je 0x4158f7
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0xc4]
push eax
push str.Microsoft_OneNote
lea eax, [ebp - 0xcc]
mov ecx, edi
call fcn.00425ac0
test eax, eax
jne 0x4158f7
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, 0x46cea0
call fcn.00401110
push ecx
mov byte [ebp - 4], 0x28
mov edx, esp
mov dword [ebp - 0x20], esp
push edx
mov ecx, 0x46cea0
call fcn.00401110
push ecx
mov byte [ebp - 4], 0x29
mov eax, esp
mov dword [ebp - 0x1c], esp
push eax
mov esi, str.onenote.exe
call fcn.0041d6f0
lea ecx, [ebp - 0x5c]
mov bl, 3
push ecx
mov byte [ebp - 4], bl
call fcn.00416a00
mov byte [ebp - 4], 0x2a
mov ecx, dword [eax]
push edi
mov edx, str.Microsoft_OneNote
call fcn.00423890
mov byte [ebp - 4], bl
lea eax, [ebp - 0x5c]
jmp 0x4158f2
lea edx, [ebp - 0x18]
push edx
mov ecx, str.internet_explorer
call fcn.0041dc60
test eax, eax
je 0x4157b4
lea eax, [ebp - 0x18]
push eax
mov ecx, str.internetexplorer
call fcn.0041dc60
test eax, eax
jne 0x4158f7
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x124], 0
sete dl
movzx eax, dl
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, 0x46a50c
xor ebx, ebx
call fcn.00401110
call fcn.00416870
test al, al
je 0x4158f7
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0xd4]
push eax
push str.Internet_Explorer
lea eax, [ebp - 0xdc]
mov ecx, edi
call fcn.00425ac0
test eax, eax
jne 0x4158f7
lea esi, [ebp - 0x24]
call fcn.0041dae0
mov byte [ebp - 4], 0x2b
mov esi, dword [ebp - 0x24]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x41583d
mov eax, 0x104
lea ecx, [ebp - 0x24]
call fcn.00401440
mov esi, dword [ebp - 0x24]
push esi
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathW]
test eax, eax
jne 0x415888
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004469ac
add esp, 8
test eax, eax
js 0x415a11
cmp eax, dword [esi - 8]
jg 0x415a11
lea edx, [ebp - 0x24]
xor ecx, ecx
push edx
mov dword [esi - 0xc], eax
mov edx, str.Internet_Exploreriexplore.exe
mov word [esi + eax*2], cx
call fcn.0041e6d0
mov esi, dword [ebp - 0x24]
push ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0x14], esp
mov ebx, esp
call fcn.004218e0
add eax, 0x10
mov dword [ebx], eax
push ecx
mov byte [ebp - 4], 0x2c
mov eax, esp
mov dword [ebp - 0x20], esp
push eax
mov ecx, str.EAB22AC0_30C1_11CF_A7EB_0000C05BAE0B
call fcn.00401110
push ecx
mov byte [ebp - 4], 0x2d
mov ecx, esp
mov dword [ebp - 0x1c], esp
push ecx
mov esi, str.iexplore.exe
call fcn.0041d6f0
lea edx, [ebp - 0x64]
push edx
mov byte [ebp - 4], 0x2b
call fcn.00416a00
mov byte [ebp - 4], 0x2e
mov ecx, dword [eax]
push edi
mov edx, str.Internet_Explorer
call fcn.00423890
lea eax, [ebp - 0x64]
call fcn.0041d790
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0041d790
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x3c]
inc eax
xor ebx, ebx
mov dword [ebp - 0x2c], eax
cmp eax, edx
jb 0x414c42
mov byte [ebp - 4], 2
cmp edx, ebx
jbe 0x415963
mov esi, dword [ebp - 0x44]
xor eax, eax
cmp esi, ebx
setne al
cmp eax, ebx
je 0x415a07
mov eax, dword [esi]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 8]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415949
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x34]
mov dword [esi], ecx
dec dword [ebp - 0x3c]
mov dword [ebp - 0x34], esi
jne 0x41595e
lea esi, [ebp - 0x44]
call fcn.00423bd0
cmp dword [ebp - 0x3c], ebx
ja 0x415913
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x34], ebx
cmp eax, ebx
je 0x415987
mov esi, dword [eax]
push eax
call fcn.00446332
add esp, 4
mov eax, esi
cmp esi, ebx
jne 0x415973
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4159aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4159cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4159f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00401680
push 0x80070057
call fcn.00401680
int3