Function at 0x11ce22b0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x11fa2738
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3f4
push ebx
push esi
mov esi, dword [esp + 0x40c]
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0xc], ecx
jne 0x11ce22e5
xor eax, eax
jmp 0x11ce283a
mov eax, dword [esi + 0x40]
push ebp
lea ebp, [esi + 0x40]
push ebx
push eax
mov dword [esp + 0x28], ebx
call fcn.11dbb630
add esp, 8
test eax, eax
je 0x11ce2820
push edi
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x4c]
mov dword [esp + 0x48], ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
call fcn.11e923e0
lea ecx, [esp + 0x20]
mov dword [esp + 0x40c], ebx
call fcn.11e923e0
mov byte [esp + 0x40c], 1
mov dword [esp + 0x2c], ebx
lea ebx, [esi + 0x44]
lea ecx, [esp + 0x28]
push ebx
mov edi, 1
mov dword [esp + 0x38], ebx
call fcn.11e7e880
mov eax, dword [esp + 0x28]
push edi
push 0
push eax
mov byte [esp + 0x418], 2
call fcn.11e5bb20
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x11ce2558
mov eax, dword [ebp]
mov ecx, dword [ebx]
push 0
push eax
push ecx
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
mov eax, dword [0x12133f80]
test eax, eax
je 0x11ce23b1
mov ecx, dword [ebp]
mov edx, dword [ebx]
push edi
push ecx
push edx
push str.CSafeDoc::MergeDecryptToEncrypt_SDTransform___s_____s__CopyFileW__lu_
push str.SDTransform
push 0xffffffffffffffff
call fcn.11ca5810
add esp, 0x18
test edi, edi
je 0x11ce2442
mov eax, dword [esp + 0x28]
mov ebx, 1
push 0
push 0x60
push ebx
push 5
push 0x80
push 0x120089
push eax
call fcn.11dbafc0
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
je 0x11ce241e
lea ecx, [esp + 0x48]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
push edi
call dword [0x1213494c]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x11ce263f
cmp ebx, 2
jne 0x11ce263f
mov ecx, dword [esp + 0x418]
mov edi, 1
mov dword [ecx], edi
jmp 0x11ce2644
mov eax, dword [0x12133f80]
test eax, eax
je 0x11ce23f6
mov edx, dword [esp + 0x28]
push edx
push str.CSafeDoc::MergeDecryptToEncrypt_Path__s__SDTransform_update_file_info_fail_
push str.SDTransform
push 0xffffffffffffffff
call fcn.11ca5810
add esp, 0x10
jmp 0x11ce23f6
or ebx, 0xffffffff
mov edx, dword [0x11fd6250]
xor esi, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x18]
mov byte [esp + 0x40c], 5
cmp eax, esi
je 0x11ce25b5
cmp edi, esi
jne 0x11ce25d3
push str._File_Transform:failed_
lea ecx, [esp + 0x1c]
call fcn.11e7eae0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x410], 6
call fcn.11e7f410
lea ecx, [esp + 0x18]
mov byte [esp + 0x40c], 5
call fcn.11e7f280
push ebp
lea ecx, [esp + 0x14]
call fcn.11e7ff30
mov eax, dword [0x12133f80]
test eax, eax
je 0x11ce24cd
push str.SDTransform_fail_AddFailLog____12
push str.SDTransform
push 0xffffffffffffffff
call fcn.11ca5810
add esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, 0x1212b560
push eax
call fcn.11dee590
lea ecx, [esp + 0x38]
call fcn.11e8af10
mov ecx, 0x1212b458
mov byte [esp + 0x40c], 7
call fcn.11ec4670
mov ecx, dword [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.11e8b150
lea edx, [esp + 0x38]
lea ecx, [esp + 0x10]
push edx
push 0
push 0
push 0
call fcn.11e7ff50
push eax
call fcn.11e5f840
mov eax, dword [0x12133f80]
add esp, 0x10
test eax, eax
je 0x11ce2545
mov eax, dword [esp + 0x10]
push eax
push str.CSafeDoc::MergeDecryptToEncrypt_Path__s__SDTransform_fail__add_log
push str.SDTransform
push 0xffffffffffffffff
call fcn.11ca5810
add esp, 0x10
lea ecx, [esp + 0x38]
mov byte [esp + 0x40c], 5
call fcn.11e8af20
jmp 0x11ce25d3
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x50]
push edx
push eax
push esi
call fcn.11ce2860
mov ebx, eax
cmp ebx, 1
je 0x11ce23f6
cmp ebx, 2
je 0x11ce23f6
test ebx, ebx
je 0x11ce2445
cmp ebx, 0xffffffff
je 0x11ce2445
mov ecx, dword [esp + 0x418]
mov dword [esp + 0x24], 0
mov dword [ecx], 0
jmp 0x11ce27e7
lea ecx, [esp + 0x14]
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.11ee1ad0
add esp, 8
lea ecx, [esp + 0x10]
mov esi, eax
push ebp
call fcn.11e7f410
mov eax, dword [0x12133f80]
test eax, eax
je 0x11ce260d
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov eax, dword [0x12126854]
push ecx
mov ecx, dword [ebp]
push edx
mov edx, dword [esp + 0x3c]
push esi
push ebx
push ecx
mov ecx, dword [edx]
push ecx
push eax
push str.__s__CSafeDoc::MergeDecryptToEncrypt:_Merge__s_To__s_failed___Ret:_lu_Error:__lu_LastError:_lu__ErrorLine:_lu__n
push str.SafeDoc
push 4
call fcn.11ca5810
add esp, 0x28
cmp ebx, 0xffffffff
jne 0x11ce2629
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
push edx
push 3
push esi
push eax
mov ecx, 0x1212b158
call fcn.11dbfd60
lea ecx, [esp + 0x10]
mov byte [esp + 0x40c], 2
call fcn.11e7f280
jmp 0x11ce27e7
mov edi, 1
mov eax, dword [esi]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x24], edi
mov dword [esi + 0xc], ecx
jne 0x11ce2656
mov dword [esi + 0x18], ecx
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x2c], edx
mov edx, dword [esp + 0x5c]
mov dword [esi + 0x38], edx
mov edx, dword [esp + 0x60]
cmp ebx, edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x3c], edx
jne 0x11ce27da
cmp eax, ecx
jbe 0x11ce26b0
call fcn.11dd8bc0
test eax, eax
je 0x11ce26b0
mov eax, dword [ebp]
mov ecx, 0x1212b5c0
push eax
call fcn.11d72380
test eax, eax
je 0x11ce26ad
mov eax, dword [ebp]
push 0
push 0
push eax
mov ecx, 0x1212ae60
call fcn.11d592e0
jmp 0x11ce26b0
mov dword [esi + 8], edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x11ce26c3
mov eax, dword [esp + 0x18]
test eax, eax
je 0x11ce27e7
mov dword [esi + 0x1c], edi
mov ecx, 0xe1
xor eax, eax
lea edi, [esp + 0x7d]
mov byte [esp + 0x7c], 0
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp]
lea ecx, [esp + 0x7c]
push ecx
push eax
call fcn.11ee09b0
add esp, 8
test eax, eax
je 0x11ce26f6
lea esi, [esp + 0x7c]
xor edi, edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], edi
call fcn.11e925e0
test eax, eax
jbe 0x11ce2716
lea ecx, [esp + 0x1c]
call fcn.11e92ce0
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x20]
call fcn.11e925e0
test eax, eax
jbe 0x11ce272e
lea ecx, [esp + 0x20]
call fcn.11e92ce0
mov edi, eax
mov edx, dword [0x11fd6250]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x18]
mov bl, 3
test eax, eax
mov byte [esp + 0x40c], bl
je 0x11ce27a7
push str._File_Transform_
lea ecx, [esp + 0x38]
call fcn.11e7eae0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x410], 4
call fcn.11e7f410
lea ecx, [esp + 0x34]
mov byte [esp + 0x40c], bl
call fcn.11e7f280
push ebp
lea ecx, [esp + 0x14]
call fcn.11e7ff30
mov eax, dword [0x12133f80]
test eax, eax
je 0x11ce27b1
mov eax, dword [esp + 0x10]
push eax
push str.CSafeDoc::MergeDecryptToEncrypt_Path__s__SDTransform_succeed__add_log
push str.SDTransform
push 0xffffffffffffffff
call fcn.11ca5810
add esp, 0x10
jmp 0x11ce27b1
push ebp
lea ecx, [esp + 0x14]
call fcn.11e7f410
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push edi
push ecx
push esi
push edx
mov ecx, 0x1212b560
call fcn.11dee5b0
lea ecx, [esp + 0x10]
mov byte [esp + 0x40c], 2
call fcn.11e7f280
jmp 0x11ce27e7
cmp ebx, 2
jne 0x11ce27e7
cmp dword [esi + 0x1c], ecx
je 0x11ce27e7
mov dword [esi + 0x1c], ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x40c], 1
call fcn.11e7f280
lea ecx, [esp + 0x20]
mov byte [esp + 0x40c], 0
call fcn.11e92540
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40c], 0xffffffff
call fcn.11e92540
pop edi
jmp 0x11ce2835
mov eax, dword [esp + 0x414]
mov dword [esp + 0x20], 1
mov dword [eax], 1
mov eax, dword [esp + 0x20]
pop ebp
mov ecx, dword [esp + 0x3fc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x400
ret 8