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

Disassembly:
push 0x12c
mov eax, 0x46c3fc
call fcn.004499a7
mov dword [ebp - 0x48], ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x4c], edi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x54]
call fcn.004013f4
and dword [ebp - 4], 0
and dword [ebp - 0x44], 0
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 - 0x78]
call fcn.004013f4
mov byte [ebp - 4], 3
mov esi, 0x47091b
push esi
mov ecx, dword [ebp - 0x5c]
call fcn.00406315
xor eax, eax
mov dword [edi], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.0041f430
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x54]
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 - 0x44], eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00406315
push ebx
lea ecx, [ebp - 0x38]
call fcn.00406651
lea ecx, [ebp - 0x38]
call fcn.004082d9
lea ecx, [ebp - 0x38]
call fcn.00408636
push 0
push 0x474b24
lea ecx, [ebp - 0x38]
call fcn.00406184
xor esi, esi
inc esi
cmp eax, 0xffffffff
jne 0x4203dd
push esi
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 - 0x39], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.0040141e
lea ecx, [ebp - 0x3c]
cmp byte [ebp - 0x39], 0
je 0x420396
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 0x4203c9
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 [ebx]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x4205f8
lea ecx, [ebp - 0x34]
call fcn.004013f4
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x70]
call fcn.004013f4
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 - 0x68]
push eax
push dword [ebp - 0x38]
call fcn.0044107c
test eax, eax
je 0x4205dc
cmp dword [ebp - 0x68], 3
je 0x420435
cmp dword [ebp - 0x68], 0x100b
jne 0x4205dc
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.00406609
mov byte [ebp - 4], 0xd
push 0x14
call fcn.00425cea
pop ecx
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 0xe
cmp eax, ebx
je 0x420471
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x6c]
call fcn.0041d177
push eax
mov ecx, dword [ebp - 0x64]
call fcn.00440a73
jmp 0x420473
xor eax, eax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x58], eax
push 0xffffffffffffffff
push dword [ebp - 0x54]
push 0x24000001
push esi
push dword [ebp - 0x38]
mov ecx, eax
call fcn.00441735
mov ecx, eax
mov dword [ebp - 0x50], ecx
cmp ecx, ebx
je 0x4205c8
lea eax, [ebp - 0x74]
push eax
call fcn.004402a2
test eax, eax
jne 0x4204b0
mov dword [ebp - 0x74], 0xc8
mov edx, dword [ebp - 0x74]
cmp edx, 0x190
jb 0x4204e7
mov eax, edx
sub eax, 0x193
je 0x4204da
dec eax
je 0x4204d2
push 3
pop ecx
sub eax, ecx
je 0x4204da
mov dword [edi], ecx
jmp 0x4204e0
mov dword [edi], 5
jmp 0x4204e0
mov dword [edi], 6
mov dword [edi], edx
jmp 0x4205ce
mov dword [edi], ebx
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx]
push 0x3ff
push dword [ebp - 0x44]
call dword [eax + 0x34]
cmp eax, ebx
je 0x42050f
mov ecx, dword [ebp - 0x44]
mov byte [eax + ecx], 0
push ecx
lea ecx, [ebp - 0x40]
call fcn.0041f344
jmp 0x4204e9
push dword [ebp - 0x40]
lea ecx, [ebp - 0x138]
call fcn.00407bde
mov byte [ebp - 4], 0xf
push dword [eax]
lea ecx, [ebp - 0xb4]
call fcn.00401925
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x18], 0x10
jb 0x42053d
mov eax, dword [eax + 4]
jmp 0x420540
add eax, 4
push eax
lea ecx, [ebp - 0x98]
call fcn.00401925
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.0042015f
mov byte [ebp - 4], 0x13
push ebx
push esi
lea ecx, [ebp - 0x98]
call fcn.0040148e
mov byte [ebp - 4], 0x14
push ebx
push esi
lea ecx, [ebp - 0xb4]
call fcn.0040148e
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x134]
cmp dword [ebp - 0x138], eax
je 0x4205a3
push dword [ebp - 0x138]
call fcn.0044b877
pop ecx
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4205af
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x60]
call fcn.004085b6
mov byte [ebp - 4], 0xd
push ebx
push esi
lea ecx, [ebp - 0x30]
call fcn.004029a3
jmp 0x4205ce
mov dword [edi], 3
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x6c]
call fcn.0040141e
jmp 0x4205de
mov dword [edi], esi
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x70]
call fcn.0040141e
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.0040141e
jmp 0x4205fe
mov dword [edi], 2
mov dword [ebp - 4], 3
jmp 0x4206a2
cmp dword [ebp - 0x44], ebx
je 0x4206b0
push dword [ebp - 0x44]
call fcn.00425d19
pop ecx
mov ecx, dword [ebp - 0x50]
cmp ecx, ebx
je 0x4206c5
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x58]
cmp ecx, ebx
je 0x4206da
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx]
push dword [edi]
lea edx, [ebp - 0x64]
push edx
call dword [eax + 0x14]
mov byte [ebp - 4], 0x1a
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.00406651
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.0040141e
cmp dword [edi], ebx
jne 0x42073f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x78]
call fcn.0040141e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.0040141e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0040141e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.0040141e
mov eax, esi
call fcn.00449a03
ret 0x10
xor esi, esi
jmp 0x420705