Function at 0x3001b920
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 [0x3026d8e8], 0
push ebx
push esi
push edi
mov ebx, ecx
jne 0x3001beaa
cmp dword [0x3026d8f4], 0
je 0x3001b95c
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edx, dword [0x3026d8f4]
mov ecx, eax
call fcn.3004c880
test eax, eax
je 0x3001beaa
cmp dword [0x3026ed68], 0
jne 0x3001b984
call fcn.300084d0
test eax, eax
jne 0x3001b984
push str.SetInitialBreakpoints:_Failed_to_initialise_debugger._n
call fcn.3000a0d0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x3026dff8], 0
mov dword [0x3026db4c], 0
mov dword [0x3026dd8c], 0
mov dword [0x3026d8e0], 0
mov dword [0x3026dfe8], 0
mov dword [0x3026dd94], 0xffffffff
test ebx, ebx
jne 0x3001b9cd
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
cmp dword [0x3026dfe4], 0
je 0x3001baf4
mov edx, dword [0x3023f99c]
push ecx
mov ecx, dword [0x3023f998]
call fcn.3000bb90
mov eax, dword [0x3023f998]
add esp, 4
mov dword [0x3023f99c], eax
call fcn.30012ce0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call esi
mov dword [0x3023c750], eax
call esi
mov edx, 0x3023f998
mov ecx, eax
call fcn.30015b60
push 0x50
call fcn.3015a21d
push ebx
mov ecx, eax
call fcn.30012ef0
mov esi, eax
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x3001ba4e
call fcn.300042b0
cmp eax, 1
jne 0x3001ba4e
mov eax, dword [esi + 0x24]
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x3001ba4e
mov eax, dword [eax + 0x28]
jmp 0x3001ba77
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x3001ba75
call fcn.300042b0
cmp eax, 1
jne 0x3001ba75
mov eax, dword [esi + 0x24]
mov ecx, 0x20b
cmp word [eax + 0x18], cx
jne 0x3001ba75
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0x28]
jmp 0x3001ba77
xor eax, eax
mov ecx, esi
lea edi, [eax + ebx]
call fcn.30013010
push 0x50
push esi
call fcn.30159ff1
add esp, 8
test edi, edi
je 0x3001bb1c
mov esi, dword [0x3026dfe4]
push 0x3001a660
push 0
dec esi
push 0
push edi
mov ecx, esi
call fcn.30008120
add esp, 0x10
test eax, eax
je 0x3001bad4
push edi
push esi
push str.Breakpoint__d_set_on_entry_point_at_0x_p_n
call fcn.3000a570
add esp, 0xc
mov dword [0x3026e000], 1
mov dword [0x3026b424], edi
jmp 0x3001bb1c
push str.SetBreakpoint_on_entry_point_failed._n
call fcn.3000a570
add esp, 4
mov dword [0x3026e000], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x3026b424]
test eax, eax
je 0x3001bb1c
xor edx, edx
cmp dword [0x3026b478], edx
je 0x3001bb0c
push eax
xor ecx, ecx
jmp 0x3001bb14
push dword [0x3026b424]
mov ecx, ebx
call fcn.3001b770
add esp, 4
mov eax, dword [0x3026b428]
test eax, eax
je 0x3001bb48
cmp dword [0x3026b47c], 0
mov edx, 1
je 0x3001bb38
push eax
xor ecx, ecx
jmp 0x3001bb40
push dword [0x3026b428]
mov ecx, ebx
call fcn.3001b770
add esp, 4
mov eax, dword [0x3026b42c]
test eax, eax
je 0x3001bb6e
cmp dword [0x3026b480], 0
mov edx, 2
push eax
je 0x3001bb64
xor ecx, ecx
jmp 0x3001bb66
mov ecx, ebx
call fcn.3001b770
add esp, 4
mov eax, dword [0x3026b430]
test eax, eax
je 0x3001bb94
cmp dword [0x3026b484], 0
mov edx, 3
push eax
je 0x3001bb8a
xor ecx, ecx
jmp 0x3001bb8c
mov ecx, ebx
call fcn.3001b770
add esp, 4
cmp byte [0x3026b434], 0
je 0x3001bbab
push 0
xor edx, edx
mov ecx, ebx
call fcn.3001b770
add esp, 4
cmp byte [0x3026b435], 0
je 0x3001bbc5
push 0
mov edx, 1
mov ecx, ebx
call fcn.3001b770
add esp, 4
cmp byte [0x3026b436], 0
je 0x3001bbdf
push 0
mov edx, 2
mov ecx, ebx
call fcn.3001b770
add esp, 4
cmp byte [0x3026b437], 0
je 0x3001bbf9
push 0
mov edx, 3
mov ecx, ebx
call fcn.3001b770
add esp, 4
cmp dword [0x3026b424], 0
jne 0x3001bc7e
mov esi, dword [0x3026b438]
test esi, esi
je 0x3001bc7e
cmp dword [0x3026d5bc], 0
je 0x3001bc35
mov ecx, ebx
call fcn.300042b0
test eax, eax
je 0x3001bcad
mov edx, dword [0x3026b438]
mov ecx, ebx
call fcn.3000aa30
mov esi, eax
jmp 0x3001bc40
cmp dword [0x3026b478], 0
jne 0x3001bc40
add esi, ebx
push 0x3001b4a0
push 0
push 0
push esi
xor ecx, ecx
call fcn.30008120
add esp, 0x10
push 0
test eax, eax
je 0x3001bddf
push dword [0x3026b438]
push esi
push 0
push str.SetInitialBreakpoints:_Breakpoint_on_return__d_set_on_address_0x_p__RVA_0x_x__type__d__n
call fcn.3000a0d0
add esp, 0x14
mov dword [0x3026e000], 1
cmp dword [0x3026b428], 0
jne 0x3001bd2b
mov esi, dword [0x3026b43c]
test esi, esi
je 0x3001bd2b
cmp dword [0x3026d5bc], 0
je 0x3001bcdf
mov ecx, ebx
call fcn.300042b0
test eax, eax
jne 0x3001bcce
push ebx
push str.SetInitialBreakpoints:_File_offsets_cannot_be_applied_to_non_PE_image_at_0x_p._n
call fcn.3000a0d0
add esp, 8
mov dword [0x3026e000], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x3026b43c]
mov ecx, ebx
call fcn.3000aa30
mov esi, eax
jmp 0x3001bcea
cmp dword [0x3026b47c], 0
jne 0x3001bcea
add esi, ebx
push 0x3001b4a0
push 0
push 0
push esi
mov ecx, 1
call fcn.30008120
add esp, 0x10
test eax, eax
je 0x3001bddd
push 0
push dword [0x3026b43c]
push esi
push 1
push str.SetInitialBreakpoints:_Breakpoint_on_return__d_set_on_address_0x_p__RVA_0x_x__type__d__n
call fcn.3000a0d0
add esp, 0x14
mov dword [0x3026e000], 1
xor esi, esi
lea ecx, [ecx]
mov eax, dword [esi + 0x3026b99c]
test eax, eax
je 0x3001bd42
lea ecx, [eax + ebx]
call fcn.30007e90
add esi, 4
cmp esi, 0x400
jb 0x3001bd30
mov esi, dword [sym.imp.KERNEL32.dll_VirtualQuery]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 8], ecx
lea ebx, [ebx]
mov ecx, dword [ecx + 0x3026bd9c]
test ecx, ecx
je 0x3001be36
lea edi, [ecx + ebx]
test edi, edi
je 0x3001be34
push 0x1c
lea eax, [ebp - 0x24]
push eax
push edi
call esi
test eax, eax
je 0x3001be34
mov eax, dword [ebp - 0x10]
test al, 0xee
je 0x3001be34
test eax, 0x101
jne 0x3001be34
test eax, eax
je 0x3001be34
push 0x1c
lea eax, [ebp - 0x24]
push eax
push edi
call esi
neg eax
push 0x301e2b38
sbb esi, esi
and esi, dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp esi, eax
je 0x3001be2e
mov eax, dword [0x3023f9b0]
test eax, eax
je 0x3001be04
cmp dword [eax + 4], edi
je 0x3001bdff
mov eax, dword [eax]
test eax, eax
jne 0x3001bdd0
jmp 0x3001be04
push 1
push str.SetInitialBreakpoints:_SetBreakpoint_failed_for_breakpoint__d._n
call fcn.3000a0d0
add esp, 8
mov dword [0x3026e000], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add eax, 0xc
jne 0x3001be2e
cmp byte [edi], 0xcc
je 0x3001be2e
push 0
mov edx, edi
mov ecx, 0x3023f9b0
call fcn.3004c320
mov esi, eax
add esp, 4
test esi, esi
jne 0x3001be68
push edi
push str.SetSyscallBreakpoint:_Unable_to_store_instruction_byte_at_0x_p
call fcn.3000a0d0
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 0x3001bd60
test eax, eax
je 0x3001be5c
push str.SetInitialBreakpoints:_Syscall_breakpoints_set._n
call fcn.3000a0d0
add esp, 4
mov eax, dword [0x3026e000]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.3002a270
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 0x3001be8e
push edi
push str.SetSyscallBreakpoint:_Unable_to_change_memory_protection_at_0x_p
jmp 0x3001be26
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 0x3001be36
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret