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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xd0]
cmp eax, dword [ecx + 8]
jbe 0x5e4262
sub esp, 0x150
mov ecx, dword [esp + 0x154]
mov edx, dword [ecx + 0x58]
test edx, edx
jne 0x5e3a65
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.004690c7
mov ecx, dword [esp + 0x154]
lea edx, [esp + 0x6c]
mov dword [esp + 0x44], edx
mov eax, dword [ecx + 0x44]
mov ebx, dword [ecx + 0x48]
mov ebp, dword [ecx + 0x4c]
mov dword [esp], edx
mov byte [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.005e3680
movzx eax, byte [esp + 0x16]
movzx ecx, word [esp + 0x14]
test al, al
je 0x5e404e
mov word [esp + 0x20], cx
mov edx, dword [esp + 0x154]
mov ebx, dword [edx + 0x10]
test ebx, ebx
je 0x5e3b7a
mov eax, dword [esp + 0x158]
mov dword [esp], eax
call fcn.005e48c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x5e3b3d
mov eax, dword [esp + 8]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
test eax, eax
je 0x5e3aea
mov eax, dword [eax + 4]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
lea eax, [0x7462a9]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c1f50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
add esp, 0x150
ret
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x154]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x10]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.005d8a10
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x5e3fe0
movzx ecx, word [esp + 0x20]
mov edx, dword [esp + 0x154]
lea edi, [esp + 0x58]
xor eax, eax
call fcn.004690fb
lea ecx, [0x5e42e0]
mov dword [esp + 0x58], ecx
movzx ecx, word [esp + 0x20]
mov word [esp + 0x5c], cx
mov ebx, dword [esp + 0x158]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], edx
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x68], ebp
mov esi, dword [edx + 0x30]
test esi, esi
je 0x5e3bf9
mov eax, dword [edx + 0x2c]
mov ebp, dword [edx + 0x34]
mov word [esp], cx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.005e0590
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x5e3faa
movzx ecx, word [esp + 0x20]
mov edx, dword [esp + 0x154]
mov ebx, dword [esp + 0x158]
mov ebp, dword [esp + 0x44]
cmp cx, 0x304
je 0x5e3f8d
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x1c]
mov esi, dword [edx + 0x20]
mov edi, dword [edx + 0x24]
mov edx, dword [edx + 0x28]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edx
call fcn.0060fdf0
movzx eax, byte [esp + 0x1c]
test al, al
je 0x5e3f38
mov eax, dword [esp + 0x158]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
lea ebx, [0x703920]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0040a070
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5e3ef3
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5e3eae
mov eax, dword [eax + 8]
mov ecx, dword [esp + 4]
cmp eax, 0x4bcec15d
je 0x5e3e91
cmp eax, 0x8c7bd38d
jne 0x5e3e1d
lea eax, [0x725f00]
cmp ecx, eax
jne 0x5e3eae
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], eax
lea edx, [0x9951e8]
mov dword [esp], edx
lea ebx, [0x75891c]
mov dword [esp + 4], ebx
call fcn.00472ce0
mov eax, dword [esp + 0x28]
lea ecx, [0x7b29b8]
cmp eax, ecx
jne 0x5e3d19
mov ecx, dword [0x966a68]
mov dword [esp], eax
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00404290
movzx eax, byte [esp + 0xc]
test al, al
je 0x5e3d19
mov eax, 0x17
jmp 0x5e3db7
lea eax, [0x9951e8]
mov dword [esp], eax
lea ecx, [0x75891c]
mov dword [esp + 4], ecx
call fcn.00472ce0
mov eax, dword [esp + 0x28]
lea ecx, [0x7b29e0]
cmp eax, ecx
jne 0x5e3d69
mov ecx, dword [0x966a6c]
mov dword [esp], eax
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00404290
movzx eax, byte [esp + 0xc]
test al, al
je 0x5e3d69
mov eax, 0x18
jmp 0x5e3db7
lea eax, [0x9951e8]
mov dword [esp], eax
lea eax, [0x75891c]
mov dword [esp + 4], eax
call fcn.00472ce0
mov eax, dword [esp + 0x28]
lea ecx, [0x7b2a08]
cmp eax, ecx
jne 0x5e3dd8
mov ecx, dword [0x966a70]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00404290
movzx eax, byte [esp + 0xc]
test al, al
je 0x5e3dd8
mov eax, 0x19
mov word [esp + 0x22], ax
mov ecx, dword [esp + 0x154]
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x48], edx
mov ebx, dword [ecx + 0x18]
mov ebp, dword [esp + 0x44]
xor esi, esi
jmp 0x5e417d
mov eax, dword [esp + 0x158]
mov dword [esp], eax
call fcn.005e06b0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea edx, [esp + 0x58]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
add esp, 0x150
ret
cmp eax, 0xc0d9e4a4
jne 0x5e3eae
lea eax, [0x6fdca0]
cmp ecx, eax
jne 0x5e3eae
movzx eax, word [esp + 0x20]
cmp ax, 0x303
jb 0x5e3e4b
mov ecx, dword [esp + 0x154]
mov edx, dword [ecx + 0x30]
test edx, edx
jne 0x5e3e87
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x22
lea ecx, [0x747ad4]
mov dword [eax], ecx
lea ecx, [0x7b0bb8]
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], eax
add esp, 0x150
ret
mov edx, 1
jmp 0x5e408a
lea eax, [0x706680]
cmp ecx, eax
jne 0x5e3eae
movzx eax, word [esp + 0x20]
mov ecx, dword [esp + 0x154]
xor edx, edx
jmp 0x5e408a
mov eax, dword [esp + 0x158]
mov dword [esp], eax
call fcn.005e06b0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea edx, [esp + 0x58]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
add esp, 0x150
ret
mov eax, dword [esp + 0x158]
mov dword [esp], eax
call fcn.005e06b0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea edx, [esp + 0x58]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
add esp, 0x150
ret
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x42
lea ecx, [0x750fd0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
lea edx, [0x7b0bb8]
mov dword [esp], edx
mov dword [esp + 4], eax
lea edx, [esp + 0x58]
call ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
add esp, 0x150
ret
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
add esp, 0x150
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea edx, [esp + 0x58]
call ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
add esp, 0x150
ret
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
test eax, eax
je 0x5e3ffb
mov eax, dword [eax + 4]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
lea eax, [0x74f15e]
mov dword [esp], eax
mov dword [esp + 4], 0x36
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c1f50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
add esp, 0x150
ret
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x27
lea ecx, [0x74a1a2]
mov dword [eax], ecx
lea ecx, [0x7b0bb8]
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], eax
add esp, 0x150
ret
mov ebx, dword [esp + 0x44]
mov ebp, dword [ebx + 0x54]
test ebp, ebp
je 0x5e409d
mov esi, dword [ebx + 0x58]
mov ebx, dword [ebx + 0x5c]
jmp 0x5e40af
mov ebp, dword [0x96ed50]
mov esi, dword [0x96ed54]
mov ebx, dword [0x96ed58]
mov dword [esp + 0x2c], 0
mov byte [esp + 0x30], 0
mov word [esp + 0x32], 0
lea edi, [0x5e4270]
mov dword [esp + 0x2c], edi
mov byte [esp + 0x30], dl
mov word [esp + 0x32], ax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x2c]
mov dword [esp + 0x18], eax
call fcn.005e0fa0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5e4127
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
add esp, 0x150
ret
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x48
lea ecx, [0x7518ec]
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
lea edx, [0x7b0bb8]
mov dword [esp], edx
mov dword [esp + 4], eax
lea edx, [esp + 0x58]
call ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
add esp, 0x150
ret
inc esi
cmp esi, ebx
jge 0x5e41dc
movzx edi, word [edx + esi*2]
cmp ax, di
jne 0x5e41d2
test ebp, ebp
je 0x5e41b9
mov ecx, dword [ebp + 0x9c]
test ecx, ecx
jne 0x5e41a1
mov ecx, dword [esp + 0x154]
jmp 0x5e41b9
mov ebp, dword [ebp + 0x98]
mov word [esp + 0x3c], ax
mov eax, ebp
mov ebp, ecx
mov ecx, eax
movzx eax, word [esp + 0x3c]
jmp 0x5e41c5
mov ecx, dword [0x967c20]
mov ebp, dword [0x967c24]
mov word [esp + 0x34], ax
xor eax, eax
mov dword [esp + 0x24], eax
jmp 0x5e4230
xor edi, edi
xchg edi, eax
test al, al
xchg edi, eax
je 0x5e417c
jmp 0x5e4218
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x74a95f]
mov dword [eax], ecx
lea ecx, [0x7b0bb8]
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], eax
add esp, 0x150
ret
movzx eax, word [esp + 0x20]
mov edx, 1
jmp 0x5e408a
inc eax
mov edx, dword [esp + 0x48]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
cmp ebp, eax
jle 0x5e4246
lea edx, [ecx + eax*2]
cmp word [edx], di
jne 0x5e4227
cmp ebp, eax
mov edx, dword [esp + 0x48]
xchg edi, ebx
setg bl
xchg edi, ebx
movzx eax, word [esp + 0x22]
mov ecx, dword [esp + 0x154]
mov ebp, dword [esp + 0x44]
jmp 0x5e41d4
call fcn.00467a60
jmp fcn.005e3a20