Function at 0x401df0
Capabilities:
Get common file path
Get disk information
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e03b
mov eax, dword fs:[0]
push eax
sub esp, 0x558
mov eax, dword [0x5c7ed0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call fcn.0053bf17
push eax
call fcn.0053bf07
add esp, 8
xor esi, esi
nop
call fcn.0053bee6
and eax, 0x800000ff
jns 0x401e43
dec eax
or eax, 0xffffff00
inc eax
mov byte [ebp + esi - 0x16c], al
inc esi
cmp esi, 0xff
jl 0x401e30
call dword [sym.imp.WINMM.dll_timeGetTime]
add eax, 0xea60
mov dword [ebp - 0x3c], 0
push eax
lea eax, [ebp - 0x4c]
xorps xmm0, xmm0
push 0x56fe18
push eax
movdqu xmmword [ebp - 0x4c], xmm0
call fcn.0053be46
add esp, 0xc
mov dword [ebp - 0x560], 0
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x564], 0
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x7f
lea eax, [ebp - 0x2ec]
mov byte [ebp - 0x269], 0
push eax
lea eax, [ebp - 0x564]
push eax
lea eax, [ebp - 0x560]
push eax
lea eax, [ebp - 0x558]
push eax
push 0x7f
lea eax, [ebp - 0x36c]
push eax
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push dword [ebp - 0x558]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
push 0x56fe18
push eax
movdqu xmmword [ebp - 0x38], xmm0
call fcn.0053be46
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x24], xmm0
sub eax, 0
je 0x401f3b
sub eax, 2
jne 0x401f48
movq xmm0, qword [str.yg3sd2_..]
mov ax, word [0x56fe34]
movq qword [ebp - 0x24], xmm0
mov word [ebp - 0x1c], ax
jmp 0x401f48
movdqu xmm0, xmmword [str.6acs5dqw522x_..]
movdqu xmmword [ebp - 0x24], xmm0
movzx eax, byte [ebp - 0x6e]
mov ecx, 0xa
cdq
idiv ecx
xor esi, esi
mov edi, edx
mov eax, 0xcccccccd
mul esi
inc esi
shr edx, 3
lea eax, [edx + edx*4]
lea ecx, [edi + eax*2]
mov al, byte [ebp + ecx - 0x4c]
mov byte [ebp + ecx - 0x16c], al
mov al, byte [ebp + ecx - 0x38]
mov byte [ebp + ecx - 0x158], al
mov al, byte [ebp + ecx - 0x24]
mov byte [ebp + ecx - 0x144], al
lea eax, [edi + 7]
cdq
mov ecx, 0xa
idiv ecx
mov edi, edx
cmp esi, 0x14
jl 0x401f58
xor al, al
xor ecx, ecx
mov byte [ebp - 0x6f], al
add al, byte [ebp + ecx - 0x16c]
mov byte [ebp - 0x6f], al
add al, byte [ebp + ecx - 0x16b]
mov byte [ebp - 0x6f], al
add al, byte [ebp + ecx - 0x16a]
mov byte [ebp - 0x6f], al
add al, byte [ebp + ecx - 0x169]
mov byte [ebp - 0x6f], al
add al, byte [ebp + ecx - 0x168]
mov byte [ebp - 0x6f], al
add al, byte [ebp + ecx - 0x167]
add ecx, 6
mov byte [ebp - 0x6f], al
cmp ecx, 0x3c
jl 0x401fa3
lea ecx, [ebp - 0x54c]
call fcn.00403da0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movdqu xmmword [ebp - 0x6c], xmm0
xor eax, eax
movdqu xmmword [ebp - 0x5c], xmm0
cmp eax, 0x10
jge 0x402025
movzx ecx, byte [ebp + eax - 0xa4]
mov byte [ebp + eax - 0x6c], cl
movzx ecx, byte [ebp + eax - 0x90]
mov byte [ebp + eax - 0x5c], cl
inc eax
cmp eax, 0x14
jl 0x402008
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x54c]
call fcn.00403e60
lea ecx, [ebp - 0x54c]
test al, al
jne 0x40205b
mov dword [ebp - 4], 0xffffffff
call fcn.00403db0
xor al, al
jmp 0x40213e
lea eax, [ebp - 0x554]
push eax
lea eax, [ebp - 0x46c]
push eax
movzx eax, byte [ebp - 0x70]
push eax
lea eax, [ebp - 0x16c]
push eax
call fcn.00403df0
test al, al
jne 0x402097
lea ecx, [ebp - 0x54c]
mov dword [ebp - 4], 0xffffffff
call fcn.00403db0
xor al, al
jmp 0x40213e
push dword [ebp - 0x554]
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x16c]
push eax
call fcn.0053c370
mov eax, dword [ebp - 0x554]
add esp, 0xc
mov byte [ebp - 0x70], al
mov byte [ebp - 0x54d], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x402126
push 0x100
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 0x55c], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
lea esi, [ebp - 0x16c]
mov ecx, 0x3f
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x55c]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0x562
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
setne byte [ebp - 0x54d]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x54c]
mov dword [ebp - 4], 0xffffffff
call fcn.00403db0
mov al, byte [ebp - 0x54d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053bf68
mov esp, ebp
pop ebp
ret 4