Function at 0x1003e840
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov dword [ebp - 4], 0
cmp dword [0x1065f9d8], 0
je 0x1003e9f6
mov eax, dword [0x1065f9d8]
cmp dword [eax + 0x10], 0
jne 0x1003e9f6
mov dword [ebp - 8], 0x442
mov ecx, dword [ebp - 8]
push ecx
call fcn.100730e0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [0x1065c7a4], 0
je 0x1003e8ff
cmp dword [0x104f28c8], 0
jne 0x1003e8ad
mov edx, dword [0x104f28c8]
push edx
push str.TSMAM_Error:_g_config.file_of_interest_is_NULL._n
call fcn.1003cfa0
add esp, 8
jmp 0x1003ecd9
push 0x104
call fcn.100730e0
add esp, 4
mov ecx, dword [0x1065f9d8]
mov dword [ecx + 4], eax
push 0
push 0
push 0x104
mov edx, dword [0x1065f9d8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [0x104f28c8]
push ecx
call fcn.10251edf
add esp, 4
add eax, 1
push eax
mov edx, dword [0x104f28c8]
push edx
push 0x400
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x1003e90f
mov eax, dword [0x1065f9d8]
mov ecx, dword [0x1065f9d8]
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov eax, dword [0x1065f9d8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [0x1065f9d8]
mov eax, dword [edx]
push eax
mov ecx, dword [0x1065f9d8]
mov edx, dword [ecx + 0x10]
push edx
push str._d___s___s__
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.10077b80
add esp, 0x18
push 0x104
push 0
push 0x104ff690
call fcn.1024a480
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push str.Process_dump_output_file:__s
push 0xffffffffffffffff
push 0x104
push 0x104ff690
call fcn.1003e690
add esp, 0x14
cmp dword [0x104f16c0], 0
je 0x1003e987
push 0x104ff690
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1003e9f1
push 0x200
push 0
lea eax, [ebp - 0x208]
push eax
call fcn.1024a480
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [0x1065f9d8]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [0x1065f9d8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 8]
push eax
push str.FILE_DUMP:_s_d_d_s
push 0x200
lea ecx, [ebp - 0x208]
push ecx
call fcn.10077b80
add esp, 0x1c
lea edx, [ebp - 0x208]
push edx
call fcn.1024e180
add esp, 4
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.1007b420
add esp, 8
jmp 0x1003ecc7
cmp dword [0x1065f9d8], 0
je 0x1003ecb6
mov ecx, dword [0x1065f9d8]
cmp dword [ecx + 0x10], 0
je 0x1003ecb6
mov dword [ebp - 8], 0x442
mov edx, dword [ebp - 8]
push edx
call fcn.100730e0
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [0x1065f9d8]
cmp dword [eax], 0
jne 0x1003ea3f
mov ecx, dword [0x1065f9d8]
mov dword [ecx], str.Unknown_path
mov edx, dword [0x1065f9d8]
mov eax, dword [0x1065f9d8]
mov ecx, dword [eax]
mov dword [edx + 4], ecx
mov edx, dword [0x1065f9d8]
cmp dword [edx + 0x24], 0
je 0x1003eabc
mov eax, dword [0x1065f9d8]
mov ecx, dword [eax + 0x24]
push ecx
call fcn.1024e180
add esp, 4
test eax, eax
je 0x1003eabc
mov edx, dword [0x1065f9d8]
mov dword [edx + 0x10], 0x100
mov eax, dword [0x1065f9d8]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [0x1065f9d8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [0x1065f9d8]
mov edx, dword [ecx]
push edx
mov eax, dword [0x1065f9d8]
mov ecx, dword [eax + 0x10]
push ecx
push str._d___s___s___s__
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.10077b80
add esp, 0x1c
jmp 0x1003ec04
mov ecx, dword [0x1065f9d8]
cmp dword [ecx + 0x10], 8
je 0x1003ead4
mov edx, dword [0x1065f9d8]
cmp dword [edx + 0x10], 9
jne 0x1003eb1d
mov eax, dword [0x1065f9d8]
mov ecx, dword [eax + 0x28]
push ecx
mov edx, dword [0x1065f9d8]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [0x1065f9d8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [0x1065f9d8]
mov ecx, dword [eax]
push ecx
mov edx, dword [0x1065f9d8]
mov eax, dword [edx + 0x10]
push eax
push str._d___s___s___p___p__
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.10077b80
add esp, 0x20
jmp 0x1003ec04
mov eax, dword [0x1065f9d8]
cmp dword [eax + 0x10], 3
je 0x1003eb38
mov ecx, dword [0x1065f9d8]
cmp dword [ecx + 0x10], 4
jne 0x1003ebd3
mov edx, dword [0x1065f9d8]
cmp dword [edx + 0x14], 0
je 0x1003eb8a
mov eax, dword [0x1065f9d8]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [0x1065f9d8]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [0x1065f9d8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [0x1065f9d8]
mov ecx, dword [eax]
push ecx
mov edx, dword [0x1065f9d8]
mov eax, dword [edx + 0x10]
push eax
push str._d___s___s___s___d__
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.10077b80
add esp, 0x20
jmp 0x1003ebd1
mov eax, dword [0x1065f9d8]
mov ecx, dword [eax + 8]
push ecx
push str.Output:_TargetProcess_missing_for_dump_from_process__d
call fcn.1003cfa0
add esp, 8
mov edx, dword [0x1065f9d8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [0x1065f9d8]
mov edx, dword [ecx]
push edx
mov eax, dword [0x1065f9d8]
mov ecx, dword [eax + 0x10]
push ecx
push 0x103de57c
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.10077b80
add esp, 0x18
jmp 0x1003ec04
mov ecx, dword [0x1065f9d8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [0x1065f9d8]
mov ecx, dword [eax]
push ecx
mov edx, dword [0x1065f9d8]
mov eax, dword [edx + 0x10]
push eax
push 0x103de56c
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.10077b80
add esp, 0x18
cmp dword [0x104f16c0], 0
je 0x1003ec4b
push 0x104
push 0
push 0x104ff690
call fcn.1024a480
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push str.TSMAM_Output_file:__s
push 0xffffffffffffffff
push 0x104
push 0x104ff690
call fcn.1003e690
add esp, 0x14
push 0x104ff690
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1003ecb4
push 0x200
push 0
lea ecx, [ebp - 0x408]
push ecx
call fcn.1024a480
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
mov eax, dword [0x1065f9d8]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [0x1065f9d8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.FILE_TRACEMEM:_s_d_d_s
push 0x200
lea edx, [ebp - 0x408]
push edx
call fcn.10077b80
add esp, 0x1c
lea eax, [ebp - 0x408]
push eax
call fcn.1024e180
add esp, 4
push eax
lea ecx, [ebp - 0x408]
push ecx
call fcn.1007b420
add esp, 8
jmp 0x1003ecc7
mov edx, dword [ebp + 8]
push edx
push str.No_TSMAM_metadata__or_wrong_type__for_file:__s_n
call fcn.1003cfa0
add esp, 8
cmp dword [ebp - 4], 0
je 0x1003ecd9
mov eax, dword [ebp - 4]
push eax
call fcn.100731f0
add esp, 4
mov esp, ebp
pop ebp
ret