Function at 0x401288
Capabilities:
Copy file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
mov eax, 0x40171c
mov dword [ebp - 4], eax
mov eax, 0x401738
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetVolumeLabelW
mov dword [0x469013], eax
dec byte [0x4690ab]
mov dword [0x4690b8], edx
call fcn.004675cc
cmp ebx, dword [0x469010]
jl 0x4012df
mov word [0x469105], 0xda65
mov dword [0x4690b3], edx
mov dword [0x469050], edi
mov dword [esp - 0x20], esi
mov dword [esp - 0x24], ebx
mov word [0x469040], 0x3dd1
dec byte [0x469020]
and eax, dword [0x4690cc]
mov eax, 0x401748
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
call sub.shlwapi.dll_PathUndecorateA
mov dword [0x46907a], 0x1102d
dec esi
mov word [0x469047], 0x286b
call fcn.00464dc0
mov eax, 0x401758
mov dword [ebp - 0x10], eax
mov eax, 0x401764
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x40102c
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0x131c1
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CopyFileExA
mov byte [0x4690ec], 0xa0
mov dword [0x4690b2], 0x10bdd
mov esi, 0x121
mov eax, 0x469058
push edx
call fcn.00401c1c
mov esi, edx
mov ecx, 0x110
mov dword [0x4690d8], edx
mov dword [0x469026], esi
call sub.kernel32.dll_GetThreadLocale
mov dword [0x46907b], 0x1127e
mov dword [0x469030], 0x10a64
mov dword [0x4690f6], esi
sub dword [0x46907e], eax
mov dword [0x4690aa], 0x105c1
mov dword [0x4690c6], ecx
mov dword [0x469038], edx
mov dword [0x46909a], esi
mov eax, 0x401778
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], 0x1bc83
mov dword [ebp - 0x38], 0xffffffff
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_ObjectPrivilegeAuditAlarmA
test eax, eax
jne 0x40142d
mov ebx, 0x88
mov dword [0x4690df], eax
mov ebx, dword [0x46909e]
call fcn.00465108
mov dword [0x4690b3], ecx
mov byte [0x46902d], 0x39
cmp byte [0x469028], 9
je 0x40145a
mov dword [0x46901b], ebx
mov dword [0x469028], eax
xchg dword [0x46908d], ecx
mov dword [0x469054], 0x10292
mov dword [0x469102], eax
call fcn.00464b84
xor eax, eax
mov dword [ebp - 0x68], eax
call sub.user32.dll_GetDesktopWindow
cmp bh, byte [0x469044]
jle 0x40148c
mov dword [0x4690ba], ebx
mov edi, 0x19a
mov dword [0x4690b5], edx
mov dword [0x469062], eax
mov dword [0x4690a8], 0x10f9e
xchg dword [0x46909f], edx
mov edi, ebx
mov dword [0x469037], ebx
inc dword [ebp - 0x68]
cmp dword [ebp - 0x68], 1
jne 0x401474
and dword [0x4690d7], eax
cmp ebx, dword [esp - 0x12]
jge 0x4014e3
mov dword [0x46908e], edx
mov dword [0x46906c], eax
and edx, dword [0x46903e]
mov dword [0x469073], ecx
mov dword [0x46901f], ebx
mov dword [0x469075], esi
xchg dword [0x469026], ecx
mov dword [0x46909d], eax
lea ecx, [0x469098]
and dword [ecx + 0x28], eax
mov eax, 0x401784
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [0x4690b3], ecx
mov byte [0x46902d], 0x39
cmp byte [0x469028], 9
je 0x401537
mov dword [0x46901b], ebx
mov dword [0x469028], eax
xchg dword [0x46908d], ecx
mov dword [0x469054], 0x10292
mov dword [0x469102], eax
push eax
mov edx, 0x4690be
push 1
call fcn.00464b84
mov dword [0x469046], edi
cmp ebx, 0xffffffff
jne 0x401585
mov byte [0x4690b9], 0xd5
sub edi, 0x95
lea ebx, [0x469103]
add dword [ebx + 0x20], 0xdb
mov dword [0x4690fe], ecx
mov dword [0x469055], edx
mov dword [0x4690a2], ebx
mov dword [0x4690b4], ecx
cmp word [0x469081], dx
jle 0x4015af
mov dword [0x4690f8], eax
mov edi, 0xf9
lea esi, [0x469082]
add dword [esi], ecx
jmp 0x4015cc
mov dword [0x4690cb], esi
mov dword [0x469069], 0x17eac
lea ecx, [0x46908a]
mov dword [ecx + 0x18], 0xf7
lea ebx, [0x4690f1]
mov dword [ebx + 4], 0x12
mov dword [ebp - 0x40], 0x1f6bf
mov dword [ebp - 0x48], 0x1c6ee
mov dword [ebp - 0x4c], 0x1164d
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x40]
push eax
call sub.user32.dll_CreateCaret
mov dword [0x469061], esi
mov byte [0x46905c], 0x5a
mov dword [0x469057], edi
mov dword [0x46906f], eax
mov eax, 0x401798
mov dword [ebp - 0x50], eax
mov eax, 0x4017a8
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.kernel32.dll_SetVolumeLabelW
lea eax, [0x4690ca]
mov dword [eax + 0x24], esi
mov dword [0x469048], ecx
mov dword [0x4690c4], 0x16e03
mov dword [0x4690a2], edx
push 0x4690c0
call fcn.00401c1c
mov word [0x469047], 0x4874
mov dword [esp - 8], esi
mov byte [0x469070], 0x88
mov eax, 0x4017b0
mov dword [ebp - 0x58], eax
mov eax, 0x4017c4
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_SetVolumeLabelW
test eax, eax
jne 0x4016a8
mov byte [0x469067], 0x40
mov dword [esp - 0x24], eax
mov dword [0x46904d], ecx
call fcn.00465108
mov dword [esp - 0x12], edx
cmp esi, dword [esp - 8]
jle 0x4016d2
mov dword [esp - 0x24], edi
mov byte [0x4690cf], 0x96
mov dword [0x46909f], ecx
mov dword [0x469067], 0x166aa
mov ecx, 0x111
mov dword [0x4690e1], esi
cmp edx, dword [esp - 0x28]
jge 0x4016e9
mov dword [0x46904c], ebx
mov dword [0x469095], edx
lea eax, [ebp - 0x64]
push eax
call sub.user32.dll_GetCaretPos
test eax, eax
je 0x401715
xchg dword [esp - 0x24], edi
mov word [0x469011], 0x8808
mov dword [0x46909a], edx
mov dword [0x469100], ebx
mov esp, ebp
pop ebp
ret