Function at 0x403660
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44e10b
mov eax, dword fs:[0]
push eax
sub esp, 0xaac
mov eax, dword [0x4677a0]
xor eax, esp
mov dword [esp + 0xaa4], eax
push ebx
push esi
mov eax, dword [0x4677a0]
xor eax, esp
push eax
lea eax, [esp + 0xab8]
mov dword fs:[0], eax
xor esi, esi
mov ebx, ecx
mov dword [esp + 0x10], ebx
mov eax, edi
cmp word [edi], si
je 0x4036cd
mov edi, edi
movzx ecx, word [eax]
cmp cx, 0x41
jb 0x4036c5
cmp cx, 0x5a
ja 0x4036c5
add ecx, 0x20
mov word [eax], cx
add eax, 2
cmp word [eax], si
jne 0x4036b0
push str..exe
push edi
call fcn.0043588c
add esp, 8
test eax, eax
jne 0x403707
push str..dll
push edi
call fcn.0043588c
add esp, 8
test eax, eax
jne 0x403707
push str..ime
push edi
call fcn.0043588c
add esp, 8
mov dword [esp + 0xc], esi
test eax, eax
je 0x40370f
mov dword [esp + 0xc], 1
cmp word [ebx], si
je 0x403906
push edi
push ebx
call fcn.0044cbe1
add esp, 8
test eax, eax
je 0x403906
cmp dword [esp + 0xc], esi
je 0x4037a7
push edi
call fcn.00409ce0
mov esi, eax
mov eax, dword [esp + 0x14]
add esp, 4
push eax
mov ebx, edx
call fcn.00409ce0
add esp, 4
cmp ebx, edx
jb 0x4037a5
ja 0x403754
cmp esi, eax
jbe 0x4037a5
push edi
push 0x456fa0
mov ecx, 0x200
lea ebx, [esp + 0x6b4]
call fcn.00402d10
add esp, 8
call fcn.00420cc2
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
test eax, eax
je 0x403786
mov eax, dword [eax + 0x20]
push 0x24
push 0x456ff8
lea ecx, [esp + 0x6b4]
push ecx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x403906
xor esi, esi
mov edx, dword [esp + 0x10]
push esi
push edi
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4038d3
push str..exe
push edi
call fcn.0043588c
add esp, 8
test eax, eax
je 0x403826
push edi
push 0x457050
mov ecx, 0x200
lea ebx, [esp + 0x2b4]
call fcn.00402d10
add esp, 8
call fcn.00420cc2
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
cmp eax, esi
jne 0x403801
xor eax, eax
jmp 0x403804
mov eax, dword [eax + 0x20]
push 5
push 0x456ff8
lea ecx, [esp + 0x2b4]
push ecx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 4
je 0x4037a7
xor eax, eax
jmp 0x40390b
cmp dword [esp + 0xc], esi
je 0x4038c8
call fcn.00420cc2
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
push eax
push 0x85
lea ecx, [esp + 0x1c]
call fcn.00418565
mov dword [esp + 0x14], vtable.CDD_IMELoadStatus.0
mov dword [esp + method.CList_class_IControlSiteFactory___class_IControlSiteFactory__.virtual_0], vtable.CArray_unsigned_long_int__unsigned_long_int_const__.0
mov dword [esp + 0x298], esi
mov dword [esp + 0x2a4], esi
mov dword [esp + 0x2a0], esi
mov dword [esp + 0x29c], esi
mov dword [esp + 0xac0], esi
push esi
mov eax, edi
lea esi, [esp + 0x18]
call fcn.00403e00
mov ecx, esi
call fcn.00418c27
cmp eax, 1
jne 0x4038ee
cmp dword [0x468b4c], 0
je 0x4038ee
mov ecx, esi
mov dword [0x468b4c], 0
mov dword [esp + 0xac0], 0xffffffff
call fcn.00403a70
jmp 0x4037a5
push edi
push str._s_r_n
jmp 0x4037d4
push str.ALL_APPLICATION_PACKAGES
push edi
call fcn.004030f0
push str.Everyone
push edi
call fcn.004030f0
add esp, 0x10
jmp 0x40390b
lea ecx, [esp + 0x14]
mov dword [esp + 0xac0], 0xffffffff
call fcn.00403a70
xor eax, eax
jmp 0x40390b
mov eax, 1
mov ecx, dword [esp + 0xab8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xaa4]
xor ecx, esp
call fcn.00435010
mov esp, ebp
pop ebp
ret