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

Disassembly:
push 0xffffffffffffffff
push 0x4b7188
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4de8bc]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4de8bc]
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 [0x4ea990]
cmp eax, edi
mov dword [esp + 0x80], edi
je 0x423e82
cmp eax, 1
jne 0x423e58
push str.Mozilla_5.0__en_us_
lea ecx, [esp + 0x40]
call fcn.00406160
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x8c], 1
call fcn.004054b0
cmp dword [esp + 0x54], 0x10
mov byte [esp + 0x80], 0
jb 0x423e69
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0042e631
add esp, 4
jmp 0x423e69
push 0xffffffffffffffff
push edi
push 0x4de458
lea ecx, [esp + 0x64]
call fcn.004054b0
cmp byte [esi], 0
je 0x423e89
cmp dword [esp + 0x70], 0x10
jb 0x423e82
mov edx, dword [esp + 0x5c]
push edx
call fcn.0042e631
add esp, 4
xor al, al
jmp 0x423f63
cmp byte [esi + 1], 0
je 0x423ef1
mov byte [esi + 1], 0
cmp dword [ebp + 4], 3
jbe 0x423ef1
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.00430c00
lea edx, [esp + 0x48]
push 0x4bd190
push edx
call fcn.0043189a
add esp, 0x14
test eax, eax
je 0x423ef1
lea eax, [esp + 0x3c]
push 0x4bd18c
push eax
call fcn.0043189a
add esp, 8
test eax, eax
jne 0x42418e
cmp byte [esi + 2], 0
mov byte [esp + 0x1b], 0
jne 0x423f84
mov ecx, dword [ebp + 4]
sub dword [esi + 4], ecx
mov eax, dword [esi + 4]
js 0x42418e
cmp eax, edi
jne 0x423f4b
push 0x4b8da8
lea ecx, [esp + 0x40]
mov byte [esi + 1], 1
mov byte [esi + 2], 1
mov byte [esi + 3], 0
call fcn.00406160
lea edx, [esp + 0x3c]
mov byte [esp + 0x80], 2
push edx
lea ecx, [esi + 8]
call fcn.00406140
lea ecx, [esp + 0x3c]
call fcn.004053a0
cmp dword [esp + 0x70], 0x10
jb 0x423f5f
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0042e631
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.0042e636
add esp, 0x70
ret 4
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
push eax
lea ebx, [esi + 8]
push ecx
mov ecx, ebx
call fcn.00417a60
cmp byte [esi + 3], 0
jne 0x424094
push edi
push str.User_Agent:
mov ecx, ebx
call fcn.00420e60
mov edi, eax
test edi, edi
jle 0x424094
push 1
add edi, 0xc
push edi
lea edx, [esp + 0x1c]
push edx
mov ecx, ebx
mov byte [esp + 0x20], 0xd
call fcn.00420990
test eax, eax
mov dword [esp + 0x1c], eax
jle 0x42418e
push edi
push str.Mozilla_
mov ecx, ebx
call fcn.00420e60
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x1c]
sub eax, edi
mov byte [esi + 3], 1
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 4]
mov edx, eax
sub edx, ecx
add edi, edx
js 0x424094
sub eax, dword [esp + 0x1c]
add eax, dword [esp + 0x6c]
push eax
mov dword [esp + 0x44], eax
call fcn.0042e62c
mov ecx, dword [ebp]
push edi
push ecx
push eax
mov dword [esp + 0x4c], eax
call fcn.004302c0
mov edx, dword [esp + 0x6c]
add esp, 0x10
cmp dword [esp + 0x70], 0x10
jae 0x42403a
lea edx, [esp + 0x5c]
mov eax, dword [esp + 0x3c]
lea ecx, [eax + edi]
mov al, byte [edx]
mov byte [ecx], al
add edx, 1
add ecx, 1
test al, al
jne 0x424041
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
sub ecx, eax
sub ecx, edi
add edx, eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x40]
add edx, edi
add eax, ecx
push edx
add eax, edi
push eax
call fcn.004302c0
mov eax, dword [ebp]
push eax
call fcn.0042f66f
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
add esp, 0x10
mov dword [ebp], edx
mov dword [ebp + 4], eax
mov byte [esp + 0x1b], 1
push 4
push 0
push str._r_n_r_n
mov ecx, ebx
call fcn.00420990
test eax, eax
jle 0x424181
mov ecx, dword [esi + 0x1c]
sub ecx, eax
sub ecx, 4
push 0
mov ebp, ecx
push str.Content_Length:
mov ecx, ebx
call fcn.00420e60
mov edi, eax
test edi, edi
jle 0x424138
push 1
add edi, 0x10
push edi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
mov byte [esp + 0x20], 0xd
call fcn.00420990
push eax
push edi
lea edx, [esp + 0x28]
push edx
mov ecx, ebx
call fcn.0040f830
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 3
call fcn.0040f870
lea ecx, [esp + 0x20]
mov byte [esp + 0x80], 0
call fcn.00404410
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
jae 0x424121
lea eax, [esp + 0x40]
push eax
call fcn.0043107c
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esi + 4], eax
call fcn.004053a0
jmp 0x42413f
mov dword [esi + 4], 0
sub dword [esi + 4], ebp
mov eax, dword [esi + 4]
js 0x42418e
test eax, eax
jne 0x424178
push 0x4b8da8
lea ecx, [esp + 0x40]
mov byte [esi + 1], 1
mov byte [esi + 2], 1
mov byte [esi + 3], al
call fcn.00406160
lea eax, [esp + 0x3c]
mov byte [esp + 0x80], 4
push eax
mov ecx, ebx
jmp 0x423f3d
mov byte [esi + 2], 0
jmp 0x423f4b
cmp dword [esi + 0x1c], 0x4000
jbe 0x423f4b
lea ecx, [esp + 0x58]
mov byte [esi], 1
call fcn.004053a0
xor al, al
jmp 0x423f63