Function at 0x425a10
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp - 8]
sub esp, 0xb4
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x74], 0x4474b0
mov dword [ebp - 0x70], 0x447f64
mov dword [ebp - 0x68], 0x425eac
mov dword [ebp - 0x64], esp
mov dword [esp], eax
call fcn.00437520
lea eax, [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov dword [esp], 0x44a570
call sub.msvcrt.dll_wcslen
lea ecx, [eax + eax]
mov edx, ecx
mov dword [ebp - 0x90], ecx
sar edx, 1
mov dword [ebp - 0x20], edx
cmp edx, 7
ja 0x425d20
mov ebx, dword [ebp - 0x50]
mov dword [ebp - 0x98], ebx
cmp edx, 1
jne 0x425b60
mov ecx, 0x72
xor edx, edx
mov word [ebx], cx
mov dword [ebp - 0x4c], 1
mov word [ebx + eax*2], dx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x90]
sar eax, 1
mov edx, eax
mov dword [ebp - 0x58], eax
cmp eax, 7
ja 0x425cc3
cmp eax, 1
jne 0x425bb0
mov eax, dword [ebp - 0x98]
movzx eax, word [eax]
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x94]
mov ebx, dword [ebp - 0x90]
mov dword [ebp - 0x1c], edx
xor edx, edx
mov word [eax + ebx], dx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x88], 2
mov dword [ebp - 0x9c], eax
call eax
mov dword [ebp - 0x98], eax
sub esp, 4
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x94]
je 0x425b1b
mov dword [esp], eax
call fcn.00446bb0
cmp dword [ebp - 0x98], 0xffffffff
mov dword [ebp - 0x90], 0
je 0x425bc3
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x48]
cmp eax, ecx
je 0x425b44
mov dword [esp], eax
call fcn.00446bb0
lea eax, [ebp - 0x8c]
mov dword [esp], eax
call fcn.004375b0
mov eax, dword [ebp - 0x90]
mov ebx, dword [ebp - 4]
leave
ret
mov ecx, edx
test edx, edx
jne 0x425d52
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x98]
lea ebx, [ebp - 0x18]
xor edx, edx
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x94], ebx
mov word [eax + ecx], dx
mov dword [ebp - 0x20], ebx
test eax, eax
jne 0x425aa4
mov dword [esp], 0x44a4ec
mov dword [ebp - 0x88], 1
call fcn.00445c30
lea esi, [esi]
test eax, eax
mov eax, dword [ebp - 0x94]
je 0x425ad6
jmp 0x425cef
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov dword [esp], str.runasadmin.run
call sub.msvcrt.dll_wcslen
lea ecx, [eax + eax]
mov edx, ecx
mov dword [ebp - 0x90], ecx
sar edx, 1
mov ecx, edx
mov dword [ebp - 0x20], edx
cmp edx, 7
ja 0x425e40
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x98], ebx
cmp edx, 1
jne 0x425d90
mov edx, 0x72
xor ecx, ecx
mov word [ebx], dx
mov dword [ebp - 0x34], 1
mov word [ebx + eax*2], cx
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x90]
sar eax, 1
mov edx, eax
mov dword [ebp - 0x54], eax
cmp eax, 7
ja 0x425de4
cmp eax, 1
jne 0x425dd4
mov eax, dword [ebp - 0x98]
movzx eax, word [eax]
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x90]
xor ebx, ebx
mov word [eax + edx], bx
mov dword [esp], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x88], 4
call eax
mov dword [ebp - 0x90], eax
sub esp, 4
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x94]
je 0x425c92
mov dword [esp], eax
call fcn.00446bb0
xor eax, eax
cmp dword [ebp - 0x90], 0xffffffff
lea ebx, [ebp - 0x30]
setne al
lea eax, [eax + eax - 1]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x425b32
mov dword [esp], eax
call fcn.00446bb0
jmp 0x425b32
lea eax, [ebp - 0x58]
mov dword [esp + 4], 0
lea ecx, [ebp - 0x20]
mov dword [esp], eax
mov dword [ebp - 0x88], 1
call fcn.00444d00
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x20], eax
sub esp, 8
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x90]
mov dword [esp + 8], edx
mov ecx, dword [ebp - 0x98]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x20]
lea ebx, [edx + edx]
mov dword [ebp - 0x90], ebx
jmp 0x425ad6
lea eax, [ebp - 0x20]
mov dword [esp + 4], 0
lea ecx, [ebp - 0x50]
mov dword [esp], eax
mov dword [ebp - 0x88], 0xffffffff
call fcn.00444d00
mov dword [ebp - 0x98], eax
sub esp, 8
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x90]
mov dword [esp + 4], 0x44a570
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x98], eax
lea eax, [ecx + ecx]
mov dword [ebp - 0x90], eax
jmp 0x425b6a
test edx, edx
jne 0x425e72
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x34], ecx
xor ecx, ecx
mov word [eax + edx], cx
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x20], ecx
test eax, eax
jne 0x425c20
mov dword [esp], 0x44a4ec
mov dword [ebp - 0x88], 3
call fcn.00445c30
test eax, eax
mov eax, dword [ebp - 0x94]
je 0x425c52
jmp 0x425e10
lea eax, [ebp - 0x54]
mov dword [esp + 4], 0
lea ecx, [ebp - 0x20]
mov dword [esp], eax
mov dword [ebp - 0x88], 3
call fcn.00444d00
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x20], eax
sub esp, 8
mov dword [ebp - 0x18], edx
mov ebx, dword [ebp - 0x90]
mov dword [esp + 8], ebx
mov edx, dword [ebp - 0x98]
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x20]
lea ebx, [edx + edx]
mov dword [ebp - 0x90], ebx
jmp 0x425c52
lea eax, [ebp - 0x20]
mov dword [esp + 4], 0
lea ecx, [ebp - 0x38]
mov dword [esp], eax
mov dword [ebp - 0x88], 1
call fcn.00444d00
mov dword [ebp - 0x98], eax
sub esp, 8
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x90]
mov dword [esp + 4], str.runasadmin.run
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x98], eax
lea eax, [ecx + ecx]
mov dword [ebp - 0x90], eax
jmp 0x425d98