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

Disassembly:
push 0xffffffffffffffff
push 0x520078
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.0051673d
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.00515d24
push 0
lea ecx, [esp + 0x1c]
push 2
push ecx
mov ecx, esi
mov dword [esp + 0x5c], eax
call fcn.00516215
lea edi, [ebx - 1]
push 0
push edi
mov ecx, esi
call fcn.00516261
push 1
lea edx, [esp + 0x1c]
push 1
push edx
mov ecx, esi
call fcn.00516215
push ebp
push 1
mov ecx, esi
call fcn.00516261
push 1
lea eax, [esp + 0x1c]
push edi
push eax
mov ecx, esi
call fcn.00516215
push ebp
push edi
mov ecx, esi
call fcn.00516261
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.00515d24
lea ecx, [esp + 0x20]
call fcn.00516727
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.005166d0
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.00515d24
push 0
lea ecx, [esp + 0x2c]
push 0
push ecx
mov ecx, esi
mov dword [esp + 0x5c], eax
call fcn.00516215
push ebx
push 0
mov ecx, esi
call fcn.00516261
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.00515d24
lea ecx, [esp + 0x20]
call fcn.00516727
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x3c]
call fcn.004d7bb0
test eax, eax
je 0x4dc245
mov ecx, dword [esp + 0x54]
cmp dword [ecx], 0
jne 0x4dc0f4
mov edx, dword [ecx + 4]
test edx, edx
je 0x4dc245
cmp eax, 1
je 0x4dc129
cmp eax, 3
je 0x4dc129
cmp eax, 2
jne 0x4dc114
mov eax, dword [0x9480f8]
mov ebx, dword [0x9480f4]
mov dword [esp + 0x54], eax
jmp 0x4dc139
mov dword [esp + 0x20], method.CGdiObject.virtual_0
mov dword [esp + 0x48], 1
jmp 0x4dc255
mov ecx, dword [0x9480f0]
mov ebx, dword [0x9480ec]
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.005166d0
lea edx, [esp + 0x20]
mov ecx, esi
push edx
call fcn.00515d24
mov dword [esp + 0x50], eax
push 0
lea eax, [esp + 0x2c]
push 3
push eax
mov ecx, esi
call fcn.00516215
mov ecx, dword [esp + 0x18]
push 0
push ecx
mov ecx, esi
call fcn.00516261
mov edx, dword [esp + 0x50]
mov ecx, esi
push edx
call fcn.00515d24
lea ecx, [esp + 0x20]
call fcn.00516727
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.005166d0
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.00515d24
push 1
lea edx, [esp + 0x2c]
push 2
push edx
mov ecx, esi
mov dword [esp + 0x5c], eax
call fcn.00516215
push 1
push edi
mov ecx, esi
call fcn.00516261
push 2
lea eax, [esp + 0x2c]
push 2
push eax
mov ecx, esi
call fcn.00516215
push 2
push edi
mov ecx, esi
call fcn.00516261
mov ecx, dword [esp + 0x50]
push ecx
mov ecx, esi
call fcn.00515d24
lea ecx, [esp + 0x20]
call fcn.00516727
push 0x3fd33333
push 0x33333333
push ebx
call fcn.004dcc10
mov edx, dword [esp + 0x60]
push 0x3fd33333
push 0x33333333
push edx
mov edi, eax
call fcn.004dcc10
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.00516727
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 8