Function at 0x4b9470
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7f0b
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x64786c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x4b9860
xor eax, eax
mov word [ebp - 0x224], ax
push 0x206
push 0
lea ecx, [ebp - 0x222]
push ecx
call fcn.00597130
add esp, 0xc
mov dword [ebp - 0x18], 0
push 0
push 0
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov dword [ebp - 0x14], eax
cmp dword [0x653730], 1
jg 0x4b9508
mov eax, dword [ebp - 0x14]
push eax
push str.Get__u_files_from_clipboard.
push 0x76
push 0x5c1a34
push 1
call fcn.00401320
add esp, 0x14
mov dword [ebp - 0x228], 0
jmp 0x4b9523
mov ecx, dword [ebp - 0x228]
add ecx, 1
mov dword [ebp - 0x228], ecx
mov edx, dword [ebp - 0x228]
cmp edx, dword [ebp - 0x14]
jae 0x4b9821
push 0x104
lea eax, [ebp - 0x224]
push eax
mov ecx, dword [ebp - 0x228]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x230]
call fcn.00496850
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0x10
jne 0x4b960f
cmp dword [ebp - 0x14], 1
jne 0x4b960f
lea ecx, [ebp - 0x230]
call fcn.00415eb0
push eax
call fcn.00597ba0
add esp, 4
add eax, 2
push eax
call fcn.0041a000
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4b95f3
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00415eb0
mov dl, byte [ebp + 0xc]
mov byte [eax], dl
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.004ef740
sub eax, 1
push eax
lea ecx, [ebp - 0x230]
call fcn.00415eb0
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00415eb0
add eax, 1
push eax
call fcn.00597e30
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00401c80
jmp 0x4b9821
cmp dword [ebp - 0x228], 0
jne 0x4b9757
lea ecx, [ebp - 0x230]
call fcn.00415eb0
mov dword [ebp - 0x238], eax
push 0x5c
mov eax, dword [ebp - 0x238]
push eax
call fcn.0059bfd0
add esp, 8
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
jne 0x4b9664
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00401c80
jmp 0x4b9821
cmp dword [ebp - 0x14], 0xc8
jbe 0x4b9679
mov dword [ebp - 0x24c], 0xc8
jmp 0x4b9682
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24c], ecx
mov edx, dword [ebp - 0x24c]
imul edx, edx, 0xfa
add edx, 0xfa
push edx
call fcn.0041a000
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4b9740
push 0xc
call fcn.005971c5
add esp, 4
mov dword [ebp - 0x244], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x244], 0
je 0x4b96de
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x244]
call fcn.004a9580
mov dword [ebp - 0x250], eax
jmp 0x4b96e8
mov dword [ebp - 0x250], 0
mov ecx, dword [ebp - 0x250]
mov dword [ebp - 0x240], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x240]
mov dword [ebp - 0x18], edx
push 0x16
mov ecx, dword [ebp - 0x18]
call fcn.004a9200
movzx eax, byte [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.004a9200
mov ecx, dword [ebp - 0x23c]
sub ecx, dword [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x238]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.004b9ef0
push 0
mov ecx, dword [ebp - 0x18]
call fcn.004a9200
jmp 0x4b9757
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00401c80
jmp 0x4b9821
push 0x5c
lea ecx, [ebp - 0x230]
call fcn.00415eb0
push eax
call fcn.0059bfd0
add esp, 8
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
je 0x4b980a
mov eax, dword [ebp - 0x234]
add eax, 1
push eax
mov ecx, dword [ebp - 0x18]
call fcn.004a9eb0
test eax, eax
je 0x4b97a4
push 1
mov ecx, dword [ebp - 0x18]
call fcn.004b9f50
test eax, eax
jne 0x4b97cc
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00401c80
jmp 0x4b9821
push 0xfffffffffffffffe
mov ecx, dword [ebp - 0x18]
call fcn.004b9c90
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0x10
je 0x4b97f2
push 0x2f
mov ecx, dword [ebp - 0x18]
call fcn.004a9200
mov edx, dword [ebp - 0x228]
add edx, 1
cmp edx, dword [ebp - 0x14]
je 0x4b980a
push 0xa
mov ecx, dword [ebp - 0x18]
call fcn.004a9200
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00401c80
jmp 0x4b9514
cmp dword [ebp - 0x18], 0
je 0x4b9860
push 0
mov ecx, dword [ebp - 0x18]
call fcn.004a9200
cmp dword [ebp - 0x10], 0
je 0x4b9848
mov ecx, dword [ebp - 0x18]
call fcn.004ef740
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0041a080
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x248]
push ecx
call fcn.00596bdf
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0059709c
mov esp, ebp
pop ebp
ret