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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51fe20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], esi
je 0x4d9189
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4d9189
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], 0
test ecx, ecx
je 0x4d8c4e
mov edx, dword [ecx + 4]
test edx, edx
jne 0x4d8c6f
push eax
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
call fcn.00515b7b
mov edx, dword [eax]
lea ecx, [esi + 0xc4]
push ecx
mov ecx, eax
mov dword [ebp + 8], eax
call dword [edx + 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x1c]
lea edx, [ebp - 0x3c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x4d8caf
lea ecx, [ebp - 0x3c]
lea edx, [esi + 0x50]
push ecx
push edx
call dword [sym.imp.USER32.dll_CopyRect]
add esi, 0x60
push esi
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 1
je 0x4d8cc1
cmp eax, 2
je 0x4d8cc1
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x38]
jmp 0x4d8cc7
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x3c]
sub eax, edx
sub eax, 3
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x7c]
test eax, eax
jne 0x4d8e4a
mov ecx, dword [esi + 0xa0]
mov eax, dword [esi + 0xa4]
lea edi, [esi + 0x9c]
push ecx
push eax
push eax
call fcn.004de340
add esp, 0xc
mov ebx, eax
mov eax, dword [edi + 8]
mov ecx, edi
push eax
push ebx
call fcn.004a0000
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x84]
mov dword [ebp - 0x14], 1
mov ecx, dword [esi + 0x40]
mov dword [ebp - 0x1c], eax
test ecx, ecx
je 0x4d8da3
mov edx, dword [esi + 0x44]
sub edx, ecx
sar edx, 2
cmp eax, edx
jae 0x4d8da3
mov ebx, dword [ecx + eax*4]
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x4d8d9d
push ebx
mov ecx, esi
call fcn.004dab60
test eax, eax
je 0x4d8d9a
mov edx, dword [ebp + 8]
push 0
push edx
mov ecx, ebx
call fcn.004dce50
mov ebx, eax
mov eax, dword [ebp - 0x20]
cmp ebx, eax
jle 0x4d8d5d
mov ebx, eax
mov eax, dword [esi + 0x70]
mov ecx, dword [ebp - 0x14]
push eax
push ebx
push 2
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.004dd040
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
add eax, ebx
push edx
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 8]
push 1
push eax
mov ecx, edi
call fcn.0048c360
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
dec ecx
cmp ecx, eax
jle 0x4d8d9a
cmp dword [ebp - 0x14], 1
jne 0x4d8da3
mov eax, dword [ebp - 0x1c]
inc eax
jmp 0x4d8d15
mov ecx, dword [esi + 0x90]
mov eax, dword [esi + 0x94]
lea ebx, [esi + 0x8c]
push ecx
push eax
push eax
call fcn.004de1b0
mov edx, dword [ebx + 8]
add esp, 0xc
mov ecx, ebx
mov dword [ebp - 0x24], eax
push edx
push eax
call fcn.004dde80
mov eax, dword [ebp - 0x24]
mov dword [ebx + 8], eax
mov ecx, dword [esi + 0xb0]
mov eax, dword [esi + 0xb4]
push ecx
push eax
push eax
call fcn.004de340
mov edx, dword [esi + 0xb4]
lea ecx, [esi + 0xac]
add esp, 0xc
mov dword [ebp - 0x24], eax
push edx
push eax
call fcn.004a0000
mov eax, dword [ebp - 0x24]
mov dword [esi + 0xb4], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x4d90a5
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 2
je 0x4d90a5
mov edx, dword [ebx + 8]
push edi
push 1
push edx
mov ecx, ebx
call fcn.004ddf20
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
dec eax
push ecx
mov dword [ebp - 0x24], eax
push 1
lea ecx, [esi + 0xac]
jmp 0x4d907a
mov ecx, dword [esi + 0x90]
mov eax, dword [esi + 0x94]
lea edi, [esi + 0x8c]
push ecx
push eax
push eax
call fcn.004de1b0
add esp, 0xc
mov ebx, eax
mov eax, dword [edi + 8]
mov ecx, edi
push eax
push ebx
call fcn.004dde80
mov dword [edi + 8], ebx
mov ecx, dword [esi + 0xa0]
mov eax, dword [esi + 0xa4]
lea edi, [esi + 0x9c]
push ecx
push eax
push eax
call fcn.004de340
add esp, 0xc
mov ebx, eax
mov eax, dword [edi + 8]
mov ecx, edi
push eax
push ebx
call fcn.004a0000
lea ecx, [esi + 0xac]
mov dword [edi + 8], ebx
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 4]
push eax
push edx
call fcn.004ddee0
mov ebx, 1
xor ecx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x1c], ecx
test eax, eax
je 0x4d903b
mov edx, dword [esi + 0x44]
sub edx, eax
sar edx, 2
cmp ecx, edx
jae 0x4d903b
mov edi, dword [eax + ecx*4]
test edi, edi
mov dword [ebp - 0x24], edi
je 0x4d9032
push edi
mov ecx, esi
call fcn.004dab60
test eax, eax
je 0x4d9032
mov eax, dword [ebp + 8]
push 0
push eax
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.004dce50
mov edi, eax
mov dword [ebp - 0x18], edi
jmp 0x4d8f29
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
cmp edi, eax
jle 0x4d8f3c
mov dword [ebp - 0x18], eax
mov edi, eax
lea ecx, [edi + ebx - 1]
cmp ecx, eax
jg 0x4d8f68
mov eax, dword [esi + 0xa4]
lea ecx, [esi + 0x9c]
lea edx, [ebp - 0x1c]
push edx
push 1
push eax
call fcn.0048c360
mov edx, ebx
add ebx, edi
mov dword [ebp - 0x14], ebx
jmp 0x4d9004
mov eax, dword [esi + 0xa0]
lea edi, [esi + 0x9c]
test eax, eax
je 0x4d8f85
mov ecx, dword [edi + 8]
sub ecx, eax
test ecx, 0xfffffffc
jne 0x4d8f91
mov eax, dword [edi + 8]
lea edx, [ebp - 0x1c]
push edx
push 1
push eax
jmp 0x4d8fed
mov edx, dword [esi + 0x94]
lea ecx, [esi + 0x8c]
push edi
push 1
push edx
call fcn.004ddf20
mov edx, dword [esi + 0xb4]
lea ecx, [esi + 0xac]
lea eax, [ebp - 0x14]
dec ebx
push eax
push 1
push edx
mov dword [ebp - 0x14], ebx
call fcn.0048c360
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
push ecx
push eax
push eax
call fcn.004de340
add esp, 0xc
mov ebx, eax
mov eax, dword [edi + 8]
mov ecx, edi
push eax
push ebx
call fcn.004a0000
lea ecx, [ebp - 0x1c]
mov edx, ebx
push ecx
push 1
mov dword [edi + 8], ebx
push edx
mov ecx, edi
call fcn.0048c360
mov eax, dword [ebp - 0x18]
mov edx, 1
mov edi, eax
lea ebx, [eax + 1]
mov dword [ebp - 0x14], ebx
mov eax, dword [esi + 0x90]
test eax, eax
jne 0x4d9012
xor ecx, ecx
jmp 0x4d901d
mov ecx, dword [esi + 0x94]
sub ecx, eax
sar ecx, 4
mov eax, dword [esi + 0x70]
push eax
imul eax, ecx
mov ecx, dword [ebp - 0x24]
add eax, 2
push edi
push eax
push edx
call fcn.004dd040
mov ecx, dword [ebp - 0x1c]
inc ecx
jmp 0x4d8ec3
mov eax, dword [esi + 0xa0]
lea edi, [esi + 0x9c]
test eax, eax
je 0x4d90a5
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 2
je 0x4d90a5
mov edx, dword [esi + 0x94]
lea ecx, [esi + 0x8c]
push edi
push 1
push edx
call fcn.004ddf20
lea eax, [ebp - 0x2c]
dec ebx
push eax
mov dword [ebp - 0x2c], ebx
lea ecx, [esi + 0xac]
push 1
mov edx, dword [ecx + 8]
push edx
call fcn.0048c360
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
push ecx
push eax
push eax
call fcn.004de340
add esp, 0xc
mov ebx, eax
mov eax, dword [edi + 8]
mov ecx, edi
push eax
push ebx
call fcn.004a0000
mov dword [edi + 8], ebx
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
push ecx
push eax
push eax
call fcn.004de340
mov ecx, dword [edi + 8]
add esp, 0xc
mov ebx, eax
push ecx
push ebx
mov ecx, edi
call fcn.004a0000
mov eax, dword [ebp - 0x28]
mov dword [edi + 8], ebx
test eax, eax
je 0x4d90d7
mov ecx, dword [ebp + 8]
push eax
mov edx, dword [ecx]
call dword [edx + 0x28]
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x4d9103
mov eax, dword [esi + 0x90]
test eax, eax
je 0x4d9103
mov ecx, dword [esi + 0x94]
sub ecx, eax
sar ecx, 4
cmp ecx, 1
jbe 0x4d9103
mov edx, dword [ebp - 0x20]
mov ecx, esi
push edx
call fcn.004d91a0
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.004d9530
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, esi
call fcn.004d7cb0
mov edx, dword [esi + 0x74]
mov ecx, esi
push edx
call fcn.004d96a0
test eax, eax
je 0x4d9133
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.004cc710
mov ecx, esi
call fcn.004d6c80
push eax
mov ecx, esi
call fcn.004daba0
test eax, eax
je 0x4d9173
lea edx, [ebp - 0x5c]
mov ecx, esi
push edx
call fcn.004d8a50
mov edx, dword [eax]
lea ecx, [esi + 0x1f8]
mov dword [esi + 0x1f8], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
jmp 0x4d9180
lea ecx, [esi + 0x1f8]
push ecx
call dword [sym.imp.USER32.dll_SetRectEmpty]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004d9ec0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4