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

Disassembly:
sub esp, 0x578
push ebp
mov ebp, dword [esp + 0x580]
push esi
mov esi, ecx
mov eax, dword [ebp + 8]
push edi
cmp eax, 1
mov dword [esp + 0x14], esi
jne 0x42493f
pop edi
pop esi
mov eax, str.File_Folder
pop ebp
add esp, 0x578
ret 4
mov eax, dword [ebp + 0x68]
push 0x2e
push eax
call fcn.004bea30
add esp, 8
mov dword [esp + 0x10], 0
test eax, eax
jne 0x42495e
mov eax, 0x4e092c
inc eax
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x1c]
push ecx
call fcn.004bef76
mov cl, byte [esp + 0x20]
add esp, 4
xor eax, eax
lea edx, [esp + 0x1c]
test cl, cl
je 0x424995
movsx ecx, cl
inc eax
imul eax, ecx
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x424986
xor edx, edx
div dword [esi + 4]
mov eax, dword [esi]
mov dword [esp + 0x18], edx
mov edi, dword [eax + edx*4]
test edi, edi
je 0x4249ef
mov eax, dword [edi]
mov dword [esp + 0x10], edi
lea esi, [esp + 0x1c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4249d5
test cl, cl
je 0x4249d1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4249d5
add eax, 2
add esi, 2
test cl, cl
jne 0x4249b1
xor eax, eax
jmp 0x4249da
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4249e7
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x4249a7
jmp 0x4249ef
test edi, edi
jne 0x424b7e
push 0x14
call fcn.004be967
xor esi, esi
add esp, 4
cmp eax, esi
je 0x424a19
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], 0xffffffff
mov dword [eax + 0x10], esi
mov edi, eax
jmp 0x424a1b
xor edi, edi
lea eax, [esp + 0x1c]
push eax
call fcn.0044a200
add esp, 4
lea ecx, [esp + 0x324]
mov dword [edi], eax
mov eax, dword [ebp + 0x68]
push 0x400
push 0x160
push ecx
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push eax
call esi
test eax, eax
je 0x424a5a
lea edx, [esp + 0x434]
push edx
jmp 0x424b4c
mov eax, dword [ebp + 0x68]
push 0x410
lea ecx, [esp + 0x328]
push 0x160
push ecx
push 0x80
push eax
call esi
test eax, eax
je 0x424a88
lea edx, [esp + 0x434]
push edx
jmp 0x424b4c
cmp dword [ebp + 8], 1
jne 0x424a98
push str.File_Folder
jmp 0x424b4c
mov eax, dword [ebp + 0x68]
push 0x2e
push eax
call fcn.004bea30
mov esi, eax
add esp, 8
test esi, esi
je 0x424b4a
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x484]
push eax
push ecx
push esi
push 0x80000000
mov dword [esp + 0x1c], 0x100
call ebp
test eax, eax
jne 0x424b05
lea edx, [esp + 0xc]
lea eax, [esp + 0x224]
push edx
lea ecx, [esp + 0x488]
push eax
push ecx
push 0x80000000
mov dword [esp + 0x1c], 0x100
call ebp
lea eax, [esp + 0x224]
push eax
jmp 0x424b4c
inc esi
lea edx, [esp + 0x124]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x124]
push eax
call fcn.004bef76
lea ecx, [esp + 0x128]
lea edx, [esp + 0x228]
push ecx
push str._s_File
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 0x224]
push eax
jmp 0x424b4c
push 0
call fcn.0044a200
mov dword [edi + 4], eax
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x424b71
mov dword [eax + 0x10], edi
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebp
add esp, 0x578
ret 4
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [ecx]
mov dword [edx + eax*4], edi
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebp
add esp, 0x578
ret 4