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

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xffffffffffffffff
push 0x65e2e3
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x200], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x40], esi
call fcn.005f6b34
mov dword [ebp - 4], 0
push esi
call fcn.0045bf70
add esp, 4
cmp dword [0x75dd30], 0
je 0x541ed6
push 0xf1
push esi
mov ecx, 0x75dcf0
call fcn.004e6a60
mov eax, dword [esi]
mov ecx, esi
mov edx, dword [eax + 0x6c]
call edx
push eax
mov ecx, 0x75dcf0
call fcn.004e6cd0
call fcn.005fd5a3
mov eax, dword [eax + 4]
push 0x80
mov ecx, eax
call fcn.00401600
mov dword [esi + 0x73c], eax
push 1
push eax
mov ecx, esi
call fcn.004015e0
push 0
mov eax, dword [esi + 0x73c]
push eax
mov ecx, esi
call fcn.004015e0
call fcn.00411530
push eax
mov ecx, esi
call fcn.005f9435
xor ecx, ecx
mov dword [ebp - 0x118], ecx
xor edx, edx
lea edi, [esi + 0x67c]
mov ebx, dword [edi]
push 0xe800
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
push 0x50002834
push 0x8820
push esi
mov ecx, edi
mov edx, dword [ebx + 0x180]
call edx
mov byte [ebp - 0x80], 0
mov eax, 0x60
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0x80]
call fcn.004361d0
mov ecx, edi
cmp eax, 0x90
jl 0x541f7a
push 0x1e5
jmp 0x541f7f
push 0x104
call fcn.00609f9d
push 0x94
push 0
lea eax, [ebp + 0x160]
push eax
call fcn.00621270
add esp, 0xc
mov dword [ebp + 0x160], 0x94
lea ecx, [ebp + 0x160]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp + 0x170], 1
jne 0x541fc3
cmp dword [ebp + 0x168], 0
je 0x541ff7
lea ecx, [ebp - 0x80]
call fcn.004361d0
push 0
mov ecx, esi
push 0
cmp eax, 0x90
jl 0x541fe6
push 0x1e4
push 0
push 0x1e3
jmp 0x541ff2
push 0x10a
push 0
push 0x109
call fcn.00540860
lea edx, [ebp - 0x74]
push edx
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
push 0
lea ecx, [ebp - 0x64]
push ecx
push 1
push 0
push 0xe8ff
push 0xe800
mov ecx, esi
call fcn.005f9dfd
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x70]
sub eax, 2
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x74]
mov dword [ebp - 0xd8], eax
push 5
mov ecx, esi
call fcn.00454470
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, eax
test ebx, ebx
je 0x54209b
lea edx, [ebp - 0xd0]
push edx
mov eax, dword [ebx + 0x20]
push eax
call edi
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, esi
call fcn.005fdc97
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00453970
push 0
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, ebx
call fcn.004243b0
push 2
mov ecx, ebx
call fcn.00454470
jmp 0x542049
lea edx, [ebp - 0xa0]
push edx
mov eax, dword [esi + 0x20]
push eax
call edi
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x64]
add dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x60]
add dword [ebp - 0x94], eax
push 0
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, esi
call fcn.004243b0
push 1
push 0
push 0
push 0
push 0
push 0xe8ff
push 0xe800
mov ecx, esi
call fcn.005f9dfd
push 1
mov ecx, esi
call fcn.005ff1b3
lea ebx, [esi + 0x67c]
push 0
push 0x576
mov ecx, ebx
call fcn.004544d0
push 0
push 0x599
mov ecx, ebx
call fcn.004544d0
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x3c], 4
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push str.GrStVsbt
mov ecx, dword [0x75dbe4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x542159
cmp dword [ebp - 0x54], eax
jne 0x542159
mov byte [ebp - 0x11], al
jmp 0x542167
push 0
push 0x84e7
mov ecx, ebx
call fcn.004544d0
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [esi + 0x31c], eax
mov edx, dword [0x75ee5c]
push edx
push 0x2723
push 1
push eax
call fcn.0045c050
mov eax, dword [0x75effc]
push eax
push 0x2728
push 1
mov ecx, dword [esi + 0x31c]
push ecx
call fcn.0045c050
mov edx, dword [0x75f1f4]
push edx
push 0x272e
push 1
mov eax, dword [esi + 0x31c]
push eax
call fcn.0045c050
mov ecx, dword [0x75f1f8]
push ecx
push 0x272f
push 1
mov edx, dword [esi + 0x31c]
push edx
call fcn.0045c050
add esp, 0x40
push 0
push 0
push 0x800
mov eax, dword [esi + 0x31c]
push eax
call fcn.0045c050
mov ecx, dword [0x75ede8]
push ecx
push 0x271e
push 1
mov edx, dword [esi + 0x31c]
push edx
call fcn.0045c050
push 0x160
push 0
lea eax, [ebp]
push eax
call fcn.00621270
add esp, 0x2c
push 0x4011
push 0x160
lea ecx, [ebp]
push ecx
push 0x80
push 0x67ad18
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea ebx, [esi + 0x628]
push eax
push 1
push 0x1003
mov ecx, ebx
call fcn.004015a0
mov eax, 0x25
mov dword [ebp - 0x44], eax
cmp dword [0x75dbac], 0
je 0x542265
mov eax, 0x10025
mov dword [ebp - 0x44], eax
push eax
mov ecx, ebx
call fcn.0040d0b0
mov edx, dword [0x75ee84]
mov dword [ebp - 0xc0], edx
mov eax, dword [0x75efec]
mov dword [ebp - 0xbc], eax
mov ecx, dword [0x75ee8c]
mov dword [ebp - 0xb8], ecx
mov edx, dword [0x75ee88]
mov dword [ebp - 0xb4], edx
mov eax, dword [0x75eff0]
mov dword [ebp - 0xb0], eax
mov ecx, dword [0x75ee74]
mov dword [ebp - 0xac], ecx
mov edx, dword [0x75ee78]
mov dword [ebp - 0xa8], edx
xor ebx, ebx
mov dword [ebp - 0xa4], ebx
mov ecx, esi
call fcn.0053c110
push ebx
push 1
push 0x2005
mov eax, dword [esi + 0x648]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0xf8], 0xf
mov dword [ebp - 0xf4], ebx
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp + ebx*4 - 0xc0]
xor ecx, ecx
cmp eax, ecx
je 0x5423a5
mov dword [ebp + 0x1f4], ecx
mov dword [ebp + 0x1fc], ecx
mov word [ebp + 0x1f8], cx
mov byte [ebp - 4], 1
mov edx, dword [0x75dd28]
push edx
push eax
lea ecx, [ebp + 0x1f4]
call fcn.00401970
mov eax, dword [esi + ebx*4 + 0x7bc]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 0x1f4]
test eax, eax
je 0x542350
mov dword [ebp - 0xec], eax
jmp 0x54235e
lea ecx, [ebp + 0x1f8]
mov dword [ebp - 0xec], ecx
mov eax, ecx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x542361
sub eax, edx
sar eax, 1
mov dword [ebp - 0xe8], eax
lea edx, [ebp - 0xf8]
push edx
push ebx
push 0x1061
mov eax, dword [esi + 0x648]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x1f4]
call fcn.00401210
inc ebx
jmp 0x5422f3
lea ebx, [esi + 0x330]
push 0xa
push 0
xor ecx, ecx
cmp dword [0x752e50], ecx
setne cl
lea ecx, [ecx*8 + 0x18]
or ecx, 1
push ecx
mov edx, dword [esi + 0x33c]
push edx
mov eax, dword [esi + 0x338]
push eax
mov ecx, ebx
call fcn.006019a0
lea ecx, [esi + 0x628]
push 0
push ebx
call fcn.0043b7c0
mov ecx, esi
call fcn.0053ca80
mov ecx, esi
call fcn.00540950
lea ecx, [ebp - 0x50]
call fcn.0043bce0
mov byte [ebp - 4], 2
push 0xce
lea ecx, [ebp - 0x50]
call fcn.0043b790
lea ebx, [esi + 0x344]
push 2
push 0
push 0x21
push 0xe
push 0x10
mov ecx, ebx
call fcn.006019a0
push 0xc0c0c0
lea ecx, [ebp - 0x50]
push ecx
mov ecx, ebx
call fcn.0043bac0
push 0
push ebx
lea ecx, [esi + 0x628]
call fcn.00603cc8
mov ecx, eax
call fcn.004b8a60
lea edx, [ebp - 0x24]
push edx
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [esi + 0x648]
push edx
call edi
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x2c]
add ecx, eax
mov dword [esi + 0x76c], ecx
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0x28]
add edx, eax
mov dword [esi + 0x770], edx
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.005fdcd8
push 0x437
mov ecx, esi
call fcn.005f5a75
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [eax + 0x20]
push edx
call edi
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.005fdcd8
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x28]
mov dword [esi + 0x774], ecx
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x2c]
mov dword [esi + 0x778], edx
push 0x595
mov ecx, esi
call fcn.005f5a75
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [eax + 0x20]
push edx
call edi
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.005fdcd8
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x2c]
mov dword [esi + 0x77c], ecx
push 0x596
mov ecx, esi
call fcn.005f5a75
lea edx, [ebp - 0x24]
push edx
mov eax, dword [eax + 0x20]
push eax
call edi
lea ecx, [ebp - 0x24]
push ecx
mov ecx, esi
call fcn.005fdcd8
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x2c]
mov dword [esi + 0x780], edx
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [esi + 0x388]
push ecx
call edi
lea edx, [ebp - 0x24]
push edx
mov ecx, esi
call fcn.005fdcd8
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov dword [esi + 0x784], eax
push 0x5e0
mov ecx, esi
call fcn.005f5a75
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [eax + 0x20]
push edx
call edi
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.005fdcd8
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x28]
mov dword [esi + 0x788], ecx
lea edx, [ebp - 0x90]
push edx
mov eax, dword [esi + 0x5f4]
push eax
call edi
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [esi + 0x648]
push edx
call edi
lea eax, [ebp - 0x90]
push eax
mov ecx, esi
call fcn.005fdc97
lea ecx, [ebp - 0x108]
push ecx
mov ecx, esi
call fcn.005fdc97
mov edx, dword [ebp - 0x90]
mov dword [esi + 0x7e8], edx
mov eax, dword [ebp - 0x8c]
mov dword [esi + 0x7ec], eax
mov ecx, dword [ebp - 0x88]
mov dword [esi + 0x7f0], ecx
mov edx, dword [ebp - 0x84]
mov dword [esi + 0x7f4], edx
add dword [esi + 0x7e8], 0x32
add dword [esi + 0x7f0], 0x15e
mov eax, dword [esi]
mov ecx, esi
mov edx, dword [eax + 0x6c]
call edx
push 0
push 0x84e4
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x2ec], ecx
lea ebx, [esi + 0x80]
mov eax, dword [ebx]
add eax, 0x13c
mov dword [ebp - 0x38], eax
call fcn.00411530
push eax
push 0x10f
mov ecx, ebx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
call eax
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [esi + 0xa0]
push edx
call edi
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [esi + 0x20]
push ecx
call edi
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
mov edx, edi
mov ecx, dword [ebp - 0x34]
sub edx, ecx
push 0
push eax
push edx
mov edx, dword [ebp - 0x18]
sub edx, eax
sub edx, 0x55
push edx
sub ecx, edi
mov eax, dword [ebp - 0x1c]
lea ecx, [ecx + eax - 0x23]
push ecx
mov ecx, ebx
call fcn.005f5c6a
push 0
mov ecx, ebx
call fcn.005f5caa
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0043bd40
mov dword [ebp - 4], 0xffffffff
jmp 0x5426ca
mov byte [esi + 0x76b], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.00620b8d
add ebp, 0x204
mov esp, ebp
pop ebp
ret