Function at 0x417e50
Capabilities:
Copy file
Delete registry value
Get common file path
Query or enumerate registry value
Read .ini file
Resolve function by parsing pe exports
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x48b6d9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa74
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov edi, dword [esp + 0xa94]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x284]
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x34], ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x284]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x283], 0x5c
je 0x417ed6
lea edi, [esp + 0x284]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x283], 0x2f
jne 0x417ef0
lea edi, [esp + 0x284]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x283], al
jmp 0x417ea0
lea ecx, [esp + 0x284]
push ecx
lea ecx, [esp + 0x28]
call fcn.0046e7c1
push str.configconfig.xml
lea ecx, [esp + 0x28]
mov dword [esp + 0xa90], 0
call fcn.0046eb2f
mov eax, dword [esp + 0xa9c]
mov ebp, 1
test eax, eax
je 0x417f32
cmp eax, ebp
jne 0x4185c3
mov esi, dword [esp + 0x24]
lea edi, [ebx + 0x21c]
push str._B_style_color:black_background_color:ffff00__
lea ecx, [edi + 0xc]
mov dword [edi + 0x90], ebp
mov dword [esp + 0x1c], ecx
call fcn.0046e8dc
lea ecx, [edi + 0x10]
push str.__B_
mov dword [esp + 0x14], ecx
call fcn.0046e8dc
push esi
call fcn.004091e0
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x418538
mov edx, eax
mov esi, dword [edx + 0xc]
test esi, esi
je 0x4184e4
mov eax, dword [esi]
push str._listcolor_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x417ff6
lea eax, [esi + 4]
lea ecx, [esp + 0x14]
push eax
call fcn.0046e4c8
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8c], 1
call fcn.0046ec75
push 0x4b21ec
lea ecx, [esp + 0x18]
call fcn.0046b786
test eax, eax
jne 0x417fe0
mov edx, dword [esp + 0x14]
lea ecx, [edi + 4]
push ecx
push 0x4b21e8
push edx
call fcn.0045941e
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8c], 0
call fcn.0046e753
jmp 0x4184d9
mov eax, dword [esi]
push str._treecolor_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x418063
lea eax, [esi + 4]
lea ecx, [esp + 0x1c]
push eax
call fcn.0046e4c8
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa8c], 2
call fcn.0046ec75
push 0x4b21ec
lea ecx, [esp + 0x20]
call fcn.0046b786
test eax, eax
jne 0x41804d
mov ecx, dword [esp + 0x1c]
push edi
push 0x4b21e8
push ecx
call fcn.0045941e
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa8c], 0
call fcn.0046e753
jmp 0x4184d9
mov eax, dword [esi]
push str._HitBefore_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x418089
mov ecx, dword [esp + 0x18]
lea edx, [esi + 4]
push edx
call fcn.0046e88c
jmp 0x4184d9
mov eax, dword [esi]
push str._HitAfter_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x4180af
mov ecx, dword [esp + 0x10]
lea eax, [esi + 4]
push eax
call fcn.0046e88c
jmp 0x4184d9
mov eax, dword [esi]
push str._frmwide_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x4180d4
lea ecx, [esi + 4]
push ecx
lea ecx, [edi + 8]
call fcn.0046e88c
jmp 0x4184d9
mov eax, dword [esi]
push str._PdfSplit_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x4180fc
mov eax, dword [esi + 4]
push eax
call fcn.0045843b
add esp, 4
mov dword [edi + 0x30], eax
jmp 0x4184d9
mov eax, dword [esi]
push str._FilenameTitle_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x418124
mov eax, dword [esi + 4]
push eax
call fcn.0045843b
add esp, 4
mov dword [edi + 0x4c], eax
jmp 0x4184d9
mov eax, dword [esi]
push str._SaveMakedText_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x41814c
mov eax, dword [esi + 4]
push eax
call fcn.0045843b
add esp, 4
mov dword [edi + 0x34], eax
jmp 0x4184d9
mov eax, dword [esi]
push str._HideBase_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x418174
mov eax, dword [esi + 4]
push eax
call fcn.0045843b
add esp, 4
mov dword [edi + 0x1c], eax
jmp 0x4184d9
mov eax, dword [esi]
push str._MaxCDSize_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x41819c
mov eax, dword [esi + 4]
push eax
call fcn.0045843b
add esp, 4
mov dword [edi + 0x20], eax
jmp 0x4184d9
mov eax, dword [esi]
push str._ColvalMode_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x4181c4
mov eax, dword [esi + 4]
push eax
call fcn.0045843b
add esp, 4
mov dword [edi + 0x38], eax
jmp 0x4184d9
mov eax, dword [esi]
push str._MenuCopy_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x4181ec
mov eax, dword [esi + 4]
push eax
call fcn.0045843b
add esp, 4
mov dword [edi + 0x50], eax
jmp 0x4184d9
mov eax, dword [esi]
push str._MenuPrint_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x418214
mov eax, dword [esi + 4]
push eax
call fcn.0045843b
add esp, 4
mov dword [edi + 0x54], eax
jmp 0x4184d9
mov eax, dword [esi]
push str._MenuSave_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x41823c
mov eax, dword [esi + 4]
push eax
call fcn.0045843b
add esp, 4
mov dword [edi + 0x58], eax
jmp 0x4184d9
mov eax, dword [esi]
push str._MenuSearch_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x418264
mov eax, dword [esi + 4]
push eax
call fcn.0045843b
add esp, 4
mov dword [edi + 0x5c], eax
jmp 0x4184d9
mov eax, dword [esi]
push str._MenuGohit_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x41828c
mov eax, dword [esi + 4]
push eax
call fcn.0045843b
add esp, 4
mov dword [edi + 0x60], eax
jmp 0x4184d9
mov eax, dword [esi]
push str._MenuGorec_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x4182b4
mov eax, dword [esi + 4]
push eax
call fcn.0045843b
add esp, 4
mov dword [edi + 0x64], eax
jmp 0x4184d9
mov eax, dword [esi]
push str._MenuHfont_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x4182dc
mov eax, dword [esi + 4]
push eax
call fcn.0045843b
add esp, 4
mov dword [edi + 0x68], eax
jmp 0x4184d9
mov eax, dword [esi]
push str._MenuOutlineCol_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x418304
mov eax, dword [esi + 4]
push eax
call fcn.0045843b
add esp, 4
mov dword [edi + 0x6c], eax
jmp 0x4184d9
mov eax, dword [esi]
push str._MenuSearchCol_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x41832c
mov eax, dword [esi + 4]
push eax
call fcn.0045843b
add esp, 4
mov dword [edi + 0x78], eax
jmp 0x4184d9
mov eax, dword [esi]
push str._MenuDetailCol_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x418354
mov eax, dword [esi + 4]
push eax
call fcn.0045843b
add esp, 4
mov dword [edi + 0x70], eax
jmp 0x4184d9
mov eax, dword [esi]
push str._MenuSortCol_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x41837c
mov eax, dword [esi + 4]
push eax
call fcn.0045843b
add esp, 4
mov dword [edi + 0x74], eax
jmp 0x4184d9
mov eax, dword [esi]
push str._MenuAddData_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x4183a4
mov eax, dword [esi + 4]
push eax
call fcn.0045843b
add esp, 4
mov dword [edi + 0x7c], eax
jmp 0x4184d9
mov eax, dword [esi]
push str._MenuReg_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x4183cf
mov eax, dword [esi + 4]
push eax
call fcn.0045843b
add esp, 4
mov dword [edi + 0x80], eax
jmp 0x4184d9
mov eax, dword [esi]
push str._AlwayChk_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x4183f7
mov eax, dword [esi + 4]
push eax
call fcn.0045843b
add esp, 4
mov dword [edi + 0x24], eax
jmp 0x4184d9
mov eax, dword [esi]
push str._QuickExit_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x41841f
mov eax, dword [esi + 4]
push eax
call fcn.0045843b
add esp, 4
mov dword [edi + 0x28], eax
jmp 0x4184d9
mov eax, dword [esi]
push str._LayoutMode_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x418447
mov eax, dword [esi + 4]
push eax
call fcn.0045843b
add esp, 4
mov dword [edi + 0x2c], eax
jmp 0x4184d9
mov eax, dword [esi]
push str._NeedCD_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x41846c
mov eax, dword [esi + 4]
push eax
call fcn.0045843b
add esp, 4
mov dword [edi + 0x3c], eax
jmp 0x4184d9
mov eax, dword [esi]
push str._NeedShare_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x418491
mov eax, dword [esi + 4]
push eax
call fcn.0045843b
add esp, 4
mov dword [edi + 0x40], eax
jmp 0x4184d9
mov eax, dword [esi]
push str._NeedMax_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x4184b6
mov eax, dword [esi + 4]
push eax
call fcn.0045843b
add esp, 4
mov dword [edi + 0x44], eax
jmp 0x4184d9
mov eax, dword [esi]
push str._StoreFile_
push eax
call fcn.004646f0
add esp, 8
test eax, eax
jne 0x4184d9
mov eax, dword [esi + 4]
push eax
call fcn.0045843b
add esp, 4
mov dword [edi + 0x48], eax
mov esi, dword [esi + 8]
test esi, esi
jne 0x417f86
mov edx, dword [esp + 0x30]
push edx
call fcn.00409b00
mov esi, dword [esp + 0x1c]
push 0x4bfab8
mov eax, dword [esi]
push eax
call fcn.00458301
add esp, 0xc
test eax, eax
je 0x41851e
mov eax, dword [esp + 0x10]
push 0x4bfab8
mov eax, dword [eax]
push eax
call fcn.00458301
add esp, 8
test eax, eax
jne 0x418538
push str._B_style_color:black_background_color:ffff00__
mov ecx, esi
call fcn.0046e8dc
mov ecx, dword [esp + 0x10]
push str.__B_
call fcn.0046e8dc
call fcn.004849c8
mov ecx, dword [eax + 4]
call fcn.00472c7e
lea edi, [esp + 0x284]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0xa8c], 3
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x284]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xa98]
push ecx
push edx
mov ecx, ebx
call fcn.00416d80
test al, al
mov byte [esp + 0xa8c], 0
jne 0x4185a9
call fcn.004849c8
mov ecx, dword [eax + 4]
call fcn.00472c93
jmp 0x418ee0
call fcn.004849c8
mov ecx, dword [eax + 4]
call fcn.00472c93
cmp dword [esp + 0xa9c], ebp
je 0x418f46
lea esi, [ebx + 0x11c]
lea ecx, [esp + 0x2c]
push esi
call fcn.0046e7c1
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xa8c], 4
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0x3a
jne 0x4185fb
push 0x4b0f9c
lea ecx, [esp + 0x30]
call fcn.0046eb2f
mov eax, dword [esp + 0x2c]
push eax
call fcn.0043f370
test eax, eax
jge 0x418631
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa8c], 0
call fcn.0046e753
lea ecx, [esp + 0x24]
mov dword [esp + 0xa8c], 0xffffffff
call fcn.0046e753
xor al, al
jmp 0x418f5c
push str.brfgxzj
call fcn.0043f3f0
test eax, eax
mov dword [ebx + 0x18], eax
jne 0x41866d
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa8c], al
call fcn.0046e753
lea ecx, [esp + 0x24]
mov dword [esp + 0xa8c], 0xffffffff
call fcn.0046e753
xor al, al
jmp 0x418f5c
push esi
lea ecx, [esp + 0x3c]
call fcn.0046e7c1
push str.config_trsmin.ini
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa90], 5
call fcn.0046eb2f
mov esi, dword [esp + 0x38]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push esi
push 0x14
push str.prepage
push str.option
mov dword [ebx + 0x2b0], ebp
call edi
push esi
push 0x50
push str.ThumbWidth
push str.option
mov dword [ebx + 0x2a0], eax
call edi
push esi
push 0x50
push str.ThumbHeight
push str.option
mov dword [ebx + 0x2a4], eax
call edi
mov dword [ebx + 0x2a8], eax
mov ecx, dword [ebx + 0x18]
push 0
lea eax, [ebx + 0x2b4]
push 0
push eax
push ecx
call fcn.0043f510
mov ecx, ebx
call fcn.0041b1d0
mov ecx, ebx
call fcn.0041ab30
mov ecx, ebx
call fcn.0041a540
call fcn.004849c8
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x41874a
call fcn.004849c8
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x58]
mov dword [eax + 0x24], 0
call fcn.004849c8
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x58]
mov dword [eax + 0x30], 0x2710
call fcn.004849c8
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x58]
mov dword [eax + 0x38], 0xffffffff
push 0
call fcn.0045a120
push eax
call fcn.00459f9e
add esp, 8
lea edx, [esp + 0x84]
push 0x1ff
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [esp + 0x84]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x83], 0x5c
je 0x4187a3
lea edi, [esp + 0x84]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x83], 0x2f
jne 0x4187bd
lea edi, [esp + 0x84]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x83], al
jmp 0x41876d
mov edi, str.Macromed
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x84]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x84]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0046b466
mov edi, str.Flash
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x88]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x88]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0046b466
mov edi, str._swflash.ocx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x8c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x90]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0046b28d
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 0x10
test eax, eax
je 0x4188fe
mov ecx, dword [esp + 0x34]
add ecx, 0x1c
push ecx
lea ecx, [esp + 0x14]
call fcn.0046e7c1
push str._bin_swflash.ocx
lea ecx, [esp + 0x14]
mov byte [esp + 0xa90], 6
call fcn.0046eb2f
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x84]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x84]
push ecx
call ebp
mov esi, eax
cmp esi, 0x20
jb 0x4188ed
push str.DllRegisterServer
push esi
call ebx
test eax, eax
je 0x4188e6
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x10]
mov byte [esp + 0xa8c], 5
call fcn.0046e753
lea edx, [esp + 0x84]
push 0x1ff
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [esp + 0x84]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x83], 0x5c
je 0x418947
lea edi, [esp + 0x84]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x83], 0x2f
jne 0x418961
lea edi, [esp + 0x84]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x83], al
jmp 0x418911
mov edi, str.mci32.ocx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x84]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x88]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0046b28d
add esp, 8
test eax, eax
je 0x418a1a
mov ecx, dword [esp + 0x34]
add ecx, 0x1c
push ecx
lea ecx, [esp + 0x14]
call fcn.0046e7c1
push str._binmci32.ocx
lea ecx, [esp + 0x14]
mov byte [esp + 0xa90], 7
call fcn.0046eb2f
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x84]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x84]
push ecx
call ebp
mov esi, eax
cmp esi, 0x20
jb 0x418a09
push str.DllRegisterServer
push esi
call ebx
test eax, eax
je 0x418a02
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x10]
mov byte [esp + 0xa8c], 5
call fcn.0046e753
mov dword [esp + 0x1c], 0
mov eax, 4
lea edx, [esp + 0x384]
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov edi, str.SoftwareAdobeAcrobat_Reader5.0AdobeViewer
test eax, eax
je 0x418a48
mov edi, str.SoftwareAdobeAcrobat_Reader6.0AdobeViewer
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xor ebx, ebx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x384]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push 0xf003f
push ebx
push edx
push reloc.t40shapi.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x418adf
lea eax, [esp + 0x30]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
push ebx
push str.TrustedMode
push eax
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov ebp, 1
jne 0x418ac2
cmp dword [esp + 0x18], ebp
jne 0x418ac2
mov dword [0x4c065c], ebp
mov ecx, dword [esp + 0x14]
push str.TrustedMode
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x418ae4
mov ebp, 1
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x384]
cmp eax, ebx
mov edi, str..DEFAULTSoftwareAdobeAcrobat_Reader5.0AdobeViewer
je 0x418afd
mov edi, str..DEFAULTSoftwareAdobeAcrobat_Reader6.0AdobeViewer
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x384]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push 0xf003f
push ebx
push edx
push reloc.t40shapi.dll_Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x418b8b
lea eax, [esp + 0x30]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
push ebx
push str.TrustedMode
push eax
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x418b70
cmp dword [esp + 0x18], ebp
jne 0x418b70
mov dword [0x4c0660], ebp
mov ecx, dword [esp + 0x14]
push str.TrustedMode
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 2
mov dword [esp + 0x1c], eax
jl 0x418a22
lea eax, [esp + 0x20]
push str.acrord32.exe
push eax
call fcn.00408890
add esp, 8
mov ecx, dword [esp + 0x34]
mov byte [esp + 0xa8c], 8
add ecx, 0x1c
push ecx
lea ecx, [esp + 0x2c]
call fcn.0046e7c1
mov bl, 9
push str._bin_trhilite.api
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa90], bl
call fcn.0046eb2f
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x60]
push edx
push eax
call fcn.004590f3
add esp, 8
test eax, eax
jne 0x418e8f
mov ecx, dword [esp + 0x20]
push 0x4bfab8
push ecx
call fcn.00458301
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
add esp, 8
test eax, eax
je 0x418d2d
mov edx, dword [esp + 0x20]
push 0
push edx
call fcn.0046b28d
add esp, 8
test eax, eax
jne 0x418d2d
lea eax, [esp + 0x684]
lea ecx, [esp + 0x784]
push eax
lea edx, [esp + 0x888]
push ecx
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x38c]
push edx
push eax
push ecx
call fcn.0045887a
push 0x4bfab8
lea edx, [esp + 0x89c]
push str.plug_ins
lea eax, [esp + 0x3a0]
push edx
lea ecx, [esp + 0x4a4]
push eax
push ecx
call fcn.004587e9
mov edi, str._trhilite.api
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x4ac]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x64]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x4b0]
push ecx
call fcn.004590f3
add esp, 0x30
test eax, eax
jne 0x418d18
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x74]
cmp edx, eax
jne 0x418ce3
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x7c]
cmp eax, ecx
je 0x418d2d
lea ecx, [esp + 0x484]
push 0x180
push ecx
call fcn.0045a229
add esp, 8
lea edx, [esp + 0x484]
push 0x80
push edx
call ebp
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x484]
push 0
push eax
push ecx
jmp 0x418d27
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x484]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x18]
push str.acrobat.exe
push ecx
call fcn.00408890
add esp, 8
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xa90], 0xa
call fcn.0046e88c
lea ecx, [esp + 0x18]
mov byte [esp + 0xa8c], bl
call fcn.0046e753
mov edx, dword [esp + 0x20]
push 0x4bfab8
push edx
call fcn.00458301
add esp, 8
test eax, eax
je 0x418e8f
mov eax, dword [esp + 0x20]
push 0
push eax
call fcn.0046b28d
add esp, 8
test eax, eax
jne 0x418e8f
lea ecx, [esp + 0x784]
lea edx, [esp + 0x684]
push ecx
lea eax, [esp + 0x888]
push edx
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x38c]
push eax
push ecx
push edx
call fcn.0045887a
push 0x4bfab8
lea eax, [esp + 0x89c]
push str.plug_ins
lea ecx, [esp + 0x3a0]
push eax
lea edx, [esp + 0x4a4]
push ecx
push edx
call fcn.004587e9
mov edi, str._trhilite.api
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x4ac]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x64]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x4b0]
push ecx
call fcn.004590f3
add esp, 0x30
test eax, eax
jne 0x418e7a
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x74]
cmp edx, eax
jne 0x418e45
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x7c]
cmp eax, ecx
je 0x418e8f
lea ecx, [esp + 0x484]
push 0x180
push ecx
call fcn.0045a229
add esp, 8
lea edx, [esp + 0x484]
push 0x80
push edx
call ebp
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x484]
push 0
push eax
push ecx
jmp 0x418e89
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x484]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [esp + 0x34]
call fcn.00419300
test al, al
jne 0x418ef8
lea ecx, [esp + 0x28]
mov byte [esp + 0xa8c], 8
call fcn.0046e753
lea ecx, [esp + 0x20]
mov byte [esp + 0xa8c], 5
call fcn.0046e753
lea ecx, [esp + 0x38]
mov byte [esp + 0xa8c], 4
call fcn.0046e753
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa8c], 0
call fcn.0046e753
lea ecx, [esp + 0x24]
mov dword [esp + 0xa8c], 0xffffffff
call fcn.0046e753
xor al, al
jmp 0x418f5c
mov ecx, 0x4c0720
call fcn.0041f320
lea ecx, [esp + 0x28]
mov byte [esp + 0xa8c], 8
call fcn.0046e753
lea ecx, [esp + 0x20]
mov byte [esp + 0xa8c], 5
call fcn.0046e753
lea ecx, [esp + 0x38]
mov byte [esp + 0xa8c], 4
call fcn.0046e753
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa8c], 0
call fcn.0046e753
lea ecx, [esp + 0x24]
mov dword [esp + 0xa8c], 0xffffffff
call fcn.0046e753
mov al, 1
mov ecx, dword [esp + 0xa84]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa80
ret 0xc