Function at 0x4d9470
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x608dac
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x698b9c]
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 0x4d9863
xor eax, eax
mov word [ebp - 0x224], ax
push 0x206
push 0
lea ecx, [ebp - 0x222]
push ecx
call fcn.005bfd50
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 [0x69aaa4], 1
jg 0x4d950b
mov eax, dword [ebp - 0x14]
push eax
push str.Get__u_files_from_clipboard.
push 0x90
push 0x61414c
push 1
call fcn.00401310
add esp, 0x14
mov dword [ebp - 0x228], 0
jmp 0x4d9526
mov ecx, dword [ebp - 0x228]
add ecx, 1
mov dword [ebp - 0x228], ecx
mov edx, dword [ebp - 0x228]
cmp edx, dword [ebp - 0x14]
jae 0x4d9824
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.004b45c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0x10
jne 0x4d9612
cmp dword [ebp - 0x14], 1
jne 0x4d9612
lea ecx, [ebp - 0x230]
call fcn.004158c0
push eax
call fcn.005c0140
add esp, 4
add eax, 2
push eax
call fcn.004199e0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4d95f6
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.004158c0
mov dl, byte [ebp + 0xc]
mov byte [eax], dl
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00459250
sub eax, 1
push eax
lea ecx, [ebp - 0x230]
call fcn.004158c0
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.004158c0
add eax, 1
push eax
call fcn.005bfdd0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00401cd0
jmp 0x4d9824
cmp dword [ebp - 0x228], 0
jne 0x4d975a
lea ecx, [ebp - 0x230]
call fcn.004158c0
mov dword [ebp - 0x238], eax
push 0x5c
mov eax, dword [ebp - 0x238]
push eax
call fcn.005c4c30
add esp, 8
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
jne 0x4d9667
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00401cd0
jmp 0x4d9824
cmp dword [ebp - 0x14], 0xc8
jbe 0x4d967c
mov dword [ebp - 0x24c], 0xc8
jmp 0x4d9685
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.004199e0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4d9743
push 0xc
call fcn.005c020b
add esp, 4
mov dword [ebp - 0x244], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x244], 0
je 0x4d96e1
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x244]
call fcn.004c7f30
mov dword [ebp - 0x250], eax
jmp 0x4d96eb
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.004c7bb0
movzx eax, byte [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.004c7bb0
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.004da9f0
push 0
mov ecx, dword [ebp - 0x18]
call fcn.004c7bb0
jmp 0x4d975a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00401cd0
jmp 0x4d9824
push 0x5c
lea ecx, [ebp - 0x230]
call fcn.004158c0
push eax
call fcn.005c4c30
add esp, 8
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
je 0x4d980d
mov eax, dword [ebp - 0x234]
add eax, 1
push eax
mov ecx, dword [ebp - 0x18]
call fcn.004c8900
test eax, eax
je 0x4d97a7
push 1
mov ecx, dword [ebp - 0x18]
call fcn.004daa50
test eax, eax
jne 0x4d97cf
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.00401cd0
jmp 0x4d9824
push 0xfffffffffffffffe
mov ecx, dword [ebp - 0x18]
call fcn.004da480
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0x10
je 0x4d97f5
push 0x2f
mov ecx, dword [ebp - 0x18]
call fcn.004c7bb0
mov edx, dword [ebp - 0x228]
add edx, 1
cmp edx, dword [ebp - 0x14]
je 0x4d980d
push 0xa
mov ecx, dword [ebp - 0x18]
call fcn.004c7bb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00401cd0
jmp 0x4d9517
cmp dword [ebp - 0x18], 0
je 0x4d9863
push 0
mov ecx, dword [ebp - 0x18]
call fcn.004c7bb0
cmp dword [ebp - 0x10], 0
je 0x4d984b
mov ecx, dword [ebp - 0x18]
call fcn.00501d70
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00419a70
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x248]
push ecx
call fcn.005bf7fb
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.005bfcb8
mov esp, ebp
pop ebp
ret