Function at 0x511c50
Capabilities:
Check for time delay via gettickcount
Hide graphical window
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5656d4
mov eax, dword fs:[0]
push eax
sub esp, 0x210
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 edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0x1d8], eax
cmp dword [edi + 0x10], 0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1e8], ebx
mov dword [ebp - 0x1d4], esi
mov dword [ebp - 0x1e0], eax
je 0x511ee5
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x511ccb
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x511ee5
push 0x3c
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.005290f0
add esp, 0xc
mov dword [ebp - 0x50], 0x3c
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x511cfb
mov eax, dword [edi]
lea ecx, [ebp - 0x50]
push ecx
push 0
push dword [edi + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x511ee5
cmp dword [ebp - 0x44], 4
jne 0x511ee5
mov eax, 0x1bb
cmp word [ebp - 0x38], ax
jne 0x511ee5
push edi
call fcn.0041d9e0
mov ecx, eax
call fcn.004d1750
test al, al
je 0x511ee5
mov eax, dword [ebp - 0x1d8]
cmp dword [eax + 0x10], 0
je 0x511ee5
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x30
mov dword [ebp - 0x1d0], eax
lea eax, [ebp - 0x1cc]
push 0
push eax
call fcn.005290f0
mov eax, dword [ebp - 0x1d0]
add esp, 0xc
mov dword [ebp - 0x1cc], 0x30
mov dword [ebp - 0x1c8], 8
mov dword [ebp - 0x1c4], 0x50f440
push 0x7f00
push eax
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1b4], 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x1cc]
push eax
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1a4], 0x599440
call fcn.00488800
movzx eax, ax
test ax, ax
je 0x511ee5
test ebx, ebx
jne 0x511e9d
mov ebx, dword [0x5ccda4]
lea esi, [ebx + 4]
push esi
mov dword [ebp - 0x1ec], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x30
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005290f0
add esp, 0xc
mov dword [ebp - 0x44], 0x30
lea eax, [ebp - 0x44]
push eax
push dword [0x5cce60]
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
test eax, eax
je 0x511e7f
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x511e7f
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebx + 0x2c]
jne 0x511e7f
mov ebx, dword [ebp - 0x3c]
mov dword [ebp - 4], 1
jmp 0x511e89
mov ebx, dword [ebx + 0x3c]
mov dword [ebp - 4], 2
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x1d4]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
mov edx, dword [esi]
sub eax, ecx
push 0
push dword [ebp - 0x1b8]
push 0
push ebx
push eax
mov eax, dword [esi + 8]
sub eax, edx
push eax
push ecx
push edx
push 0x86c80000
push 0
push 0x599440
push 1
call fcn.004172d0
mov esi, eax
test esi, esi
jne 0x511f03
mov eax, dword [ebp - 0x1d0]
push eax
push 0x599440
call fcn.00471280
xor al, al
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
push 0
call fcn.00460f80
add esp, 4
lea eax, [ebp - 0x60]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push pe_nt_image_headers32
lea eax, [ebp - 0x19c]
push 0
push eax
call fcn.005290f0
add esp, 0xc
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
lea ecx, [ebp - 0x2c]
mov word [ebp - 0x2c], ax
push eax
push 0x569908
call fcn.00408740
xor eax, eax
mov dword [ebp - 4], 3
push eax
push 0x569908
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x208], 7
mov word [ebp - 0x21c], ax
call fcn.00408740
xor eax, eax
mov byte [ebp - 4], 4
push eax
push 0x569908
lea ecx, [ebp - 0x204]
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1f0], 7
mov word [ebp - 0x204], ax
call fcn.00408740
cmp dword [ebp - 0x1e0], 0
lea eax, [ebp - 0x2c]
push 0
push dword [ebp - 0x1dc]
setne bl
mov byte [ebp - 4], 5
push eax
push 0
push 0
push 0
push ebx
push ebx
push dword [ebp - 0x1e4]
xor eax, eax
sub esp, 0x18
mov ecx, esp
push eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x569908
mov word [ecx], ax
call fcn.00408740
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x1d8]
lea eax, [ebp - 0x60]
push edi
push 0
push 0
push eax
push esi
lea ecx, [ebp - 0x19c]
call fcn.0050b650
lea ecx, [ebp - 0x204]
call fcn.00408e50
lea ecx, [ebp - 0x21c]
call fcn.00408e50
lea ecx, [ebp - 0x2c]
call fcn.00408e50
mov dword [ebp - method.HTMLControl.virtual_0], 0x599434
mov byte [ebp - 0x80], bl
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], 6
jb 0x512065
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x19c]
call fcn.0050c870
xor ebx, ebx
xor edi, edi
cmp byte [ebp - 0x80], bl
je 0x5120b6
push 0x7f02
push ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
mov edi, eax
test edi, edi
je 0x5120a5
push edi
call dword [sym.imp.USER32.dll_SetCursor]
push 0
push dword [ebp - 0xd0]
mov ebx, eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x5120ea
xor ebx, ebx
push ebx
push dword [ebp - 0xd0]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x5120ea
mov esi, dword [ebp - 0xd0]
test esi, esi
je 0x5120ea
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 5
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 7
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [ebp - 0xda], 0
mov esi, eax
je 0x512153
nop dword [eax + eax]
push 0
push 0
push 0
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x512153
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x493e0
ja 0x512153
cmp byte [ebp - 0x80], 0
je 0x512136
push edi
call dword [sym.imp.USER32.dll_SetCursor]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [ebp - 0xda], 0
jne 0x512100
cmp byte [ebp - 0x80], 0
je 0x512164
test ebx, ebx
je 0x512164
push ebx
call dword [sym.imp.USER32.dll_SetCursor]
cmp dword [ebp - 0xe0], 1
mov ecx, dword [ebp - 0x1e8]
sete bl
test ecx, ecx
je 0x51217f
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp - 0x1d0]
push eax
push 0x599440
call fcn.00471280
lea ecx, [ebp - 0x19c]
call fcn.0050bcb0
mov al, bl
jmp 0x511ee7