Function at 0x435770
Capabilities:
Copy file
Delete file
Download url
Move file
Receive data
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d6312
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, str.Malware.Cure.Remediation
call fcn.00437f30
add esp, 4
test al, al
je 0x435ab1
mov ecx, dword [esi]
lea edx, [esp + 0x14]
xor edi, edi
push edx
mov dword [esp + 0x24], edi
call fcn.00498b30
add esp, 4
mov dword [esp + 0x38], edi
lea edi, [esp + 0x14]
call fcn.0040bc80
mov eax, dword [esi]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0047a9d0
add esp, 8
mov byte [esp + 0x38], 1
cmp dword [0x6d138c], 1
jl 0x435882
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00499710
mov edi, eax
mov byte [esp + 0x40], 2
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00499710
mov ebx, eax
mov byte [esp + 0x48], 3
mov edx, dword [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.00499710
mov byte [esp + 0x50], 4
mov ecx, dword [edi]
mov edx, dword [ebx]
mov eax, dword [eax]
push ecx
push edx
push eax
push str.Cure_download:__s___s___s
push str.Helper::fixPatched
push 1
call fcn.00552bc2
add esp, 0x30
mov byte [esp + 0x38], 3
lea ecx, [esp + 0x18]
call fcn.0040b720
mov byte [esp + 0x38], 2
lea ecx, [esp + 0x10]
call fcn.0040b720
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x1c]
call fcn.0040b720
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x435a28
lea edx, [esp + 0x10]
push esi
push edx
mov ebx, str..rst
call fcn.004176f0
add esp, 8
mov byte [esp + 0x38], 5
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x18]
push ecx
call fcn.0040b7e0
mov bl, 6
mov byte [esp + 0x38], bl
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
push str.http:__136.243.40.236:83_n_sv_sl_s
lea edi, [esp + 0x28]
call fcn.00421d60
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
add esp, 0x10
push 0
push 0
push edx
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
jl 0x435a04
cmp dword [0x6d138c], 1
jl 0x435942
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00499710
mov byte [esp + 0x40], 7
mov eax, dword [eax]
push eax
push str.Cure_downloaded:__s
push str.Helper::fixPatched
push 1
call fcn.00552bc2
add esp, 0x18
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x1c]
call fcn.0040b720
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push esi
push ecx
call fcn.0040b840
mov byte [esp + 0x3c], 8
mov byte [esp + 0x3c], bl
call fcn.00475ba0
mov edi, dword [esi]
add esp, 4
call fcn.00432650
mov ecx, dword [esi]
call fcn.0042ad90
mov eax, dword [esi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [esi]
mov edx, dword [esp + 0x10]
push 0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, 1
cmp dword [0x6d138c], ebx
mov edi, eax
jl 0x4359bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.Cure_restore:__i___i
push str.Helper::fixPatched
push ebx
call fcn.00552bc2
add esp, 0x14
mov eax, dword [esi]
push 5
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [0x6d138c], ebx
mov edi, eax
jl 0x4359f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.Cure_reboot:__i___i
push str.Helper::fixPatched
push ebx
call fcn.00552bc2
add esp, 0x14
mov eax, dword [0x6eac4c]
test eax, eax
je 0x435a08
push eax
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
jmp 0x435a08
mov edi, dword [esp + 0x20]
mov byte [esp + 0x38], 5
lea ecx, [esp + 0x18]
call fcn.0040b950
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x10]
call fcn.0040b950
test edi, edi
jne 0x435a7c
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push esi
push ecx
call fcn.0040b840
mov byte [esp + 0x3c], 9
mov byte [esp + 0x3c], 1
call fcn.00475ba0
mov ecx, dword [esi]
add esp, 4
call fcn.0042ad90
mov eax, dword [esi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [0x6eac4c]
test eax, eax
je 0x435a7c
push eax
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov byte [esp + 0x38], 0
lea edx, [esp + 0x24]
push edx
call fcn.00435ad0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0040b950
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret