Function at 0x41a7c2
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4453f4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x358
mov dword [ebp - 0x350], ecx
mov dword [ebp - 0x2f0], 0
cmp dword [ebp + 0xc], 0
jne 0x41a7fb
jmp 0x41b061
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2bc], 0x44a2d4
mov dword [ebp - 4], 0
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x28c], 0x44a2d4
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x2a0], 0x448d7c
mov dword [ebp - 0x2a0], 0x449520
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x298], 0
mov byte [ebp - 4], 2
mov dword [ebp - 0x2a4], 0
lea edx, [ebp - 0x284]
push edx
push 0x60
mov eax, dword [ebp - 0x350]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp + 0xc]
push ecx
call dword [eax + 0x10]
mov dword [ebp - 0x2a8], eax
cmp dword [ebp - 0x2a8], 0
jge 0x41a96d
mov byte [ebp - 4], 1
mov dword [ebp - 0x2a0], 0x449520
mov byte [ebp - 4], 3
cmp dword [ebp - 0x29c], 0
je 0x41a939
mov edx, dword [ebp - 0x298]
mov dword [ebp - 0x2fc], edx
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x2f8], eax
jmp 0x41a903
mov ecx, dword [ebp - 0x2f8]
add ecx, 4
mov dword [ebp - 0x2f8], ecx
mov edx, dword [ebp - 0x2fc]
mov eax, dword [ebp - 0x2fc]
sub eax, 1
mov dword [ebp - 0x2fc], eax
test edx, edx
je 0x41a91e
jmp 0x41a8f4
mov ecx, dword [ebp - 0x29c]
mov dword [ebp - 0x2f4], ecx
mov edx, dword [ebp - 0x2f4]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov byte [ebp - 4], 1
mov dword [ebp - 0x2a0], 0x448d7c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28c]
call fcn.004186a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.004186a0
jmp 0x41b061
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x45e918
call fcn.004225db
push 0
lea ecx, [ebp - 0x2b8]
push ecx
push 1
mov edx, dword [ebp - 0x284]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x284]
push ecx
call dword [eax + 0xc]
test eax, eax
jne 0x41ad03
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0x7d00
jae 0x41ad03
lea eax, [ebp - 0x278]
push eax
push 0
mov ecx, dword [ebp - 0x2b8]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp + 0xc]
push ecx
call dword [eax + 0x2c]
mov dword [ebp - 0x2a8], eax
cmp dword [ebp - 0x2a8], 0
jl 0x41acfe
mov dword [ebp - 0x2c8], 0xffffffff
lea edx, [ebp - 0x2c8]
push edx
lea eax, [ebp - 0x2b8]
push eax
push 1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp + 0xc]
push eax
call dword [edx + 0x24]
mov ecx, dword [ebp - 0x2b8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x28c]
call fcn.004187ba
push 0x109
push 0x160
lea eax, [ebp - 0x16c]
push eax
push 0
mov ecx, dword [ebp - 0x288]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea edx, [ebp - 0x278]
push edx
lea ecx, [ebp - 0x2bc]
call fcn.00418c09
mov eax, dword [ebp - 0x2c8]
and eax, 0x20000000
test eax, eax
je 0x41ab7f
call dword [sym.imp.USER32.dll_CreateMenu]
mov dword [ebp - 0x2cc], eax
lea ecx, [ebp - 0x274]
push ecx
mov edx, dword [ebp - 0x2cc]
push edx
push 0x410
mov eax, dword [ebp - 0x2a4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_InsertMenuA]
push 0
push 1
mov eax, dword [ebp - 0x2a4]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x45e918
call fcn.00422619
cmp dword [ebp + 8], 0
jne 0x41aabd
mov dword [ebp - 0x354], 0
jmp 0x41aac9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x354], eax
push 1
mov ecx, dword [ebp - 0x2a4]
push ecx
mov edx, dword [ebp - 0x16c]
push edx
mov eax, dword [ebp - 0x354]
push eax
call fcn.00423224
add esp, 0x10
mov ecx, dword [ebp - 0x2a4]
add ecx, 1
mov dword [ebp - 0x2a4], ecx
lea edx, [ebp - 0x2b4]
push edx
push 0x44cf80
push 0
mov eax, dword [ebp - 0x2b8]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp + 0xc]
push eax
call dword [edx + 0x14]
mov dword [ebp - 0x2a8], eax
cmp dword [ebp - 0x2a8], 0
jge 0x41ab31
mov dword [ebp - 0x2b4], 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x2b4]
push edx
mov eax, dword [ebp - 0x2cc]
push eax
call sub.MFC42.DLL_CMenu::FromHandle
push eax
mov ecx, dword [ebp - 0x350]
call fcn.0041a7c2
cmp dword [ebp - 0x2b4], 0
je 0x41ab6f
mov ecx, dword [ebp - 0x2b4]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x2b4]
push eax
call dword [edx + 8]
lea ecx, [ebp - 0x28c]
call fcn.0041883a
jmp 0x41acf4
push 0x24
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x2e0], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x2e0], 0
je 0x41ac52
lea ecx, [ebp - 0x274]
push ecx
lea ecx, [ebp - 0x2e4]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [ebp - 0x2f0]
or edx, 1
mov dword [ebp - 0x2f0], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x30c], eax
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x308], ecx
mov edx, dword [ebp - 0x2b8]
mov dword [ebp - 0x304], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x300], ecx
mov edx, dword [ebp - 0x2e0]
mov eax, dword [ebp - 0x304]
mov dword [edx], eax
mov ecx, dword [ebp - 0x2e0]
mov edx, dword [ebp - 0x308]
mov dword [ecx + 0x14], edx
mov eax, dword [ebp - 0x2e0]
mov ecx, dword [ebp - 0x300]
mov dword [eax + 0x18], ecx
lea edx, [ebp - 0x2e4]
push edx
mov ecx, dword [ebp - 0x2e0]
add ecx, 0x1c
call fcn.004423ba
mov eax, dword [ebp - 0x2e0]
mov ecx, dword [ebp - 0x30c]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp - 0x2e0]
mov dword [ebp - 0x358], edx
jmp 0x41ac5c
mov dword [ebp - 0x358], 0
mov eax, dword [ebp - 0x358]
mov dword [ebp - 0x2dc], eax
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x2dc]
mov dword [ebp - 0x2d0], ecx
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x2f0]
and edx, 1
test edx, edx
je 0x41aca1
and dword [ebp - 0x2f0], 0xfffffffe
lea ecx, [ebp - 0x2e4]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x310], eax
mov ecx, dword [ebp - 0x310]
cmp ecx, dword [ebp - 0x298]
jl 0x41acd2
push 0xffffffffffffffff
mov edx, dword [ebp - 0x310]
add edx, 1
push edx
lea ecx, [ebp - 0x2a0]
call fcn.0041b150
mov eax, dword [ebp - 0x29c]
mov ecx, dword [ebp - 0x310]
mov edx, dword [ebp - 0x2d0]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
mov dword [ebp - 0x288], 0
jmp 0x41a97b
mov eax, dword [ebp - 0x284]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x284]
push edx
call dword [ecx + 8]
mov eax, dword [ebp + 0xc]
mov dword [0x45e8f0], eax
mov ecx, dword [ebp - 0x298]
mov dword [ebp - 0x314], ecx
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 0x318], edx
push 0x40f540
push 4
mov eax, dword [ebp - 0x314]
push eax
mov ecx, dword [ebp - 0x318]
push ecx
call dword [sym.imp.MSVCRT.dll_qsort]
add esp, 0x10
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0
jmp 0x41ad78
mov edx, dword [ebp - 0x2ac]
add edx, 1
mov dword [ebp - 0x2ac], edx
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x31c], eax
mov ecx, dword [ebp - 0x2ac]
cmp ecx, dword [ebp - 0x31c]
jge 0x41af69
mov edx, dword [ebp - 0x29c]
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x2b0], ecx
mov edx, dword [ebp - 0x2b0]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x320], eax
mov ecx, dword [ebp - 0x2b0]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x324], edx
mov eax, dword [ebp - 0x320]
push eax
mov ecx, dword [ebp - 0x324]
push ecx
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov dword [ebp - 0x328], eax
push 0
push 1
mov eax, dword [ebp - 0x328]
sub eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x45e918
call fcn.00422619
mov edx, dword [ebp - 0x2b0]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x32c], eax
mov ecx, dword [ebp - 0x2b0]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x330], edx
cmp dword [ebp + 8], 0
jne 0x41ae45
mov dword [ebp - 0x35c], 0
jmp 0x41ae51
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x35c], ecx
push 0
mov edx, dword [ebp - 0x32c]
push edx
mov eax, dword [ebp - 0x330]
push eax
mov ecx, dword [ebp - 0x35c]
push ecx
call fcn.00423224
add esp, 0x10
mov edx, dword [ebp - 0x2b0]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x334], eax
mov ecx, dword [ebp - 0x2b0]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x338], edx
cmp dword [ebp + 8], 0
jne 0x41aea0
mov dword [ebp - 0x360], 0
jmp 0x41aeac
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x360], ecx
push 0
mov edx, dword [ebp - 0x334]
push edx
mov eax, dword [ebp - 0x338]
push eax
mov ecx, dword [ebp - 0x360]
push ecx
call fcn.0042313a
add esp, 0x10
mov edx, dword [ebp - 0x2b0]
mov eax, dword [edx]
mov dword [ebp - 0x33c], eax
mov ecx, dword [ebp - 0x33c]
mov dword [ebp - 0x2d4], ecx
mov dword [ebp - 0x2d8], 0x44a2d4
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2b0]
mov dword [ebp - 0x2ec], edx
mov eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x2e8], eax
cmp dword [ebp - 0x2e8], 0
je 0x41af4b
mov ecx, dword [ebp - 0x2e8]
add ecx, 0x1c
call sub.MFC42.DLL_CString::CString
mov ecx, 1
and ecx, 1
test ecx, ecx
je 0x41af3d
mov edx, dword [ebp - 0x2e8]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x364], eax
jmp 0x41af55
mov dword [ebp - 0x364], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2d8]
call fcn.004186a0
jmp 0x41ad69
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x2a0]
call fcn.0041b150
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x170]
jne 0x41afb8
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x340], ecx
push str._empty_
mov edx, dword [ebp - 0x340]
push edx
push 3
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuA]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x2a0], 0x449520
mov byte [ebp - 4], 8
cmp dword [ebp - 0x29c], 0
je 0x41b032
mov edx, dword [ebp - 0x298]
mov dword [ebp - 0x34c], edx
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x348], eax
jmp 0x41affc
mov ecx, dword [ebp - 0x348]
add ecx, 4
mov dword [ebp - 0x348], ecx
mov edx, dword [ebp - 0x34c]
mov eax, dword [ebp - 0x34c]
sub eax, 1
mov dword [ebp - 0x34c], eax
test edx, edx
je 0x41b017
jmp 0x41afed
mov ecx, dword [ebp - 0x29c]
mov dword [ebp - 0x344], ecx
mov edx, dword [ebp - 0x344]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov byte [ebp - 4], 1
mov dword [ebp - 0x2a0], 0x448d7c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28c]
call fcn.004186a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.004186a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc