Function at 0x4749e0
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.0046f0e0
push eax
push ebp
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov eax, dword [edi + 4]
cmp eax, 3
je 0x474cfe
cmp eax, 4
je 0x474cfe
mov ebx, dword [esp + 0x78]
test ebx, 0x80000000
je 0x474c8a
neg ebx
push ebp
mov dword [esp + 0x7c], ebx
call fcn.005153e5
mov edi, dword [edi + 0x14]
mov esi, eax
push edi
call fcn.00515f25
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.00515343
lea ecx, [esp + 0x38]
call fcn.00515343
test esi, esi
jne 0x474a6f
xor eax, eax
jmp 0x474a72
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.005153fa
test esi, esi
jne 0x474a8d
xor eax, eax
jmp 0x474a90
mov eax, dword [esi + 4]
push eax
call ebx
push eax
lea ecx, [esp + 0x3c]
call fcn.005153fa
test edi, edi
jne 0x474aa5
xor eax, eax
jmp 0x474aa8
mov eax, dword [edi + 4]
push eax
mov eax, dword [esp + 0x30]
push eax
call fcn.0051553b
lea ecx, [esp + 0x48]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0x7a7870
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.00515f3a
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.0051553b
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x14], eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.0051563b
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 0x474b5c
mov eax, dword [esp + 0x64]
mov ebp, dword [eax + 8]
cmp dword [esp + 0x74], 0xffffffff
jne 0x474b6e
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 0x474c24
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x30]
push eax
call fcn.0051553b
mov eax, dword [esp + 0x14]
test eax, eax
je 0x474c3a
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call fcn.0051553b
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], 0x7a7864
call fcn.00515f91
lea ecx, [esp + 0x38]
call fcn.00515478
lea ecx, [esp + 0x28]
call fcn.00515478
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 0x474cae
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x70]
cmp eax, 0xffffffff
jne 0x474cba
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 0x474d0a
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x70]
cmp eax, 0xffffffff
jne 0x474d16
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