Function at 0x426610
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
mov esi, ecx
push edi
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x1c], esi
and eax, 0xf
cmp al, 2
jne 0x42665c
mov ecx, dword [0x4f5e08]
push 0x50
push 0x4f5e2c
push 0x108
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
pop edi
pop esi
pop ebp
mov eax, 0x4f5e2c
pop ebx
add esp, 0x578
ret 4
mov eax, dword [ebp + 0x34]
push 0x2e
push eax
call fcn.004a7c73
add esp, 8
mov dword [esp + 0x14], 0
test eax, eax
jne 0x42667b
mov eax, 0x4edf14
inc eax
lea edx, [esp + 0x20]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x20]
push eax
call fcn.004a8197
mov cl, byte [esp + 0x24]
add esp, 4
xor eax, eax
lea edx, [esp + 0x20]
test cl, cl
je 0x4266b2
movsx ecx, cl
inc eax
imul eax, ecx
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x4266a3
xor edx, edx
div dword [esi + 4]
mov ebx, edx
mov edx, dword [esi]
mov dword [esp + 0x18], ebx
mov edi, dword [edx + ebx*4]
test edi, edi
je 0x42670e
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 0x4266f4
test cl, cl
je 0x4266f0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4266f4
add eax, 2
add esi, 2
test cl, cl
jne 0x4266d0
xor eax, eax
jmp 0x4266f9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x426706
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x4266c6
jmp 0x42670e
test edi, edi
jne 0x42688e
push 0x10
call fcn.004bd49b
xor esi, esi
add esp, 4
cmp eax, esi
je 0x426731
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], esi
mov edi, eax
jmp 0x426733
xor edi, edi
lea eax, [esp + 0x20]
push eax
call fcn.00470f80
add esp, 4
lea ecx, [esp + 0x328]
mov dword [edi], eax
mov eax, dword [ebp + 0x34]
push 0x400
push 0x160
push ecx
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push eax
call esi
test eax, eax
je 0x426772
lea edx, [esp + 0x438]
push edx
jmp 0x42685f
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x34]
push 0x410
lea ecx, [esp + 0x32c]
push 0x160
push ecx
push edx
push eax
call esi
test eax, eax
je 0x42679f
lea eax, [esp + 0x438]
push eax
jmp 0x42685f
mov eax, dword [ebp + 0x34]
push 0x2e
push eax
call fcn.004a7c73
mov esi, eax
add esp, 8
test esi, esi
je 0x42685d
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x488]
push ecx
push edx
mov ebx, 0x100
push esi
push 0x80000000
mov dword [esp + 0x20], ebx
call ebp
test eax, eax
jne 0x426801
lea eax, [esp + 0x10]
lea ecx, [esp + 0x228]
push eax
lea edx, [esp + 0x48c]
push ecx
push edx
push 0x80000000
mov dword [esp + 0x20], ebx
call ebp
jmp 0x426844
inc esi
lea eax, [esp + 0x128]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x128]
push ecx
call fcn.004a8197
mov eax, dword [0x4f5e08]
add esp, 4
lea edx, [esp + 0x128]
lea ecx, [esp + 0x228]
push edx
push 0x109
push eax
push ecx
call fcn.00472a10
add esp, 0x10
lea edx, [esp + 0x228]
push edx
call fcn.00470f80
mov ebx, dword [esp + 0x1c]
add esp, 4
mov dword [edi + 4], eax
jmp 0x42686a
push 0
call fcn.00470f80
add esp, 4
mov dword [edi + 4], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x426885
mov dword [eax + 0xc], 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*4], edi
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x578
ret 4