Function at 0x416d20
Capabilities:
Get file system object information
Inspect section memory permissions

Disassembly:
push 0xffffffffffffffff
push 0x4d6665
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x304
push ebx
push ebp
mov ebp, dword [sym.imp.user32.dll_SendMessageA]
push esi
mov esi, dword [esp + 0x320]
mov ebx, ecx
push edi
push esi
mov eax, dword [ebx + 0x10]
push 4
push 0x110a
push eax
mov dword [esp + 0x5c], ebx
call ebp
mov ecx, dword [ebx + 0x10]
push esi
push ecx
mov dword [esp + 0x20], eax
call fcn.00404b60
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x50], 0xf0000000
je 0x416e74
mov ecx, dword [ebx + 0x10]
lea eax, [esp + 0x58]
push eax
push 0
lea edx, [esp + 0x21c]
push 0x110c
push ecx
mov dword [esp + 0x68], 0x49
mov dword [esp + 0x6c], esi
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], 0x100
call ebp
mov edx, dword [edi + 8]
mov eax, dword [edi]
lea esi, [edi + 8]
push 1
push edx
push eax
call fcn.0044b600
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x417520
mov ecx, edi
mov eax, dword [ecx]
lea ecx, [esp + 0x50]
push ecx
push esi
mov edx, dword [eax]
push 1
push eax
call dword [edx + 0x24]
mov ecx, dword [esp + 0x78]
mov edi, dword [esp + 0x50]
xor edx, edx
lea esi, [esp + 0x214]
test ecx, ecx
setne dl
mov dword [esp + 0x1c], edx
mov eax, ebp
shr edi, 0x1f
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x416e2b
test cl, cl
je 0x416e27
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x416e2b
add eax, 2
add esi, 2
test cl, cl
jne 0x416e07
xor eax, eax
jmp 0x416e30
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x416e3a
cmp dword [esp + 0x1c], edi
je 0x416e6b
test edi, edi
jne 0x416e4a
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], 0x60
mov ecx, dword [ebx + 0x10]
lea eax, [esp + 0x58]
push eax
push 0
push 0x110d
push ecx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x88], edi
call dword [sym.imp.user32.dll_SendMessageA]
push ebp
call fcn.004c7e56
add esp, 4
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, esi
jne 0x416eb4
cmp dword [esp + 0x328], esi
je 0x417520
mov ecx, dword [esp + 0x44]
cmp ecx, esi
je 0x416ecd
mov eax, dword [ecx]
mov ecx, dword [ecx + 8]
lea edi, [esp + 0x14]
mov edx, dword [eax]
push edi
push 0x4d8a08
push esi
push ecx
push eax
call dword [edx + 0x14]
test eax, eax
jl 0x417520
jmp 0x416ee0
mov edx, dword [ebx + 0x10]
push eax
push edx
call fcn.00404b60
add esp, 8
cmp eax, esi
je 0x416e8b
mov eax, dword [eax]
mov dword [esp + 0x14], eax
jmp 0x416ee0
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.shell32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x417520
push 0x80
call fcn.004c7e90
xor edi, edi
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0x1f
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], pe_nt_image_headers32
mov dword [esp + 0x24], 0x4d878c
mov eax, dword [esp + 0x50]
mov dword [esp + 0x31c], esi
test eax, 0x80000000
je 0x4171bc
mov ecx, dword [0x4fb700]
mov dword [esp + 0x34], 1
cmp ecx, esi
mov dword [esp + 0x48], esi
mov eax, 0x20
je 0x416f49
mov eax, 0xa0
mov ecx, dword [esp + 0x14]
lea ebp, [esp + 0x48]
push ebp
push eax
mov edx, dword [ecx]
push esi
push ecx
call dword [edx + 0x10]
test eax, eax
jne 0x4171bc
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x14]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x417198
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x417198
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x40]
push edx
lea edx, [esp + 0x14]
mov dword [esp + 0x44], 0xf0000000
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0x24]
mov eax, dword [esp + 0x40]
test eax, 0x20000000
je 0x417169
test eax, 0x40000000
je 0x417064
push 0xc
call fcn.004c7e90
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x31c], 1
je 0x416ff3
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push 0
push edx
mov ecx, eax
call fcn.00404a90
jmp 0x416ff5
xor eax, eax
test eax, eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x31c], 0
je 0x417169
mov ecx, dword [esp + 0x30]
lea esi, [ecx + 1]
cmp edi, esi
jne 0x41704f
mov edx, ecx
lea eax, [edx*4 + 0x104]
push eax
call fcn.004c7e90
mov ebp, eax
mov ecx, esi
mov esi, dword [esp + 0x2c]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004c7e56
mov eax, dword [esp + 0x38]
add esp, 8
add eax, 0x40
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [edx + ecx*4], eax
inc ecx
mov dword [esp + 0x2c], ecx
jmp 0x417169
test eax, 0x10000000
je 0x417169
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 1
push eax
push ecx
call fcn.0044b600
mov esi, eax
add esp, 0xc
test esi, esi
mov dword [esp + 0x20], esi
je 0x417169
test dword [esp + 0x40], 0x40000000
jne 0x4170c3
push 0x4ee758
push esi
call fcn.004c7f40
add esp, 8
test eax, eax
je 0x4170c3
push 0x4ee750
push esi
call fcn.004c7f40
add esp, 8
test eax, eax
jne 0x417158
push 0xc
call fcn.004c7e90
add esp, 4
mov dword [esp + 0x54], eax
test eax, eax
mov byte [esp + 0x31c], 2
je 0x4170f4
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edx
push 0
push ecx
mov ecx, eax
call fcn.00404a90
mov ebx, eax
jmp 0x4170f6
xor ebx, ebx
test ebx, ebx
mov byte [esp + 0x31c], 0
je 0x417158
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
lea esi, [edx + 1]
cmp eax, esi
jne 0x417148
mov eax, edx
lea ecx, [eax*4 + 0x104]
push ecx
call fcn.004c7e90
mov edx, dword [esp + 0x2c]
mov ebp, eax
mov ecx, esi
mov esi, dword [esp + 0x2c]
mov edi, ebp
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.004c7e56
mov eax, dword [esp + 0x38]
add esp, 8
add eax, 0x40
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [ecx + eax*4], ebx
inc eax
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x20]
push edx
call fcn.004c7e56
mov ebx, dword [esp + 0x50]
add esp, 4
mov eax, dword [esp + 0x10]
push eax
call fcn.0044b4a0
mov eax, dword [esp + 0x4c]
add esp, 4
lea edx, [esp + 0x1c]
mov ecx, dword [eax]
push edx
lea edx, [esp + 0x14]
push edx
push 1
push eax
call dword [ecx + 0xc]
mov edi, dword [esp + 0x2c]
test eax, eax
je 0x416f80
mov eax, dword [esp + 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp edi, 2
jl 0x4171bc
mov edx, dword [esp + 0x28]
push 0x41c500
push 4
push edi
push edx
call fcn.004c7fc0
add esp, 0x10
mov eax, dword [esp + 0x28]
xor esi, esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x41723a
mov edi, dword [esp + 0x2c]
cmp esi, edi
jge 0x417495
xor ebp, ebp
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x10]
push edx
push 1
push 0x110a
push eax
call dword [sym.imp.user32.dll_SendMessageA]
test ebp, ebp
mov edi, eax
je 0x41728c
cmp esi, dword [esp + 0x2c]
jge 0x41726d
test esi, esi
jl 0x41724b
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
test eax, eax
je 0x41724b
push eax
push ebp
call fcn.00404b00
add esp, 8
test eax, eax
je 0x41724b
mov edx, dword [esp + 0x18]
push 0
push edx
mov ecx, ebx
call fcn.00416d20
mov eax, dword [esp + 0x10]
inc esi
mov dword [esp + 0x18], edi
add eax, 4
jmp 0x4171c2
mov ecx, dword [ebx + 0x10]
push eax
push ecx
call fcn.00404b60
add esp, 8
mov ebp, eax
jmp 0x4171dc
cmp esi, dword [esp + 0x2c]
jge 0x41726d
test esi, esi
jl 0x41726d
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x41726d
push eax
push ebp
call fcn.00404b30
add esp, 8
test eax, eax
je 0x41728c
mov ecx, dword [esp + 0x18]
mov edx, dword [ebx + 0x10]
push ecx
push 0
push 0x1101
push edx
call dword [sym.imp.user32.dll_SendMessageA]
mov dword [esp + 0x18], edi
jmp 0x4171c6
mov eax, dword [esp + 0x44]
test eax, eax
je 0x417299
mov ecx, dword [eax + 4]
jmp 0x41729b
xor ecx, ecx
mov ebp, dword [esp + 0x2c]
cmp esi, ebp
jge 0x4172af
test esi, esi
jl 0x4172af
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
jmp 0x4172b1
xor eax, eax
mov edx, dword [eax + 8]
push edx
push ecx
call fcn.0044b3d0
add esp, 8
cmp esi, ebp
mov edi, eax
jge 0x4172d0
test esi, esi
jl 0x4172d0
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
jmp 0x4172d2
xor eax, eax
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x14]
push 1
push ecx
push edx
call fcn.0044b600
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x4171c6
mov ebx, dword [sym.imp.shell32.dll_SHGetFileInfo]
push 0x4109
lea eax, [esp + 0xb8]
push 0x160
push eax
push 0
push edi
call ebx
mov ecx, dword [esp + 0xb8]
push 0x410b
lea edx, [esp + 0xb8]
push 0x160
push edx
push 0
push edi
mov dword [esp + 0x34], ecx
call ebx
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x1c], 0xf0000000
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
cmp esi, eax
jge 0x417355
test esi, esi
jl 0x417355
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
jmp 0x417357
xor ecx, ecx
mov eax, dword [esp + 0x14]
lea ebx, [esp + 0x1c]
add ecx, 8
push ebx
mov edx, dword [eax]
push ecx
push 1
push eax
call dword [edx + 0x24]
push 0xc
call fcn.004c7e90
add esp, 4
mov dword [esp + 0x54], eax
test eax, eax
mov byte [esp + 0x31c], 3
je 0x4173af
cmp esi, dword [esp + 0x2c]
jge 0x417398
test esi, esi
jl 0x417398
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
jmp 0x41739a
xor ecx, ecx
mov edx, dword [ecx + 8]
mov ecx, dword [esp + 0x14]
push edx
push edi
push ecx
mov ecx, eax
call fcn.00404a90
mov edi, eax
jmp 0x4173b1
xor edi, edi
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x324]
test eax, eax
mov byte [esp + 0x31c], 0
mov dword [esp + 0x80], edx
je 0x417481
mov ebx, dword [esp + 0x4c]
push eax
push 2
push 0x110a
mov ecx, dword [ebx + 0x10]
push ecx
call dword [sym.imp.user32.dll_SendMessageA]
test eax, eax
mov dword [esp + 0x84], eax
jne 0x4173ff
mov dword [esp + 0x84], 0xffff0001
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xa0], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x88], 0x6f
shr edx, 0x1f
mov dword [esp + 0xa8], edx
lea edx, [esp + 0x80]
push edx
push 0
push 0x1100
push eax
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xbc], edi
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0x60
call dword [sym.imp.user32.dll_SendMessageA]
push ebp
call fcn.004c7e56
mov eax, dword [esp + 0x14]
add esp, 4
inc esi
add eax, 4
jmp 0x4171c2
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x84], 0xffff0002
jmp 0x4173ff
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4174c8
cmp dword [esp + 0x78], edi
je 0x4174c8
mov edx, dword [ebx + 0x10]
lea ecx, [esp + 0x58]
push ecx
push 0
push 0x110d
push edx
mov dword [esp + 0x88], edi
mov dword [esp + 0x68], pe_nt_image_headers32
call dword [sym.imp.user32.dll_SendMessageA]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x31c], 0xffffffff
test eax, eax
je 0x417513
xor esi, esi
test edi, edi
jle 0x417513
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
cmp esi, eax
jge 0x417507
test esi, esi
jl 0x417507
mov edi, dword [ebx]
test edi, edi
je 0x417507
mov ecx, edi
call fcn.00404ad0
push edi
call fcn.004c7e56
add esp, 4
mov eax, dword [esp + 0x2c]
inc esi
add ebx, 4
cmp esi, eax
jl 0x4174ed
mov eax, dword [esp + 0x28]
push eax
call fcn.004c7e56
add esp, 4
mov ecx, dword [esp + 0x314]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x310
ret 8