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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x4793b9
push ecx
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
mov esi, 0x47ff50
xor eax, eax
push ebp
push 0x4797ef
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x479786
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 - 0x2c], eax
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov dword [eax + 0x9c], edx
mov dl, 1
mov eax, dword [ebp - 0x2c]
call fcn.00476340
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x11c]
mov byte [eax + 0x18], 0
xor edx, edx
call fcn.00467e94
mov eax, dword [ebp - 0x2c]
call fcn.00476aac
add eax, 0xc
mov edx, 0x479808
call fcn.004045b8
mov eax, dword [ebp - 0x2c]
call fcn.00476aac
mov edx, 0x30
call fcn.004689a4
mov eax, dword [ebp - 0x2c]
call fcn.00476aac
xor edx, edx
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0x2c]
call fcn.00476aac
xor edx, edx
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0x2c]
call fcn.00476aac
add eax, 0x24
mov edx, 0x47981c
call fcn.004045b8
mov eax, dword [ebp - 0x2c]
call fcn.00476aac
add eax, 0x50
mov edx, 0x479848
call fcn.004045b8
mov eax, dword [ebp - 0x2c]
call fcn.00476aac
add eax, 0x54
mov edx, 0x4798e0
call fcn.004045b8
mov eax, dword [ebp - 0x2c]
call fcn.00476aac
add eax, 0x58
mov edx, 0x479904
call fcn.004045b8
mov eax, dword [ebp - 0x2c]
call fcn.00476aac
mov byte [eax + 0x7c], 0
mov eax, dword [ebp - 0x2c]
call fcn.00476aac
add eax, 0x70
mov edx, 0x479914
call fcn.004045b8
mov eax, dword [ebp - 0x2c]
mov dl, byte [0x47996c]
mov byte [eax + 0x111], dl
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x9c], 0x4e20
mov dl, 1
mov eax, dword [0x4634ec]
call fcn.00403740
mov ebx, eax
lea eax, [ebp - 0x1c]
mov edx, 0x479978
call fcn.004045fc
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00478538
mov eax, dword [esi]
mov eax, dword [eax + 0x3b0]
mov eax, dword [eax + 0x218]
test eax, eax
jne 0x47955c
lea eax, [ebp - 0x28]
mov edx, 0x479988
call fcn.004045fc
jmp 0x4795aa
cmp eax, 1
jne 0x479570
lea eax, [ebp - 0x28]
mov edx, 0x479994
call fcn.004045fc
jmp 0x4795aa
cmp eax, 2
jne 0x479584
lea eax, [ebp - 0x28]
mov edx, 0x4799a0
call fcn.004045fc
jmp 0x4795aa
cmp eax, 3
jne 0x479598
lea eax, [ebp - 0x28]
mov edx, 0x4799ac
call fcn.004045fc
jmp 0x4795aa
cmp eax, 4
jne 0x4795aa
lea eax, [ebp - 0x28]
mov edx, 0x4799b8
call fcn.004045fc
call fcn.0040a5c0
fstp qword [ebp - 0x34]
wait
call fcn.0040a5ec
fadd qword [ebp - 0x34]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x18]
call fcn.0040b258
mov al, byte [0x4799bc]
push eax
lea eax, [ebp - 0x38]
push eax
xor ecx, ecx
mov edx, 0x4799c8
mov eax, dword [ebp - 0x18]
call fcn.0040d7c4
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x18]
call fcn.004045fc
mov al, byte [0x4799bc]
push eax
lea eax, [ebp - 0x3c]
push eax
xor ecx, ecx
mov edx, 0x4799d4
mov eax, dword [ebp - 0x18]
call fcn.0040d7c4
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x18]
call fcn.004045fc
mov al, byte [0x4799bc]
push eax
lea eax, [ebp - 0x40]
push eax
xor ecx, ecx
mov edx, 0x4799e0
mov eax, dword [ebp - 0x18]
call fcn.0040d7c4
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x18]
call fcn.004045fc
lea edx, [ebp - 0x44]
mov eax, dword [esi]
mov eax, dword [eax + 0x380]
call fcn.0043c334
push dword [ebp - 0x44]
lea edx, [ebp - 0x48]
mov eax, dword [esi]
mov eax, dword [eax + 0x38c]
call fcn.0043c334
push dword [ebp - 0x48]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 4]
push dword [ebp - 0x18]
push dword [ebp - 8]
lea edx, [ebp - 0x4c]
mov eax, dword [esi]
mov eax, dword [eax + 0x390]
call fcn.0043c334
push dword [ebp - 0x4c]
lea eax, [ebp - 0x10]
mov edx, 8
call fcn.004048e4
lea ecx, [ebp - 0x5c]
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.004632fc
lea edx, [ebp - 0x5c]
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 0x4799ec
lea edx, [ebp - 0x64]
mov eax, dword [esi]
mov eax, dword [eax + 0x380]
call fcn.0043c334
push dword [ebp - 0x64]
push 0x4799fc
lea edx, [ebp - 0x68]
mov eax, dword [esi]
mov eax, dword [eax + 0x38c]
call fcn.0043c334
push dword [ebp - 0x68]
push 0x479a10
push dword [ebp - 0x28]
push 0x479a24
push dword [ebp - 0x1c]
push 0x479a38
push dword [ebp - 0x20]
push 0x479a4c
push dword [ebp - 4]
push 0x479a64
push dword [ebp - 0x18]
push 0x479a7c
push dword [ebp - 8]
push 0x479a94
push dword [ebp - 0x14]
push 0x479aa8
lea eax, [ebp - 0x60]
mov edx, 0x13
call fcn.004048e4
mov edx, dword [ebp - 0x60]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea eax, [ebp - 0x24]
push eax
mov ecx, ebx
mov edx, 0x479ac0
mov eax, dword [ebp - 0x2c]
call fcn.00475224
mov eax, ebx
call fcn.00403770
mov edx, dword [ebp - 0x24]
mov eax, 0x479af0
call fcn.00404b68
test eax, eax
jle 0x479771
mov eax, dword [ebp + 8]
mov edx, 0x479b10
call fcn.004045b8
jmp 0x47977c
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 0x47979d
mov eax, dword [ebp - 0x2c]
call fcn.00403770
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4797f6
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.00404588
lea eax, [ebp - 0x60]
call fcn.00404564
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.00404588
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00404588
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.00404588
ret