Function at 0x10006bc7
Capabilities:
Move file

Disassembly:
push 0x78
mov eax, 0x10091987
call fcn.10090fe4
mov ebx, ecx
mov esi, dword [ebp + 8]
test esi, esi
je 0x10006dfa
call fcn.100107eb
test al, al
je 0x10006bf5
mov edx, esi
call fcn.10001e0e
jmp 0x10006df0
sub esp, 0xc
lea ecx, [ebp - 0x24]
push 0x400
call fcn.100067cc
and dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
sub esp, 0xc
mov edi, 0x100
push edi
call fcn.100067cc
sub esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
push edi
call fcn.100067cc
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x40]
call fcn.10001b39
push eax
push str._s.hdr
push dword [ebp - 0x54]
push edi
call fcn.10001234
add esp, 0x10
mov edx, 0x100d56e0
mov ecx, edi
call fcn.100035dc
test eax, eax
je 0x10006c61
mov ecx, eax
call fcn.10001d2c
jmp 0x10006c31
push ecx
push edi
mov ecx, ebx
call fcn.100072f7
push 0
push 1
mov edx, edi
lea ecx, [ebp - 0x84]
call fcn.100064c7
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.100061ef
push 0
push 1
mov edx, esi
lea ecx, [ebp - 0x3c]
mov edi, dword [eax + 0x14]
call fcn.100064c7
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.100061ef
mov esi, dword [eax + 0x14]
call fcn.10004ae1
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.10001234
add esp, 0x18
cmp byte [ebp - 0x2c], 0
jne 0x10006cd3
push dword [ebp - 0x28]
call fcn.100651b2
pop ecx
mov byte [ebp - 4], 2
cmp byte [ebp - 0x74], 0
jne 0x10006ce6
push dword [ebp - 0x70]
call fcn.100651b2
pop ecx
call fcn.10004ae1
push ecx
mov ecx, dword [ebp - 0x10]
mov edx, eax
call fcn.10001804
mov edi, dword [ebp - 0x40]
push edi
call fcn.1006a0ca
mov edx, dword [ebp - 0x58]
mov ecx, edi
call fcn.10001d78
push dword [ebp - 0x58]
push str._s.img
push dword [ebp - 0x54]
push edi
call fcn.10001234
push edi
call fcn.1006a0ca
mov esi, dword [ebp + 8]
add esp, 0x1c
mov edx, 0x100d56e0
mov ecx, esi
call fcn.100035dc
test eax, eax
jne 0x10006db3
push esi
push str.m000__s
push dword [ebp - 0x24]
push dword [ebp - 0x10]
call fcn.10001234
mov ecx, dword [ebp - 0x10]
add esp, 0x10
mov edx, 0x100d56e0
call fcn.100035dc
test eax, eax
jne 0x10006db3
mov edx, 0x100d5d88
mov ecx, esi
call fcn.10001c33
mov ecx, eax
call fcn.10001d2c
push esi
call fcn.10001641
cmp byte [ebx + 0x10], 0
mov ecx, str.non_
push eax
mov eax, 0x1009e388
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.10001569
add esp, 0x28
lea eax, [ebp - 0x34]
push 0x100df254
jmp 0x10006e39
mov ecx, eax
call fcn.10001d2c
push esi
push dword [ebp - 0x10]
call fcn.1006d3d4
cmp byte [ebp - 0x5c], 0
pop ecx
pop ecx
jne 0x10006dd4
push dword [ebp - 0x58]
call fcn.100651b2
pop ecx
cmp byte [ebp - 0x44], 0
jne 0x10006de1
push edi
call fcn.100651b2
pop ecx
cmp byte [ebp - 0x14], 0
jne 0x10006df0
push dword [ebp - 0x10]
call fcn.100651b2
pop ecx
mov eax, ebx
call fcn.10090fc1
ret 4
call fcn.10001641
cmp byte [ebx + 0x10], 0
mov ecx, str.non_
push eax
mov eax, 0x1009e388
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.100013b6
add esp, 0x24
lea eax, [ebp - 0x1c]
push 0x100df1cc
push eax
call fcn.1006819a
int3