Function at 0x4212e0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496558
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x4d406c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x250], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], edi
mov ecx, edx
mov dword [ebp - 4], 1
mov byte [ebp - 0x235], 0
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421352
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x234]
call fcn.00404f30
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push str.SogouExplorerRepairer
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x23c], ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, eax
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x4215b0
mov ebx, dword [sym.imp.WININET.dll_HttpQueryInfoA]
nop dword [eax + eax]
cmp dword [ebp - 0x220], 0x10
lea eax, [ebp - 0x234]
push 0
cmovae eax, dword [ebp - 0x234]
push 0x80200000
push 0
push 0
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
je 0x421585
push 0x200
mov byte [ebp - 4], 3
lea eax, [ebp - 0x214]
push 0
or edi, 1
mov dword [ebp - 0x258], 0
push eax
mov dword [ebp - 0x254], 0xf
mov byte [ebp - 0x268], 0
mov dword [ebp - 0x248], edi
call fcn.0045f220
add esp, 0xc
mov dword [ebp - 0x218], 0x200
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x13
push esi
call ebx
test eax, eax
je 0x4214be
lea eax, [ebp - 0x214]
push eax
call fcn.00465a50
add esp, 4
cmp eax, 0x12e
jne 0x4214be
push 0x200
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.0045f220
add esp, 0xc
mov dword [ebp - 0x218], 0x200
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x21
push esi
call ebx
test eax, eax
je 0x4214be
lea ecx, [ebp - 0x214]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4214a2
sub ecx, edx
lea eax, [ebp - 0x214]
push ecx
push eax
lea ecx, [ebp - 0x268]
call fcn.00404f30
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x234]
call fcn.00421690
mov byte [ebp - 4], 2
and edi, 0xfffffffe
mov edx, dword [ebp - 0x254]
cmp edx, 0x10
jb 0x421511
mov ecx, dword [ebp - 0x268]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x421507
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421683
push edx
push ecx
call fcn.0045cf49
add esp, 8
cmp dword [ebp - 0x224], 0
je 0x42152c
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x244]
jmp 0x4213a0
push dword [ebp + 0x10]
lea eax, [ebp + 0x3c]
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x248], esp
push eax
call fcn.00419d60
sub esp, 0x28
mov byte [ebp - 4], 4
lea eax, [ebp + 0x14]
mov ecx, esp
push eax
call fcn.00419d60
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x240]
mov ecx, esi
call fcn.00421070
add esp, 0x58
mov byte [ebp - 0x235], al
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebx, dword [ebp - 0x240]
jmp 0x421587
xor ebx, ebx
push dword [ebp - 0x244]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, dword [ebp - 0x23c]
test esi, esi
jne 0x4215b6
test ebx, ebx
je 0x4215b6
push 1
push ebx
call fcn.0045cf49
add esp, 8
xor ebx, ebx
jmp 0x4215b6
mov esi, dword [ebp - 0x23c]
mov eax, dword [ebp - 0x24c]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x220]
mov dword [eax], esi
mov eax, dword [ebp - 0x250]
mov dword [eax], ebx
cmp edx, 0x10
jb 0x421604
mov ecx, dword [ebp - 0x234]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4215fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421683
push edx
push ecx
call fcn.0045cf49
add esp, 8
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x421642
mov edx, dword [ecx]
lea eax, [ebp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp + 0x38], 0
mov dword [ebp - 4], 6
mov ecx, dword [ebp + 0x60]
test ecx, ecx
je 0x421661
mov esi, dword [ecx]
lea eax, [ebp + 0x3c]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov al, byte [ebp - 0x235]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045cf38
mov esp, ebp
pop ebp
ret
call fcn.004626c9
int3