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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x582e4d
sub esp, 0x44
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x582e3e
cmp dword [eax + 8], 0xd7d15deb
jne 0x582e2b
lea ecx, [0x990a20]
cmp ecx, eax
jne 0x582e34
mov ecx, dword [esp + 0x50]
jne 0x582e2b
mov dword [esp + 0x3c], ecx
mov edx, dword [ecx + 8]
mov ebx, dword [ecx]
mov ebp, dword [ecx + 4]
test ebx, ebx
jne 0x582e09
xor edx, edx
test dl, dl
jne 0x582d0b
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 0x20]
mov ebx, dword [esp + 0x48]
mov ebp, dword [ebx + 0x13c]
mov dword [esp], ecx
mov dword [esp + 4], ebp
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
test ecx, ecx
jne 0x582cff
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x582b16
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.004a4a00
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x582a16
mov dword [esp + 0x34], 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 0x582a04
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
lea ecx, [0x98adf0]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add esp, 0x44
ret
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x34]
call fcn.00459d90
mov eax, ecx
jmp 0x5829f2
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0056f9a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x582b0a
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.004a4ae0
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x24], 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 + 0x30]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x48]
mov dword [edx + 0x150], ecx
mov ecx, dword [0xc83da0]
test ecx, ecx
jne 0x582afd
mov dword [edx + 0x154], eax
mov dword [edx + 0x158], 0
mov ecx, dword [0xc83da0]
test ecx, ecx
jne 0x582aee
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 + 0x58], 0
mov dword [esp + 0x5c], 0
add esp, 0x44
ret
lea edi, [edx + 0x15c]
xor eax, eax
call fcn.00459d90
jmp 0x582ab4
lea edi, [edx + 0x154]
call fcn.00459d90
jmp 0x582a96
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add esp, 0x44
ret
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], ebx
nop
lea eax, [0x7e7240]
mov dword [esp], eax
call fcn.0040ac80
mov edi, dword [esp + 4]
mov eax, dword [0xc83da0]
test eax, eax
jne 0x582cef
mov edx, dword [esp + 0x48]
mov dword [edi], edx
mov dword [esp + 0x38], edi
mov ebx, dword [edx + 0x14c]
mov ebp, dword [edx + 0x148]
cmp ebx, 4
jne 0x582c89
cmp dword [ebp], 0x78696e75
jne 0x582bed
mov eax, dword [edx + 0x148]
mov ecx, dword [edx + 0x14c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], 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 + 0x2c]
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 + 0x38]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
jne 0x582be1
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
jmp 0x58298e
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
add esp, 0x44
ret
mov ecx, dword [edx + 0x14c]
mov ebx, dword [edx + 0x148]
lea eax, [ecx - 1]
cmp eax, ecx
jae 0x582e47
movzx eax, byte [ecx + ebx - 1]
cmp al, 0x34
jne 0x582c15
mov eax, ebx
jmp 0x582b77
cmp al, 0x36
je 0x582c0e
cmp dword [edx + 0x13c], 2
jne 0x582c56
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 + 0x18]
mov eax, dword [esp + 0x14]
jmp 0x582b77
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 + 0x14]
mov ecx, dword [esp + 0x18]
jmp 0x582b77
cmp ebx, 8
jne 0x582cad
cmp dword [ebp], 0x78696e75
jne 0x582bed
cmp dword [ebp + 4], 0x6d617267
je 0x582b6b
jmp 0x582bed
cmp ebx, 0xa
jne 0x582bed
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 0x582ce2
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x38]
jmp 0x582b6b
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x38]
jmp 0x582bed
mov eax, dword [esp + 0x48]
call fcn.00459d90
mov edx, eax
jmp 0x582b45
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add esp, 0x44
ret
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.00583470
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x582dfd
lea eax, [0x7ff8e0]
mov dword [esp], eax
call fcn.0040ac80
mov edi, dword [esp + 4]
mov dword [esp + 0x40], edi
mov eax, dword [0xc83da0]
test eax, eax
jne 0x582dde
mov esi, dword [esp + 0x3c]
call fcn.0045a514
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 0x13c]
cmp edx, 2
jne 0x582da2
mov edx, dword [0xc71438]
mov ebx, dword [0xc71434]
mov eax, dword [0xc71430]
mov edi, dword [esp + 0x40]
mov dword [edi + 4], ebx
mov dword [edi + 8], edx
mov edx, dword [0xc83da0]
test edx, edx
jne 0x582d9b
mov dword [edi], eax
mov ecx, edi
lea eax, [0x990a20]
jmp 0x58294c
call fcn.00459d90
jmp 0x582d8e
cmp edx, 0x17
jne 0x582dd8
mov edx, dword [0xc6a110]
mov ebx, dword [0xc6a10c]
mov eax, dword [0xc6a108]
mov edi, dword [esp + 0x40]
mov dword [edi + 4], ebx
mov dword [edi + 8], edx
mov edx, dword [0xc83da0]
test edx, edx
jne 0x582dd1
mov dword [edi], eax
jmp 0x582d8e
call fcn.00459d90
jmp 0x582d8e
mov edi, dword [esp + 0x40]
jmp 0x582d8e
lea eax, [0x7ff8e0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.00410bc0
jmp 0x582d57
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
add esp, 0x44
ret
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
call fcn.00573940
movzx edx, byte [esp + 0xc]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x3c]
jmp 0x582940
mov ecx, dword [esp + 0x50]
jmp 0x58294c
mov ecx, 0
jmp 0x582924
mov ecx, dword [esp + 0x50]
jmp 0x58294c
call fcn.00459e10
nop
call fcn.00458550
jmp fcn.005828e0