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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049d0
xor eax, eax
push ebp
push 0x477f2e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404520
xor ecx, ecx
mov dl, 1
mov eax, dword [0x46f588]
call fcn.0047057c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x7c]
mov byte [eax + 0x10], 2
xor ecx, ecx
mov dl, 1
mov eax, dword [0x473f14]
call fcn.004743fc
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00468df0
mov eax, dword [ebp - 0x10]
mov dl, byte [0x477f40]
mov byte [eax + 0x111], dl
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x9c], 0x1b58
mov eax, dword [ebp - 0x10]
call fcn.004761c0
add eax, 0x70
mov edx, 0x477f4c
call fcn.00404574
mov eax, dword [ebp - 0x10]
call fcn.004761c0
add eax, 0xc
mov edx, 0x477fbc
call fcn.00404574
mov eax, dword [ebp - 0x10]
call fcn.004761c0
mov eax, dword [eax + 0x2c]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x10]
call fcn.004761c0
mov eax, dword [eax + 0x2c]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
lea eax, [ebp - 0x1c]
mov edx, 0x477fcc
call fcn.0040482c
mov edx, dword [ebp - 0x1c]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
push ebp
push 0x477e23
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.004748a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x477e46
mov eax, dword [ebp - 0x10]
call fcn.004761b4
mov eax, dword [eax + 8]
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004778d8
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov eax, dword [ebp - 8]
call fcn.0040482c
mov eax, dword [ebp - 0x10]
call fcn.004761b4
mov edx, dword [eax + 0x50]
lea eax, [ebp - 4]
call fcn.004045b8
mov eax, dword [ebp - 0x10]
call fcn.0040374c
mov eax, dword [ebp - 0x14]
call fcn.0040374c
mov eax, dword [ebp - 0x18]
mov edx, 0x477fe0
call fcn.0040492c
jne 0x477ebd
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00477d04
mov eax, dword [ebp - 0x18]
mov edx, 0x478008
call fcn.0040492c
jne 0x477eda
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00477a08
lea edx, [ebp - 0x28]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.004060e4
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x18]
call fcn.004047a8
cmp dword [ebp - 0x18], 0
je 0x477f03
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
call fcn.00404574
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477f35
lea eax, [ebp - 0x28]
call fcn.00404c54
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00404544
lea eax, [ebp - 4]
call fcn.00404520
ret