Function at 0x54eba0
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 [0x62e040]
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 0x54f014
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 0x54ec5c
test ecx, ecx
mov eax, 0x2000000
cmovne eax, ecx
cmp dword [esp + 0x4cc], ebx
jg 0x54f014
jl 0x54ec5c
cmp dword [esp + 0x4c8], eax
ja 0x54f014
mov esi, dword [0x637448]
lea eax, [esp + 0x14]
push 0
test esi, esi
je 0x54ec8a
push 0
push dword [esp + 0x20]
mov ecx, esi
push 0x5d7aa8
push eax
call dword [0x5a38f4]
call esi
jmp 0x54eca2
mov esi, dword [0x637434]
mov ecx, esi
push 0x5d7aa8
push eax
call dword [0x5a38f4]
mov edi, edi
call esi
test eax, eax
je 0x54ecee
mov esi, dword [0x637430]
lea eax, [esp + 0x6e8]
push 0
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x2c]
lfence
test esi, esi
je 0x54ed0b
push dword [esp + 0x24]
mov ecx, esi
call dword [0x5a38f4]
call esi
test eax, eax
jne 0x54ed1f
mov esi, dword [0x637428]
mov ecx, esi
push 0
push dword [esp + 0x18]
call dword [0x5a38f4]
call esi
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x788]
xor ecx, esp
call fcn.005802ef
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [0x637450]
mov ecx, esi
call dword [0x5a38f4]
call esi
test eax, eax
je 0x54ecd8
mov esi, dword [esp + 0x1c]
lea eax, [esi*4]
cmp eax, 0x80
ja 0x54ecd8
xor edx, edx
test esi, esi
je 0x54ed73
jmp 0x54ed40
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 0x54ed40
push 0
push 0
push esi
mov esi, dword [0x637438]
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 [0x5a38f4]
call esi
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x54eedc
push 0x208
lea eax, [esp + 0x4e0]
mov dword [esp + 0x4dc], 0x20c
push 0
push eax
call fcn.00582250
add esp, 0xc
lea eax, [esp + 0x80]
push 0x440
push 0
push eax
call fcn.00582250
add esp, 0xc
lea eax, [esp + 0x4d8]
push 0
push eax
push esi
mov esi, dword [0x63742c]
mov ecx, esi
call dword [0x5a38f4]
call esi
test eax, eax
je 0x54eebd
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 0x5d7aa8
lea eax, [esp + 0x48]
mov dword [esp + 0x68], ebx
push eax
mov dword [esp + 0x4c], 0x28
mov dword [esp + 0x5c], ebx
call fcn.0054e840
mov ecx, dword ds:[esp + 0x4a4]
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x54eeb5
mov esi, dword [0x637444]
push ecx
mov ecx, esi
call dword [0x5a38f4]
call esi
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov esi, dword [0x637424]
mov ecx, esi
push 0
push dword [esp + 0x1c]
push dword [esp + 0x34]
call dword [0x5a38f4]
call esi
jmp 0x54efd7
mov eax, dword [esp + 0x24]
xor esi, esi
mov dword [esp + 0x18], esi
cmp dword [eax + 0xc], ebx
jbe 0x54efd7
xor eax, eax
test ebx, ebx
je 0x54ef2d
xor edi, edi
test eax, eax
je 0x54ef1e
jmp 0x54ef00
push dword [ebx + edi*4]
mov esi, dword [0x637444]
mov ecx, esi
call dword [0x5a38f4]
call esi
inc edi
cmp edi, dword [esp + 0x34]
jb 0x54ef00
mov esi, dword [esp + 0x18]
push ebx
push 0
push dword [0x635044]
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 0x5d7a98
lea eax, [esp + 0x48]
push eax
call fcn.0054e840
mov dword [esp + 0x28], eax
cmp eax, 2
je 0x54efcf
inc esi
mov dword [esp + 0x18], esi
cmp esi, dword [ebx + 0xc]
jae 0x54efcf
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x34], eax
jmp 0x54eef1
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov esi, dword [0x637428]
mov ecx, esi
push 0
push dword [esp + 0x30]
call dword [0x5a38f4]
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.005802ef
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.005802ef
mov esp, ebp
pop ebp
ret 0xc