Function at 0x4238a0
Capabilities:
Check http status code
Reference http user-agent string

Disassembly:
push 0x12c
mov eax, 0x4724c4
call fcn.0044edb8
mov dword [ebp - 0x68], ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x48], edi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x5c]
call fcn.004028a9
and dword [ebp - 4], 0
and dword [ebp - 0x44], 0
lea ecx, [ebp - 0x40]
call fcn.004028a9
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004028a9
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x78]
call fcn.004028a9
mov byte [ebp - 4], 3
mov esi, 0x477a5d
push esi
mov ecx, dword [ebp - 0x58]
call fcn.00402e55
xor eax, eax
mov dword [edi], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x68]
call fcn.00422a92
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x5c]
call fcn.004078f5
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.004028d3
push 0x400
call fcn.0042ac34
pop ecx
mov dword [ebp - 0x44], eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00402e55
push ebx
lea ecx, [ebp - 0x38]
call fcn.004078f5
lea ecx, [ebp - 0x38]
call fcn.00409468
lea ecx, [ebp - 0x38]
call fcn.004097cc
push 0
push 0x47be14
lea ecx, [ebp - 0x38]
call fcn.0040760a
xor esi, esi
inc esi
cmp eax, 0xffffffff
jne 0x423a39
push esi
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x38]
call fcn.00421e89
mov byte [ebp - 4], 6
push 0x47be10
push eax
call fcn.00417b5e
pop ecx
pop ecx
mov byte [ebp - 0x39], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.004028d3
lea ecx, [ebp - 0x3c]
cmp byte [ebp - 0x39], 0
je 0x4239f2
push str.http:
call fcn.0040364f
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.00409663
add esp, 0xc
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x38]
call fcn.004078f5
mov byte [ebp - 4], 7
jmp 0x423a25
push 0x47a050
call fcn.0040364f
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.00409663
add esp, 0xc
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x38]
call fcn.004078f5
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x34]
call fcn.004028d3
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.004028d3
mov eax, dword [ebx]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x423c53
lea ecx, [ebp - 0x34]
call fcn.004028a9
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x70]
call fcn.004028a9
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x38]
call fcn.00445f8e
test eax, eax
je 0x423c37
cmp dword [ebp - 0x74], 3
je 0x423a91
cmp dword [ebp - 0x74], 0x100b
jne 0x423c37
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 - 0x6c]
call fcn.0040364f
mov byte [ebp - 4], 0xd
push 0x14
call fcn.0042abfa
pop ecx
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0xe
cmp eax, ebx
je 0x423acd
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x6c]
call fcn.004207d9
push eax
mov ecx, dword [ebp - 0x60]
call fcn.00445985
jmp 0x423acf
xor eax, eax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x54], eax
push 0xffffffffffffffff
push dword [ebp - 0x5c]
push 0x24000001
push esi
push dword [ebp - 0x38]
mov ecx, eax
call fcn.00446647
mov ecx, eax
mov dword [ebp - 0x4c], ecx
cmp ecx, ebx
je 0x423c23
lea eax, [ebp - 0x64]
push eax
call fcn.004451b4
test eax, eax
jne 0x423b0c
mov dword [ebp - 0x64], 0xc8
mov edx, dword [ebp - 0x64]
cmp edx, 0x190
jb 0x423b43
mov eax, edx
sub eax, 0x193
je 0x423b36
dec eax
je 0x423b2e
push 3
pop ecx
sub eax, ecx
je 0x423b36
mov dword [edi], ecx
jmp 0x423b3c
mov dword [edi], 5
jmp 0x423b3c
mov dword [edi], 6
mov dword [edi], edx
jmp 0x423c29
mov dword [edi], ebx
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx]
push 0x3ff
push dword [ebp - 0x44]
call dword [eax + 0x34]
cmp eax, ebx
je 0x423b6b
mov ecx, dword [ebp - 0x44]
mov byte [eax + ecx], 0
push ecx
lea ecx, [ebp - 0x40]
call fcn.004229f4
jmp 0x423b45
push dword [ebp - 0x40]
lea ecx, [ebp - 0x138]
call fcn.004023df
mov byte [ebp - 4], 0xf
push dword [eax]
lea ecx, [ebp - 0xb4]
call fcn.004038a6
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x18], 0x10
jb 0x423b99
mov eax, dword [eax + 4]
jmp 0x423b9c
add eax, 4
push eax
lea ecx, [ebp - 0x98]
call fcn.004038a6
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004237bd
pop ecx
pop ecx
mov byte [ebp - 4], 0x13
push ebx
push esi
lea ecx, [ebp - 0x98]
call fcn.00402a7d
mov byte [ebp - 4], 0x14
push ebx
push esi
lea ecx, [ebp - 0xb4]
call fcn.00402a7d
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x134]
cmp dword [ebp - 0x138], eax
je 0x423bfe
push dword [ebp - 0x138]
call fcn.0044e64c
pop ecx
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x423c0a
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.0040357f
mov byte [ebp - 4], 0xd
push ebx
push esi
lea ecx, [ebp - 0x30]
call fcn.00405a7c
jmp 0x423c29
mov dword [edi], 3
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x6c]
call fcn.004028d3
jmp 0x423c39
mov dword [edi], esi
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x70]
call fcn.004028d3
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.004028d3
jmp 0x423c59
mov dword [edi], 2
mov dword [ebp - 4], 3
jmp 0x423cfc
cmp dword [ebp - 0x44], ebx
je 0x423d0a
push dword [ebp - 0x44]
call fcn.0042ac29
pop ecx
mov ecx, dword [ebp - 0x4c]
cmp ecx, ebx
je 0x423d1f
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x54]
cmp ecx, ebx
je 0x423d34
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
push dword [edi]
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x68]
call fcn.00422462
mov byte [ebp - 4], 0x1a
push eax
mov ecx, dword [ebp - 0x58]
call fcn.004078f5
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.004028d3
cmp dword [edi], ebx
jne 0x423d99
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x78]
call fcn.004028d3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004028d3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004028d3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004028d3
mov eax, esi
call fcn.0044ee14
ret 0x10
xor esi, esi
jmp 0x423d5f