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

Disassembly:
mov eax, 0x12fc
call fcn.00481410
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0x12f8], eax
push ebx
push ebp
mov ebp, dword [esp + 0x1308]
push esi
mov esi, dword [esp + 0x1314]
push edi
xor edi, edi
mov ebx, 1
lea edx, [esp + 0x708]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, ebx
test cl, cl
jne 0x40c504
lea eax, [esp + 0x708]
push eax
call fcn.00475f60
add esp, 4
test eax, eax
je 0x40c542
lea eax, [esp + 0x708]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40c530
sub eax, edx
mov byte [esp + eax + 0x707], cl
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x70c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x40c67e
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edx, [esp + 0x308]
sub edx, esi
test byte [esp + 0x58], 0x10
mov dword [ebp + 0x990], edi
mov dword [ebp + 0x98c], edi
mov dword [ebp + 0x988], edi
mov eax, esi
je 0x40c640
mov dword [esp + 0x10], ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, ebx
test cl, cl
jne 0x40c591
lea eax, [esp + 0x308]
push eax
call fcn.00475f60
add esp, 4
test eax, eax
jne 0x40c5d5
lea edi, [esp + 0x308]
add edi, 0xffffffff
lea ebx, [ebx]
mov al, byte [edi + 1]
add edi, ebx
test al, al
jne 0x40c5c0
mov cx, word [0x49ea0c]
mov word [edi], cx
xor edi, edi
xor eax, eax
jmp 0x40c5e0
mov cl, byte [esp + eax + 0x308]
mov byte [esp + eax + 0x708], cl
add eax, ebx
test cl, cl
jne 0x40c5e0
lea edi, [esp + 0x708]
add edi, 0xffffffff
mov edi, edi
mov al, byte [edi + 1]
add edi, ebx
test al, al
jne 0x40c600
mov dx, word [0x49ea08]
push 0x40c450
push ebp
push ebx
lea eax, [esp + 0x714]
push eax
mov word [edi], dx
call fcn.004323f0
cmp dword [ebp + 0x6dc], 0
je 0x40c6c3
xor eax, eax
jmp 0x40ca4d
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, ebx
test cl, cl
jne 0x40c640
mov ecx, dword [esp + 0x74]
push ebx
push edi
push edi
push ecx
mov dword [ebp + 0x988], ebx
call fcn.004814c0
mov ecx, dword [esp + 0x78]
xor esi, esi
add eax, ecx
adc edx, esi
add eax, 0x7ff
adc edx, edi
shrd eax, edx, 0xb
shr edx, 0xb
mov dword [ebp + 0x990], eax
jmp 0x40c6c5
lea edx, [esp + 0x308]
mov eax, esi
sub edx, esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, ebx
test cl, cl
jne 0x40c690
lea edx, [esp + 0x308]
push edx
call fcn.00475f60
add esp, 4
test eax, eax
je 0x40c6b3
mov dword [esp + 0x10], ebx
mov dword [ebp + 0x990], 0xffffffff
mov dword [esp + 0x14], edi
jmp 0x40c6c5
xor edi, edi
mov eax, dword [ebp + 0x988]
add dword [ebp + 0x994], eax
mov ecx, dword [ebp + 0x98c]
mov edx, dword [ebp + 0x990]
mov eax, dword [esp + 0x131c]
add dword [ebp + 0x998], ecx
add dword [ebp + 0x99c], edx
cmp eax, edi
jne 0x40c711
push 3
push edi
lea eax, [esp + 0xf10]
push eax
lea ecx, [esp + 0x314]
push ecx
call fcn.0040bfe0
add esp, 0x10
jmp 0x40c72b
lea edx, [esp + 0xf08]
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, ebx
test cl, cl
jne 0x40c720
mov ecx, dword [ebp + 0x19c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x40]
push eax
push 0xffffffffffffffff
push 0x100d
lea edx, [esp + 0x314]
push ecx
mov dword [esp + 0x50], 2
mov dword [esp + 0x54], edx
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x40c7ff
mov edi, 0x100
lea esp, [esp]
mov ecx, dword [ebp + 0x19c]
mov eax, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
push 0
push 0x1005
lea edx, [esp + 0x714]
push ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], edx
call ebx
lea ecx, [esp + 0xf08]
lea eax, [esp + 0x708]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40c7d3
test dl, dl
je 0x40c7cf
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40c7d3
add eax, 2
add ecx, 2
test dl, dl
jne 0x40c7b3
xor eax, eax
jmp 0x40c7d8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40c87e
mov eax, dword [ebp + 0x19c]
lea edx, [esp + 0x40]
push edx
push esi
push 0x100d
push eax
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x40c770
mov edi, dword [esp + 0x1314]
mov ecx, dword [ebp + 0x19c]
xor esi, esi
push esi
push esi
push 0x1004
push ecx
call ebx
sub eax, 1
cmp edi, eax
jle 0x40c834
mov edx, dword [ebp + 0x19c]
push esi
push esi
push 0x1004
push edx
call ebx
mov edi, eax
sub edi, 1
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x14]
cmp edi, esi
mov dword [esp + 0x18], 0xf
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
je 0x40c89f
push 0x4000
push 0x160
lea eax, [esp + 0x1a0]
push eax
push esi
lea ecx, [esp + 0x318]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov edx, dword [esp + 0x19c]
mov dword [esp + 0x34], edx
jmp 0x40c8a7
push esi
push ebp
call fcn.0040c390
mov edi, dword [esp + 0x131c]
add esp, 8
cmp edi, esi
jle 0x40c806
sub edi, 1
jmp 0x40c806
mov dword [esp + 0x34], 0xffffffff
mov ecx, dword [ebp + 0x990]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x30c]
push esi
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x19c]
push 0x1007
push eax
mov dword [esp + 0x48], ecx
call ebx
lea edx, [esp + 0x18]
push edx
mov eax, 1
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x19c]
push 0x1006
lea ecx, [esp + 0xf14]
push eax
mov dword [esp + 0x3c], ecx
call ebx
cmp edi, esi
je 0x40c9ee
cmp dword [esp + 0x10], esi
je 0x40c95b
mov ecx, dword [ebp + 0x98c]
mov edx, dword [ebp + 0x988]
push ecx
push edx
push 0x52
call fcn.0046d6b0
add esp, 0xc
lea edx, [esp + 0x708]
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx], cl
add eax, 1
add edx, 1
test cl, cl
jne 0x40c930
lea edi, [esp + 0x708]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x40c948
mov eax, dword [0x49e590]
mov dword [edi], eax
jmp 0x40c963
mov byte [esp + 0x708], 0
mov ecx, dword [ebp + 0x990]
add ecx, ecx
push ecx
lea edx, [esp + 0x2fc]
push edx
call fcn.0046ef50
lea eax, [esp + 0x300]
add esp, 8
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40c985
lea edi, [esp + 0x708]
sub eax, esi
add edi, 0xffffffff
lea ebx, [ebx]
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x40c9a0
mov edx, dword [ebp + 0x19c]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
push 0
push 0x1006
lea eax, [esp + 0x714]
push edx
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], 2
mov dword [esp + 0x3c], eax
call ebx
mov edi, dword [esp + 0x14]
jmp 0x40ca4b
push 0x49e5dc
push 0xc4
mov dword [esp + 0x20], 1
mov dword [esp + 0x28], 2
call fcn.0046d6b0
add esp, 4
push eax
push 0x49e5d8
lea eax, [esp + 0x714]
push str._s_s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp + 0x19c]
add esp, 0x14
lea edx, [esp + 0x18]
push edx
push esi
push 0x1006
lea ecx, [esp + 0x714]
push eax
mov dword [esp + 0x3c], ecx
call ebx
mov eax, edi
mov ecx, dword [esp + 0x1308]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004810ab
add esp, 0x12fc
ret