Function at 0x78369f81
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x783aa0a8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x783c8018]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x783c8018]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
mov edi, edx
jne 0x78369ff9
mov ecx, dword [edi]
mov eax, ecx
dec eax
je 0x78369ff4
dec eax
je 0x7836a0e2
dec eax
dec eax
je 0x7836a0cb
sub eax, 4
je 0x7836a0b4
sub eax, 8
je 0x7836a0a9
sub eax, 0x10
je 0x7836a047
sub eax, 0x20
jne 0x7836a059
mov dword [esi], ecx
mov dword [esi + 4], ebx
mov eax, dword [edi]
dec eax
je 0x7836a232
dec eax
je 0x7836a1d6
dec eax
dec eax
je 0x7836a15c
sub eax, 4
je 0x7836a143
sub eax, 8
je 0x7836a024
sub eax, 0x30
jne 0x7836a059
cmp dword [esi + 4], ebx
jne 0x7836a059
push ebx
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.ole32.dll_OleDuplicateData]
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [esi + 4], eax
mov eax, ecx
jmp 0x7836a24b
push dword [edi + 4]
xor eax, eax
call fcn.78369f0a
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x7836a060
xor eax, eax
jmp 0x7836a24b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
push ebx
push dword [edi + 0xc]
call dword [sym.imp.GDI32.dll_CopyMetaFileW]
cmp eax, ebx
mov dword [edi + 0xc], eax
jne 0x7836a090
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x7836a059
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [esi + 4], edi
mov dword [esi], 0x20
jmp 0x7836a248
mov dword [esi], 0x10
jmp 0x78369ff6
mov edi, dword [edi + 4]
mov dword [esi + 4], edi
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov dword [esi], 8
jmp 0x7836a248
mov edi, dword [edi + 4]
mov dword [esi + 4], edi
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov dword [esi], 4
jmp 0x7836a248
mov dword [esi], 2
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x7836a0f4
call sym.MFC80U.DLL_Ordinal_1176
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, eax
push 2
lea eax, [ecx + 1]
pop edx
mul edx
cmp edx, ebx
mov dword [esp + 0x18], ecx
ja 0x7836a112
cmp eax, 0xffffffff
jbe 0x7836a116
xor eax, eax
jmp 0x7836a121
push eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov ecx, dword [esp + 0x18]
cmp eax, ebx
mov dword [esi + 4], eax
je 0x7836a059
lea ecx, [ecx + ecx + 2]
push ecx
push dword [edi + 4]
push ecx
push eax
call fcn.78303b3d
add esp, 0x10
jmp 0x7836a248
push dword [esi + 4]
mov edi, dword [edi + 4]
mov eax, dword [edi]
push ebx
push ebx
push ebx
push edi
call dword [eax + 0x1c]
neg eax
sbb eax, eax
inc eax
jmp 0x7836a24b
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x28]
push edx
push eax
call dword [ecx + 0x30]
test eax, eax
jne 0x7836a059
mov eax, dword [esi + 4]
mov edx, dword [eax]
push ebx
push ebx
push ebx
xor ecx, ecx
push ecx
push eax
mov dword [esp + 0x34], ebx
call dword [edx + 0x14]
mov eax, dword [edi + 4]
mov edx, dword [eax]
push ebx
push ebx
xor ecx, ecx
push ecx
push ecx
push eax
call dword [edx + 0x14]
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push ebx
push ebx
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esi + 4]
push eax
call dword [ecx + 0x1c]
test eax, eax
jne 0x7836a059
mov eax, dword [esi + 4]
mov edx, dword [eax]
push ebx
push ebx
xor ecx, ecx
push ecx
xor esi, esi
push esi
push eax
call dword [edx + 0x14]
mov edi, dword [edi + 4]
mov ecx, dword [edi]
push ebx
push ebx
xor eax, eax
push eax
push esi
push edi
call dword [ecx + 0x14]
jmp 0x7836a248
push dword [esi + 4]
lea ecx, [esp + 0x1c]
call sym.MFC80U.DLL_Ordinal_283
mov dword [esp + 0x80], ebx
push dword [esi + 4]
lea ecx, [esp + 0x18]
call sym.MFC80U.DLL_Ordinal_283
mov esi, dword [esi + 4]
mov edi, dword [edi + 4]
neg esi
sbb esi, esi
and esi, dword [esp + 0x14]
neg edi
sbb edi, edi
and edi, dword [esp + 0x18]
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.78303c47
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.78303c47
mov eax, esi
jmp 0x7836a24b
push dword [edi + 4]
mov eax, dword [esi + 4]
call fcn.78369f0a
cmp eax, ebx
je 0x7836a059
mov dword [esi + 4], eax
xor eax, eax
inc eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.783a505e
mov esp, ebp
pop ebp
ret 4