Function at 0x510950
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56554e
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5c7cec]
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 ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 0x24]
push 0
mov dword [ebp - 0x228], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
lea eax, [ebp - 0x1a8]
push 0x30
push 0
push eax
mov dword [ebp - 0x220], esi
call fcn.005290f0
add esp, 0xc
mov dword [ebp - 0x1a8], 0x30
mov dword [ebp - 0x1a4], 8
mov dword [ebp - 0x1a0], 0x50f440
mov dword [ebp - 0x19c], 0
push 0x7f00
push esi
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], esi
mov dword [ebp - 0x190], 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x18c], eax
lea eax, [ebp - 0x1a8]
push eax
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], str.HTMLROOTWINDOW
call fcn.00488800
movzx eax, ax
test ax, ax
je 0x510b86
test ebx, ebx
je 0x510a69
mov eax, ebx
jmp 0x510b2e
mov eax, dword [0x5ccda4]
mov dword [ebp - 0x218], eax
lea esi, [eax + 4]
push esi
mov dword [ebp - 0x238], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x30
lea eax, [ebp - 0x214]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005290f0
add esp, 0xc
mov dword [ebp - 0x214], 0x30
lea eax, [ebp - 0x214]
push eax
push dword [0x5cce60]
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
test eax, eax
je 0x510afe
mov eax, dword [ebp - 0x20c]
test eax, eax
je 0x510afe
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ecx + 0x2c]
jne 0x510b04
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x218], eax
mov dword [ebp - 4], 1
jmp 0x510b14
mov ecx, dword [ebp - 0x218]
mov eax, dword [ecx + 0x3c]
mov dword [ebp - 0x218], eax
mov dword [ebp - 4], 2
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x220]
mov eax, dword [ebp - 0x218]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x224]
push 0
push dword [ebp - 0x194]
mov ecx, dword [edx + 4]
mov edx, dword [edx]
push 0
push eax
mov eax, dword [ebp - 0x224]
mov eax, dword [eax + 0xc]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x224]
mov eax, dword [eax + 8]
sub eax, edx
push eax
push ecx
push edx
push 0x86c80000
push 0
push str.HTMLROOTWINDOW
push 1
call fcn.004172d0
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x510b8d
push esi
push str.HTMLROOTWINDOW
call fcn.00471280
xor al, al
jmp 0x510d8d
push dword [ebp + 0x14]
call fcn.00460f80
add esp, 4
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x220]
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push eax
push 0x569908
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 3
call fcn.00408740
push 0x3c
lea eax, [ebp - 0x1e4]
mov byte [ebp - 0x218], 0
push 0
push eax
call fcn.005290f0
mov eax, dword [edi + 0x10]
xor ecx, ecx
inc eax
mov dword [ebp - 0x1e4], 0x3c
mov edx, 2
mul edx
push 0x5cd774
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041e02e
add esp, 0x14
mov dword [ebp - 0x1d4], eax
test eax, eax
je 0x510cb7
cmp dword [edi + 0x14], 8
mov ecx, dword [edi + 0x10]
lea eax, [ecx + 1]
mov dword [ebp - 0x1d0], eax
mov eax, edi
jb 0x510c38
mov eax, dword [edi]
lea edx, [ebp - 0x1e4]
push edx
push 0
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x510ca9
push str.www.acrobat.com
push dword [ebp - 0x1d4]
call fcn.0040b363
movzx ecx, byte [ebp - 0x218]
test eax, eax
mov edx, 1
cmove ecx, edx
push 0x599344
push dword [ebp - 0x1d4]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x218], cl
call fcn.0040b363
add esp, 0x10
test eax, eax
jne 0x510ca9
call fcn.004d3a10
mov edx, dword [ebp - 0x14]
test al, al
movzx ecx, dl
mov eax, 1
cmovne ecx, eax
mov byte [ebp - 0x218], cl
push dword [ebp - 0x1d4]
call fcn.0041e6ef
add esp, 4
push 0x13c
lea eax, [ebp - 0x178]
push 0
push eax
call fcn.005290f0
add esp, 0xc
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x178]
push dword [ebp - 0x228]
push eax
push edi
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x218]
push dword [ebp - 0x220]
call fcn.005107a0
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 4
jb 0x510cff
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x178]
call fcn.0050c870
push 1
lea ecx, [ebp - 0x178]
call fcn.0050f200
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 0x219], al
mov eax, dword [ebp - 0x22c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x5c]
mov dword [eax], ecx
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 0x234]
cmp eax, ecx
je 0x510d56
cmp dword [ebp - 0x40], 8
mov edx, ecx
push dword [ebp - 0x44]
cmovae edx, dword [ebp - 0x54]
mov ecx, eax
push edx
call fcn.00408740
test ebx, ebx
je 0x510d61
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
push str.HTMLROOTWINDOW
call fcn.00471280
lea ecx, [ebp - 0x54]
call fcn.00408e50
lea ecx, [ebp - 0x178]
call fcn.0050bcb0
lea ecx, [ebp - 0x2c]
call fcn.00408e50
mov al, byte [ebp - 0x219]
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.0040154f
mov esp, ebp
pop ebp
ret