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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a490
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push esi
push edi
mov eax, dword [0x4846a0]
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 0x41880a
mov edx, dword [0x484034]
mov eax, dword [edx + 0xc]
mov ecx, 0x484034
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x48]
push ecx
mov ecx, 0x474360
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 0x4776c8
push str.Microsoft
lea edx, [ebp + 0xc]
push edx
mov byte [ebp - 4], 3
call fcn.004218e0
push 0x4776c8
push str.Office
lea eax, [ebp + 0xc]
push eax
call fcn.004218e0
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp + 0xc]
push eax
call fcn.00429ca0
mov edi, dword [ebp + 0x10]
add esp, 0xc
mov eax, edi
call fcn.00429a10
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], ebx
cmp edx, ebx
jbe 0x418747
mov ecx, dword [ebp - 0x2c]
cmp ecx, edx
jb 0x4179bd
xor eax, eax
jmp 0x4179d5
mov eax, dword [ebp - 0x44]
cmp eax, ebx
jne 0x4179c8
xor eax, eax
jmp 0x4179d5
cmp ecx, ebx
jbe 0x4179d5
lea esp, [esp]
dec ecx
mov eax, dword [eax]
jne 0x4179d0
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x418844
mov ecx, dword [eax + 8]
mov esi, dword [ebp - 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x417a39
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x417a2c
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x417a2c
call fcn.00426710
mov dword [ebp - 0x1c], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x417a21
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 0x417a39
mov ebx, dword [ecx - 0xc]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.00401330
lea ebx, [ebp - 0x18]
call fcn.00424770
mov ebx, eax
call fcn.004247f0
mov ecx, dword [eax]
mov esi, dword [ebp - 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x417a9c
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x417a8f
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x417a8f
call fcn.00426710
mov dword [ebp - 0x1c], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x417a84
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 0x417a9c
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 0x418733
push 0x474364
push eax
call fcn.0044fbff
add esp, 8
test eax, eax
jne 0x417b7b
push eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x144], 0
sete cl
movzx edx, cl
push edx
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
push eax
mov ecx, 0x474370
call fcn.00401110
call fcn.004197d0
test al, al
je 0x418733
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0xe4]
push edx
push str.Microsoft_Excel
lea eax, [ebp - 0xf0]
mov ecx, edi
call fcn.0042bf50
test eax, eax
jne 0x418733
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
push eax
mov ecx, 0x4776c8
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.004211b0
lea eax, [ebp - 0x6c]
mov bl, 3
push eax
mov byte [ebp - 4], bl
call fcn.00419c80
mov byte [ebp - 4], 6
mov ecx, dword [eax]
push edi
mov edx, str.Microsoft_Excel
call fcn.00429900
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x6c]
jmp 0x417c4a
mov ecx, dword [ebp - 0x18]
push str.word
push ecx
call fcn.0044fbff
add esp, 8
test eax, eax
jne 0x417c6f
mov edx, dword [ebp + 8]
cmp dword [edx + 0x144], eax
push eax
sete al
movzx ecx, al
push ecx
push 0
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
push edx
mov ecx, 0x4743bc
call fcn.00401110
call fcn.004197d0
test al, al
je 0x418733
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x8c]
push ecx
push str.Microsoft_Word
lea eax, [ebp - 0x84]
mov ecx, edi
call fcn.0042bf50
test eax, eax
jne 0x418733
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
push edx
mov ecx, 0x4776c8
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.004211b0
lea edx, [ebp - 0x70]
mov bl, 3
push edx
mov byte [ebp - 4], bl
call fcn.00419c80
mov byte [ebp - 4], 9
mov ecx, dword [eax]
push edi
mov edx, str.Microsoft_Word
call fcn.00429900
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418733
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x418733
mov ecx, dword [ebp - 0x18]
push str.infopath
push ecx
call fcn.0044fbff
add esp, 8
test eax, eax
jne 0x417da6
mov edx, dword [ebp + 8]
cmp dword [edx + 0x144], eax
push eax
sete al
movzx ecx, al
push ecx
push 0
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
push edx
mov ecx, 0x474414
call fcn.00401110
call fcn.004197d0
test al, al
je 0x418733
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x94]
push ecx
push str.Microsoft_Office_InfoPath
lea eax, [ebp - 0xc4]
mov ecx, edi
call fcn.0042bf50
test eax, eax
jne 0x418733
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
push edx
mov ecx, 0x4776c8
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.004211b0
lea edx, [ebp - 0x28]
push edx
mov byte [ebp - 4], 3
call fcn.00419c80
mov bl, 0xc
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x28]
cmp dword [eax - 0xc], 0
jne 0x417d90
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, 0x4776c8
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.004211b0
lea ecx, [ebp - 0x78]
push ecx
mov byte [ebp - 4], bl
call fcn.00419c80
lea edi, [ebp - 0x28]
mov byte [ebp - 4], 0xf
call fcn.00421630
lea eax, [ebp - 0x78]
mov byte [ebp - 4], bl
call fcn.004245a0
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x28]
push edi
mov edx, str.Microsoft_Office_InfoPath
call fcn.00429900
lea eax, [ebp - 0x28]
jmp 0x41872a
mov edx, dword [ebp - 0x18]
push str.access
push edx
call fcn.0044fbff
add esp, 8
test eax, eax
jne 0x417e7b
push eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x144], 0
sete cl
movzx edx, cl
push edx
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov ecx, 0x474484
call fcn.00401110
call fcn.004197d0
test al, al
je 0x418733
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x9c]
push edx
push str.Microsoft_Access
lea eax, [ebp - 0xdc]
mov ecx, edi
call fcn.0042bf50
test eax, eax
jne 0x418733
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov ecx, 0x4776c8
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.004211b0
lea eax, [ebp - 0x80]
mov bl, 3
push eax
mov byte [ebp - 4], bl
call fcn.00419c80
mov byte [ebp - 4], 0x12
mov ecx, dword [eax]
push edi
mov edx, str.Microsoft_Access
call fcn.00429900
mov byte [ebp - 4], bl
lea eax, [ebp - 0x80]
jmp 0x41872e
mov ecx, dword [ebp - 0x18]
push str.outlook
push ecx
call fcn.0044fbff
add esp, 8
test eax, eax
jne 0x417f4f
mov edx, dword [ebp + 8]
cmp dword [edx + 0x144], eax
push eax
sete al
movzx ecx, al
push ecx
push 0
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
push edx
mov ecx, 0x4744e4
call fcn.00401110
call fcn.004197d0
test al, al
je 0x418733
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xa4]
push ecx
push str.Microsoft_Outlook
lea eax, [ebp - 0xcc]
mov ecx, edi
call fcn.0042bf50
test eax, eax
jne 0x418733
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
push edx
mov ecx, 0x4776c8
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.004211b0
lea edx, [ebp - 0x54]
mov bl, 3
push edx
mov byte [ebp - 4], bl
call fcn.00419c80
mov byte [ebp - 4], 0x15
mov ecx, dword [eax]
push edi
mov edx, str.Microsoft_Outlook
call fcn.00429900
mov byte [ebp - 4], bl
lea eax, [ebp - 0x54]
jmp 0x41872e
mov eax, dword [ebp - 0x18]
push str.powerpoint
push eax
call fcn.0044fbff
add esp, 8
test eax, eax
jne 0x418023
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x144], eax
push eax
sete dl
movzx eax, dl
push eax
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, 0x474544
call fcn.00401110
call fcn.004197d0
test al, al
je 0x418733
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0xac]
push eax
push str.Microsoft_PowerPoint
lea eax, [ebp - 0xec]
mov ecx, edi
call fcn.0042bf50
test eax, eax
jne 0x418733
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, 0x4776c8
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.004211b0
lea ecx, [ebp - 0x4c]
mov bl, 3
push ecx
mov byte [ebp - 4], bl
call fcn.00419c80
mov byte [ebp - 4], 0x18
mov ecx, dword [eax]
push edi
mov edx, str.Microsoft_PowerPoint
call fcn.00429900
mov byte [ebp - 4], bl
lea eax, [ebp - 0x4c]
jmp 0x41872e
lea edx, [ebp - 0x18]
push edx
mov ecx, str.publisher
call fcn.00421770
test eax, eax
jne 0x4180f5
push eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x144], 0
sete cl
movzx edx, cl
push edx
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov ecx, 0x4745b0
call fcn.00401110
call fcn.004197d0
test al, al
je 0x418733
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0xb4]
push edx
push str.Microsoft_Publisher
lea eax, [ebp - 0xd4]
mov ecx, edi
call fcn.0042bf50
test eax, eax
jne 0x418733
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov ecx, 0x4776c8
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.004211b0
lea eax, [ebp - 0x5c]
mov bl, 3
push eax
mov byte [ebp - 4], bl
call fcn.00419c80
mov byte [ebp - 4], 0x1b
mov ecx, dword [eax]
push edi
mov edx, str.Microsoft_Publisher
call fcn.00429900
mov byte [ebp - 4], bl
lea eax, [ebp - 0x5c]
jmp 0x41872e
lea ecx, [ebp - 0x18]
push ecx
mov ecx, str.project
call fcn.00421770
test eax, eax
jne 0x418280
mov esi, dword [ebp + 8]
cmp dword [esi + 0x144], eax
push eax
sete dl
movzx eax, dl
push eax
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, 0x474608
call fcn.00401110
call fcn.004197d0
test al, al
je 0x4181c6
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0xbc]
push eax
push str.Microsoft_Project
lea eax, [ebp - 0x88]
mov ecx, edi
call fcn.0042bf50
test eax, eax
jne 0x418733
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, 0x4776c8
call fcn.00401110
push ecx
mov byte [ebp - 4], 0x1c
mov edx, esp
mov dword [ebp - 0x20], esp
push edx
mov ecx, str.A7107640_94DF_1068_855E_00DD01075445
call fcn.00401110
push ecx
mov byte [ebp - 4], 0x1d
mov eax, esp
mov dword [ebp - 0x1c], esp
push eax
mov esi, str.msproject.exe
call fcn.004211b0
lea ecx, [ebp - 0x7c]
mov bl, 3
push ecx
mov byte [ebp - 4], bl
call fcn.00419c80
mov byte [ebp - 4], 0x1e
mov ecx, dword [eax]
push edi
mov edx, str.Microsoft_Project
call fcn.00429900
mov byte [ebp - 4], bl
lea eax, [ebp - 0x7c]
jmp 0x41872e
cmp dword [esi + 0x144], 0
push 0
sete dl
movzx eax, dl
push eax
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, 0x474658
call fcn.00401110
call fcn.004197d0
test al, al
je 0x418733
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x90]
push eax
push str.Microsoft_Project
lea eax, [ebp - 0x98]
mov ecx, edi
call fcn.0042bf50
test eax, eax
jne 0x418733
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, 0x4776c8
call fcn.00401110
push ecx
mov byte [ebp - 4], 0x1f
mov edx, esp
mov dword [ebp - 0x20], esp
push edx
mov ecx, str.A7107640_94DF_1068_855E_00DD01075445
call fcn.00401110
push ecx
mov byte [ebp - 4], 0x20
mov eax, esp
mov dword [ebp - 0x1c], esp
push eax
mov esi, str.winproj.exe
call fcn.004211b0
lea ecx, [ebp - 0x64]
mov bl, 3
push ecx
mov byte [ebp - 4], bl
call fcn.00419c80
mov byte [ebp - 4], 0x21
mov ecx, dword [eax]
push edi
mov edx, str.Microsoft_Project
call fcn.00429900
mov byte [ebp - 4], bl
lea eax, [ebp - 0x64]
jmp 0x41872e
lea edx, [ebp - 0x18]
push edx
mov ecx, str.mappoint
call fcn.00421770
test eax, eax
jne 0x418352
push eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x144], 0
sete cl
movzx edx, cl
push edx
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov ecx, 0x474690
call fcn.00401110
call fcn.004197d0
test al, al
je 0x418733
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0xa0]
push edx
push str.Microsoft_MapPoint
lea eax, [ebp - 0xa8]
mov ecx, edi
call fcn.0042bf50
test eax, eax
jne 0x418733
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov ecx, 0x4776c8
call fcn.00401110
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x22
mov dword [ebp - 0x20], esp
push ecx
mov ecx, str.15A40120_24D2_4FDB_8155_5F65FCE7017F
call fcn.00401110
push ecx
mov byte [ebp - 4], 0x23
mov edx, esp
mov dword [ebp - 0x1c], esp
push edx
mov esi, str.mappoint.exe
call fcn.004211b0
lea eax, [ebp - 0x74]
mov bl, 3
push eax
mov byte [ebp - 4], bl
call fcn.00419c80
mov byte [ebp - 4], 0x24
mov ecx, dword [eax]
push edi
mov edx, str.Microsoft_MapPoint
call fcn.00429900
mov byte [ebp - 4], bl
lea eax, [ebp - 0x74]
jmp 0x41872e
lea ecx, [ebp - 0x18]
push ecx
mov ecx, str.visio
call fcn.00421770
test eax, eax
jne 0x418423
mov edx, dword [ebp + 8]
cmp dword [edx + 0x144], eax
push eax
sete al
movzx ecx, al
push ecx
push 0
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
push edx
mov ecx, 0x4746f0
call fcn.00401110
call fcn.004197d0
test al, al
je 0x418733
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xb0]
push ecx
push str.Microsoft_Visio
lea eax, [ebp - 0xb8]
mov ecx, edi
call fcn.0042bf50
test eax, eax
jne 0x418733
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
push edx
mov ecx, 0x4776c8
call fcn.00401110
push ecx
mov byte [ebp - 4], 0x25
mov eax, esp
mov dword [ebp - 0x20], esp
push eax
mov ecx, str.00021A98_0000_0000_C000_000000000046
call fcn.00401110
push ecx
mov byte [ebp - 4], 0x26
mov ecx, esp
mov dword [ebp - 0x1c], esp
push ecx
mov esi, str.visio.exe
call fcn.004211b0
lea edx, [ebp - 0x50]
mov bl, 3
push edx
mov byte [ebp - 4], bl
call fcn.00419c80
mov byte [ebp - 4], 0x27
mov ecx, dword [eax]
push edi
mov edx, str.Microsoft_Visio
call fcn.00429900
mov byte [ebp - 4], bl
lea eax, [ebp - 0x50]
jmp 0x41872e
lea eax, [ebp - 0x18]
push eax
mov ecx, str.frontpage
call fcn.00421770
test eax, eax
jne 0x4184f4
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x144], eax
push eax
sete dl
movzx eax, dl
push eax
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, 0x474744
call fcn.00401110
call fcn.004197d0
test al, al
je 0x418733
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0xc0]
push eax
push str.Microsoft_FrontPage
lea eax, [ebp - 0xc8]
mov ecx, edi
call fcn.0042bf50
test eax, eax
jne 0x418733
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, 0x4776c8
call fcn.00401110
push ecx
mov byte [ebp - 4], 0x28
mov edx, esp
mov dword [ebp - 0x20], esp
push edx
mov ecx, str.3824BCD5_7042_11CE_8E17_0020AF9F9648
call fcn.00401110
push ecx
mov byte [ebp - 4], 0x29
mov eax, esp
mov dword [ebp - 0x1c], esp
push eax
mov esi, str.frontpage.exe
call fcn.004211b0
lea ecx, [ebp - 0x58]
mov bl, 3
push ecx
mov byte [ebp - 4], bl
call fcn.00419c80
mov byte [ebp - 4], 0x2a
mov ecx, dword [eax]
push edi
mov edx, str.Microsoft_FrontPage
call fcn.00429900
mov byte [ebp - 4], bl
lea eax, [ebp - 0x58]
jmp 0x41872e
lea edx, [ebp - 0x18]
push edx
mov ecx, str.onenote
call fcn.00421770
test eax, eax
jne 0x4185c6
push eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x144], 0
sete cl
movzx edx, cl
push edx
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov ecx, 0x4747a8
call fcn.00401110
call fcn.004197d0
test al, al
je 0x418733
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0xd0]
push edx
push str.Microsoft_OneNote
lea eax, [ebp - 0xd8]
mov ecx, edi
call fcn.0042bf50
test eax, eax
jne 0x418733
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov ecx, 0x4776c8
call fcn.00401110
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x2b
mov dword [ebp - 0x20], esp
push ecx
mov ecx, 0x4776c8
call fcn.00401110
push ecx
mov byte [ebp - 4], 0x2c
mov edx, esp
mov dword [ebp - 0x1c], esp
push edx
mov esi, str.onenote.exe
call fcn.004211b0
lea eax, [ebp - 0x60]
mov bl, 3
push eax
mov byte [ebp - 4], bl
call fcn.00419c80
mov byte [ebp - 4], 0x2d
mov ecx, dword [eax]
push edi
mov edx, str.Microsoft_OneNote
call fcn.00429900
mov byte [ebp - 4], bl
lea eax, [ebp - 0x60]
jmp 0x41872e
lea ecx, [ebp - 0x18]
push ecx
mov ecx, str.internet_explorer
call fcn.00421770
test eax, eax
je 0x4185ee
lea edx, [ebp - 0x18]
push edx
mov ecx, str.internetexplorer
call fcn.00421770
test eax, eax
jne 0x418733
mov eax, dword [ebp + 8]
cmp dword [eax + 0x144], 0
push 0
sete cl
movzx edx, cl
push edx
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov ecx, 0x474838
call fcn.00401110
call fcn.004197d0
test al, al
je 0x418733
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0xe0]
push edx
push str.Internet_Explorer
lea eax, [ebp - 0xe8]
mov ecx, edi
call fcn.0042bf50
test eax, eax
jne 0x418733
lea esi, [ebp - 0x24]
call fcn.00421580
mov byte [ebp - 4], 0x2e
mov esi, dword [ebp - 0x24]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x105
or eax, ecx
jge 0x418679
mov eax, 0x105
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 0x4186c4
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0045013c
add esp, 8
test eax, eax
js 0x41884e
cmp eax, dword [esi - 8]
jg 0x41884e
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.004221e0
mov esi, dword [ebp - 0x24]
push ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0x14], esp
mov ebx, esp
call fcn.00426710
add eax, 0x10
mov dword [ebx], eax
push ecx
mov byte [ebp - 4], 0x2f
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], 0x30
mov ecx, esp
mov dword [ebp - 0x1c], esp
push ecx
mov esi, str.iexplore.exe
call fcn.004211b0
lea edx, [ebp - 0x68]
push edx
mov byte [ebp - 4], 0x2e
call fcn.00419c80
mov byte [ebp - 4], 0x31
mov ecx, dword [eax]
push edi
mov edx, str.Internet_Explorer
call fcn.00429900
lea eax, [ebp - 0x68]
call fcn.004245a0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.004245a0
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x3c]
inc eax
xor ebx, ebx
mov dword [ebp - 0x2c], eax
cmp eax, edx
jb 0x4179b2
mov byte [ebp - 4], 2
cmp edx, ebx
jbe 0x4187a0
nop
mov esi, dword [ebp - 0x44]
xor eax, eax
cmp esi, ebx
setne al
cmp eax, ebx
je 0x418844
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 0x418786
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 0x41879b
lea esi, [ebp - 0x44]
call fcn.00429be0
cmp dword [ebp - 0x3c], ebx
ja 0x418750
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x34], ebx
cmp eax, ebx
je 0x4187c4
mov esi, dword [eax]
push eax
call fcn.0044fac2
add esp, 4
mov eax, esi
cmp esi, ebx
jne 0x4187b0
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 0x4187e7
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 0x41880a
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 0x418830
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