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

Disassembly:
push 0x138
mov eax, 0x46c4e7
call fcn.004499a7
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x50], edi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x7c]
call fcn.004013f4
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x40]
call fcn.004013f4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004013f4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x84]
call fcn.004013f4
mov byte [ebp - 4], 3
mov esi, 0x47091b
push esi
mov ecx, dword [ebp - 0x60]
call fcn.00406315
mov dword [edi], 3
mov byte [ebp - 4], 4
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.0041f430
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x7c]
call fcn.00406651
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.0040141e
push 0x400
call fcn.00425d24
pop ecx
mov dword [ebp - 0x6c], eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00406315
mov esi, dword [ebp - 0x44]
push esi
lea ecx, [ebp - 0x38]
call fcn.00406651
lea ecx, [ebp - 0x38]
call fcn.004082d9
lea ecx, [ebp - 0x38]
call fcn.00408636
push ebx
push 0x474b24
lea ecx, [ebp - 0x38]
call fcn.00406184
cmp eax, 0xffffffff
jne 0x4208e6
push 1
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x38]
call fcn.0041e808
mov byte [ebp - 4], 6
push 0x474b20
push eax
call fcn.0041416b
pop ecx
pop ecx
mov byte [ebp - 0x45], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.0040141e
lea ecx, [ebp - 0x3c]
cmp byte [ebp - 0x45], bl
je 0x42089f
push str.http:
call fcn.00406609
mov byte [ebp - 4], 7
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004084ae
add esp, 0xc
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x38]
call fcn.00406651
mov byte [ebp - 4], 7
jmp 0x4208d2
push 0x472db0
call fcn.00406609
mov byte [ebp - 4], 9
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004084ae
add esp, 0xc
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x38]
call fcn.00406651
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x34]
call fcn.0040141e
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.0040141e
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
je 0x420bcf
lea ecx, [ebp - 0x3c]
call fcn.004013f4
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x64]
call fcn.004013f4
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x38]
call fcn.0044107c
test eax, eax
je 0x420baf
cmp dword [ebp - 0x70], 3
je 0x420951
cmp dword [ebp - 0x70], 0x100b
jne 0x420baf
push str.Mozilla
lea ecx, [ebp - 0x44]
call fcn.00406609
lea ecx, [ebp - 0x44]
call fcn.0040141e
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 - 0x34]
call fcn.00406609
mov byte [ebp - 4], 0xd
push 0x14
call fcn.00425cea
pop ecx
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0xe
cmp eax, ebx
je 0x42098e
push ebx
push ebx
push ebx
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.0041d177
push eax
mov ecx, dword [ebp - 0x44]
call fcn.00440a73
jmp 0x420990
xor eax, eax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x78], eax
push ebx
push ebx
push dword [ebp - 0x68]
push dword [ebp - 0x3c]
mov ecx, eax
call fcn.004416f4
mov ecx, eax
mov dword [ebp - 0x74], ecx
push 0xa4000016
push ebx
push ebx
push 1
push ebx
push dword [ebp - 0x64]
push 2
call fcn.004419be
mov esi, eax
mov dword [ebp - 0x58], esi
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.00440ffe
test eax, eax
je 0x420b9b
lea eax, [ebp - 0x44]
push eax
mov ecx, esi
call fcn.004402a2
test eax, eax
jne 0x4209ed
mov dword [ebp - 0x44], 0x190
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x190
jb 0x420a3e
mov eax, ecx
sub eax, 0x193
je 0x420a17
dec eax
je 0x420a0f
push 3
pop edx
sub eax, edx
je 0x420a17
mov dword [edi], edx
jmp 0x420a1d
mov dword [edi], 5
jmp 0x420a1d
mov dword [edi], 6
mov dword [edi], ecx
push ebx
lea eax, [ebp - 0x40]
push eax
push 0x16
mov ecx, esi
call fcn.004411a2
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.00406651
jmp 0x420ba1
mov dword [edi], ebx
push ebx
lea eax, [ebp - 0x40]
push eax
push 0x16
mov ecx, esi
call fcn.004411a2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x88], esp
push 0x474b78
call fcn.00401925
mov byte [ebp - 4], 0xf
push dword [ebp - 0x40]
lea ecx, [ebp - 0x144]
call fcn.00407bde
mov byte [ebp - 4], 0x10
push dword [eax]
lea ecx, [ebp - 0xc0]
call fcn.00401925
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x18], 0x10
jb 0x420a95
mov eax, dword [eax + 4]
jmp 0x420a98
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x8c], esp
push eax
call fcn.00401925
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0xa4]
push eax
mov byte [ebp - 4], 0x14
call fcn.00405d10
add esp, 0x3c
mov byte [ebp - 4], 0x16
push ebx
push 1
lea ecx, [ebp - 0xc0]
call fcn.0040148e
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x140]
cmp dword [ebp - 0x144], eax
je 0x420af0
push dword [ebp - 0x144]
call fcn.0044b877
pop ecx
lea ecx, [ebp - 0x30]
call fcn.004032ce
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x54], ebx
mov esi, str.Content_Length:
mov eax, dword [ebp - 0x94]
sub eax, dword [ebp - 0x98]
cdq
push 0x1c
pop ecx
idiv ecx
cmp dword [ebp - 0x54], eax
jae 0x420b73
push dword [ebp - 0x54]
lea ecx, [ebp - 0xa4]
call fcn.00421236
cmp dword [eax + 0x18], 0x10
jb 0x420b34
mov eax, dword [eax + 4]
jmp 0x420b37
add eax, 4
push eax
push 0x473a60
push dword [ebp - 0x4c]
call fcn.00403835
add esp, 0xc
push ebx
push esi
mov ecx, dword [ebp - 0x4c]
call fcn.00406184
test eax, eax
jl 0x420b93
push 0x470b08
push esi
mov ecx, dword [ebp - 0x4c]
call fcn.004063af
mov ecx, dword [ebp - 0x4c]
call fcn.00408636
mov ecx, eax
call fcn.004082d9
mov byte [ebp - 4], 0x17
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.0040148e
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xa4]
call fcn.00405971
jmp 0x420ba1
inc dword [ebp - 0x54]
jmp 0x420b04
mov dword [edi], 3
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x34]
call fcn.0040141e
jmp 0x420bb5
mov dword [edi], 1
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x64]
call fcn.0040141e
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.0040141e
jmp 0x420bd5
mov dword [edi], 2
mov dword [ebp - 4], 3
jmp 0x420c76
cmp dword [ebp - 0x6c], ebx
je 0x420c84
push dword [ebp - 0x6c]
call fcn.00425d19
pop ecx
mov esi, dword [ebp - 0x58]
cmp esi, ebx
je 0x420c9b
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 - 0x74]
cmp esi, ebx
je 0x420cb2
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 - 0x78]
cmp esi, ebx
je 0x420cc9
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 - 0x5c]
mov eax, dword [ecx]
push dword [edi]
lea edx, [ebp - 0x68]
push edx
call dword [eax + 0x14]
mov byte [ebp - 4], 0x1d
push eax
mov ecx, dword [ebp - 0x60]
call fcn.00406651
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
call fcn.0040141e
xor esi, esi
cmp dword [edi], ebx
jne 0x420cf7
inc esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x84]
call fcn.0040141e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.0040141e
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x40]
call fcn.0040141e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.0040141e
mov eax, esi
call fcn.00449a03
ret 0x10