Function at 0x41dee0
Capabilities:
Get file system object information
Query or enumerate registry value

Disassembly:
sub esp, 0x578
push ebx
push ebp
mov ebp, dword [esp + 0x584]
push esi
push edi
mov edi, ecx
mov eax, dword [ebp + 4]
mov dword [esp + 0x1c], edi
cmp eax, 1
jne 0x41df11
mov eax, str.File_Folder
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x578
ret 4
mov eax, dword [ebp + 0x5c]
push 0x2e
push eax
call fcn.004989e0
xor esi, esi
add esp, 8
cmp eax, esi
mov dword [esp + 0x14], esi
jne 0x41df2e
mov eax, 0x4be298
inc eax
lea ecx, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x20]
push edx
call fcn.004a7db0
add esp, 4
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.0041deb0
mov ecx, dword [edi]
lea ebx, [eax*4]
mov dword [esp + 0x18], ebx
mov edi, dword [ecx + ebx]
cmp edi, esi
je 0x41dfb0
mov eax, dword [edi]
mov dword [esp + 0x14], edi
lea esi, [esp + 0x20]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41df96
test cl, cl
je 0x41df92
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41df96
add eax, 2
add esi, 2
test cl, cl
jne 0x41df72
xor eax, eax
jmp 0x41df9b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41dfa6
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x41df68
xor esi, esi
cmp edi, esi
jne 0x41e13c
push 0x14
call fcn.004985f0
add esp, 4
cmp eax, esi
je 0x41dfd3
or ecx, 0xffffffff
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], esi
mov edi, eax
jmp 0x41dfd5
xor edi, edi
lea eax, [esp + 0x20]
push eax
call fcn.0043c610
add esp, 4
lea ecx, [esp + 0x328]
mov dword [edi], eax
mov edx, dword [ebp + 0x5c]
push 0x400
push 0x160
push ecx
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push edx
call esi
test eax, eax
je 0x41e014
lea eax, [esp + 0x438]
push eax
jmp 0x41e10d
mov edx, dword [ebp + 0x5c]
push 0x410
lea ecx, [esp + 0x32c]
push 0x160
push ecx
push 0x80
push edx
call esi
test eax, eax
je 0x41e042
lea eax, [esp + 0x438]
push eax
jmp 0x41e10d
cmp dword [ebp + 4], 1
jne 0x41e052
push str.File_Folder
jmp 0x41e10d
mov ecx, dword [ebp + 0x5c]
push 0x2e
push ecx
call fcn.004989e0
mov esi, eax
add esp, 8
test esi, esi
je 0x41e10b
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea edx, [esp + 0x10]
lea eax, [esp + 0x488]
push edx
push eax
mov ebx, 0x100
push esi
push 0x80000000
mov dword [esp + 0x20], ebx
call ebp
test eax, eax
jne 0x41e0b4
lea ecx, [esp + 0x10]
lea edx, [esp + 0x228]
push ecx
lea eax, [esp + 0x48c]
push edx
push eax
push 0x80000000
mov dword [esp + 0x20], ebx
call ebp
jmp 0x41e0f2
inc esi
lea ecx, [esp + 0x128]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x128]
push edx
call fcn.004a7db0
add esp, 4
lea eax, [esp + 0x128]
lea ecx, [esp + 0x228]
push eax
push str._s_File
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x228]
push edx
call fcn.0043c610
mov ebx, dword [esp + 0x1c]
add esp, 4
mov dword [edi + 4], eax
jmp 0x41e118
push 0
call fcn.0043c610
add esp, 4
mov dword [edi + 4], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41e133
mov dword [eax + 0x10], edi
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x578
ret 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [ecx + ebx], edi
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x578
ret 4