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

Disassembly:
push 0xffffffffffffffff
push 0x50a668
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [esp + 0x44]
push ebx
push ebp
push esi
mov eax, dword [eax + 8]
mov esi, ecx
push edi
lea ecx, [esp + 0x30]
push eax
push ecx
mov dword [esp + 0x1c], esi
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [esi + 0x3c]
lea ecx, [esp + 0x20]
mov eax, dword [edx + 0x1f0]
push eax
push 1
push 0
mov dword [esp + 0x1c], eax
call fcn.004ffe04
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
sub ebx, esi
mov esi, dword [esp + 0x50]
lea eax, [esp + 0x20]
mov ecx, esi
push eax
mov dword [esp + 0x4c], 0
sub ebp, edx
call fcn.004ff3eb
push 0
lea ecx, [esp + 0x1c]
push 2
push ecx
mov ecx, esi
mov dword [esp + 0x5c], eax
call fcn.004ff8dc
lea edi, [ebx - 1]
push 0
push edi
mov ecx, esi
call fcn.004ff928
push 1
lea edx, [esp + 0x1c]
push 1
push edx
mov ecx, esi
call fcn.004ff8dc
push ebp
push 1
mov ecx, esi
call fcn.004ff928
push 1
lea eax, [esp + 0x1c]
push edi
push eax
mov ecx, esi
call fcn.004ff8dc
push ebp
push edi
mov ecx, esi
call fcn.004ff928
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 4]
mov ebp, dword [sym.imp.GDI32.dll_SetPixel]
push ecx
push 1
push 2
push edx
call ebp
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 4]
lea eax, [ebx - 2]
push ecx
push 1
push eax
mov dword [esp + 0x24], eax
push edx
call ebp
mov eax, dword [esp + 0x50]
mov ecx, esi
push eax
call fcn.004ff3eb
lea ecx, [esp + 0x20]
call fcn.004ffdee
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x3c]
mov eax, dword [edx + 0x1f4]
push eax
push 1
push 0
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x24]
call fcn.004ffd97
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.004ff3eb
push 0
lea ecx, [esp + 0x2c]
push 0
push ecx
mov ecx, esi
mov dword [esp + 0x5c], eax
call fcn.004ff8dc
push ebx
push 0
mov ecx, esi
call fcn.004ff928
mov ebx, dword [esp + 0x10]
mov edx, dword [esi + 4]
push ebx
push 0
push 1
push edx
call ebp
mov eax, dword [esi + 4]
push ebx
push 0
push edi
push eax
call ebp
mov ecx, dword [esp + 0x50]
push ecx
mov ecx, esi
call fcn.004ff3eb
lea ecx, [esp + 0x20]
call fcn.004ffdee
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x3c]
call fcn.004b9f00
test eax, eax
je 0x4be595
mov ecx, dword [esp + 0x54]
cmp dword [ecx], 0
jne 0x4be444
mov edx, dword [ecx + 4]
test edx, edx
je 0x4be595
cmp eax, 1
je 0x4be479
cmp eax, 3
je 0x4be479
cmp eax, 2
jne 0x4be464
mov eax, dword [0x681398]
mov ebx, dword [0x681394]
mov dword [esp + 0x54], eax
jmp 0x4be489
mov dword [esp + 0x20], method.CGdiObject.virtual_0
mov dword [esp + 0x48], 1
jmp 0x4be5a5
mov ecx, dword [0x681390]
mov ebx, dword [0x68138c]
mov dword [esp + 0x54], ecx
push ebx
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x24]
call fcn.004ffd97
lea edx, [esp + 0x20]
mov ecx, esi
push edx
call fcn.004ff3eb
mov dword [esp + 0x50], eax
push 0
lea eax, [esp + 0x2c]
push 3
push eax
mov ecx, esi
call fcn.004ff8dc
mov ecx, dword [esp + 0x18]
push 0
push ecx
mov ecx, esi
call fcn.004ff928
mov edx, dword [esp + 0x50]
mov ecx, esi
push edx
call fcn.004ff3eb
lea ecx, [esp + 0x20]
call fcn.004ffdee
mov eax, dword [esp + 0x54]
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x24]
call fcn.004ffd97
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.004ff3eb
push 1
lea edx, [esp + 0x2c]
push 2
push edx
mov ecx, esi
mov dword [esp + 0x5c], eax
call fcn.004ff8dc
push 1
push edi
mov ecx, esi
call fcn.004ff928
push 2
lea eax, [esp + 0x2c]
push 2
push eax
mov ecx, esi
call fcn.004ff8dc
push 2
push edi
mov ecx, esi
call fcn.004ff928
mov ecx, dword [esp + 0x50]
push ecx
mov ecx, esi
call fcn.004ff3eb
lea ecx, [esp + 0x20]
call fcn.004ffdee
push 0x3fd33333
push 0x33333333
push ebx
call fcn.004bef60
mov edx, dword [esp + 0x60]
push 0x3fd33333
push 0x33333333
push edx
mov edi, eax
call fcn.004bef60
add esp, 0x18
push edi
push 0
mov eax, dword [esi + 4]
push 2
push eax
call ebp
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 4]
push edi
push 0
push ecx
push edx
call ebp
mov dword [esp + 0x20], method.CGdiObject.virtual_0
mov dword [esp + 0x48], 2
lea ecx, [esp + 0x20]
call fcn.004ffdee
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 8