Function at 0x566480
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 [0x62d040]
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 0x5668f4
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 0x56653c
test ecx, ecx
mov eax, 0x2000000
cmovne eax, ecx
cmp dword [esp + 0x4cc], ebx
jg 0x5668f4
jl 0x56653c
cmp dword [esp + 0x4c8], eax
ja 0x5668f4
mov esi, dword [0x63651c]
lea eax, [esp + 0x14]
push 0
test esi, esi
je 0x56656a
push 0
push dword [esp + 0x20]
mov ecx, esi
push 0x5d6f38
push eax
call dword [0x5a28f0]
call esi
jmp 0x566582
mov esi, dword [0x636504]
mov ecx, esi
push 0x5d6f38
push eax
call dword [0x5a28f0]
mov edi, edi
call esi
test eax, eax
je 0x5665ce
mov esi, dword [0x6364fc]
lea eax, [esp + 0x6e8]
push 0
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x2c]
lfence
test esi, esi
je 0x5665eb
push dword [esp + 0x24]
mov ecx, esi
call dword [0x5a28f0]
call esi
test eax, eax
jne 0x5665ff
mov esi, dword [0x6364f8]
mov ecx, esi
push 0
push dword [esp + 0x18]
call dword [0x5a28f0]
call esi
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x788]
xor ecx, esp
call fcn.0057e94f
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [0x636520]
mov ecx, esi
call dword [0x5a28f0]
call esi
test eax, eax
je 0x5665b8
mov esi, dword [esp + 0x1c]
lea eax, [esi*4]
cmp eax, 0x80
ja 0x5665b8
xor edx, edx
test esi, esi
je 0x566653
jmp 0x566620
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 0x566620
push 0
push 0
push esi
mov esi, dword [0x63650c]
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 [0x5a28f0]
call esi
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x5667bc
push 0x208
lea eax, [esp + 0x4e0]
mov dword [esp + 0x4dc], 0x20c
push 0
push eax
call fcn.00580b30
add esp, 0xc
lea eax, [esp + 0x80]
push 0x440
push 0
push eax
call fcn.00580b30
add esp, 0xc
lea eax, [esp + 0x4d8]
push 0
push eax
push esi
mov esi, dword [0x636500]
mov ecx, esi
call dword [0x5a28f0]
call esi
test eax, eax
je 0x56679d
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 0x5d6f38
lea eax, [esp + 0x48]
mov dword [esp + 0x68], ebx
push eax
mov dword [esp + 0x4c], 0x28
mov dword [esp + 0x5c], ebx
call fcn.00566120
mov ecx, dword ds:[esp + 0x4a4]
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x566795
mov esi, dword [0x636514]
push ecx
mov ecx, esi
call dword [0x5a28f0]
call esi
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov esi, dword [0x6364f4]
mov ecx, esi
push 0
push dword [esp + 0x1c]
push dword [esp + 0x34]
call dword [0x5a28f0]
call esi
jmp 0x5668b7
mov eax, dword [esp + 0x24]
xor esi, esi
mov dword [esp + 0x18], esi
cmp dword [eax + 0xc], ebx
jbe 0x5668b7
xor eax, eax
test ebx, ebx
je 0x56680d
xor edi, edi
test eax, eax
je 0x5667fe
jmp 0x5667e0
push dword [ebx + edi*4]
mov esi, dword [0x636514]
mov ecx, esi
call dword [0x5a28f0]
call esi
inc edi
cmp edi, dword [esp + 0x34]
jb 0x5667e0
mov esi, dword [esp + 0x18]
push ebx
push 0
push dword [0x633f94]
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 0x5d6f28
lea eax, [esp + 0x48]
push eax
call fcn.00566120
mov dword [esp + 0x28], eax
cmp eax, 2
je 0x5668af
inc esi
mov dword [esp + 0x18], esi
cmp esi, dword [ebx + 0xc]
jae 0x5668af
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x34], eax
jmp 0x5667d1
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov esi, dword [0x6364f8]
mov ecx, esi
push 0
push dword [esp + 0x30]
call dword [0x5a28f0]
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.0057e94f
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.0057e94f
mov esp, ebp
pop ebp
ret 0xc