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

Disassembly:
mov eax, 0x47e001
call fcn.00459afc
sub esp, 0x100
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x44]
call fcn.00403696
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x1c]
call fcn.00403696
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00403696
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x14]
call fcn.00403603
mov esi, dword [ebp + 0x10]
mov dword [esi], 3
mov byte [ebp - 4], 3
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.004286f6
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x44]
call fcn.0040a866
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004208c9
push 0x400
call fcn.004347c8
pop ecx
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x1c]
call fcn.00403603
mov edi, dword [ebp + 8]
push edi
lea ecx, [ebp - 0x14]
call fcn.0040a866
lea ecx, [ebp - 0x14]
call fcn.0041845b
lea ecx, [ebp - 0x14]
call fcn.00418aa1
push ebx
push 0x488bf4
lea ecx, [ebp - 0x14]
call fcn.0040a3c3
cmp eax, 0xffffffff
jne 0x4299ef
push 1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.0042529f
mov byte [ebp - 4], 5
push 0x488bf0
push eax
call fcn.0040a87b
pop ecx
pop ecx
mov byte [ebp + 0xb], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004208c9
lea ecx, [ebp + 8]
cmp byte [ebp + 0xb], bl
je 0x4299a8
push str.http:
call fcn.0040a817
mov byte [ebp - 4], 6
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004119e2
add esp, 0xc
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x14]
call fcn.0040a866
mov byte [ebp - 4], 6
jmp 0x4299db
push 0x488af8
call fcn.0040a817
mov byte [ebp - 4], 8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004119e2
add esp, 0xc
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x14]
call fcn.0040a866
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x18]
call fcn.004208c9
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.004208c9
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x429c90
lea ecx, [ebp - 0x28]
call fcn.00403696
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 8]
call fcn.00403696
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x14]
call fcn.00450b70
test eax, eax
je 0x429c70
cmp dword [ebp - 0x40], 3
je 0x429a45
cmp dword [ebp - 0x40], 0x100b
jne 0x429c70
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 - 0x18]
call fcn.0040a817
mov byte [ebp - 4], 0xc
push 0x14
call fcn.0043478e
pop ecx
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x429a82
push ebx
push ebx
push ebx
push ebx
push 1
lea ecx, [ebp - 0x18]
call fcn.00424c8f
push eax
mov ecx, dword [ebp - 0x24]
call fcn.00450567
jmp 0x429a84
xor eax, eax
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x3c], eax
push ebx
push ebx
push dword [ebp - 0x4c]
push dword [ebp - 0x28]
mov ecx, eax
call fcn.004511e8
mov ecx, eax
mov dword [ebp - 0x38], ecx
push 0xa4000016
push ebx
push ebx
push 1
push ebx
push dword [ebp + 8]
push 2
call fcn.004514b2
mov edi, eax
mov dword [ebp - 0x2c], edi
push ebx
push ebx
push ebx
push ebx
mov ecx, edi
call fcn.00450af2
test eax, eax
je 0x429c5c
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.0044fd96
test eax, eax
jne 0x429ae1
mov dword [ebp - 0x24], 0x190
mov edx, dword [ebp - 0x24]
cmp edx, 0x190
jb 0x429b32
mov eax, edx
sub eax, 0x193
je 0x429b0b
dec eax
je 0x429b03
push 3
pop ecx
sub eax, ecx
je 0x429b0b
mov dword [esi], ecx
jmp 0x429b11
mov dword [esi], 5
jmp 0x429b11
mov dword [esi], 6
mov dword [esi], edx
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x16
mov ecx, edi
call fcn.00450c96
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040a866
jmp 0x429c62
mov dword [esi], ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x16
mov ecx, edi
call fcn.00450c96
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x54], esp
push 0x484204
call fcn.00401a15
mov byte [ebp - 4], 0xe
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x10c]
call fcn.0040a5ff
mov byte [ebp - 4], 0xf
push dword [eax]
lea ecx, [ebp - 0x88]
call fcn.00401a15
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x18], 0x10
jb 0x429b86
mov eax, dword [eax + 4]
jmp 0x429b89
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x50], esp
push eax
call fcn.00401a15
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0x13
call fcn.00404436
add esp, 0x3c
mov byte [ebp - 4], 0x15
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.004013ee
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x108]
cmp dword [ebp - 0x10c], eax
je 0x429bdb
push dword [ebp - 0x10c]
call fcn.0045bfdc
pop ecx
mov dword [ebp - 0x20], ebx
mov edi, str.Content_Length:
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x60]
cdq
push 0x1c
pop ecx
idiv ecx
cmp dword [ebp - 0x20], eax
jae 0x429c49
push dword [ebp - 0x20]
lea ecx, [ebp - 0x6c]
call fcn.0042f811
cmp dword [eax + 0x18], 0x10
jb 0x429c0a
mov eax, dword [eax + 4]
jmp 0x429c0d
add eax, 4
push eax
push 0x48460c
push dword [ebp + 0xc]
call fcn.00401ada
add esp, 0xc
push ebx
push edi
mov ecx, dword [ebp + 0xc]
call fcn.0040a3c3
test eax, eax
jl 0x429c57
push 0x483f80
push edi
mov ecx, dword [ebp + 0xc]
call fcn.00418272
mov ecx, dword [ebp + 0xc]
call fcn.00418aa1
mov ecx, eax
call fcn.0041845b
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x6c]
call fcn.00408273
jmp 0x429c62
inc dword [ebp - 0x20]
jmp 0x429be3
mov dword [esi], 3
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x18]
call fcn.004208c9
jmp 0x429c76
mov dword [esi], 1
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 8]
call fcn.004208c9
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004208c9
jmp 0x429c96
mov dword [esi], 2
mov dword [ebp - 4], 2
jmp 0x429d3c
cmp dword [ebp - 0x34], ebx
je 0x429d4a
push dword [ebp - 0x34]
call fcn.004347bd
pop ecx
mov edi, dword [ebp - 0x2c]
cmp edi, ebx
je 0x429d61
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x4c]
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x38]
cmp edi, ebx
je 0x429d78
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x3c]
cmp edi, ebx
je 0x429d8f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx]
push dword [esi]
lea edx, [ebp + 0xc]
push edx
call dword [eax + 0x14]
mov byte [ebp - 4], 0x1b
push eax
mov ecx, dword [ebp + 0x14]
call fcn.0040a866
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.004208c9
cmp dword [esi], ebx
jne 0x429df3
xor esi, esi
inc esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004208c9
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call fcn.004208c9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.004208c9
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
xor esi, esi
jmp 0x429dbd