Function at 0x30009c20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x3021ae88]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x302728d0]
push edi
mov edi, ecx
mov dword [ebp - 0x40c], edi
test esi, esi
je 0x30009f6f
mov esi, dword [esi + 0x10]
push 1
push 0x442
call fcn.30168968
add esp, 8
mov ebx, eax
cmp esi, 1
jne 0x30009dcf
cmp dword [0x3026c328], 0
je 0x30009d07
cmp dword [0x3026e5b8], 0
jne 0x30009c9f
push 0
push str.CAPE_Error:_g_config.file_of_interest_is_NULL._n
call fcn.30009b00
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.3015dd6d
mov esp, ebp
pop ebp
ret
push 1
push 0x104
call fcn.30168968
mov ecx, dword [0x302728d0]
mov edx, eax
add esp, 8
mov dword [ecx + 4], edx
mov esi, dword [0x3026e5b8]
mov ecx, esi
lea eax, [ecx + 2]
mov dword [ebp - 0x40c], eax
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x30009cd0
sub ecx, dword [ebp - 0x40c]
push 0
push 0
push 0x104
sar ecx, 1
push edx
lea eax, [ecx + 1]
push eax
push esi
push 0x400
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [0x302728d0]
jmp 0x30009d12
mov ecx, dword [0x302728d0]
mov eax, dword [ecx]
mov dword [ecx + 4], eax
push dword [ecx + 4]
push dword [ecx]
push dword [ecx + 0x10]
push str._u___s___s__
push 0x442
push 0x442
push ebx
call fcn.30009a10
add esp, 0x1c
push 0x104
push 0
push 0x30272580
call fcn.30160f00
add esp, 0xc
push edi
push str.Process_dump_output_file:__s
push 0xffffffffffffffff
push 0x104
push 0x30272580
call fcn.30009a10
add esp, 0x14
cmp dword [0x3026f250], 0
jne 0x30009efe
push 0x200
lea eax, [ebp - 0x208]
push 0
push eax
call fcn.30160f00
mov eax, dword [0x302728d0]
add esp, 0xc
push ebx
push dword [eax + 0xc]
push dword [eax + 8]
lea eax, [ebp - 0x208]
push edi
push str.FILE_DUMP:_s_u_u_s
push 0xffffffffffffffff
push 0x200
push eax
call fcn.30009a10
lea ecx, [ebp - 0x208]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x30009db4
sub ecx, edx
lea eax, [ebp - 0x208]
push ecx
push eax
call fcn.3004de10
jmp 0x30009f7a
mov ecx, dword [0x302728d0]
cmp dword [ecx], 0
jne 0x30009de0
mov dword [ecx], str.Unknown_path
mov esi, dword [ecx + 0x10]
mov edx, dword [ecx]
mov dword [ecx + 4], edx
test esi, esi
jne 0x30009e2a
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x30009e3e
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x410], eax
mov edi, edi
mov al, byte [edi]
inc edi
test al, al
jne 0x30009e00
sub edi, dword [ebp - 0x410]
je 0x30009e3e
push dword [ecx + 0x24]
mov dword [ecx + 0x10], 0x100
push edx
push edx
push 0x100
push str._u___s___s___s__
jmp 0x30009eaf
cmp esi, 8
je 0x30009ea4
cmp esi, 9
je 0x30009ea4
cmp esi, 3
je 0x30009e5b
cmp esi, 4
je 0x30009e5b
push edx
push edx
push esi
push str._u___s___s__
push 0x442
push 0x442
push ebx
call fcn.30009a10
add esp, 0x1c
jmp 0x30009ec2
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x30009e70
push dword [ecx + 0x18]
push eax
push edx
push edx
push esi
push str._u___s___s___s___u__
jmp 0x30009e8f
push dword [ecx + 8]
push str.Output:_TargetProcess_missing_for_dump_from_process__d
call fcn.30009b00
mov eax, dword [0x302728d0]
push dword [eax + 4]
push dword [eax]
push dword [eax + 0x10]
push str._u___s___s__
push 0x442
push 0x442
push ebx
call fcn.30009a10
add esp, 0x24
jmp 0x30009ec2
push dword [ecx + 0x1c]
push edx
push edx
push esi
push str._u___s___s__0x_p__
push 0x442
push 0x442
push ebx
call fcn.30009a10
add esp, 0x20
cmp dword [0x3026f250], 0
je 0x30009f0b
push 0x104
push 0
push 0x30272580
call fcn.30160f00
add esp, 0xc
push dword [ebp - 0x40c]
push str.CAPE_Output_file:__s
push 0xffffffffffffffff
push 0x104
push 0x30272580
call fcn.30009a10
add esp, 0x14
push 0x30272580
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x30009f7d
push 0x200
lea eax, [ebp - 0x408]
push 0
push eax
call fcn.30160f00
mov eax, dword [0x302728d0]
add esp, 0xc
push ebx
push dword [eax + 0xc]
push dword [eax + 8]
lea eax, [ebp - 0x408]
push dword [ebp - 0x40c]
push str.FILE_CAPE:_s_u_u_s
push 0xffffffffffffffff
push 0x200
push eax
call fcn.30009a10
lea ecx, [ebp - 0x408]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x30009f57
sub ecx, edx
lea eax, [ebp - 0x408]
push ecx
push eax
call fcn.3004de10
jmp 0x30009f7a
push edi
push str.No_CAPE_metadata__or_wrong_type__for_file:__s_n
call fcn.30009b00
add esp, 8
mov eax, dword [0x302728d0]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [eax + 0x10], 0
pop ebx
call fcn.3015dd6d
mov esp, ebp
pop ebp
ret