Function at 0x54f020
Capabilities:
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78c
mov eax, dword [0x62f040]
xor eax, esp
mov dword [esp + 0x788], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [esp + 0x14], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push edi
push 5
mov dword [eax], 0
mov dword [esp + 0x64], eax
lea eax, [esp + 0x4c4]
push 0x18
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x2c], edx
push eax
push edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x78], ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], 0x20
mov dword [ecx], 0
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
js 0x54f494
mov ecx, dword [esi + 8]
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
cmp ecx, 0xffffffff
je 0x54f0dc
test ecx, ecx
mov eax, 0x2000000
cmovne eax, ecx
cmp dword [esp + 0x4cc], ebx
jg 0x54f494
jl 0x54f0dc
cmp dword [esp + 0x4c8], eax
ja 0x54f494
mov esi, dword [0x638448]
lea eax, [esp + 0x14]
push 0
test esi, esi
je 0x54f10a
push 0
push dword [esp + 0x20]
mov ecx, esi
push 0x5d8aa8
push eax
call dword [0x5a48f4]
call esi
jmp 0x54f122
mov esi, dword [0x638434]
mov ecx, esi
push 0x5d8aa8
push eax
call dword [0x5a48f4]
mov edi, edi
call esi
test eax, eax
je 0x54f16e
mov esi, dword [0x638430]
lea eax, [esp + 0x6e8]
push 0
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x2c]
lfence
test esi, esi
je 0x54f18b
push dword [esp + 0x24]
mov ecx, esi
call dword [0x5a48f4]
call esi
test eax, eax
jne 0x54f19f
mov esi, dword [0x638428]
mov ecx, esi
push 0
push dword [esp + 0x18]
call dword [0x5a48f4]
call esi
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x788]
xor ecx, esp
call fcn.0058078f
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [0x638450]
mov ecx, esi
call dword [0x5a48f4]
call esi
test eax, eax
je 0x54f158
mov esi, dword [esp + 0x1c]
lea eax, [esi*4]
cmp eax, 0x80
ja 0x54f158
xor edx, edx
test esi, esi
je 0x54f1f3
jmp 0x54f1c0
movzx ecx, byte [esp + edx + 0x6e8]
mov eax, ecx
and ecx, 0xf
shr eax, 4
movsx eax, byte [eax + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_________._:_________]
mov word [esp + edx*4 + 0x708], ax
movsx eax, byte [ecx + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_________._:_________]
mov word [esp + edx*4 + 0x70a], ax
inc edx
cmp edx, esi
jb 0x54f1c0
push 0
push 0
push esi
mov esi, dword [0x638438]
lea ecx, [esp + 0x6f4]
xor eax, eax
push ecx
mov word [esp + edx*4 + 0x718], ax
mov ecx, esi
mov eax, dword [esp + 0x24]
push eax
mov dword [esp + 0x40], eax
call dword [0x5a48f4]
call esi
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x54f35c
push 0x208
lea eax, [esp + 0x4e0]
mov dword [esp + 0x4dc], 0x20c
push 0
push eax
call fcn.005826f0
add esp, 0xc
lea eax, [esp + 0x80]
push 0x440
push 0
push eax
call fcn.005826f0
add esp, 0xc
lea eax, [esp + 0x4d8]
push 0
push eax
push esi
mov esi, dword [0x63842c]
mov ecx, esi
call dword [0x5a48f4]
call esi
test eax, eax
je 0x54f33d
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x4dc]
mov dword [esp + 0x40], eax
mov edx, 2
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x708]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x6e8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x84], 0x440
push eax
lea eax, [esp + 0x88]
mov dword [esp + 0x44], ebx
push eax
push 0x5d8aa8
lea eax, [esp + 0x48]
mov dword [esp + 0x68], ebx
push eax
mov dword [esp + 0x4c], 0x28
mov dword [esp + 0x5c], ebx
call fcn.0054ecc0
mov ecx, dword ds:[esp + 0x4a4]
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x54f335
mov esi, dword [0x638444]
push ecx
mov ecx, esi
call dword [0x5a48f4]
call esi
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov esi, dword [0x638424]
mov ecx, esi
push 0
push dword [esp + 0x1c]
push dword [esp + 0x34]
call dword [0x5a48f4]
call esi
jmp 0x54f457
mov eax, dword [esp + 0x24]
xor esi, esi
mov dword [esp + 0x18], esi
cmp dword [eax + 0xc], ebx
jbe 0x54f457
xor eax, eax
test ebx, ebx
je 0x54f3ad
xor edi, edi
test eax, eax
je 0x54f39e
jmp 0x54f380
push dword [ebx + edi*4]
mov esi, dword [0x638444]
mov ecx, esi
call dword [0x5a48f4]
call esi
inc edi
cmp edi, dword [esp + 0x34]
jb 0x54f380
mov esi, dword [esp + 0x18]
push ebx
push 0
push dword [0x636044]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ebx, dword [esp + 0x24]
mov edx, 2
mov dword [esp + 0x3c], 0
mov ecx, ebx
mov dword [esp + 0x58], 0
mov dword [esp + 0x38], 0x28
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x708]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x6e8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x4c], 0
push eax
push 0
push 0x5d8a98
lea eax, [esp + 0x48]
push eax
call fcn.0054ecc0
mov dword [esp + 0x28], eax
cmp eax, 2
je 0x54f44f
inc esi
mov dword [esp + 0x18], esi
cmp esi, dword [ebx + 0xc]
jae 0x54f44f
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x34], eax
jmp 0x54f371
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov esi, dword [0x638428]
mov ecx, esi
push 0
push dword [esp + 0x30]
call dword [0x5a48f4]
call esi
mov eax, dword [esp + 0x60]
mov dword [eax], ebx
mov eax, dword [esp + 0x64]
mov dword [eax], edi
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x788]
xor ecx, esp
call fcn.0058078f
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x794]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0058078f
mov esp, ebp
pop ebp
ret 0xc