Function at 0x476de0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4ca0f8
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x50b384]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50b384]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x12c]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x3c], eax
cmp dword [eax + 0x14], ebx
je 0x4774d1
mov edx, str.SOFTWAREAdobeAcrobat_Reader10.0TrustManagercTrustedSitescAlwaysTrustedForJavaScript
cmp byte [esp + 0x130], bl
jne 0x476e48
mov edx, str.SOFTWAREAdobeAcrobat_Reader10.0TrustManagercTrustedFolderscAlwaysTrustedForJavaScript
xor eax, eax
mov word [esp + 0x9c], ax
mov ebp, 7
mov eax, edx
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xac], ebx
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x476e70
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0xa0]
call fcn.00401ce4
mov ecx, dword [0x50dd18]
mov dword [esp + 0x124], ebx
cmp byte [ecx + 0x31], bl
je 0x476ed4
mov edx, str.SOFTWAREAdobeAdobe_Acrobat10.0TrustManagercTrustedSitescAlwaysTrustedForJavaScript
cmp byte [esp + 0x130], bl
jne 0x476eb2
mov edx, str.SOFTWAREAdobeAdobe_Acrobat10.0TrustManagercTrustedFolderscAlwaysTrustedForJavaScript
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x476eb7
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0xa0]
call fcn.00401ce4
cmp dword [esp + 0xb0], 8
mov eax, dword [esp + 0x9c]
jae 0x476eec
lea eax, [esp + 0x9c]
lea edx, [esp + 0x1c]
push edx
push eax
push SysReAllocStringLen
call fcn.004757c0
add esp, 0xc
test eax, eax
jne 0x4774b7
mov eax, dword [esp + 0x1c]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
xor edi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], edi
mov ecx, dword [edi + 0x50a28c]
xor eax, eax
mov word [esp + 0x48], ax
mov eax, ecx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x476f36
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.00401ce4
or dword [esp + 0x14], 1
xor ecx, ecx
push 0x11
mov word [esp + 0x28], cx
push str.cUnsafeJavaScript
lea ecx, [esp + 0x28]
mov byte [esp + 0x12c], 1
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
call fcn.00401ce4
mov eax, 2
or dword [esp + 0x14], eax
cmp dword [esp + 0x5c], 8
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x48]
jae 0x476f9b
lea eax, [esp + 0x48]
mov edx, dword [esp + 0x58]
push edx
push eax
mov eax, dword [esp + 0x3c]
push eax
push ebx
lea ecx, [esp + 0x30]
call fcn.004012ac
test eax, eax
je 0x477068
mov ecx, dword [edi + 0x50a28c]
xor edx, edx
mov eax, ecx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], dx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x476fd2
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x68]
call fcn.00401ce4
push 0xb
xor eax, eax
mov esi, 4
or dword [esp + 0x18], esi
push str.cJavaScript
lea ecx, [esp + 0x84]
mov dword [esp + 0x12c], 3
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], ax
call fcn.00401ce4
mov eax, 8
or dword [esp + 0x14], eax
cmp dword [esp + 0x78], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x124], esi
jae 0x477049
lea eax, [esp + 0x64]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x90]
push ecx
push eax
push edx
push ebx
lea ecx, [esp + 0x8c]
call fcn.004012ac
test eax, eax
jne 0x477075
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x134], bl
je 0x47707a
mov byte [esp + 0x1b], 1
test byte [esp + 0x14], 8
mov esi, 8
je 0x4770bc
and dword [esp + 0x14], 0xfffffff7
cmp dword [esp + 0x94], esi
jb 0x4770a4
mov eax, dword [esp + 0x80]
push eax
call fcn.0048e976
add esp, 4
xor ecx, ecx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], cx
test byte [esp + 0x14], 4
je 0x4770ea
and dword [esp + 0x14], 0xfffffffb
cmp dword [esp + 0x78], esi
jb 0x4770db
mov edx, dword [esp + 0x64]
push edx
call fcn.0048e976
add esp, 4
xor eax, eax
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], ax
test byte [esp + 0x14], 2
je 0x477118
and dword [esp + 0x14], 0xfffffffd
cmp dword [esp + 0x38], esi
jb 0x477109
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0048e976
add esp, 4
xor edx, edx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], dx
test byte [esp + 0x14], 1
mov dword [esp + 0x124], ebx
je 0x47713e
and dword [esp + 0x14], 0xfffffffe
cmp dword [esp + 0x5c], esi
jb 0x47713e
mov eax, dword [esp + 0x48]
push eax
call fcn.0048e976
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x4774a3
cmp byte [esp + 0x130], bl
je 0x4771f2
mov ecx, dword [edi + 0x50a28c]
xor edx, edx
mov eax, ecx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], dx
lea esi, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x477170
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.00401ce4
or dword [esp + 0x14], 0x10
push 8
xor eax, eax
push str.cWeblink
lea ecx, [esp + 0x28]
mov byte [esp + 0x12c], 5
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], ax
call fcn.00401ce4
or dword [esp + 0x14], 0x20
cmp dword [esp + 0x5c], 8
mov eax, dword [esp + 0x48]
mov dword [esp + 0x124], 6
jae 0x4771d5
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x34]
push ecx
push eax
push edx
push ebx
lea ecx, [esp + 0x30]
call fcn.004012ac
mov byte [esp + 0x1b], bl
test eax, eax
je 0x4771f7
mov byte [esp + 0x1b], 1
test byte [esp + 0x14], 0x20
je 0x477226
and dword [esp + 0x14], 0xffffffdf
cmp dword [esp + 0x38], 8
jb 0x477217
mov eax, dword [esp + 0x24]
push eax
call fcn.0048e976
add esp, 4
xor ecx, ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], cx
test byte [esp + 0x14], 0x10
mov dword [esp + 0x124], ebx
je 0x47724d
and dword [esp + 0x14], 0xffffffef
cmp dword [esp + 0x5c], 8
jb 0x47724d
mov edx, dword [esp + 0x48]
push edx
call fcn.0048e976
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x4774a3
inc dword [esp + 0x1c]
mov edx, str.SOFTWAREAdobeAcrobat_Reader10.0TrustManagercTrustedSites
cmp byte [esp + 0x130], bl
jne 0x47726e
mov edx, str.SOFTWAREAdobeAcrobat_Reader10.0TrustManagercTrustedFolders
xor eax, eax
mov word [esp + 0x48], ax
mov eax, edx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x477282
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x4c]
call fcn.00401ce4
mov ecx, dword [0x50dd18]
mov byte [esp + 0x124], 7
cmp byte [ecx + 0x31], bl
je 0x4772e1
mov edx, str.SOFTWAREAdobeAdobe_Acrobat10.0TrustManagercTrustedSites
cmp byte [esp + 0x130], bl
jne 0x4772c2
mov edx, str.SOFTWAREAdobeAdobe_Acrobat10.0TrustManagercTrustedFolders
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4772c7
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x4c]
call fcn.00401ce4
cmp dword [esp + 0x5c], 8
mov edx, dword [esp + 0x48]
jae 0x4772f0
lea edx, [esp + 0x48]
xor eax, eax
mov word [esp + 0x64], ax
mov eax, edx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x477304
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x68]
call fcn.00401ce4
push 1
push 0x4d0ef8
lea ecx, [esp + 0x68]
mov byte [esp + 0x12c], 8
call fcn.00402933
mov ecx, dword [edi + 0x50a28c]
mov eax, ecx
lea edx, [eax + 2]
mov si, word [eax]
add eax, 2
cmp si, bx
jne 0x477341
sub eax, edx
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x68]
call fcn.00402933
push 0x64
lea ecx, [esp + 0xb8]
push ebx
push ecx
call fcn.0048f0d0
mov eax, dword [esp + 0x28]
push 0xa
push 0x32
lea edx, [esp + 0xc8]
push edx
push eax
call fcn.00495b87
add esp, 0x1c
xor ecx, ecx
push 1
mov word [esp + 0x84], cx
push 0x4f2b08
lea ecx, [esp + 0x84]
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], ebx
call fcn.00401ce4
lea eax, [esp + 0xb4]
mov byte [esp + 0x124], 9
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4773c1
sub eax, ecx
sar eax, 1
push eax
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0x84]
call fcn.00402933
cmp dword [esp + 0x94], 8
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x14]
mov edi, dword [esp + 0x80]
jae 0x477404
lea edi, [esp + 0x80]
cmp dword [esp + 0x78], 8
mov esi, dword [esp + 0x64]
jae 0x477413
lea esi, [esp + 0x64]
lea ecx, [eax + eax]
push ecx
mov ecx, dword [esp + 0x40]
call fcn.0040110c
push eax
push edi
push esi
push SysReAllocStringLen
call fcn.00475750
add esp, 0x14
cmp dword [esp + 0x94], 8
jb 0x47744a
mov edx, dword [esp + 0x80]
push edx
call fcn.0048e976
add esp, 4
xor eax, eax
mov esi, 8
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], ax
cmp dword [esp + 0x78], esi
jb 0x47747a
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0048e976
add esp, 4
xor edx, edx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], dx
mov byte [esp + 0x124], bl
cmp dword [esp + 0x5c], esi
jb 0x4774a3
mov eax, dword [esp + 0x48]
push eax
call fcn.0048e976
add esp, 4
mov edi, dword [esp + 0x40]
add edi, 4
mov dword [esp + 0x40], edi
cmp edi, 0x30
jb 0x476f1c
cmp dword [esp + 0xb0], 8
jb 0x4774d1
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.0048e976
add esp, 4
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0048ebcd
add esp, 0x114
ret