Function at 0x458559
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
push esi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x20]
push edi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x24]
push 0x48
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.005683c0
xor eax, eax
lea edi, [ebp - 0x8c]
stosd dword es:[edi], eax
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x14], ecx
mov esi, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
inc edi
test ebx, ebx
je 0x4588bc
cmp dword [ebp - 0x28], ecx
jne 0x4585e6
push str.Pointer_is_NULL_n
push 0xb3f
jmp 0x4588c6
cmp dword [ebp - 0x30], ecx
jne 0x4585fa
push str.Pointer_is_NULL_n
push 0xb40
jmp 0x4588c6
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x458610
push str.Pointer_is_NULL_n
push 0xb41
jmp 0x4588c6
mov dword [eax], ecx
or eax, 0xffffffff
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x7c], 0x48
test eax, eax
je 0x458655
push eax
call fcn.00496119
pop ecx
test eax, eax
je 0x45874c
mov eax, dword [ebp - 0x2c]
or dword [ebp - 0x50], 0x100
push eax
call fcn.0049610d
xor esi, esi
mov dword [ebp - 0x44], eax
pop ecx
mov dword [ebp - 0x10], eax
inc esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x458684
push eax
call fcn.00496119
pop ecx
test eax, eax
je 0x45874c
mov eax, dword [ebp - 0x1c]
or dword [ebp - 0x50], 0x100
push eax
call fcn.0049610d
mov dword [ebp + esi*4 - 0x10], eax
inc esi
pop ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4586b3
push eax
call fcn.00496119
pop ecx
test eax, eax
je 0x45874c
mov eax, dword [ebp - 0x20]
or dword [ebp - 0x50], 0x100
push eax
call fcn.0049610d
mov dword [ebp + esi*4 - 0x10], eax
inc esi
pop ecx
mov dword [ebp - 0x3c], eax
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0045b694
add esp, 0xc
test eax, eax
jne 0x4586e1
push str.Could_not_initialize_attributes_for_process_and_thread_creation._All_handles_will_be_inherited_by_a_child_process._n
push eax
push 0xb63
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
push eax
call fcn.00454bd5
add esp, 0x14
cmp byte [ebx], 0
je 0x458728
push ebx
call fcn.0056cb00
and dword [ebp - 0x20], 0
mov esi, eax
push ebx
call fcn.004926f8
mov dword [ebp - 0x24], eax
lea edi, [eax + 2]
lea eax, [ebp - 0x20]
push eax
push 0x20
pop eax
push eax
push ebx
call fcn.0047168d
xor ecx, ecx
add esp, 0x14
inc ecx
cmp eax, ecx
jne 0x458728
mov al, byte [ebx]
cmp al, 0x22
jne 0x458753
cmp byte [ebx + esi - 1], al
jne 0x45875d
mov dword [ebp - 0x14], ecx
add edi, 2
mov eax, dword [ebp - 0x28]
cmp byte [eax], 0
je 0x458739
push eax
call fcn.004926f8
pop ecx
add edi, eax
lea eax, [edi + edi]
push eax
call fcn.0056da9d
mov dword [ebp - 0x1c], eax
mov esi, eax
pop ecx
test eax, eax
jne 0x458763
xor eax, eax
jmp 0x4588ad
cmp al, 0x27
jne 0x458722
cmp byte [ebx + esi - 1], al
jne 0x458722
and dword [ebp - 0x14], 0
jmp 0x458728
cmp byte [ebx], 0
je 0x4587b3
cmp dword [ebp - 0x14], 1
push 0x22
pop ecx
jne 0x458777
mov word [eax], cx
lea esi, [eax + 2]
mov eax, dword [ebp - 0x24]
inc eax
push eax
push ebx
push esi
call fcn.00492329
mov ecx, dword [ebp - 0x24]
add esp, 0xc
cmp dword [ebp - 0x14], 1
lea esi, [esi + ecx*2]
jne 0x4587a1
push 0x22
pop eax
mov word [esi], ax
push 2
pop eax
add esi, eax
sub edi, eax
jmp 0x4587a4
push 2
pop eax
push 0x20
pop edx
mov word [esi], dx
add esi, eax
or eax, 0xffffffff
sub eax, ecx
add edi, eax
push edi
push dword [ebp - 0x28]
push esi
call fcn.00492329
or dword [ebp - 0x50], 1
add esp, 0xc
test byte [ebp + 0x14], 1
je 0x4587ce
xor eax, eax
jmp 0x4587e5
test byte [ebp + 0x14], 2
je 0x4587d8
push 3
jmp 0x4587e4
test byte [ebp + 0x14], 4
je 0x4587e2
push 2
jmp 0x4587e4
push 5
pop eax
mov word [ebp - 0x4c], ax
mov eax, dword [ebp - 0x30]
cmp byte [eax], 0
je 0x4587fd
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.004923af
pop ecx
pop ecx
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x18]
xor eax, eax
push eax
push eax
push 1
push eax
push eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
lea eax, [ebp - 0x38]
push eax
call fcn.0045b721
cmp dword [ebp - 0x18], 0
pop ecx
je 0x45883a
lea eax, [ebp - 0x18]
push eax
call fcn.004917e1
pop ecx
push esi
call fcn.0056da82
pop ecx
test edi, edi
jne 0x45886f
call sub.KERNEL32.dll_GetLastError
push eax
push ebx
push str.Platform_ExecuteNormal
push str._s_failed_to_execute___s___LE:__d__n
push edi
push 0xb9e
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
push edi
call fcn.00454bd5
add esp, 0x20
jmp 0x45874c
push 0xba2
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
push 2
pop eax
push eax
push 8
call fcn.004554a5
mov ecx, dword [0x5ea40c]
mov esi, eax
add esp, 0x10
mov dword [esi], ecx
mov ecx, dword [ebp - 0x8c]
mov dword [esi + 4], ecx
push dword [ebp - 0x88]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x34]
mov dword [eax], esi
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00565e42
leave
ret
push str.Pointer_is_NULL_n
push 0xb3e
push str.C:_actions_runner_workclientclientcorewindowsplatform_win32.c
call fcn.00453f4f
int3