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

Disassembly:
push 0x12c
mov eax, 0x4724e2
call fcn.0044edbf
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.00422a91
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x5c]
call fcn.004078fa
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.004028d3
push 0x400
call fcn.0042ac33
pop ecx
mov dword [ebp - 0x44], eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00402e55
push ebx
lea ecx, [ebp - 0x38]
call fcn.004078fa
lea ecx, [ebp - 0x38]
call fcn.004094a1
lea ecx, [ebp - 0x38]
call fcn.004097d1
push 0
push 0x47be14
lea ecx, [ebp - 0x38]
call fcn.0040760f
xor esi, esi
inc esi
cmp eax, 0xffffffff
jne 0x423a38
push esi
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x38]
call fcn.00421e88
mov byte [ebp - 4], 6
push 0x47be10
push eax
call fcn.00417b5d
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 0x4239f1
push str.http:
call fcn.00403654
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.00409668
add esp, 0xc
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x38]
call fcn.004078fa
mov byte [ebp - 4], 7
jmp 0x423a24
push 0x47a050
call fcn.00403654
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.00409668
add esp, 0xc
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x38]
call fcn.004078fa
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 0x423c52
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.00445f95
test eax, eax
je 0x423c36
cmp dword [ebp - 0x74], 3
je 0x423a90
cmp dword [ebp - 0x74], 0x100b
jne 0x423c36
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.00403654
mov byte [ebp - 4], 0xd
push 0x14
call fcn.0042abf9
pop ecx
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0xe
cmp eax, ebx
je 0x423acc
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x6c]
call fcn.004207d8
push eax
mov ecx, dword [ebp - 0x60]
call fcn.0044598c
jmp 0x423ace
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.0044664e
mov ecx, eax
mov dword [ebp - 0x4c], ecx
cmp ecx, ebx
je 0x423c22
lea eax, [ebp - 0x64]
push eax
call fcn.004451bb
test eax, eax
jne 0x423b0b
mov dword [ebp - 0x64], 0xc8
mov edx, dword [ebp - 0x64]
cmp edx, 0x190
jb 0x423b42
mov eax, edx
sub eax, 0x193
je 0x423b35
dec eax
je 0x423b2d
push 3
pop ecx
sub eax, ecx
je 0x423b35
mov dword [edi], ecx
jmp 0x423b3b
mov dword [edi], 5
jmp 0x423b3b
mov dword [edi], 6
mov dword [edi], edx
jmp 0x423c28
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 0x423b6a
mov ecx, dword [ebp - 0x44]
mov byte [eax + ecx], 0
push ecx
lea ecx, [ebp - 0x40]
call fcn.004229f3
jmp 0x423b44
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.004038ab
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x18], 0x10
jb 0x423b98
mov eax, dword [eax + 4]
jmp 0x423b9b
add eax, 4
push eax
lea ecx, [ebp - 0x98]
call fcn.004038ab
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004237bc
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 0x423bfd
push dword [ebp - 0x138]
call fcn.0044e653
pop ecx
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x423c09
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.00403584
mov byte [ebp - 4], 0xd
push ebx
push esi
lea ecx, [ebp - 0x30]
call fcn.00405a81
jmp 0x423c28
mov dword [edi], 3
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x6c]
call fcn.004028d3
jmp 0x423c38
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 0x423c58
mov dword [edi], 2
mov dword [ebp - 4], 3
jmp 0x423cfb
cmp dword [ebp - 0x44], ebx
je 0x423d09
push dword [ebp - 0x44]
call fcn.0042ac28
pop ecx
mov ecx, dword [ebp - 0x4c]
cmp ecx, ebx
je 0x423d1e
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 0x423d33
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.00422461
mov byte [ebp - 4], 0x1a
push eax
mov ecx, dword [ebp - 0x58]
call fcn.004078fa
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.004028d3
cmp dword [edi], ebx
jne 0x423d98
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.0044ee1b
ret 0x10
xor esi, esi
jmp 0x423d5e