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

Disassembly:
sub esp, 0x2c
push ebx
push edi
mov edi, ecx
mov ecx, dword [edi + 0x3c]
call fcn.004d7960
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
cmp dword [ebx], 0
je 0x4dc641
mov ecx, dword [edi + 0x78]
jmp 0x4dc654
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x4dc651
mov edx, dword [edi + 0x7c]
mov dword [esp + 0x3c], edx
jmp 0x4dc658
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x3c]
or ecx, 0xffffffff
cmp edx, ecx
jne 0x4dc66a
mov edx, dword [edi + 0x74]
mov dword [esp + 0x3c], edx
test eax, eax
je 0x4dc898
mov edx, dword [eax + 4]
test edx, edx
je 0x4dc898
cmp dword [esp + 0x3c], ecx
je 0x4dc898
mov eax, dword [ebx + 8]
push ebp
push esi
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
lea edx, [esp + 0x18]
mov ecx, edi
push edx
call fcn.004dd660
mov esi, dword [eax]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
push ecx
mov eax, dword [eax + 4]
push edx
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 4]
push eax
mov ecx, edi
mov dword [esp + 0x30], esi
call fcn.004dd7f0
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 4]
push ecx
push edx
push eax
mov ecx, edi
call fcn.004dd870
mov ecx, dword [edi + 0x3c]
call fcn.004d7390
mov ecx, dword [edi + 0x3c]
mov ebp, eax
mov dword [esp + 0x18], ecx
mov eax, dword [ecx + 0x240]
test eax, eax
je 0x4dc792
cmp ebp, 1
je 0x4dc792
cmp ebp, 2
je 0x4dc792
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x34]
mov edi, ecx
sub edi, esi
sub edi, eax
mov eax, edi
cdq
sub eax, edx
mov esi, eax
sar esi, 1
cmp ebp, 3
jne 0x4dc73c
cmp esi, 2
jge 0x4dc761
mov esi, 2
jmp 0x4dc761
cmp ebp, 4
jne 0x4dc761
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
sub ecx, eax
add edx, esi
sub ecx, 2
cmp edx, ecx
jle 0x4dc761
lea esi, [edi - 2]
cmp esi, 1
jge 0x4dc761
mov esi, 1
mov ecx, dword [esp + 0x18]
call fcn.004d77f0
cdq
and edx, 3
add eax, edx
sar eax, 2
cmp ebp, 3
jne 0x4dc789
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x4dc781
add eax, eax
add eax, 2
jmp 0x4dc84f
mov eax, dword [esp + 0x14]
jmp 0x4dc84f
mov eax, dword [ecx + 0x210]
test eax, eax
jne 0x4dc81b
mov eax, dword [esp + 0x34]
mov esi, dword [edi + 0x70]
mov edx, dword [esp + 0x2c]
sub eax, esi
sub eax, edx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
call fcn.004d77f0
cdq
and edx, 7
mov ecx, dword [edi + 0x3c]
add eax, edx
sar eax, 3
mov dword [esp + 0x10], eax
xor eax, eax
cmp ebp, 3
sete al
mov ebp, eax
call fcn.004d9be0
test eax, eax
je 0x4dc80f
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4dc7fc
mov ecx, dword [esp + 0x10]
test ebp, ebp
je 0x4dc7f1
mov eax, ecx
neg eax
add esi, eax
jmp 0x4dc800
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x10]
add esi, eax
jmp 0x4dc800
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x4dc80f
test ebp, ebp
je 0x4dc80d
neg ecx
sub esi, ecx
mov eax, dword [esp + 0x14]
cmp esi, eax
jge 0x4dc81f
mov esi, eax
jmp 0x4dc81f
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
sub ecx, edi
mov edi, dword [esp + 0x28]
mov eax, ecx
sub eax, edi
cdq
sub eax, edx
sar eax, 1
cmp eax, 2
jge 0x4dc840
mov eax, 2
add ecx, 0xfffffffe
mov dword [esp + 0x10], edi
cmp edi, ecx
jle 0x4dc84f
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x24]
push 0xff000000
push 0xff000000
xor ebx, ebx
lea ecx, [edx + esi]
mov edx, dword [esp + 0x18]
add edx, eax
push 0xcc0020
xor edi, edi
push 1
sub edx, eax
push ebx
sub ecx, esi
push edi
push edx
push ecx
mov ecx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x68]
push esi
push eax
push ecx
mov ecx, dword [esp + 0x50]
call fcn.0050dc9d
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x2c
ret 8
pop edi
xor eax, eax
pop ebx
add esp, 0x2c
ret 8