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

Disassembly:
push 0xffffffffffffffff
push 0x4bd048
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4e5a68]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e5a68]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x88]
xor edi, edi
mov esi, ecx
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], edi
mov byte [esp + 0x5c], 0
mov eax, dword [0x4f1b08]
cmp eax, edi
mov dword [esp + 0x80], edi
je 0x427402
cmp eax, 1
jne 0x4273d8
push str.Mozilla_5.0__en_us__
lea ecx, [esp + 0x40]
call fcn.00405e70
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x8c], 1
call fcn.00405120
cmp dword [esp + 0x54], 0x10
mov byte [esp + 0x80], 0
jb 0x4273e9
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00431ad1
add esp, 4
jmp 0x4273e9
push 0xffffffffffffffff
push edi
push 0x4e557c
lea ecx, [esp + 0x64]
call fcn.00405120
cmp byte [esi], 0
je 0x427409
cmp dword [esp + 0x70], 0x10
jb 0x427402
mov edx, dword [esp + 0x5c]
push edx
call fcn.00431ad1
add esp, 4
xor al, al
jmp 0x4276ca
cmp byte [esi + 1], 0
je 0x427471
mov byte [esi + 1], 0
cmp dword [ebp + 4], 3
jbe 0x427471
xor eax, eax
mov dword [esp + 0x3e], eax
mov dword [esp + 0x42], eax
mov dword [esp + 0x46], eax
mov word [esp + 0x4a], ax
mov eax, dword [ebp]
push 3
push eax
lea ecx, [esp + 0x44]
push ecx
mov word [esp + 0x48], di
call fcn.004340a0
lea edx, [esp + 0x48]
push 0x4c3fa4
push edx
call fcn.00434d64
add esp, 0x14
test eax, eax
je 0x427471
lea eax, [esp + 0x3c]
push 0x4c3fa0
push eax
call fcn.00434d64
add esp, 8
test eax, eax
jne 0x42765e
cmp byte [esi + 2], 0
mov ecx, dword [ebp + 4]
mov byte [esp + 0x1b], 0
je 0x42766e
mov edx, dword [ebp]
push ecx
lea ebx, [esi + 8]
push edx
mov ecx, ebx
call fcn.00417710
cmp byte [esi + 3], 0
jne 0x42756b
push edi
push str.User_Agent:
mov ecx, ebx
call fcn.004248f0
mov edi, eax
test edi, edi
jle 0x42756b
push 1
add edi, 0xc
push edi
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
mov byte [esi + 3], 1
mov byte [esp + 0x20], 0xd
call fcn.00424560
test eax, eax
je 0x42756b
mov ecx, dword [esi + 0x1c]
sub eax, edi
mov edx, eax
mov eax, dword [ebp + 4]
mov ebx, eax
sub ebx, ecx
add edi, ebx
mov dword [esp + 0x1c], edx
js 0x42756b
sub eax, edx
add eax, dword [esp + 0x6c]
push eax
mov dword [esp + 0x44], eax
call fcn.00431acc
mov ecx, dword [ebp]
push edi
mov ebx, eax
push ecx
push ebx
call fcn.00433730
mov edx, dword [esp + 0x6c]
add esp, 0x10
cmp dword [esp + 0x70], 0x10
jae 0x42751b
lea edx, [esp + 0x5c]
lea ecx, [ebx + edi]
mov edi, edi
mov al, byte [edx]
mov byte [ecx], al
add edx, 1
add ecx, 1
test al, al
jne 0x427520
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp + 4]
mov ecx, dword [ebp]
sub edx, eax
sub edx, edi
push edx
mov edx, dword [esp + 0x70]
add ecx, eax
add ecx, edi
add edx, ebx
push ecx
add edx, edi
push edx
call fcn.00433730
mov eax, dword [ebp]
push eax
call fcn.00432b0f
mov eax, dword [esp + 0x50]
add esp, 0x10
mov dword [ebp], ebx
mov dword [ebp + 4], eax
mov byte [esp + 0x1b], 1
push 4
push 0
lea ebp, [esi + 8]
push str._r_n_r_n
mov ecx, ebp
call fcn.00424560
test eax, eax
jle 0x427655
mov ecx, dword [esi + 0x1c]
sub ecx, eax
sub ecx, 4
push 0
mov ebx, ecx
push str.Content_Length:
mov ecx, ebp
call fcn.004248f0
mov edi, eax
test edi, edi
jle 0x427612
push 1
add edi, 0x10
push edi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
mov byte [esp + 0x20], 0xd
call fcn.00424560
push eax
push edi
lea edx, [esp + 0x28]
push edx
mov ecx, ebp
call fcn.0040f0b0
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 2
call fcn.0040f0f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x80], 0
call fcn.00404260
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
jae 0x4275fb
lea eax, [esp + 0x40]
push eax
call fcn.0043451c
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esi + 4], eax
call fcn.00405010
jmp 0x427619
mov dword [esi + 4], 0
sub dword [esi + 4], ebx
mov eax, dword [esi + 4]
js 0x42765e
test eax, eax
jne 0x42764f
push 0x4bed68
lea ecx, [esp + 0x40]
mov byte [esi + 1], 1
mov byte [esi + 2], 1
mov byte [esi + 3], al
call fcn.00405e70
lea eax, [esp + 0x3c]
mov byte [esp + 0x80], 3
push eax
mov ecx, ebp
jmp 0x4276a4
mov byte [esi + 2], 0
jmp 0x4276b2
cmp dword [esi + 0x1c], 0x4000
jbe 0x4276b2
lea ecx, [esp + 0x58]
mov byte [esi], 1
call fcn.00405010
xor al, al
jmp 0x4276ca
sub dword [esi + 4], ecx
mov eax, dword [esi + 4]
js 0x42765e
cmp eax, edi
jne 0x4276b2
push 0x4bed68
lea ecx, [esp + 0x40]
mov byte [esi + 1], 1
mov byte [esi + 2], 1
mov byte [esi + 3], 0
call fcn.00405e70
lea edx, [esp + 0x3c]
mov byte [esp + 0x80], 4
push edx
lea ecx, [esi + 8]
call fcn.00405e50
lea ecx, [esp + 0x3c]
call fcn.00405010
cmp dword [esp + 0x70], 0x10
jb 0x4276c6
mov eax, dword [esp + 0x5c]
push eax
call fcn.00431ad1
add esp, 4
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0043236c
add esp, 0x70
ret 4