Function at 0x40ccd0
Capabilities:
Set current directory
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4daecd
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xb8], ebx
mov esi, dword [edi]
xor ecx, ecx
push 8
mov word [ebp - 0x80], cx
push str.AcroRd32
lea ecx, [ebp - 0x80]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
call fcn.00405fe0
push str._BrowserMain
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x9c]
push eax
mov dword [ebp - 4], ebx
call fcn.0040d4d0
push eax
lea ecx, [ebp - 0x48]
push ecx
mov byte [ebp - 4], 1
call fcn.00407d50
add esp, 0x14
cmp dword [ebp - 0x88], 8
mov byte [ebp - 4], 3
jb 0x40cd78
mov edx, dword [ebp - 0x9c]
push edx
call fcn.00406ca9
add esp, 4
xor eax, eax
cmp dword [ebp - 0x34], 0x10
mov word [ebp - 0x9c], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], ebx
jae 0x40cd9d
lea eax, [ebp - 0x48]
push eax
call fcn.0040c740
mov dword [ebp - 0xb8], ebx
push 0x64
mov byte [ebp - 4], 4
call fcn.00404f8a
add esp, 8
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x40cddb
push esi
mov ecx, eax
call fcn.0040dfd8
cmp eax, ebx
je 0x40cddb
mov ecx, eax
mov dword [ebp - 0xb8], ecx
jmp 0x40cde1
mov ecx, dword [ebp - 0xb8]
mov edx, dword [0x52513c]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x14], eax
mov edx, dword [edi + 4]
mov edi, dword [edx]
mov dword [ebp - 4], 4
mov dword [ebp - 0xb4], edi
cmp edi, ebx
jne 0x40ce4e
mov byte [ebp - 4], 3
cmp ecx, ebx
je 0x40ce13
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
cmp dword [ebp - 0x34], 0x10
jb 0x40ce25
mov eax, dword [ebp - 0x48]
push eax
call fcn.00406ca9
add esp, 4
cmp dword [ebp - 0x6c], 8
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
jb 0x40ce44
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00406ca9
add esp, 4
mov eax, 4
jmp 0x40d42c
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
xor ecx, ecx
push 2
mov word [ebp - 0x2c], cx
push 0x4e62dc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.00405fe0
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.00417640
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0x9e], al
mov byte [ebp - 4], 4
jb 0x40cea5
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406ca9
add esp, 4
xor ecx, ecx
push 3
mov word [ebp - 0x2c], cx
push 0x4e60b8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.00405fe0
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.00417640
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0x9f], al
mov byte [ebp - 4], 4
jb 0x40ceef
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406ca9
add esp, 4
xor ecx, ecx
push 3
mov word [ebp - 0x2c], cx
push 0x4e6e38
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.00405fe0
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.00417640
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0xa0], al
mov byte [ebp - 4], 4
jb 0x40cf39
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406ca9
add esp, 4
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.00417770
push 8
push ebx
push str.PDFShell
mov ecx, eax
call fcn.0040a060
cmp eax, 0xffffffff
setne byte [ebp - 0x9d]
cmp dword [ebp - 0x18], 8
jb 0x40cf6f
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00406ca9
add esp, 4
mov ecx, dword [0x52513c]
mov al, byte [ebp - 0x9e]
mov byte [ecx + 0x34], al
movzx ecx, byte [ebp - 0xa0]
mov edx, dword [0x52513c]
mov byte [edx + 0x45], cl
movzx ecx, byte [ebp - 0x9f]
mov edx, dword [0x52513c]
mov byte [edx + 0x35], cl
cmp al, bl
je 0x40cfb1
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edx, dword [0x52513c]
mov dword [edx + 0x48], eax
lea ecx, [ebp - 0xc4]
call fcn.00418e30
mov byte [ebp - 4], 0xa
mov dword [0x5200b8], 1
cmp byte [ebp - 0xa0], bl
jne 0x40d186
cmp byte [ebp - 0x9f], bl
jne 0x40d186
push 0x20019
push str.SoftwareAdobeAcrobat_Reader11.0Privileged
push 0x80000001
lea ecx, [ebp - 0xc4]
mov byte [ebp - 0xa1], 1
call fcn.0040a6c0
test eax, eax
jne 0x40d03f
lea eax, [ebp - 0xa8]
push eax
push str.bProtectedMode
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xa8], ebx
call fcn.0040a810
test eax, eax
jne 0x40d034
mov ecx, dword [ebp - 0xa8]
mov dword [0x5200b8], ecx
lea ecx, [ebp - 0xc4]
call fcn.0040aa30
call fcn.0040a880
mov edx, dword [0x52513c]
mov byte [edx + 0x4d], al
call fcn.00418f60
mov ecx, dword [0x52513c]
mov byte [ecx + 0x54], al
mov edx, dword [0x52513c]
mov byte [edx + 0x55], bl
call fcn.00419180
mov ecx, dword [0x52513c]
mov byte [ecx + 0x56], al
call fcn.004193b0
mov edx, dword [0x52513c]
mov byte [ebp - 0xa9], al
mov byte [edx + 0x57], al
mov byte [ebp - 0xa2], bl
call fcn.004195d0
mov ecx, dword [0x52513c]
mov byte [ecx + 0x44], al
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xbc], ebx
call fcn.004197a0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xb
call fcn.00419870
cmp byte [ebp - 0x9e], bl
jne 0x40d0d1
cmp byte [ebp - 0x9d], bl
mov byte [ebp - 0x9d], 1
je 0x40d0d7
mov byte [ebp - 0x9d], bl
lea edx, [ebp - 0x64]
push edx
call fcn.00419a70
add esp, 4
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xc
call fcn.00419bf0
test al, al
je 0x40d243
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
mov ecx, edi
call edx
lea ecx, [ebp - 0xdc]
mov edi, eax
call fcn.004358d0
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
mov byte [ebp - 4], 0xd
mov dword [0x524094], edi
call fcn.00417770
mov esi, 8
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], esi
jb 0x40d135
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xdc]
call fcn.004358f0
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x18], esi
jb 0x40d156
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00406ca9
add esp, 4
cmp byte [ebp - 0x9e], bl
je 0x40d171
mov eax, dword [ebp - 0xd4]
cmp eax, ebx
je 0x40d171
mov edx, dword [0x52513c]
mov dword [edx + 0x38], eax
cmp dword [ebp - 0xbc], ebx
je 0x40d191
lea ecx, [ebp - 0xbc]
call fcn.004355d0
jmp 0x40d193
mov byte [ebp - 0xa1], bl
jmp 0x40d03f
xor eax, eax
mov ecx, dword [0x52513c]
mov dword [ecx + 0x20], eax
cmp byte [ebp - 0x9d], bl
je 0x40d1bc
mov edx, dword [ebp + 0xc]
push 0x4e7cf4
push edx
push 0x520070
mov ecx, 0x523fc0
call fcn.00435ee0
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov esi, dword [ebp - 0xc8]
cmp esi, ebx
je 0x40d202
mov eax, dword [ebp - 0xbc]
mov edi, 0xff
cmp eax, ebx
je 0x40d200
lea ecx, [ebp - 0xa8]
push ecx
push eax
mov dword [ebp - 0xa8], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x40d200
mov edi, dword [ebp - 0xa8]
mov dword [esi], edi
cmp byte [ebp - 0x9d], bl
je 0x40d214
mov ecx, 0x523fc0
call fcn.00444030
mov edx, dword [0x52513c]
cmp byte [edx + 0x3c], bl
jne 0x40d226
mov byte [ebp - 0xa2], 1
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xc
call fcn.0044d880
cmp byte [ebp - 0xa2], bl
je 0x40d329
jmp 0x40d249
mov esi, dword [ebp - 0xc8]
cmp byte [ebp - 0x9e], bl
jne 0x40d30d
cmp byte [ebp - 0x9f], bl
jne 0x40d329
mov dword [ebp - 0xb0], 4
cmp esi, ebx
je 0x40d275
mov dword [esi], 1
mov ecx, dword [0x52513c]
lea eax, [ebp - 0xe0]
push eax
push 0x44a600
push 0x6b
call fcn.00443f90
sub eax, 2
je 0x40d2a9
dec eax
jne 0x40d329
mov dword [ebp - 0xb0], 5
jmp 0x40d329
lea ecx, [ebp - 0xa8]
push ecx
push str.SoftwareAdobeAcrobat_Reader11.0Privileged
push 0x80000001
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xb4], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x40d329
mov eax, dword [ebp - 0xa8]
push 4
lea edx, [ebp - 0xb4]
push edx
push 4
push ebx
push str.bProtectedMode
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x40d2fe
mov ecx, dword [ebp - 0xb4]
mov dword [0x5200b8], ecx
mov edx, dword [ebp - 0xa8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40d329
cmp byte [ebp - 0xa0], bl
je 0x40d329
mov dword [ebp - 0xb0], 5
cmp esi, ebx
je 0x40d329
mov dword [esi], 0xff
cmp byte [ebp - 0xa1], bl
je 0x40d370
push 0x20006
push str.SoftwareAdobeAcrobat_Reader11.0Privileged
push 0x80000001
lea ecx, [ebp - 0xc4]
call fcn.0040a6c0
test eax, eax
jne 0x40d370
mov eax, dword [0x5200b8]
push eax
push str.bProtectedMode
lea ecx, [ebp - 0xc4]
call fcn.00453b50
lea ecx, [ebp - 0xc4]
call fcn.0040aa30
cmp byte [ebp - 0xa9], bl
je 0x40d3a0
cmp dword [ebp - 0xb0], 4
jne 0x40d3a0
cmp dword [ebp - 0x54], ebx
je 0x40d399
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x40d392
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push ebx
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov esi, 8
cmp dword [ebp - 0x50], esi
jb 0x40d3b6
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00406ca9
add esp, 4
xor edx, edx
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
mov byte [ebp - 4], 0xa
call fcn.00443210
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 4
call fcn.0040aa30
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
mov byte [ebp - 4], 3
call edx
cmp dword [ebp - 0x34], 0x10
jb 0x40d408
mov eax, dword [ebp - 0x48]
push eax
call fcn.00406ca9
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x6c], esi
jb 0x40d426
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00406ca9
add esp, 4
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret