Function at 0x4887f0
Capabilities:
Reference http user-agent string

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x64]
mov ebp, dword [edi]
call fcn.00482ed0
push eax
push ebp
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov eax, dword [edi + 4]
cmp eax, 3
je 0x488b0e
cmp eax, 4
je 0x488b0e
mov ebx, dword [esp + 0x78]
test ebx, 0x80000000
je 0x488a9a
neg ebx
push ebp
mov dword [esp + 0x7c], ebx
call fcn.00515b7b
mov edi, dword [edi + 0x14]
mov esi, eax
push edi
call fcn.005166bb
mov edi, eax
mov eax, dword [esi]
push 0xffffff
mov ecx, esi
call dword [eax + 0x2c]
mov edx, dword [esi]
push 0
mov ecx, esi
mov dword [esp + 0x1c], eax
call dword [edx + 0x30]
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], eax
call fcn.00515ad9
lea ecx, [esp + 0x38]
call fcn.00515ad9
test esi, esi
jne 0x48887f
xor eax, eax
jmp 0x488882
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
call ebx
push eax
lea ecx, [esp + 0x2c]
call fcn.00515b90
test esi, esi
jne 0x48889d
xor eax, eax
jmp 0x4888a0
mov eax, dword [esi + 4]
push eax
call ebx
push eax
lea ecx, [esp + 0x3c]
call fcn.00515b90
test edi, edi
jne 0x4888b5
xor eax, eax
jmp 0x4888b8
mov eax, dword [edi + 4]
push eax
mov eax, dword [esp + 0x30]
push eax
call fcn.00515cd1
lea ecx, [esp + 0x48]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0x923320
mov edx, dword [edi + 4]
push ecx
push 0x18
push edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
push 0
push 1
push 1
push ebx
push edi
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
lea ecx, [esp + 0x24]
call fcn.005166d0
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x24]
neg eax
sbb eax, eax
and eax, edx
push eax
mov eax, dword [esp + 0x40]
push eax
call fcn.00515cd1
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x14], eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.00515dd1
mov ebp, dword [esp + 0x2c]
lea eax, [esp + 0x28]
neg eax
mov edx, dword [esp + 0x3c]
push 0xcc0020
sbb eax, eax
push 0
and eax, ebp
push 0
push eax
push ebx
push edi
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ebp, dword [esp + 0x70]
cmp ebp, 0xffffffff
jne 0x48896c
mov eax, dword [esp + 0x64]
mov ebp, dword [eax + 8]
cmp dword [esp + 0x74], 0xffffffff
jne 0x48897e
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
neg eax
push 0x660046
mov ecx, dword [esp + 0x70]
sbb eax, eax
push ebx
push edi
and eax, edx
mov edx, dword [esp + 0x74]
push 0
push 0
push eax
mov eax, dword [esp + 0x8c]
push eax
mov eax, dword [esi + 4]
push ebp
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
lea eax, [esp + 0x38]
push 0x8800c6
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x70]
neg eax
sbb eax, eax
push ebx
push edi
and eax, ecx
mov ecx, dword [esp + 0x80]
push 0
push 0
push eax
mov eax, dword [esp + 0x80]
push ecx
mov ecx, dword [esi + 4]
push ebp
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_StretchBlt]
lea eax, [esp + 0x28]
push 0x660046
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x6c]
neg eax
sbb eax, eax
push ebx
push edi
and eax, edx
mov edx, dword [esp + 0x80]
push 0
push 0
push eax
mov eax, dword [esp + 0x84]
push edx
mov edx, dword [esi + 4]
push ebp
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x488a34
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x30]
push eax
call fcn.00515cd1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x488a4a
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call fcn.00515cd1
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [esp + 0x18]
push eax
call dword [edx + 0x2c]
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [esp + 0x1c]
push eax
call dword [edx + 0x30]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0x923314
call fcn.00516727
lea ecx, [esp + 0x38]
call fcn.00515c0e
lea ecx, [esp + 0x28]
call fcn.00515c0e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x18
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [edi + 0x14]
mov esi, eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x64], eax
cmp ecx, 0xffffffff
jne 0x488abe
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x70]
cmp eax, 0xffffffff
jne 0x488aca
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
push ebx
push edx
mov edx, dword [edi + 8]
push edx
push 0
push 0
push esi
push ecx
mov ecx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x8c]
push eax
push ecx
push ebp
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [esp + 0x64]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x18
mov ecx, dword [esp + 0x74]
cmp ecx, 0xffffffff
jne 0x488b1a
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x70]
cmp eax, 0xffffffff
jne 0x488b26
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x68]
push 3
push 0
push 0
push ecx
mov ecx, dword [esp + 0x7c]
push eax
mov eax, dword [edi + 0x10]
push eax
push ecx
push edx
push ebp
call dword [sym.imp.USER32.dll_DrawIconEx]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x18