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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43dcf0
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x44d010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd4], ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0xd0], eax
mov esi, 0x57
mov eax, dword [ebp + 0x10]
push 0
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x20]
push 0x447c5c
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0xc4], eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00407990
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push 0x447c5c
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
call fcn.00407990
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
push 0x447c5c
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0
call fcn.00407990
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push 0x447c5c
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.00407990
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0xc8], 0
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x5c], 0
push eax
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.00406270
add esp, 0xc
test al, al
je 0x403bd8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
lea edi, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae eax, ecx
cmovae edi, ecx
add eax, edx
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0xc0], eax
cmovae esi, ecx
cmp esi, eax
je 0x40385d
sub edi, esi
movsx eax, byte [esi]
push eax
call fcn.00425b35
mov byte [edi + esi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0xc0]
jne 0x403842
mov edx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov esi, 0x32
cmovae ecx, dword [ebp - 0x28]
mov dword [ebp - 0xc0], esi
cmp edx, 4
jne 0x403a46
mov edi, edx
mov esi, str.http
sub edi, edx
jb 0x403898
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x40389d
add ecx, 4
add esi, 4
sub edi, 4
jae 0x403887
cmp edi, 0xfffffffc
je 0x4038d1
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x4038ca
cmp edi, 0xfffffffd
je 0x4038d1
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x4038ca
cmp edi, 0xfffffffe
je 0x4038d1
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x4038ca
cmp edi, 0xffffffff
je 0x4038d1
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x4038d1
sbb eax, eax
or eax, 1
jmp 0x4038d3
xor eax, eax
test eax, eax
jne 0x403a40
cmp dword [ebp - 0x60], 0x10
lea ecx, [ebp - 0x74]
push 0
push dword [ebp - 0xcc]
cmovae ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x58]
push dword [ebp - 0xd0]
cmp dword [ebp - 0x44], 0x10
push 1
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.004041d0
mov esi, eax
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x403980
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x40394c
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403942
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403ce5
push ecx
push edx
call fcn.0041e43c
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0xdc]
cmp ecx, 0x10
jb 0x4039ba
mov edx, dword [ebp - 0xf0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4039b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403ce5
push ecx
push edx
call fcn.0041e43c
add esp, 8
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push dword [ebp - 0xc8]
cmovae eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0xd4]
mov ecx, edi
push eax
call fcn.00404150
mov esi, eax
test esi, esi
jne 0x403bd8
push eax
push 0x447c5c
lea ecx, [ebp - 0x28]
call fcn.00406fe0
mov eax, dword [edi + 8]
lea esi, [ebp - 0x5c]
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
push esi
push dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x40]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
jne 0x403bd8
mov eax, dword [ebp - 0xc4]
mov ecx, edi
movq xmm0, qword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x1c]
sub esp, 0xc
mov edx, esp
movq qword [edx], xmm0
mov dword [edx + 8], eax
call fcn.00403cf0
mov esi, eax
jmp 0x403bd8
mov esi, dword [ebp - 0xc0]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
cmp edx, 5
jne 0x403bd8
mov esi, str.https
sub edx, 4
jb 0x403a75
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x403a7a
add ecx, 4
add esi, 4
sub edx, 4
jae 0x403a64
cmp edx, 0xfffffffc
je 0x403aae
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x403aa7
cmp edx, 0xfffffffd
je 0x403aae
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x403aa7
cmp edx, 0xfffffffe
je 0x403aae
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x403aa7
cmp edx, 0xffffffff
je 0x403aae
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x403aae
sbb eax, eax
or eax, 1
jmp 0x403ab0
xor eax, eax
test eax, eax
jne 0x403bd2
push 0x48
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.00420150
add esp, 0xc
lea ecx, [ebp - 0xbc]
call fcn.00401730
mov eax, dword [ebp - 0xd8]
mov edx, 0x447c5c
test eax, eax
mov byte [ebp - 4], 4
cmovne edx, eax
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403af0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xb0]
call fcn.00406fe0
mov eax, dword [ebp - 0xcc]
mov edx, str.Mozilla_5.0__Windows_NT_5.1__AppleWebKit_537.36__KHTML__like_Gecko_
test eax, eax
cmovne edx, eax
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403b20
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x98]
call fcn.00406fe0
lea ecx, [ebp - 0xbc]
mov word [ebp - 0x80], 0x101
call fcn.00402830
mov esi, eax
test esi, esi
jne 0x403bc5
push dword [ebp - 0xd0]
lea ecx, [ebp - 0xbc]
push eax
push eax
call fcn.00402420
mov esi, eax
test esi, esi
jne 0x403bc5
cmp byte [ebp + 0x24], al
je 0x403bb1
mov edx, dword [ebp - 0xb4]
lea esi, [eax + 0x15]
test edx, edx
je 0x403bc5
push dword [ebp - 0x78]
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xb0]
push dword [ebp - 0x7c]
cmp dword [ebp - 0x9c], 0x10
push dword [eax]
cmovae ecx, dword [ebp - 0xb0]
call fcn.00401ea0
add esp, 0xc
lea ecx, [ebp - 0xbc]
mov esi, eax
call fcn.004017e0
jmp 0x403bd8
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xbc]
push eax
call fcn.00402740
mov esi, eax
lea ecx, [ebp - 0xbc]
call fcn.004017e0
jmp 0x403bd8
mov esi, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x403c0c
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403c02
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403cea
push ecx
push edx
call fcn.0041e43c
add esp, 8
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0x10
jb 0x403c52
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403c48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403cea
push ecx
push edx
call fcn.0041e43c
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x403c82
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403c78
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403cea
push ecx
push edx
call fcn.0041e43c
add esp, 8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp eax, 0x10
jb 0x403cc6
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x403cbc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403cea
push ecx
push edx
call fcn.0041e43c
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e3f9
mov esp, ebp
pop ebp
ret 0x20
call fcn.004267cc
call fcn.004267cc
int3