Function at 0x3001b0c0
Capabilities:
Accept command line arguments
Allocate or change rwx memory
Check for software breakpoints
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x3027254c], 0
push ebx
push esi
push edi
mov ebx, ecx
jne 0x3001b65a
cmp dword [0x30272558], 0
je 0x3001b0fc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edx, dword [0x30272558]
mov ecx, eax
call fcn.3004b4a0
test eax, eax
je 0x3001b65a
cmp dword [0x302739c8], 0
jne 0x3001b124
call fcn.30007f40
test eax, eax
jne 0x3001b124
push str.SetInitialBreakpoints:_Failed_to_initialise_debugger._n
call fcn.30009b40
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x30272c58], 0
mov dword [0x302727ac], 0
mov dword [0x302729ec], 0
mov dword [0x30272544], 0
mov dword [0x30272c48], 0
test ebx, ebx
jne 0x3001b16a
push 0
call eax
mov ebx, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp byte [0x30270479], 0
je 0x3001b1d8
push dword [0x30270370]
call eax
test eax, eax
je 0x3001b193
push dword [0x3027036c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x3027047c], eax
jmp 0x3001b1ab
push dword [0x30270370]
push str.Failed_to_get_base_for_module___s_.
call fcn.30009fe0
mov eax, dword [0x3027047c]
add esp, 8
push dword [0x3027036c]
push dword [0x30270370]
test eax, eax
je 0x3001b1cb
push eax
push str.bp0_set_to_0x_p___s::_s_.
call fcn.30009fe0
add esp, 0x10
jmp 0x3001b1d8
push str.Failed_to_get_address_for_function__s::_s.
call fcn.30009fe0
add esp, 0xc
cmp dword [0x30272c44], 0
je 0x3001b2fb
mov edx, dword [0x302455dc]
push ecx
mov ecx, dword [0x302455d8]
call fcn.3000b5f0
mov eax, dword [0x302455d8]
add esp, 4
mov dword [0x302455dc], eax
call fcn.30012740
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call esi
mov dword [0x30242390], eax
call esi
mov edx, 0x302455d8
mov ecx, eax
call fcn.300155c0
push 0x50
call fcn.3015f9ad
push ebx
mov ecx, eax
call fcn.30012950
mov esi, eax
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x3001b259
call fcn.30003fc0
cmp eax, 1
jne 0x3001b259
mov eax, dword [esi + 0x24]
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x3001b259
mov eax, dword [eax + 0x28]
jmp 0x3001b282
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x3001b280
call fcn.30003fc0
cmp eax, 1
jne 0x3001b280
mov eax, dword [esi + 0x24]
mov ecx, 0x20b
cmp word [eax + 0x18], cx
jne 0x3001b280
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0x28]
jmp 0x3001b282
xor eax, eax
mov ecx, esi
lea edi, [eax + ebx]
call fcn.30012a70
push 0x50
push esi
call fcn.3015f781
add esp, 8
test edi, edi
je 0x3001b311
mov esi, dword [0x30272c44]
push 0x30019e00
push 0
dec esi
push 0
push edi
mov ecx, esi
call fcn.30007b90
add esp, 0x10
test eax, eax
je 0x3001b2db
push edi
push esi
push str.Breakpoint__d_set_on_entry_point_at_0x_p_n
call fcn.30009fe0
add esp, 0xc
mov dword [0x30272c60], 1
mov dword [0x3027047c], edi
jmp 0x3001b311
push str.SetBreakpoint_on_entry_point_failed._n
call fcn.30009fe0
add esp, 4
mov dword [0x30272c60], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x3027047c]
test eax, eax
je 0x3001b311
push eax
xor edx, edx
mov ecx, ebx
call fcn.3001af10
add esp, 4
mov eax, dword [0x30270480]
test eax, eax
je 0x3001b32a
push eax
mov edx, 1
mov ecx, ebx
call fcn.3001af10
add esp, 4
mov eax, dword [0x30270484]
test eax, eax
je 0x3001b343
push eax
mov edx, 2
mov ecx, ebx
call fcn.3001af10
add esp, 4
mov eax, dword [0x30270488]
test eax, eax
je 0x3001b35c
push eax
mov edx, 3
mov ecx, ebx
call fcn.3001af10
add esp, 4
cmp byte [0x3027048c], 0
je 0x3001b373
push 0
xor edx, edx
mov ecx, ebx
call fcn.3001af10
add esp, 4
cmp byte [0x3027048d], 0
je 0x3001b38d
push 0
mov edx, 1
mov ecx, ebx
call fcn.3001af10
add esp, 4
cmp byte [0x3027048e], 0
je 0x3001b3a7
push 0
mov edx, 2
mov ecx, ebx
call fcn.3001af10
add esp, 4
cmp byte [0x3027048f], 0
je 0x3001b3c1
push 0
mov edx, 3
mov ecx, ebx
call fcn.3001af10
add esp, 4
cmp dword [0x3027047c], 0
jne 0x3001b43d
mov eax, dword [0x302704a4]
test eax, eax
je 0x3001b43d
cmp dword [0x30272208], 0
je 0x3001b3fc
mov ecx, ebx
call fcn.30003fc0
test eax, eax
je 0x3001b46b
mov edx, dword [0x302704a4]
mov ecx, ebx
call fcn.3000a4a0
mov esi, eax
jmp 0x3001b3ff
lea esi, [eax + ebx]
push 0x3001ac40
push 0
push 0
push esi
xor ecx, ecx
call fcn.30007b90
add esp, 0x10
push 0
test eax, eax
je 0x3001b58f
push dword [0x302704a4]
push esi
push 0
push str.SetInitialBreakpoints:_Breakpoint_on_return__d_set_on_address_0x_p__RVA_0x_x__type__d__n
call fcn.30009b40
add esp, 0x14
mov dword [0x30272c60], 1
cmp dword [0x30270480], 0
jne 0x3001b4e1
mov eax, dword [0x302704a8]
test eax, eax
je 0x3001b4e1
cmp dword [0x30272208], 0
je 0x3001b49d
mov ecx, ebx
call fcn.30003fc0
test eax, eax
jne 0x3001b48c
push ebx
push str.SetInitialBreakpoints:_File_offsets_cannot_be_applied_to_non_PE_image_at_0x_p._n
call fcn.30009b40
add esp, 8
mov dword [0x30272c60], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x302704a8]
mov ecx, ebx
call fcn.3000a4a0
mov esi, eax
jmp 0x3001b4a0
lea esi, [eax + ebx]
push 0x3001ac40
push 0
push 0
push esi
mov ecx, 1
call fcn.30007b90
add esp, 0x10
test eax, eax
je 0x3001b58d
push 0
push dword [0x302704a8]
push esi
push 1
push str.SetInitialBreakpoints:_Breakpoint_on_return__d_set_on_address_0x_p__RVA_0x_x__type__d__n
call fcn.30009b40
add esp, 0x14
mov dword [0x30272c60], 1
xor esi, esi
mov eax, dword [esi + 0x302709f8]
test eax, eax
je 0x3001b4f5
lea ecx, [eax + ebx]
call fcn.30007900
add esi, 4
cmp esi, 0x400
jb 0x3001b4e3
mov esi, dword [sym.imp.KERNEL32.dll_VirtualQuery]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 8], ecx
lea ecx, [ecx]
mov ecx, dword [ecx + 0x30270df8]
test ecx, ecx
je 0x3001b5e6
lea edi, [ecx + ebx]
test edi, edi
je 0x3001b5e4
push 0x1c
lea eax, [ebp - 0x24]
push eax
push edi
call esi
test eax, eax
je 0x3001b5e4
mov eax, dword [ebp - 0x10]
test al, 0xee
je 0x3001b5e4
test eax, 0x101
jne 0x3001b5e4
test eax, eax
je 0x3001b5e4
push 0x1c
lea eax, [ebp - 0x24]
push eax
push edi
call esi
neg eax
push 0x301e7978
sbb esi, esi
and esi, dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp esi, eax
je 0x3001b5de
mov eax, dword [0x30245608]
test eax, eax
je 0x3001b5b4
cmp dword [eax + 4], edi
je 0x3001b5af
mov eax, dword [eax]
test eax, eax
jne 0x3001b580
jmp 0x3001b5b4
push 1
push str.SetInitialBreakpoints:_SetBreakpoint_failed_for_breakpoint__d._n
call fcn.30009b40
add esp, 8
mov dword [0x30272c60], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add eax, 0xc
jne 0x3001b5de
cmp byte [edi], 0xcc
je 0x3001b5de
push 0
mov edx, edi
mov ecx, 0x302455f0
call fcn.3004af40
mov esi, eax
add esp, 4
test esi, esi
jne 0x3001b618
push edi
push str.SetSyscallBreakpoint:_Unable_to_store_instruction_byte_at_0x_p
call fcn.30009b40
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_VirtualQuery]
xor eax, eax
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 8], ecx
cmp ecx, 0x1000
jb 0x3001b510
test eax, eax
je 0x3001b60c
push str.SetInitialBreakpoints:_Syscall_breakpoints_set._n
call fcn.30009b40
add esp, 4
mov eax, dword [0x30272c60]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.300294e0
mov dword [esi], eax
lea eax, [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 1
push edi
call esi
test eax, eax
jne 0x3001b63e
push edi
push str.SetSyscallBreakpoint:_Unable_to_change_memory_protection_at_0x_p
jmp 0x3001b5d6
lea eax, [ebp - 4]
mov byte [edi], 0xcc
push eax
push dword [ebp - 4]
push 1
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov eax, 1
jmp 0x3001b5e6
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret