Function at 0x5b00c0
Capabilities:
Get file system object information
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
mov eax, 0x10f0
call fcn.0061d060
mov esi, esp
mov dword [esi + 0x10d8], ebp
mov dword [esi + 0x10dc], esp
mov dword [esi + 0x10e8], 0xffffffff
mov dword [esi + 0x10e4], 0x5b35e0
lea eax, [esi + 0x10e0]
mov edx, dword fs:[0]
mov dword [esi + 0x10e0], edx
mov dword fs:[0], eax
cmp dword [ecx + 0xdc], 0
je 0x5b08d8
cmp dword [ecx + 0x5c], 0
je 0x5b08df
mov dword [esi + 0x2c], ecx
lea eax, [ecx + 0x4c]
lea ecx, [esi + 0x34]
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0xec], 7
mov dword [esi + 0xe8], 1
mov dword [esi + 0xd8], 0x7c
mov dword [esi + 0x10e8], 0xa
lea edx, [esi + 0xd8]
push ecx
push edx
push eax
call fcn.0042c2a0
add esp, 0xc
mov dword [esi + 0x8c], eax
mov ecx, dword [esi + 0xec]
cmp ecx, 8
jb 0x5b01c3
mov eax, dword [esi + 0xd8]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x5b01b9
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x5b090a
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
xor ecx, ecx
mov dword [esi], 0
jmp 0x5b01e1
push edx
push eax
call fcn.005d319e
add esp, 8
mov ecx, dword [esi + 0x90]
inc ecx
cmp ecx, dword [esi + 0x8c]
jae 0x5b08cc
mov eax, dword [esi + 0x34]
mov dword [esi + 0x90], ecx
mov dword [esi + 0x20], 0
lea ecx, [ecx + ecx*2]
mov dword [esi + 0x24], 0
mov edx, dword [eax + ecx*8 + 0x10]
cmp dword [eax + ecx*8 + 0x14], 7
jbe 0x5b0280
mov eax, dword [eax + ecx*8]
cmp edx, 8
jb 0x5b0288
mov ecx, edx
mov dword [esi + 0x88], eax
mov eax, 0x7ffffffe
mov dword [esi + 0xc], edx
or ecx, 7
cmp ecx, 0x7ffffffe
cmovae ecx, eax
lea eax, [ecx + ecx]
cmp ecx, 0x7ff
mov dword [esi + 0x84], ecx
jb 0x5b02b0
cmp ecx, 0x7fffffee
mov dword [esi + 0x10e8], 6
jae 0x5b08f6
add eax, 0x25
push eax
call fcn.005d0220
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x5b02c6
lea eax, [eax + ecx*8]
cmp edx, 8
jae 0x5b021a
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
test edx, edx
movsd qword [esi + 0x18], xmm1
movsd qword [esi + 0x10], xmm0
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], 7
jne 0x5b02ec
jmp 0x5b01da
add eax, 2
mov dword [esi + 0x10e8], 6
push eax
call fcn.005d0220
add esp, 4
mov edi, dword [esi + 0xc]
mov dword [esi + 0x10], eax
lea ecx, [edi + edi + 2]
push ecx
push dword [esi + 0x88]
push eax
call fcn.0061e340
add esp, 0xc
mov eax, dword [esi + 0x84]
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], eax
mov dword [esi + 0x10e8], 7
push 0
push 0
lea eax, [esi + 0x10]
push eax
call fcn.00429c90
add esp, 0xc
test al, al
je 0x5b05e0
cmp dword [esi + 0x24], 7
lea eax, [esi + 0x10]
jbe 0x5b031a
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x98]
push 0
push 0
push 0
lea edx, [esi + 0x10]
push edx
push eax
call fcn.004b84e0
lea ecx, [esi + 0x98]
mov dword [esi + 0x10e8], 8
call fcn.004ba0a0
test al, al
je 0x5b056a
push 0
push 0
lea eax, [esi + 0x10]
push eax
call fcn.00501d60
add esp, 0xc
mov ecx, dword [esi]
test al, al
je 0x5b056c
cmp dword [esi + 0x24], 7
lea eax, [esi + 0x10]
jbe 0x5b0373
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov ecx, dword [esi]
test eax, eax
jne 0x5b056c
mov eax, dword [esi + 0x2c]
mov dword [esi + 8], 0
mov dword [esi + 0x94], 0
mov edi, dword [eax + 0xdc]
mov eax, dword [edi]
mov ecx, dword [eax + 0x40]
mov dword [esi + 0x10e8], 0xffffffff
call dword [0x64689c]
lea eax, [esi + 8]
push eax
lea eax, [esi + 0x94]
push eax
push 0
push 0
push edi
call ecx
mov edi, dword [esi + 8]
test eax, eax
js 0x5b064e
test edi, edi
je 0x5b064e
cmp dword [esi + 0x24], 7
xorps xmm0, xmm0
lea eax, [esi + 0x10]
movaps xmmword [esi + 0x40], xmm0
movaps xmmword [esi + 0x50], xmm0
movaps xmmword [esi + 0x60], xmm0
mov dword [esi + 0x40], 0x37050003
mov dword [esi + 0x48], 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x68], 0
jbe 0x5b040f
mov eax, dword [esi + 0x10]
mov dword [esi + 0x10e8], 8
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
lea edi, [esi + 0xd8]
je 0x5b0434
mov dword [esi + 0x50], 0x3704001f
mov dword [esi + 0x58], eax
push 0x2b4
push 0
push edi
call fcn.0061e8c0
add esp, 0xc
cmp dword [esi + 0x24], 7
lea eax, [esi + 0x10]
jbe 0x5b0450
mov eax, dword [esi + 0x10]
push 0x200
push 0x2b4
push edi
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x5b0478
lea eax, [esi + 0xe4]
mov dword [esi + 0x60], 0x3001001f
mov dword [esi + 0x68], eax
mov edi, dword [esi + 8]
mov dword [esi + 4], 0
mov eax, dword [edi]
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x10e8], 0xffffffff
call dword [0x64689c]
lea eax, [esi + 4]
push eax
lea eax, [esi + 0x40]
push eax
push 3
push edi
call ecx
test eax, eax
js 0x5b064b
mov edi, dword [esi + 4]
test edi, edi
je 0x5b064b
xor ebx, ebx
jmp 0x5b04c4
mov edi, dword [esi + 4]
inc ebx
cmp ebx, dword [edi]
jae 0x5b061e
lea eax, [ebx + ebx*2]
cmp dword [edi + eax*4 + 0xc], 0x80040103
jne 0x5b04c0
mov eax, dword [esi + 0x58]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10e8], 8
push eax
call fcn.005b3660
add esp, 4
mov dword [esi], eax
push dword [esi + 0x68]
call fcn.005b3660
add esp, 4
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x5b0544
test edi, edi
je 0x5b0544
mov ebx, dword [esi + 8]
mov dword [esi + 0x50], 0x3704001e
mov dword [esi + 0x58], eax
mov dword [esi + 0x60], 0x3001001e
mov dword [esi + 0x68], edi
mov eax, dword [ebx]
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x10e8], 0xffffffff
call dword [0x64689c]
push 0
lea eax, [esi + 0x40]
push eax
push 3
push ebx
call ecx
mov eax, dword [esi]
mov ebx, dword [esi + 0xc]
test eax, eax
je 0x5b0554
push eax
call fcn.005d31b1
add esp, 4
test edi, edi
je 0x5b04c0
push edi
call fcn.005d31b1
add esp, 4
jmp 0x5b04c0
mov ecx, dword [esi]
mov eax, dword [esi + 0x9c]
mov dword [esi], ecx
inc eax
cmp eax, 2
jb 0x5b05a1
mov dword [esi + 0x10e8], 3
call fcn.0040e440
push dword [esi + 0x9c]
call fcn.0040f9e0
add esp, 4
mov dword [esi + 0x9c], 0
mov eax, dword [esi + 0x98]
inc eax
cmp eax, 2
jb 0x5b05e0
mov dword [esi + 0x10e8], 4
call fcn.0040e440
push dword [esi + 0x98]
call fcn.0040f9e0
add esp, 4
mov dword [esi + 0x98], 0
nop word cs:[eax + eax]
nop
mov ecx, dword [esi + 0x24]
cmp ecx, 8
jb 0x5b01da
mov eax, dword [esi + 0x10]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x5b01d0
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x5b08fb
add ecx, ecx
add ecx, 0x25
mov edx, ecx
jmp 0x5b01d0
test edi, edi
je 0x5b064b
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0xac]
mov ecx, dword [eax + 4]
mov dword [esi + 0x10e8], 0xffffffff
call dword [0x64689c]
mov dword [esi + 0x10e8], 8
push edi
call ecx
mov edi, dword [esi + 8]
mov ecx, 0x80004005
test edi, edi
mov dword [esi + 4], 0
je 0x5b088d
mov eax, dword [edi]
mov ecx, dword [eax + 0x1c]
mov dword [esi + 0x10e8], 0xffffffff
call dword [0x64689c]
lea eax, [esi + 4]
push eax
push 3
push 1
push 0x69b120
push 0x37010102
push edi
call ecx
test eax, eax
js 0x5b07d8
cmp dword [esi + 4], 0
mov ecx, 0x80004005
je 0x5b088d
cmp dword [esi + 0x24], 7
lea eax, [esi + 0x10]
jbe 0x5b06af
mov eax, dword [esi + 0x10]
mov dword [esi + 0x10e8], 8
lea ecx, [esi + 0x40]
push 0
push 0
push 0
push 0
push eax
call fcn.004b84e0
lea ecx, [esi + 0x40]
mov dword [esi + 0x10e8], 9
call fcn.004ba0a0
test al, al
mov dword [esi], 0x8004000c
je 0x5b07e4
lea eax, [esi + 0x40]
lea ecx, [esi + 0x98]
push eax
call fcn.004baa60
test al, al
mov dword [esi], 0x8004000c
je 0x5b07e4
push 0x1000
push 0
lea edi, [esi + 0xd8]
push edi
call fcn.0061e8c0
add esp, 0xc
mov dword [esi + 0x28], 0
mov dword [esi], 0
push 0
lea eax, [esi + 0x28]
push eax
push 0x1000
push edi
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5b07e4
mov edi, dword [esi + 0x28]
test edi, edi
je 0x5b07e4
lea ebx, [esi + 0xd8]
nop dword [eax + eax]
mov ecx, dword [esi + 4]
mov dword [esi + 0x30], 0
mov eax, dword [ecx]
mov dword [esi], ecx
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x10e8], 0xffffffff
call dword [0x64689c]
lea eax, [esi + 0x30]
mov dword [esi + 0x10e8], 9
push eax
push edi
mov dword [esi + 0xc], ebx
push ebx
push dword [esi]
call ecx
mov edx, dword [esi + 0x30]
mov edi, dword [esi + 0x28]
mov dword [esi], eax
lea ecx, [edx - 1]
cmp ecx, edi
mov ecx, 0x8004000d
cmovb ecx, eax
test ecx, ecx
js 0x5b07e2
mov ebx, dword [esi + 0xc]
add ebx, edx
sub edi, edx
mov dword [esi + 0x28], edi
jne 0x5b0760
push 0x1000
push 0
lea edi, [esi + 0xd8]
push edi
call fcn.0061e8c0
add esp, 0xc
jmp 0x5b072a
mov ecx, 0x80004005
jmp 0x5b088d
mov dword [esi], ecx
mov edi, dword [esi + 4]
mov eax, dword [edi]
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x10e8], 0xffffffff
call dword [0x64689c]
mov dword [esi + 0x10e8], 9
push 0
push edi
call ecx
mov edi, dword [esi + 4]
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov dword [esi + 0x10e8], 0xffffffff
call dword [0x64689c]
mov dword [esi + 0x10e8], 9
push edi
call ecx
mov eax, dword [esi + 0x44]
mov dword [esi + 4], 0
inc eax
cmp eax, 2
jb 0x5b0861
mov dword [esi + 0x10e8], 1
call fcn.0040e440
push dword [esi + 0x44]
call fcn.0040f9e0
add esp, 4
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x40]
inc eax
cmp eax, 2
jb 0x5b088b
mov dword [esi + 0x10e8], 2
call fcn.0040e440
push dword [esi + 0x40]
call fcn.0040f9e0
add esp, 4
mov dword [esi + 0x40], 0
mov ecx, dword [esi]
mov edi, dword [esi + 8]
test edi, edi
je 0x5b056c
mov eax, dword [edi]
mov ebx, ecx
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x10e8], 0xffffffff
call dword [0x64689c]
push 0
push edi
call ecx
mov edi, dword [esi + 8]
mov eax, dword [edi]
mov ecx, dword [eax + 8]
call dword [0x64689c]
push edi
call ecx
mov ecx, ebx
jmp 0x5b056c
lea ecx, [esi + 0x34]
call fcn.005d38f0
mov eax, dword [esi]
jmp 0x5b08e1
mov eax, 0x80004005
jmp 0x5b08e1
xor eax, eax
mov ecx, dword [esi + 0x10e0]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.005e8c60
mov dword [esi + 0x10e8], 5
call fcn.006207e0
mov dword [esi + 0x10e8], 0
call fcn.006207e0
nop dword [eax]
push ebp
sub esp, 0x18
lea esi, [ebp - 0x10ec]
mov ebp, dword [esi + 0x10d8]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0x18
lea esi, [ebp - 0x10ec]
mov ebp, dword [esi + 0x10d8]
mov ecx, dword [esi + 0xec]
cmp ecx, 8
jb 0x5b098d
mov eax, dword [esi + 0xd8]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x5b0983
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x5b09af
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov dword [esi + 0xe8], 0
mov dword [esi + 0xec], 7
mov word [esi + 0xd8], 0
add esp, 0x18
pop ebp
ret
call fcn.006207e0
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0x18
lea esi, [ebp - 0x10ec]
mov ebp, dword [esi + 0x10d8]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0x18
lea esi, [ebp - 0x10ec]
mov ebp, dword [esi + 0x10d8]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0x18
lea esi, [ebp - 0x10ec]
mov ebp, dword [esi + 0x10d8]
mov eax, dword [esi + 0x44]
inc eax
cmp eax, 2
jb 0x5b0a30
call fcn.0040e440
push dword [esi + 0x44]
call fcn.0040f9e0
add esp, 4
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x40]
inc eax
cmp eax, 2
jb 0x5b0a50
call fcn.0040e440
push dword [esi + 0x40]
call fcn.0040f9e0
add esp, 4
mov dword [esi + 0x40], 0
add esp, 0x18
pop ebp
ret