Function at 0x405620
Capabilities:
Get file system object information
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55f7b9
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x5bbd60]
xor eax, esp
mov dword [esp + 0x2e8], eax
push ebx
push esi
push edi
mov eax, dword [0x5bbd60]
xor eax, esp
push eax
lea eax, [esp + 0x300]
mov dword fs:[0], eax
push 8
mov edi, ecx
call fcn.00427a86
add esp, 4
mov dword [esp + 0x20], eax
xor ebx, ebx
mov dword [esp + 0x308], ebx
cmp eax, ebx
je 0x405686
mov ecx, eax
call fcn.004295bc
jmp 0x405688
xor eax, eax
push 0xff
push ebx
push 0x10
push 0x10
mov dword [esp + 0x318], 0xffffffff
push 0x10
mov ecx, eax
mov dword [edi + 0x104], eax
call fcn.00429a9e
mov eax, dword [edi + 0x104]
cmp eax, ebx
jne 0x4056ba
xor eax, eax
jmp 0x4056bd
mov eax, dword [eax + 4]
push eax
mov eax, dword [edi + 0x20]
push 1
push 0x1003
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.0042997a
mov ecx, dword [0x5ca470]
lea esi, [esp + 0x24]
call fcn.00402ba0
mov dword [esp + 0x308], 1
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
je 0x4059bc
mov ecx, esi
mov dword [esp + 0x14], ecx
jmp 0x40572a
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
cmp eax, dword [esp + 0x18]
jbe 0x405a25
cmp dword [ecx + 0x14], 0x10
jb 0x40573c
mov ecx, dword [ecx]
mov eax, ecx
mov dword [esp + 0x1c8], 0xf
mov dword [esp + 0x1c4], ebx
mov byte [esp + 0x1b4], bl
lea esi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x405760
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x1bc]
call fcn.00403690
push 0x104
lea ecx, [esp + 0x1f1]
push ebx
mov byte [esp + 0x310], 2
push ecx
mov byte [esp + 0x1f8], bl
call fcn.0052cb80
mov eax, dword [esp + 0x1c0]
add esp, 0xc
cmp dword [esp + 0x1c8], 0x10
jae 0x4057b4
lea eax, [esp + 0x1b4]
mov edx, dword [esp + 0x1c4]
push edx
push eax
lea eax, [esp + 0x1f4]
push eax
call fcn.0052f500
push 0x160
lea ecx, [esp + 0x44]
push ebx
push ecx
call fcn.0052cb80
add esp, 0x18
push 0x101
push 0x160
lea edx, [esp + 0x3c]
push edx
push ebx
lea eax, [esp + 0x1fc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [esp + 0x34]
mov eax, dword [edi + 0x104]
mov eax, dword [eax + 4]
push ecx
push 0xffffffffffffffff
push eax
call fcn.0042a532
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00405ba0
push ebx
push ebx
mov esi, eax
mov eax, dword [edi + 0x20]
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push esi
push ebx
push ebx
push 0x5903e7
push eax
push 3
mov ecx, edi
mov dword [esp + 0x3c], eax
call fcn.00429546
lea eax, [esp + 0x1ec]
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x405850
sub eax, ecx
push eax
lea ecx, [esp + 0x1f0]
push ecx
lea ecx, [esp + 0x1a0]
mov dword [esp + 0x1b4], 0xf
mov dword [esp + 0x1b0], ebx
mov byte [esp + 0x1a0], bl
call fcn.00403690
push 0x593ed4
mov ebx, 1
lea eax, [esp + 0x19c]
mov byte [esp + 0x30c], 3
call fcn.00405a30
push 0xffffffffffffffff
lea ecx, [eax + 1]
lea esi, [esp + 0x1d4]
lea edx, [esp + 0x19c]
call fcn.00403790
mov byte [esp + 0x308], 4
mov eax, dword [esp + 0x1d0]
mov esi, 0x10
cmp dword [esp + 0x1e4], esi
jae 0x4058e1
lea eax, [esp + 0x1d0]
mov ebx, dword [esp + 0x20]
push eax
push 0
push ebx
mov ecx, edi
call fcn.004290d6
mov eax, dword [esp + 0x198]
cmp dword [esp + 0x1ac], esi
jae 0x405907
lea eax, [esp + 0x198]
push eax
push 1
push ebx
mov ecx, edi
call fcn.004290d6
cmp dword [esp + 0x1e4], esi
jb 0x40592b
mov edx, dword [esp + 0x1d0]
push edx
call fcn.00427ab5
add esp, 4
mov ebx, 0xf
mov dword [esp + 0x1e4], ebx
mov dword [esp + 0x1e0], 0
mov byte [esp + 0x1d0], 0
cmp dword [esp + 0x1ac], esi
jb 0x405963
mov eax, dword [esp + 0x198]
push eax
call fcn.00427ab5
add esp, 4
mov byte [esp + 0x308], 1
mov dword [esp + 0x1ac], ebx
mov dword [esp + 0x1a8], 0
mov byte [esp + 0x198], 0
cmp dword [esp + 0x1c8], esi
jb 0x40599e
mov ecx, dword [esp + 0x1b4]
push ecx
call fcn.00427ab5
add esp, 4
mov eax, dword [esp + 0x18]
add dword [esp + 0x14], 0x1c
inc eax
xor ebx, ebx
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x1c]
jb 0x405722
mov esi, dword [esp + 0x24]
cmp esi, ebx
je 0x405a01
mov edi, dword [esp + 0x28]
cmp dword [esp + 0x24], edi
je 0x4059f4
lea ebx, [ebx]
cmp dword [esi + 0x14], 0x10
jb 0x4059e1
mov edx, dword [esi]
push edx
call fcn.00427ab5
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
add esi, 0x1c
cmp esi, edi
jne 0x4059d0
mov eax, dword [esp + 0x24]
push eax
call fcn.00427ab5
add esp, 4
mov ecx, dword [esp + 0x300]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.00527d0f
mov esp, ebp
pop ebp
ret
push str.invalid_vector_T__subscript
call fcn.00546134
int3