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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x478d0d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a14
mov eax, dword [ebp - 8]
call fcn.00404a14
mov eax, dword [ebp - 0xc]
call fcn.00404a14
xor eax, eax
push ebp
push 0x4790d3
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x47906a
push dword fs:[edx]
mov dword fs:[edx], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x474878]
call fcn.00474d60
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
xor edx, edx
mov dword [eax + 0x9c], edx
mov dl, 1
mov eax, dword [ebp - 0x28]
call fcn.00476340
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x11c]
mov byte [eax + 0x18], 0
xor edx, edx
call fcn.00467e94
mov eax, dword [ebp - 0x28]
call fcn.00476aac
add eax, 0xc
mov edx, 0x4790ec
call fcn.004045b8
mov eax, dword [ebp - 0x28]
call fcn.00476aac
mov edx, 0x30
call fcn.004689a4
mov eax, dword [ebp - 0x28]
call fcn.00476aac
xor edx, edx
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0x28]
call fcn.00476aac
xor edx, edx
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0x28]
call fcn.00476aac
add eax, 0x24
mov edx, 0x479100
call fcn.004045b8
mov eax, dword [ebp - 0x28]
call fcn.00476aac
add eax, 0x50
mov edx, 0x47912c
call fcn.004045b8
mov eax, dword [ebp - 0x28]
call fcn.00476aac
add eax, 0x54
mov edx, 0x4791c4
call fcn.004045b8
mov eax, dword [ebp - 0x28]
call fcn.00476aac
add eax, 0x58
mov edx, 0x4791e8
call fcn.004045b8
mov eax, dword [ebp - 0x28]
call fcn.00476aac
mov byte [eax + 0x7c], 0
mov eax, dword [ebp - 0x28]
call fcn.00476aac
add eax, 0x70
mov edx, 0x4791f8
call fcn.004045b8
mov eax, dword [ebp - 0x28]
mov dl, byte [0x479250]
mov byte [eax + 0x111], dl
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x9c], 0x4e20
mov dl, 1
mov eax, dword [0x4634ec]
call fcn.00403740
mov ebx, eax
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.00478910
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00478538
call fcn.0040a5c0
fstp qword [ebp - 0x30]
wait
call fcn.0040a5ec
fadd qword [ebp - 0x30]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x18]
call fcn.0040b258
mov al, byte [0x479254]
push eax
lea eax, [ebp - 0x34]
push eax
xor ecx, ecx
mov edx, 0x479260
mov eax, dword [ebp - 0x18]
call fcn.0040d7c4
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x18]
call fcn.004045fc
mov al, byte [0x479254]
push eax
lea eax, [ebp - 0x38]
push eax
xor ecx, ecx
mov edx, 0x47926c
mov eax, dword [ebp - 0x18]
call fcn.0040d7c4
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x18]
call fcn.004045fc
mov al, byte [0x479254]
push eax
lea eax, [ebp - 0x3c]
push eax
xor ecx, ecx
mov edx, 0x479278
mov eax, dword [ebp - 0x18]
call fcn.0040d7c4
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x18]
call fcn.004045fc
lea edx, [ebp - 0x40]
mov eax, dword [0x47ff50]
mov eax, dword [eax + 0x310]
call fcn.0043c334
push dword [ebp - 0x40]
lea edx, [ebp - 0x44]
mov eax, dword [0x47ff50]
mov eax, dword [eax + 0x320]
call fcn.0043c334
push dword [ebp - 0x44]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 4]
push dword [ebp - 0x18]
push dword [ebp - 8]
lea edx, [ebp - 0x48]
mov eax, dword [0x47ff50]
mov eax, dword [eax + 0x320]
call fcn.0043c334
push dword [ebp - 0x48]
lea eax, [ebp - 0x10]
mov edx, 8
call fcn.004048e4
lea ecx, [ebp - 0x58]
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.004632fc
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x14]
mov eax, dword [ebx]
call fcn.0046336c
mov dl, 1
mov eax, dword [0x412e0c]
call fcn.00403740
mov ebx, eax
push 0x479284
lea edx, [ebp - 0x60]
mov eax, dword [0x47ff50]
mov eax, dword [eax + 0x310]
call fcn.0043c334
push dword [ebp - 0x60]
push 0x479294
lea edx, [ebp - 0x64]
mov eax, dword [0x47ff50]
mov eax, dword [eax + 0x320]
call fcn.0043c334
push dword [ebp - 0x64]
push 0x4792a8
push dword [ebp - 0x1c]
push 0x4792bc
push dword [ebp - 0x20]
push 0x4792d0
push dword [ebp - 4]
push 0x4792e8
push dword [ebp - 0x18]
push 0x479300
push dword [ebp - 8]
push 0x479318
push dword [ebp - 0x14]
push 0x47932c
lea eax, [ebp - 0x5c]
mov edx, 0x11
call fcn.004048e4
mov edx, dword [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea eax, [ebp - 0x24]
push eax
mov ecx, ebx
mov edx, 0x479344
mov eax, dword [ebp - 0x28]
call fcn.00475224
mov eax, ebx
call fcn.00403770
mov edx, dword [ebp - 0x24]
mov eax, 0x479374
call fcn.00404b68
test eax, eax
jle 0x479055
mov eax, dword [ebp + 8]
mov edx, 0x479394
call fcn.004045b8
jmp 0x479060
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x24]
call fcn.004045b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x479081
mov eax, dword [ebp - 0x28]
call fcn.00403770
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4790da
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.00404588
lea eax, [ebp - 0x5c]
call fcn.00404564
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.00404588
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404588
lea eax, [ebp - 0x24]
mov edx, 9
call fcn.00404588
ret