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

Disassembly:
mov eax, 0x476395
call fcn.004535cc
sub esp, 0x120
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x44]
call fcn.00401407
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x1c]
call fcn.00401407
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401407
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00401407
mov byte [ebp - 4], 3
mov esi, 0x47a98b
push esi
mov ecx, dword [ebp + 0x14]
call fcn.0040b7ea
mov edi, dword [ebp + 0x10]
mov dword [edi], 3
mov byte [ebp - 4], 4
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.00425c5a
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x44]
call fcn.0040ba16
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.00401436
push 0x400
call fcn.0042f983
pop ecx
mov dword [ebp - 0x40], eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.0040b7ea
mov esi, dword [ebp + 8]
push esi
lea ecx, [ebp - 0x14]
call fcn.0040ba16
lea ecx, [ebp - 0x14]
call fcn.00414506
lea ecx, [ebp - 0x14]
call fcn.00414890
push ebx
push 0x47f4c4
lea ecx, [ebp - 0x14]
call fcn.0040b545
cmp eax, 0xffffffff
jne 0x426fff
push 1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.004274b3
mov byte [ebp - 4], 6
push 0x47f4c0
push eax
call fcn.00414b09
pop ecx
pop ecx
mov byte [ebp + 0xb], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.00401436
lea ecx, [ebp + 8]
cmp byte [ebp + 0xb], bl
je 0x426fb8
push str.http:
call fcn.0040b9c7
mov byte [ebp - 4], 7
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004146c6
add esp, 0xc
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x14]
call fcn.0040ba16
mov byte [ebp - 4], 7
jmp 0x426feb
push 0x47d1b8
call fcn.0040b9c7
mov byte [ebp - 4], 9
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004146c6
add esp, 0xc
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x14]
call fcn.0040ba16
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x18]
call fcn.00401436
mov byte [ebp - 4], 4
lea ecx, [ebp + 8]
call fcn.00401436
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
je 0x4272d9
lea ecx, [ebp - 0x28]
call fcn.00401407
mov byte [ebp - 4], 0xb
lea ecx, [ebp + 8]
call fcn.00401407
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x14]
call fcn.0044ad4e
test eax, eax
je 0x4272b9
cmp dword [ebp - 0x38], 3
je 0x42706a
cmp dword [ebp - 0x38], 0x100b
jne 0x4272b9
push str.Mozilla
lea ecx, [ebp - 0x20]
call fcn.0040b9c7
lea ecx, [ebp - 0x20]
call fcn.00401436
push str.Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_35.0.1916.153_Safari_537.36
lea ecx, [ebp - 0x18]
call fcn.0040b9c7
mov byte [ebp - 4], 0xd
push 0x14
call fcn.0042f949
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0xe
cmp eax, ebx
je 0x4270a7
push ebx
push ebx
push ebx
push ebx
push 1
lea ecx, [ebp - 0x18]
call fcn.00425458
push eax
mov ecx, dword [ebp - 0x20]
call fcn.0044a745
jmp 0x4270a9
xor eax, eax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x3c], eax
push ebx
push ebx
push dword [ebp - 0x50]
push dword [ebp - 0x28]
mov ecx, eax
call fcn.0044b3c6
mov ecx, eax
mov dword [ebp - 0x34], ecx
push 0xa4000016
push ebx
push ebx
push 1
push ebx
push dword [ebp + 8]
push 2
call fcn.0044b690
mov esi, eax
mov dword [ebp - 0x2c], esi
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.0044acd0
test eax, eax
je 0x4272a5
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.00449f74
test eax, eax
jne 0x427106
mov dword [ebp - 0x20], 0x190
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x190
jb 0x427157
mov eax, ecx
sub eax, 0x193
je 0x427130
dec eax
je 0x427128
push 3
pop edx
sub eax, edx
je 0x427130
mov dword [edi], edx
jmp 0x427136
mov dword [edi], 5
jmp 0x427136
mov dword [edi], 6
mov dword [edi], ecx
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x16
mov ecx, esi
call fcn.0044ae74
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040ba16
jmp 0x4272ab
mov dword [edi], ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x16
mov ecx, esi
call fcn.0044ae74
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0x47f518
call fcn.00401a8d
mov byte [ebp - 4], 0xf
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x12c]
call fcn.0040b7a3
mov byte [ebp - 4], 0x10
push dword [eax]
lea ecx, [ebp - 0x8c]
call fcn.00401a8d
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x18], 0x10
jb 0x4271ab
mov eax, dword [eax + 4]
jmp 0x4271ae
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x54], esp
push eax
call fcn.00401a8d
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 0x14
call fcn.0040898a
add esp, 0x3c
mov byte [ebp - 4], 0x16
push ebx
push 1
lea ecx, [ebp - 0x8c]
call fcn.004014ab
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x128]
cmp dword [ebp - 0x12c], eax
je 0x427200
push dword [ebp - 0x12c]
call fcn.00455077
pop ecx
lea ecx, [ebp - 0xa8]
call fcn.00403ce8
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x24], ebx
mov esi, str.Content_Length:
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x64]
cdq
push 0x1c
pop ecx
idiv ecx
cmp dword [ebp - 0x24], eax
jae 0x42727d
push dword [ebp - 0x24]
lea ecx, [ebp - 0x70]
call fcn.0042b4c6
cmp dword [eax + 0x18], 0x10
jb 0x42723e
mov eax, dword [eax + 4]
jmp 0x427241
add eax, 4
push eax
push 0x47b42c
push dword [ebp + 0xc]
call fcn.00409220
add esp, 0xc
push ebx
push esi
mov ecx, dword [ebp + 0xc]
call fcn.0040b545
test eax, eax
jl 0x42729d
push 0x47ad14
push esi
mov ecx, dword [ebp + 0xc]
call fcn.00414362
mov ecx, dword [ebp + 0xc]
call fcn.00414890
mov ecx, eax
call fcn.00414506
mov byte [ebp - 4], 0x17
push ebx
push 1
lea ecx, [ebp - 0xa8]
call fcn.004014ab
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x70]
call fcn.004067e7
jmp 0x4272ab
inc dword [ebp - 0x24]
jmp 0x427217
mov dword [edi], 3
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x18]
call fcn.00401436
jmp 0x4272bf
mov dword [edi], 1
mov byte [ebp - 4], 0xb
lea ecx, [ebp + 8]
call fcn.00401436
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00401436
jmp 0x4272df
mov dword [edi], 2
mov dword [ebp - 4], 3
jmp 0x427380
cmp dword [ebp - 0x40], ebx
je 0x42738e
push dword [ebp - 0x40]
call fcn.0042f978
pop ecx
mov esi, dword [ebp - 0x2c]
cmp esi, ebx
je 0x4273a5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x34]
cmp esi, ebx
je 0x4273bc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x3c]
cmp esi, ebx
je 0x4273d3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx]
push dword [edi]
lea edx, [ebp + 0xc]
push edx
call dword [eax + 0x14]
mov byte [ebp - 4], 0x1d
push eax
mov ecx, dword [ebp + 0x14]
call fcn.0040ba16
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xc]
call fcn.00401436
xor esi, esi
cmp dword [edi], ebx
jne 0x427401
inc esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00401436
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401436
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call fcn.00401436
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00401436
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10