Function at 0x280a7354
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push ebx
push esi
push edi
call sym.perl510.dll_Perl_get_context
mov esi, eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
xor edi, edi
cmp eax, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], eax
je 0x280a73c8
push eax
call sub.MSVCRT.dll_strlen
push 0x22
mov edi, eax
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 0xc
test eax, eax
je 0x280a73c8
mov eax, dword [ebp + 0xc]
inc edi
push edi
mov dword [ebp - 8], eax
call sym.perl510.dll_Perl_safesysmalloc
pop ecx
xor edi, edi
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp byte [ecx], bl
je 0x280a73c5
mov edx, dword [ebp - 8]
mov cl, byte [edx]
cmp cl, 0x22
je 0x280a73bd
mov byte [edi + eax], cl
inc edi
inc edx
mov dword [ebp - 8], edx
cmp byte [edx], bl
jne 0x280a73af
mov byte [edi + eax], bl
push dword [ebp + 0x10]
push edi
push dword [ebp - 4]
call fcn.280a761f
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x880]
push eax
call dword [eax + 0x14]
mov dword [ebp + 0x10], eax
mov eax, dword [esi + 0x880]
push eax
call dword [eax + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
add esp, 0x14
sub eax, ebx
je 0x280a7432
dec eax
je 0x280a740f
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], 0x16
jmp 0x280a756d
mov eax, dword [esi + 0x3c4]
cmp dword [eax], 0x40
jl 0x280a742b
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], 0xb
jmp 0x280a756d
mov dword [ebp - 0xc], 0x200
push 0x44
lea eax, [ebp - 0x68]
pop edi
push edi
push ebx
push eax
call sub.MSVCRT.dll_memset
push 0x30
lea eax, [ebp - 0x98]
push ebx
push eax
mov dword [ebp - 0x68], edi
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 0x880]
lea ecx, [ebp - 0x98]
push ecx
push eax
call dword [eax + 0x34]
mov eax, dword [ebp - 0x88]
mov edi, dword [ebp - 0x8c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x40], eax
mov ax, word [ebp - 0x6c]
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x98]
add esp, 0x20
cmp eax, 0xffffffff
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
jne 0x280a74d5
cmp ecx, eax
jne 0x280a74d5
cmp edx, eax
jne 0x280a74d5
or dword [ebp - 0xc], 0x10
jmp 0x280a74de
or edi, 0x100
mov dword [ebp - 0x3c], edi
cmp dword [esi + 0x688], ebx
je 0x280a74f5
or dword [ebp - 0x3c], 1
mov ax, word [esi + 0x68c]
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_CreateProcessA]
push eax
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0xc]
push 1
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call edi
test eax, eax
jne 0x280a7572
cmp dword [ebp - 0x10], ebx
jne 0x280a7561
push dword [ebp - 4]
call fcn.280a7896
cmp eax, ebx
pop ecx
mov dword [ebp - 0x10], eax
je 0x280a7561
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
je 0x280a7540
push eax
call sym.perl510.dll_Perl_safesysfree
pop ecx
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x68]
push ecx
mov dword [ebp - 4], eax
push dword [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0xc]
push 1
push ebx
push ebx
push dword [ebp - 8]
push eax
jmp 0x280a7516
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], 2
or edi, 0xffffffff
jmp 0x280a75e4
cmp dword [ebp + 8], 1
jne 0x280a75b0
mov edi, dword [ebp - 0x1c]
call fcn.280a381f
test eax, eax
je 0x280a758a
cmp edi, ebx
jge 0x280a758a
neg edi
mov ecx, dword [esi + 0x3c4]
mov ebx, dword [ebp - 0x24]
lea eax, [esi + 0x3c4]
mov edx, dword [ecx]
mov dword [ecx + edx*4 + 0x104], ebx
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ecx + edx*4 + 4], edi
mov eax, dword [eax]
inc dword [eax]
jmp 0x280a75db
push ebx
lea eax, [ebp - 0x24]
push 0xffffffffffffffff
push eax
push 1
push esi
call fcn.280a5c9f
add esp, 0x14
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x24]
mov edi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0x10]
mov eax, dword [esi + 0x880]
push eax
call dword [eax + 0x18]
push dword [ebp - 0x14]
mov esi, dword [esi + 0x880]
push esi
call dword [esi + 0x20]
push dword [ebp - 8]
call sym.perl510.dll_Perl_safesysfree
mov eax, dword [ebp - 4]
add esp, 0x14
cmp eax, dword [ebp + 0xc]
je 0x280a7618
push eax
call sym.perl510.dll_Perl_safesysfree
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret