Function at 0x43d560
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x15c
lea eax, [esp + 0x18]
push ebx
push esi
mov esi, dword [edx]
push edi
push dword [edx + 4]
mov edi, ecx
mov ecx, esi
push 0x2000000
push eax
call dword [0x4fe8dc]
call esi
test eax, eax
js 0x43d9d5
push 4
push 8
lea eax, [esp + 0x60]
xor bl, bl
push eax
lea eax, [esp + 0x44]
xor bh, bh
push eax
push dword [esp + 0x34]
call dword [sym.imp.ntdll.dll_NtQueryVolumeInformationFile]
test eax, eax
js 0x43d617
mov eax, dword [esp + 0x58]
add eax, 0xfffffffe
cmp eax, 0x22
ja case.0x43d5c5.9
movzx eax, byte [eax + 0x43d9e8]
jmp dword [eax*4 + 0x43d9dc]
push str.Pipe
push 0x581
push edi
call sym.ProcessHacker.exe_PhSetDialogItemText
jmp 0x43d617
push 0x581
push edi
mov bh, 1
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x43d617
push str.File_or_directory
jmp 0x43d60c
push 0x581
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x43d617
push 0x52af7c
push 0
push 0xc
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push 0x18
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x34]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
or esi, 0xffffffff
mov dword [esp + 0x18], eax
test eax, eax
js 0x43d6ec
mov eax, dword [esp + 0x4c]
mov cl, byte [0x5484ac]
mov bl, byte [esp + 0x55]
push 0
mov dword [esp + 0x78], eax
lea eax, [esp + 0x64]
push 1
mov byte [esp + 0x72], cl
mov ecx, dword [esp + 0x50]
push eax
mov byte [esp + 0x1f], bl
mov dword [esp + 0x6c], 0x10c
mov dword [esp + 0x7c], ecx
call sym.ProcessHacker.exe_PhFormat
push 0x580
mov dword [esp + 0x2c], eax
push edi
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x43d6a0
push dword [esp + 0x14]
push 0
push 0xc
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x28]
mov eax, esi
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43d6b6
call fcn.004a2a20
test bh, bh
je 0x43d6ec
cmp byte [esp + 0x55], 0
mov eax, 0x5248b8
push 0x581
mov ebx, str.Directory
push edi
cmove ebx, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x43d6e8
push ebx
push 0
push 0xc
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov bl, byte [esp + 0x13]
push 0xe
push 8
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x34]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
js 0x43d83c
cmp dword [esp + 0x18], 0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
jl 0x43d7d8
mov eax, edx
or eax, ecx
je 0x43d7d8
mov eax, dword [esp + 0x48]
or eax, dword [esp + 0x4c]
je 0x43d7d8
fild qword [esp + 0x30]
mov dword [esp + 0xa0], edx
mov eax, 1
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x90], 0x10009
mov dword [esp + 0xa8], 1
mov dword [esp + 0xb8], 4
mov dword [esp + 0xbc], 0x525c40
mov dword [esp + 0xc0], 0x4b
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fild qword [esp + 0x48]
push 0x12
push 4
fstp qword [esp + 0x20]
fdiv qword [esp + 0x20]
mov word [esp + 0xcc], ax
mov dword [esp + 0xe0], eax
lea eax, [esp + 0x98]
mov dword [esp + 0xf0], 4
mov dword [esp + 0xf4], 0x529bdc
fmul qword [0x538030]
fstp qword [esp + 0xd8]
jmp 0x43d7f6
push 0
mov dword [esp + 0x7c], 0x10009
lea eax, [esp + 0x7c]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ecx
push 1
push eax
call sym.ProcessHacker.exe_PhFormat
push 0x57f
mov dword [esp + 0x18], eax
push edi
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x43d826
push dword [esp + 0x18]
push 0
push 0xc
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x14]
mov eax, esi
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43d83c
call fcn.004a2a20
push 0x10
push 4
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x34]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
js 0x43d990
mov eax, dword [esp + 0x2c]
mov cl, al
and cl, 0xa
or bl, cl
test al, 0x30
je 0x43d872
and eax, 0xfeffffff
jmp 0x43d877
or eax, 0x1000000
push 6
push 0x5449c0
push eax
call sym.ProcessHacker.exe_PhGetAccessString
mov ecx, dword [esp + 0x2c]
mov edx, eax
push 0x40
push 5
mov dword [esp + 0x1c], edx
mov eax, dword [edx]
mov dword [esp + 0x150], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x154], eax
lea eax, [esp + 0xf8]
push eax
mov dword [esp + 0xfc], 1
mov dword [esp + 0x10c], 4
mov dword [esp + 0x110], 0x52af9c
mov dword [esp + 0x114], 0x108
mov dword [esp + 0x124], ecx
mov byte [esp + 0x11e], 0x10
mov dword [esp + 0x12c], 1
mov dword [esp + 0x13c], 4
mov dword [esp + 0x140], 0x525c40
mov dword [esp + 0x144], 1
mov dword [esp + 0x15c], 1
mov dword [esp + 0x16c], 2
mov dword [esp + 0x170], 0x52afa4
call sym.ProcessHacker.exe_PhFormat
push 0x582
mov dword [esp + 0x2c], eax
push edi
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x43d964
push dword [esp + 0x18]
push 0
push 0xc
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x28]
mov eax, esi
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43d97a
call fcn.004a2a20
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], esi
dec esi
jne 0x43d9b0
call fcn.004a2a20
jmp 0x43d9b0
push 0x582
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x43d9b0
push 0x5254a4
push 0
push 0xc
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
test bl, bl
sete al
push eax
push 0x57e
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [esp + 0x24]
call dword [sym.imp.ntdll.dll_NtClose]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret