Function at 0x10006b30
Capabilities:
Move file

Disassembly:
push 0x78
mov eax, 0x1011c597
call fcn.1011bb14
mov ebx, ecx
mov esi, dword [ebp + 8]
test esi, esi
je 0x10006d63
call fcn.10010756
test al, al
je 0x10006b5e
mov edx, esi
call fcn.10001e14
jmp 0x10006d59
sub esp, 0xc
lea ecx, [ebp - 0x24]
push 0x400
call fcn.10006735
and dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
sub esp, 0xc
mov edi, 0x100
push edi
call fcn.10006735
sub esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
push edi
call fcn.10006735
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x40]
call fcn.10001b3f
push eax
push str._s.hdr
push dword [ebp - 0x54]
push edi
call fcn.1000123b
add esp, 0x10
mov edx, 0x1019a780
mov ecx, edi
call fcn.100035e2
test eax, eax
je 0x10006bca
mov ecx, eax
call fcn.10001d32
jmp 0x10006b9a
push ecx
push edi
mov ecx, ebx
call fcn.10007260
push 0
push 1
mov edx, edi
lea ecx, [ebp - 0x84]
call fcn.10006430
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.10006158
push 0
push 1
mov edx, esi
lea ecx, [ebp - 0x3c]
mov edi, dword [eax + 0x14]
call fcn.10006430
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.10006158
mov esi, dword [eax + 0x14]
call fcn.10004ae7
push edi
push esi
push eax
push str.__s___w__c_dicom__o___s___f___s_
push dword [ebp - 0x24]
push dword [ebp - 0x10]
call fcn.1000123b
add esp, 0x18
cmp byte [ebp - 0x2c], 0
jne 0x10006c3c
push dword [ebp - 0x28]
call fcn.10020b60
pop ecx
mov byte [ebp - 4], 2
cmp byte [ebp - 0x74], 0
jne 0x10006c4f
push dword [ebp - 0x70]
call fcn.10020b60
pop ecx
call fcn.10004ae7
push ecx
mov ecx, dword [ebp - 0x10]
mov edx, eax
call fcn.1000180a
mov edi, dword [ebp - 0x40]
push edi
call fcn.100ff35d
mov edx, dword [ebp - 0x58]
mov ecx, edi
call fcn.10001d7e
push dword [ebp - 0x58]
push str._s.img
push dword [ebp - 0x54]
push edi
call fcn.1000123b
push edi
call fcn.100ff35d
mov esi, dword [ebp + 8]
add esp, 0x1c
mov edx, 0x1019a780
mov ecx, esi
call fcn.100035e2
test eax, eax
jne 0x10006d1c
push esi
push str.m000__s
push dword [ebp - 0x24]
push dword [ebp - 0x10]
call fcn.1000123b
mov ecx, dword [ebp - 0x10]
add esp, 0x10
mov edx, 0x1019a780
call fcn.100035e2
test eax, eax
jne 0x10006d1c
mov edx, 0x1019ae28
mov ecx, esi
call fcn.10001c39
mov ecx, eax
call fcn.10001d32
push esi
call fcn.10001647
cmp byte [ebx + 0x10], 0
mov ecx, str.non_
push eax
mov eax, 0x10163428
cmove eax, ecx
push eax
push dword [ebx + 0x14]
lea eax, [ebp - 0x34]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
push dword [ebx]
push str._instance__u__u__u__u__p__sshared___CImg__s_::save_medcon_external__:_Failed_to_save_file__s_with_external_command_medcon.
push eax
call fcn.1000156f
add esp, 0x28
lea eax, [ebp - 0x34]
push 0x101a2f6c
jmp 0x10006da2
mov ecx, eax
call fcn.10001d32
push esi
push dword [ebp - 0x10]
call fcn.10102674
cmp byte [ebp - 0x5c], 0
pop ecx
pop ecx
jne 0x10006d3d
push dword [ebp - 0x58]
call fcn.10020b60
pop ecx
cmp byte [ebp - 0x44], 0
jne 0x10006d4a
push edi
call fcn.10020b60
pop ecx
cmp byte [ebp - 0x14], 0
jne 0x10006d59
push dword [ebp - 0x10]
call fcn.10020b60
pop ecx
mov eax, ebx
call fcn.1011baf1
ret 4
call fcn.10001647
cmp byte [ebx + 0x10], 0
mov ecx, str.non_
push eax
mov eax, 0x10163428
cmove eax, ecx
push eax
push dword [ebx + 0x14]
lea eax, [ebp - 0x1c]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
push dword [ebx]
push str._instance__u__u__u__u__p__sshared___CImg__s_::save_medcon_external__:_Specified_filename_is__null_.
push eax
call fcn.100013bc
add esp, 0x24
lea eax, [ebp - 0x1c]
push 0x101a2ee4
push eax
call fcn.100fd40a
int3