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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a44
call fcn.00471f10
mov eax, dword [0x541280]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1a44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1a40], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test ebx, ebx
je 0x481467
test esi, esi
je 0x481467
push 0x100
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], 0
push 0
push eax
call fcn.0046a400
add esp, 0xc
lea eax, [ebp - 0x108]
mov ecx, edi
push 0x100
push eax
push esi
call fcn.00480bb0
test al, al
je 0x481467
push 0x800
lea eax, [ebp - 0x90b]
mov byte [ebp - 0x90c], 0
push 0
push eax
call fcn.0046a400
add esp, 0xc
lea eax, [ebp - 0x90c]
mov ecx, edi
push 0x800
push eax
push esi
call fcn.00480fa0
test al, al
je 0x481467
cmp dword [ebp + 0x18], 0
lea eax, [ebp - 0x1a38]
mov dword [ebp - 0x1a3c], eax
lea eax, [ebp - 0x90c]
push eax
mov dword [ebp - 0x1234], 0
lea eax, [ebp - 0x1a3c]
mov byte [ebp - 0x1a38], 0
jbe 0x48121d
push 0x50054c
jmp 0x481222
push 0x500560
push eax
call fcn.00481920
add esp, 0xc
mov dword [ebp - 0xe28], 0
lea eax, [ebp - 0x122c]
mov byte [ebp - 0x122c], 0
mov dword [ebp - 0x1230], eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x1230]
push 0x500574
push eax
call fcn.0047bee0
mov ecx, dword [ebp - 0x1a40]
mov eax, 0x500580
test ecx, ecx
mov dword [ebp - 0xa1c], 0
mov byte [ebp - 0xe20], 0
cmovne eax, ecx
lea ecx, [ebp - 0xe20]
push eax
lea eax, [ebp - 0xe24]
mov dword [ebp - 0xe24], ecx
push 0x5005f0
push eax
call fcn.0047bee0
lea ecx, [ebp - 0x1a38]
mov edx, ebx
mov eax, ecx
add esp, 0x18
sub edx, eax
mov edi, edi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x4812b0
lea edx, [ebp - 0x122c]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x4812c5
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4812d1
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0xe20]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x4812f0
sub edx, esi
lea edi, [ebx - 1]
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x481300
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebx - 1]
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x481320
mov eax, dword [0x500604]
lea edi, [ebx - 1]
mov dword [ecx], eax
mov eax, dword [0x500608]
mov dword [ecx + 4], eax
mov eax, dword [0x50060c]
mov dword [ecx + 8], eax
mov ax, word [0x500610]
mov word [ecx + 0xc], ax
mov al, byte [0x500612]
mov byte [ecx + 0xe], al
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x481356
mov ecx, 7
mov esi, 0x500614
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebx - 1]
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x481370
mov edx, dword [ebp + 0x18]
mov ecx, 6
mov esi, 0x500634
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
test edx, edx
je 0x481406
lea edi, [ebx - 1]
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x481390
mov ecx, 0x10
mov dword [ebp - 0x910], 0
mov esi, 0x500650
mov byte [ebp - 0xa14], 0
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xa14]
push edx
mov dword [ebp - 0xa18], eax
lea eax, [ebp - 0xa18]
push 0x500694
push eax
movsb byte es:[edi], byte [esi]
call fcn.0047cc50
lea edx, [ebp - 0xa14]
add esp, 0xc
mov esi, edx
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x4813e0
sub edx, esi
lea edi, [ebx - 1]
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4813f0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x1a44]
test edx, edx
je 0x481436
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x481412
sub edx, esi
lea edi, [ebx - 1]
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x481420
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
dec ebx
mov al, byte [ebx + 1]
lea ebx, [ebx + 1]
test al, al
jne 0x481437
mov ax, word [0x500470]
mov word [ebx], ax
mov al, byte [0x500472]
pop edi
mov byte [ebx + 2], al
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e339
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045e339
mov esp, ebp
pop ebp
ret 0x14