Function at 0x3000a1f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x30215e88]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x3026ed74]
push edi
mov edi, ecx
mov dword [ebp - 0x40c], edi
test esi, esi
je 0x3000a53f
mov esi, dword [esi + 0x10]
push 1
push 0x442
call fcn.30164988
add esp, 8
mov ebx, eax
cmp esi, 1
jne 0x3000a39f
cmp dword [0x30267728], 0
je 0x3000a2d7
cmp dword [0x3026a618], 0
jne 0x3000a26f
push 0
push str.CAPE_Error:_g_config.file_of_interest_is_NULL._n
call fcn.3000a0d0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.30159c2d
mov esp, ebp
pop ebp
ret
push 1
push 0x104
call fcn.30164988
mov ecx, dword [0x3026ed74]
mov edx, eax
add esp, 8
mov dword [ecx + 4], edx
mov esi, dword [0x3026a618]
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 0x3000a2a0
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 [0x3026ed74]
jmp 0x3000a2e2
mov ecx, dword [0x3026ed74]
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.30009fe0
add esp, 0x1c
push 0x104
push 0
push 0x3026e380
call fcn.3015cdc0
add esp, 0xc
push edi
push str.Process_dump_output_file:__s
push 0xffffffffffffffff
push 0x104
push 0x3026e380
call fcn.30009fe0
add esp, 0x14
cmp dword [0x3026b2b8], 0
jne 0x3000a4ce
push 0x200
lea eax, [ebp - 0x208]
push 0
push eax
call fcn.3015cdc0
mov eax, dword [0x3026ed74]
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.30009fe0
lea ecx, [ebp - 0x208]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x3000a384
sub ecx, edx
lea eax, [ebp - 0x208]
push ecx
push eax
call fcn.300509d0
jmp 0x3000a54a
mov ecx, dword [0x3026ed74]
cmp dword [ecx], 0
jne 0x3000a3b0
mov dword [ecx], str.Unknown_path
mov esi, dword [ecx + 0x10]
mov edx, dword [ecx]
mov dword [ecx + 4], edx
test esi, esi
jne 0x3000a3fa
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x3000a40e
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 0x3000a3d0
sub edi, dword [ebp - 0x410]
je 0x3000a40e
push dword [ecx + 0x24]
mov dword [ecx + 0x10], 0x100
push edx
push edx
push 0x100
push str._u___s___s___s__
jmp 0x3000a47f
cmp esi, 8
je 0x3000a474
cmp esi, 9
je 0x3000a474
cmp esi, 3
je 0x3000a42b
cmp esi, 4
je 0x3000a42b
push edx
push edx
push esi
push str._u___s___s__
push 0x442
push 0x442
push ebx
call fcn.30009fe0
add esp, 0x1c
jmp 0x3000a492
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x3000a440
push dword [ecx + 0x18]
push eax
push edx
push edx
push esi
push str._u___s___s___s___u__
jmp 0x3000a45f
push dword [ecx + 8]
push str.Output:_TargetProcess_missing_for_dump_from_process__d
call fcn.3000a0d0
mov eax, dword [0x3026ed74]
push dword [eax + 4]
push dword [eax]
push dword [eax + 0x10]
push str._u___s___s__
push 0x442
push 0x442
push ebx
call fcn.30009fe0
add esp, 0x24
jmp 0x3000a492
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.30009fe0
add esp, 0x20
cmp dword [0x3026b2b8], 0
je 0x3000a4db
push 0x104
push 0
push 0x3026e380
call fcn.3015cdc0
add esp, 0xc
push dword [ebp - 0x40c]
push str.CAPE_Output_file:__s
push 0xffffffffffffffff
push 0x104
push 0x3026e380
call fcn.30009fe0
add esp, 0x14
push 0x3026e380
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x3000a54d
push 0x200
lea eax, [ebp - 0x408]
push 0
push eax
call fcn.3015cdc0
mov eax, dword [0x3026ed74]
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.30009fe0
lea ecx, [ebp - 0x408]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x3000a527
sub ecx, edx
lea eax, [ebp - 0x408]
push ecx
push eax
call fcn.300509d0
jmp 0x3000a54a
push edi
push str.No_CAPE_metadata__or_wrong_type__for_file:__s_n
call fcn.3000a0d0
add esp, 8
mov eax, dword [0x3026ed74]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [eax + 0x10], 0
pop ebx
call fcn.30159c2d
mov esp, ebp
pop ebp
ret