Function at 0x564f60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab462
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x5f300c]
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
mov dword [ebp - 0xf0], ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x70]
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0xf4], eax
call fcn.004146c0
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
call fcn.0055c400
cmp dword [ebp - 0x5c], 0x10
lea edi, [ebp - 0x70]
mov dword [ebp - 0xec], edi
jb 0x564fd0
mov edi, dword [ebp - 0x70]
mov dword [ebp - 0xec], edi
push str..exe
push edi
call dword [sym.imp.VCRUNTIME140.dll_strstr]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x565020
push str..cmd
push edi
call dword [sym.imp.VCRUNTIME140.dll_strstr]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x565020
push str..bat
push edi
call dword [sym.imp.VCRUNTIME140.dll_strstr]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x565020
push str..com
push edi
call dword [sym.imp.VCRUNTIME140.dll_strstr]
add esp, 8
mov ebx, eax
mov edx, dword [esi + 0x14]
mov ecx, esi
cmp edx, 0x10
jb 0x56502c
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
inc eax
add eax, ecx
cmp edx, 0x10
jb 0x565039
mov esi, dword [esi]
push dword [ebp - 0xf4]
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x100], 0
push eax
push esi
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
call fcn.0040b960
xor esi, esi
test ebx, ebx
je 0x565092
mov al, byte [ebx + 4]
test al, al
je 0x56507b
cmp al, 0x20
jne 0x565092
mov edi, dword [ebp - 0x100]
mov eax, edi
sub eax, dword [ebp - 0xec]
lea esi, [eax + 4]
add esi, ebx
mov ebx, edi
jmp 0x5650c8
mov edi, dword [ebp - 0x100]
cmp byte [edi], 0x22
je 0x5650af
push 0x20
push edi
mov ebx, edi
call dword [sym.imp.VCRUNTIME140.dll_strchr]
add esp, 8
mov esi, eax
jmp 0x5650c8
lea ebx, [edi + 1]
push 0x22
push ebx
call dword [sym.imp.VCRUNTIME140.dll_strchr]
add esp, 8
test eax, eax
je 0x5650c8
mov byte [eax], 0
lea esi, [eax + 1]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 2
test esi, esi
je 0x565115
cmp byte [esi], 0
je 0x565115
mov byte [esi], 0
inc esi
mov al, byte [esi]
cmp al, 0x20
jne 0x5650f9
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x5650f1
test al, al
je 0x565115
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x565102
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x58]
call fcn.0040af10
mov edx, ebx
lea ecx, [ebp - 0xb8]
call fcn.00560450
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa0]
call fcn.00560530
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
mov edx, dword [ebp - 0xf4]
call fcn.00560450
mov ecx, dword [ebp - 0xf0]
mov byte [ebp - 4], 5
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x13c], 0x3c
mov dword [ebp - 0x138], 0x400
call fcn.00563920
cmp dword [ebp - 0xa4], 8
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x130], 0x5d7004
jb 0x5651d7
mov eax, dword [ebp - 0xb8]
cmp dword [ebp - 0x8c], 8
mov dword [ebp - 0x12c], eax
lea eax, [ebp - 0xa0]
jb 0x5651f2
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x74], 8
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x88]
jb 0x56520a
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x13c]
push eax
mov dword [ebp - 0x120], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x5653da
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x18
push str.Error_while_launching:_n_
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov esi, eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040af10
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00415b50
cmp dword [ebp - 0x48], 0
je 0x565284
push str.__with_Params:_n_
lea ecx, [ebp - 0x28]
call fcn.00415b50
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.004501c0
push 0x5d70b4
lea ecx, [ebp - 0x28]
call fcn.00415b50
mov edx, esi
lea ecx, [ebp - 0xe8]
call fcn.00560eb0
mov esi, eax
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xd0]
call fcn.00560530
mov edx, eax
mov byte [ebp - 4], 8
mov ecx, dword [edx + 0x14]
mov ebx, dword [edx + 0x10]
sub ecx, ebx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xec], eax
cmp eax, ecx
jbe 0x5652fe
mov eax, dword [esi + 0x14]
sub eax, dword [ebp - 0xec]
cmp eax, ebx
jb 0x5652f8
cmp dword [edx + 0x14], 8
jb 0x5652e2
mov edx, dword [edx]
push ebx
push edx
push 0
mov ecx, esi
call fcn.00541760
push eax
lea ecx, [ebp - 0x40]
call fcn.0040a870
jmp 0x565355
mov eax, dword [ebp - 0xec]
cmp dword [esi + 0x14], 8
jb 0x565306
mov esi, dword [esi]
push eax
push esi
mov ecx, edx
call fcn.00519fc0
mov edx, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov ecx, dword [edx]
mov dword [ebp - 0x40], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x38], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x34], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
lea ecx, [ebp - 0xd0]
call fcn.0040ab30
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0xb
call fcn.0040ab30
mov ecx, dword [ebp - 0xf0]
lea eax, [ebp - 0x40]
push 0
push eax
mov edx, dword [ecx]
lea eax, [ecx + 0x7ac]
push eax
call dword [edx + 0xbc]
lea ecx, [ebp - 0x40]
call fcn.0040ab30
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x5653c8
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5653be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5653be
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0059e222
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x88]
call fcn.0040ab30
lea ecx, [ebp - 0xa0]
call fcn.0040ab30
lea ecx, [ebp - 0xb8]
call fcn.0040ab30
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x565431
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x565427
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x565427
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0059e222
add esp, 8
test edi, edi
je 0x565467
mov ecx, dword [ebp - 0xf8]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x56545d
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x56545d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.0059e222
add esp, 8
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x56549d
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x565493
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x565493
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0059e222
add esp, 8
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.0059df64
mov esp, ebp
pop ebp
ret 8