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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5828cf
sub esp, 0x44
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x48]
mov ebx, dword [edx + 0x13c]
mov ebp, dword [esp + 0x50]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x5828bd
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x5826d2
mov eax, dword [esp + 0x48]
mov ebx, dword [eax + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004a4a00
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x582543
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], ecx
lea eax, [0x7f2bc0]
mov dword [esp], eax
call fcn.0040ac80
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x83f9d4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [0xc83da0]
test ecx, ecx
jne 0x582531
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
lea ecx, [0x98adf0]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
add esp, 0x44
ret
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x3c]
call fcn.00459d90
mov eax, ecx
jmp 0x58251f
mov edx, dword [0xc695e8]
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov ecx, dword [edx]
call ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x5825d0
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], ecx
lea eax, [0x7f2bc0]
mov dword [esp], eax
call fcn.0040ac80
mov eax, dword [esp + 4]
mov dword [eax + 4], 6
lea ecx, [0x840144]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [0xc83da0]
test ecx, ecx
jne 0x5825be
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
lea ecx, [0x98adf0]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
add esp, 0x44
ret
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x38]
call fcn.00459d90
mov eax, ecx
jmp 0x5825ac
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0056f9a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x5826c6
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.004a4ae0
mov eax, dword [esp + 4]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x48]
mov dword [esp], edx
call fcn.00581bc0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x48]
mov dword [edx + 0x150], eax
mov eax, dword [0xc83da0]
test eax, eax
jne 0x5826b7
mov dword [edx + 0x154], ecx
mov dword [edx + 0x158], 0
mov ecx, dword [0xc83da0]
test ecx, ecx
jne 0x5826a8
mov dword [edx + 0x15c], 0
lea eax, [0x831980]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [0x7c4500]
mov dword [esp + 8], eax
lea eax, [0x90d190]
mov dword [esp + 0xc], eax
call fcn.004152a0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
add esp, 0x44
ret
lea edi, [edx + 0x15c]
xor eax, eax
call fcn.00459d90
jmp 0x58266e
lea edi, [edx + 0x154]
mov eax, ecx
call fcn.00459d90
jmp 0x582650
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
add esp, 0x44
ret
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], edx
nop
lea eax, [0x7e7240]
mov dword [esp], eax
call fcn.0040ac80
mov edi, dword [esp + 4]
mov eax, dword [0xc83da0]
test eax, eax
jne 0x5828ad
mov edx, dword [esp + 0x48]
mov dword [edi], edx
mov dword [esp + 0x40], edi
mov ebx, dword [edx + 0x14c]
mov ebp, dword [edx + 0x148]
cmp ebx, 4
jne 0x582847
cmp dword [ebp], 0x78696e75
jne 0x5827a9
mov eax, dword [edx + 0x14c]
mov ecx, dword [edx + 0x148]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x4c]
mov edx, dword [edx + 0x14]
mov ebx, dword [esp + 0x50]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x30]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
lea eax, [0x98ecb0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
jne 0x58279d
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
jmp 0x5824bb
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
add esp, 0x44
ret
mov ecx, dword [edx + 0x14c]
mov ebx, dword [edx + 0x148]
lea eax, [ecx - 1]
cmp eax, ecx
jae 0x5828c9
movzx eax, byte [ecx + ebx - 1]
cmp al, 0x34
jne 0x5827d3
mov eax, ecx
mov ecx, ebx
jmp 0x582733
cmp al, 0x36
je 0x5827ca
cmp dword [edx + 0x13c], 2
jne 0x582814
mov dword [esp], 0
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
lea eax, [0x83f3a3]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.00446f30
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
jmp 0x582733
mov dword [esp], 0
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
lea eax, [0x83f3a5]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.00446f30
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
jmp 0x582733
cmp ebx, 8
jne 0x58286b
cmp dword [ebp], 0x78696e75
jne 0x5827a9
cmp dword [ebp + 4], 0x6d617267
je 0x582727
jmp 0x5827a9
cmp ebx, 0xa
jne 0x5827a9
mov dword [esp], ebp
lea eax, [0x84187d]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.00402420
movzx eax, byte [esp + 0xc]
test al, al
je 0x5828a0
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
jmp 0x582727
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
jmp 0x5827a9
mov eax, dword [esp + 0x48]
call fcn.00459d90
mov edx, eax
jmp 0x582701
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], eax
add esp, 0x44
ret
call fcn.00459e10
nop
call fcn.00458550
jmp fcn.00582460