Function at 0x30009c60
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x3021be88]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x302739d0]
push edi
mov edi, ecx
mov dword [ebp - 0x40c], edi
test esi, esi
je 0x30009faf
mov esi, dword [esi + 0x10]
push 1
push 0x442
call fcn.30169fc8
add esp, 8
mov ebx, eax
cmp esi, 1
jne 0x30009e0f
cmp dword [0x3026d3e8], 0
je 0x30009d47
cmp dword [0x3026f678], 0
jne 0x30009cdf
push 0
push str.CAPE_Error:_g_config.file_of_interest_is_NULL._n
call fcn.30009b40
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.3015f3bd
mov esp, ebp
pop ebp
ret
push 1
push 0x104
call fcn.30169fc8
mov ecx, dword [0x302739d0]
mov edx, eax
add esp, 8
mov dword [ecx + 4], edx
mov esi, dword [0x3026f678]
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 0x30009d10
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 [0x302739d0]
jmp 0x30009d52
mov ecx, dword [0x302739d0]
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.30009a50
add esp, 0x1c
push 0x104
push 0
push 0x30272fe0
call fcn.30162560
add esp, 0xc
push edi
push str.Process_dump_output_file:__s
push 0xffffffffffffffff
push 0x104
push 0x30272fe0
call fcn.30009a50
add esp, 0x14
cmp dword [0x30270314], 0
jne 0x30009f3e
push 0x200
lea eax, [ebp - 0x208]
push 0
push eax
call fcn.30162560
mov eax, dword [0x302739d0]
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.30009a50
lea ecx, [ebp - 0x208]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x30009df4
sub ecx, edx
lea eax, [ebp - 0x208]
push ecx
push eax
call fcn.3004f500
jmp 0x30009fba
mov ecx, dword [0x302739d0]
cmp dword [ecx], 0
jne 0x30009e20
mov dword [ecx], str.Unknown_path
mov esi, dword [ecx + 0x10]
mov edx, dword [ecx]
mov dword [ecx + 4], edx
test esi, esi
jne 0x30009e6a
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x30009e7e
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 0x30009e40
sub edi, dword [ebp - 0x410]
je 0x30009e7e
push dword [ecx + 0x24]
mov dword [ecx + 0x10], 0x100
push edx
push edx
push 0x100
push str._u___s___s___s__
jmp 0x30009eef
cmp esi, 8
je 0x30009ee4
cmp esi, 9
je 0x30009ee4
cmp esi, 3
je 0x30009e9b
cmp esi, 4
je 0x30009e9b
push edx
push edx
push esi
push str._u___s___s__
push 0x442
push 0x442
push ebx
call fcn.30009a50
add esp, 0x1c
jmp 0x30009f02
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x30009eb0
push dword [ecx + 0x18]
push eax
push edx
push edx
push esi
push str._u___s___s___s___u__
jmp 0x30009ecf
push dword [ecx + 8]
push str.Output:_TargetProcess_missing_for_dump_from_process__d
call fcn.30009b40
mov eax, dword [0x302739d0]
push dword [eax + 4]
push dword [eax]
push dword [eax + 0x10]
push str._u___s___s__
push 0x442
push 0x442
push ebx
call fcn.30009a50
add esp, 0x24
jmp 0x30009f02
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.30009a50
add esp, 0x20
cmp dword [0x30270314], 0
je 0x30009f4b
push 0x104
push 0
push 0x30272fe0
call fcn.30162560
add esp, 0xc
push dword [ebp - 0x40c]
push str.CAPE_Output_file:__s
push 0xffffffffffffffff
push 0x104
push 0x30272fe0
call fcn.30009a50
add esp, 0x14
push 0x30272fe0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x30009fbd
push 0x200
lea eax, [ebp - 0x408]
push 0
push eax
call fcn.30162560
mov eax, dword [0x302739d0]
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.30009a50
lea ecx, [ebp - 0x408]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x30009f97
sub ecx, edx
lea eax, [ebp - 0x408]
push ecx
push eax
call fcn.3004f500
jmp 0x30009fba
push edi
push str.No_CAPE_metadata__or_wrong_type__for_file:__s_n
call fcn.30009b40
add esp, 8
mov eax, dword [0x302739d0]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [eax + 0x10], 0
pop ebx
call fcn.3015f3bd
mov esp, ebp
pop ebp
ret