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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0xc
call fcn.005ddd29
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0xe287c6
push ebx
add ebx, 4
push ebx
push 8
call fcn.005ddd29
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x9e94ec
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
add ebx, 4
push ebx
push 8
call fcn.005ddd29
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x9e94ec
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.0049c5e9
push 0x1140b2d
push dword [ebp - 4]
push 0xa3c1db
mov ecx, 3
call fcn.00401442
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x50195d
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0xe2a00c
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x1140b40
mov ecx, 3
call fcn.00401442
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x501994
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
lea eax, [ebp - 4]
push eax
mov eax, 0xe28263
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x5019d2
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0xa412c6
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0xa412bb
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x501a14
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x501a24
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x113fd56
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0xe2839b
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x501a66
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x501a76
push ebx
call fcn.005ddd23
add esp, 4
push dword [ebp - 4]
push 0xa3c1db
mov ecx, 2
call fcn.00401442
add esp, 8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xe2866e
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x501ac8
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x501ad8
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0xe6b110
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0xe28308
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x501b1a
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x501b2a
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x1140b4a
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0xe28697
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x501b6c
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x501b7c
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0xe286a4
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0xe283ad
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x501bbe
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x501bce
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0xe297dd
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0xe283c5
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x501c10
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x501c20
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0xe297e2
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0xe283ef
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x501c62
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x501c72
push ebx
call fcn.005ddd23
add esp, 4
push 0x1140637
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x1140b69
push dword [ebp - 4]
push 0xa3c1db
mov ecx, 5
call fcn.00401442
add esp, 0x14
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xe286b7
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x501cd3
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x501ce3
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0xe2985f
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0xe2840d
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x501d25
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x501d35
push ebx
call fcn.005ddd23
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x501d66
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push 1
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.004e0338
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x501e0f
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x501e1f
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x501e2f
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x501e3f
push ebx
call fcn.005ddd23
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x501e53
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.004116f2
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x501e77
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x501e97
push eax
mov ebx, eax
call fcn.004013d7
inc eax
push eax
call fcn.005ddd29
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x501e9c
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x501ead
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x501ebd
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x501ecd
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x501edd
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x501eed
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x501f0d
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x501f1d
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x501f2d
push ebx
call fcn.005ddd23
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x501f3d
push ebx
call fcn.005ddd23
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8