Function at 0x565c90
Capabilities:
Create process on windows
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8126d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x11b64
call fcn.007ad120
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], edi
call fcn.00488af0
mov al, byte [0x951876]
test al, al
je 0x565e2e
lea eax, [ebp - 0x380]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x565d09
lea ebx, [edi + 0x114]
lea ecx, [ebp - 0x380]
push ebx
push 0
push str.stgs
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x565e41
lea ebx, [edi + 0x114]
push ebx
push 0
push str.stgs
push 0x8febe8
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x565e41
lea ecx, [ebp - 0x80]
call fcn.004034a0
push str.Error_occured_while_retrieving_temporary_file_name:_n
mov dword [ebp - 4], 0
mov dword [ebp - 0x80], vtable.ucs2string.0
call fcn.007ac4d2
add esp, 4
lea ecx, [ebp - 0x7c]
push eax
push str.Error_occured_while_retrieving_temporary_file_name:_n
call fcn.00403980
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x124]
call fcn.00584680
lea edx, [ebp - 0x6c]
mov bl, 2
push edx
mov ecx, eax
mov byte [ebp - 4], bl
call fcn.00567b80
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 3
call fcn.0045bbd0
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], bl
call fcn.00404f20
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.00418210
push str._nThe_WinSSHD_Settings_cannot_be_opened.
call fcn.007ac4d2
add esp, 4
lea ecx, [ebp - 0x7c]
push eax
push str._nThe_WinSSHD_Settings_cannot_be_opened.
call fcn.004036a0
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x80]
call dword [eax]
test al, al
je 0x565e09
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x565e09
mov esi, dword [ebp - 0x78]
test esi, esi
jne 0x565deb
mov esi, 0x8522f8
lea ecx, [ebp - 0x80]
call fcn.00435660
test al, al
je 0x565e05
mov edx, dword [ebp - 0x80]
lea ecx, [ebp - 0x80]
call dword [edx + 0x1c]
lea eax, [esi + eax*2]
jmp 0x565e0e
mov eax, esi
jmp 0x565e0e
mov eax, 0x852354
push 0x10
push str.WinSSHD_Settings_Error
push eax
mov ecx, edi
call fcn.007d5581
mov dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x7c]
call fcn.00404f20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [edi + 0x31c], 1
call fcn.00488af0
mov al, byte [0x951876]
test al, al
je 0x565e2e
push 1
lea ecx, [ebp - 0x11b74]
mov dword [ebp - 4], 4
call fcn.006eb380
mov esi, dword [ebp + 8]
push 0
push esi
lea ecx, [ebp - 0x11b74]
mov byte [ebp - 4], 5
call fcn.006f1da0
test al, al
je 0x565e96
push esi
lea ecx, [ebp - 0x11a78]
call fcn.00447f70
mov byte [ebp - 0x394], 0
lea ecx, [ebp - 0x58]
call fcn.004034a0
mov esi, vtable.ucs2string.0
push ebx
mov byte [ebp - 4], 6
mov dword [ebp - 0x58], esi
call fcn.007ac4d2
add esp, 4
lea ecx, [ebp - 0x54]
push eax
push ebx
call fcn.00403980
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x11b74]
push eax
mov byte [ebp - 4], 7
call fcn.006f39a0
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.00404f20
push 1
lea ecx, [ebp - 0x390]
mov byte [ebp - 4], 9
call fcn.00404f20
lea ecx, [ebp - 0x11a78]
mov byte [ebp - 4], 8
call fcn.00447ca0
lea ecx, [ebp - 0x11b74]
mov byte [ebp - 4], 4
call fcn.0042a950
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.004034a0
push 0x8fdc48
mov dword [ebp - 4], 0x1a
mov dword [ebp - 0x30], esi
call fcn.007ac4d2
add esp, 4
lea ecx, [ebp - 0x2c]
push eax
push 0x8fdc48
call fcn.00403980
mov edi, dword [str.sshdstgs.exe]
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0x1b
call fcn.004034a0
push edi
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x44], esi
call fcn.007ac4d2
add esp, 4
lea ecx, [ebp - 0x40]
push eax
push edi
call fcn.00403980
mov byte [ebp - 4], 0x1d
call fcn.00488a30
lea ecx, [ebp - 0x58]
mov edi, eax
call fcn.004034a0
push edi
mov byte [ebp - 4], 0x1e
mov dword [ebp - 0x58], esi
call fcn.007ac4d2
add esp, 4
lea ecx, [ebp - 0x54]
push eax
push edi
call fcn.00403980
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0xfc]
call fcn.00472290
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0xe8]
push edx
mov byte [ebp - 4], 0x20
call fcn.00472290
lea eax, [ebp - 0xfc]
push 0x5c
lea ecx, [ebp - 0x6c]
push eax
push ecx
mov byte [ebp - 4], 0x21
call fcn.00585e80
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x22
call fcn.0045bbd0
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x21
call fcn.00404f20
push 1
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0x23
call fcn.00404f20
push 1
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0x1f
call fcn.00404f20
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x1d
call fcn.00404f20
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1b
call fcn.00404f20
push 0x90e778
call fcn.007ac4d2
add esp, 4
lea ecx, [ebp - 0x2c]
push eax
push 0x90e778
call fcn.004036a0
push ebx
call fcn.007ac4d2
add esp, 4
lea ecx, [ebp - 0x2c]
push eax
push ebx
call fcn.004036a0
push str.___noBrowse
call fcn.007ac4d2
add esp, 4
lea ecx, [ebp - 0x2c]
push eax
push str.___noBrowse
call fcn.004036a0
call fcn.00488b00
test al, al
jne 0x566094
call fcn.00488b10
test al, al
je 0x5660af
push str.__noRegistry
call fcn.007ac4d2
add esp, 4
lea ecx, [ebp - 0x2c]
push eax
push str.__noRegistry
call fcn.004036a0
mov edx, dword [ebp - 0x24]
lea eax, [edx + edx + 0x66]
push eax
call fcn.007d7320
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 1
mov byte [ebp - 0x17], 1
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x24
call dword [edx]
test al, al
je 0x566114
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x566114
mov eax, dword [ebp - 0x28]
mov dword [ebp + 8], 0x8522f8
test eax, eax
je 0x5660f2
mov dword [ebp + 8], eax
lea ecx, [ebp - 0x30]
call fcn.00435660
test al, al
je 0x56610f
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
call dword [eax + 0x1c]
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*2]
jmp 0x566119
mov eax, dword [ebp + 8]
jmp 0x566119
mov eax, 0x852354
mov edx, dword [ebp - 0x1c]
push eax
push edx
call fcn.007ad6e9
mov ecx, 0x11
xor eax, eax
lea edi, [ebp - 0x178]
add esp, 8
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x14]
xor ecx, ecx
mov dword [ebp - 0x178], 0x44
lea eax, [edi + 0x8c]
mov edx, eax
push eax
lea eax, [ebp - 0x178]
mov dword [edx], ecx
push eax
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [edx + 0xc], ecx
push ecx
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x566344
lea ecx, [ebp - 0x44]
call fcn.004034a0
push str.Error_occured_while_executing_sshdstgs.exe:_n
mov byte [ebp - 4], 0x25
mov dword [ebp - 0x44], esi
call fcn.007ac4d2
add esp, 4
lea ecx, [ebp - 0x40]
push eax
push str.Error_occured_while_executing_sshdstgs.exe:_n
call fcn.00403980
mov byte [ebp - 4], 0x26
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x124]
call fcn.00584680
lea edx, [ebp - 0x6c]
mov ecx, eax
push edx
mov byte [ebp - 4], 0x27
call fcn.00567b80
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x28
call fcn.0045bbd0
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x27
call fcn.00404f20
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x26
call fcn.00418210
push str._nThe_WinSSHD_Settings_cannot_be_opened.
call fcn.007ac4d2
add esp, 4
lea ecx, [ebp - 0x40]
push eax
push str._nThe_WinSSHD_Settings_cannot_be_opened.
call fcn.004036a0
lea ecx, [ebp - 0xd4]
call fcn.004034a0
push str.WinSSHD_Settings_Error
mov byte [ebp - 4], 0x29
mov dword [ebp - 0xd4], esi
call fcn.007ac4d2
add esp, 4
lea ecx, [ebp - 0xd0]
push eax
push str.WinSSHD_Settings_Error
call fcn.00403980
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x2a
call dword [eax]
test al, al
je 0x56628e
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x56628e
mov eax, dword [ebp - 0x3c]
mov dword [ebp + 8], 0x8522f8
test eax, eax
je 0x56626c
mov dword [ebp + 8], eax
lea ecx, [ebp - 0x44]
call fcn.00435660
test al, al
je 0x566289
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
call dword [edx + 0x1c]
mov ecx, dword [ebp + 8]
lea edi, [ecx + eax*2]
jmp 0x566293
mov edi, dword [ebp + 8]
jmp 0x566293
mov edi, 0x852354
lea ecx, [ebp - 0xa8]
call fcn.004034a0
push edi
mov byte [ebp - 4], 0x2b
mov dword [ebp - 0xa8], esi
call fcn.007ac4d2
add esp, 4
lea ecx, [ebp - 0xa4]
push eax
push edi
call fcn.00403980
mov byte [ebp - 4], 0x2c
call fcn.00488af0
lea edx, [ebp - 0xd4]
push 0x10
lea ecx, [ebp - 0xa8]
push edx
push ecx
lea ecx, [eax + 0x1dbc]
call fcn.00568770
push 1
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x2a
call fcn.00404f20
push 1
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x26
call fcn.00404f20
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x566319
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x31c], 0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x24
call fcn.00404f20
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1b
call fcn.0048b280
mov dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x2c]
jmp 0x565e29
call fcn.00488af0
lea ecx, [eax + 0x1dbc]
call fcn.00568320
push 0
push 0
push 0
push 0
push edi
push 0x565930
call fcn.007d8005
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x566388
mov cl, byte [ebp - 0x18]
test cl, cl
je 0x566381
mov cl, byte [ebp - 0x17]
push eax
call fcn.007d7349
add esp, 4
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x565e2e
mov cl, byte [eax - 1]
test cl, cl
je 0x5663b2
dec cl
mov byte [eax - 1], cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
add eax, 0xfffffffe
push eax
call fcn.007d7349
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4