Function at 0x411b30
Capabilities:
Access peb ldr_data
Inspect section memory permissions

Disassembly:
push 0xffffffffffffffff
push 0x42055a
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x432578]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x40]
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov eax, dword [edi + 0x50]
cmp eax, 1
mov dword [esp + 0x38], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0x120089
mov dword [esp + 0x14], 0x120116
mov dword [esp + 0x18], 0x1200a0
mov dword [esp + 0x1c], 0x1f01ff
mov dword [esp + 0x20], 0x120019
mov dword [esp + 0x24], 0x20006
mov dword [esp + 0x28], 0x20019
mov dword [esp + 0x2c], 0xf003f
jne 0x411d57
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.ADVAPI32.dll_MapGenericMask]
mov eax, dword [esp + 0x44]
and eax, 0xffefffff
mov dword [esp + 0x44], eax
and eax, 0xf01ff
cmp eax, 0xf01ff
jne 0x411c05
push str.full
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
and dword [esp + 0x44], 0xfff0fe00
mov edx, dword [esp + 0x44]
and edx, 0x301bf
cmp edx, 0x301bf
jne 0x411c2c
push 0x426b70
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
and dword [esp + 0x44], 0xfffcfe40
mov eax, dword [esp + 0x44]
and eax, 0x200a9
cmp eax, 0x200a9
jne 0x411c51
push str.read_execute
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
and dword [esp + 0x44], 0xfffdff56
mov ecx, dword [esp + 0x44]
and ecx, 0x116
cmp ecx, 0x116
jne 0x411c78
push 0x426b44
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
and dword [esp + 0x44], 0xfffffee9
mov edx, dword [esp + 0x44]
and edx, 0x20089
cmp edx, 0x20089
jne 0x411c9f
push 0x426b38
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
and dword [esp + 0x44], 0xfffdff76
test byte [esp + 0x44], 1
je 0x411cb3
push str.FILE_LIST_DIRECTORY
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test byte [esp + 0x44], 2
je 0x411cc7
push str.FILE_ADD_FILE
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test byte [esp + 0x44], 4
je 0x411cdb
push str.FILE_ADD_SUBDIRECTORY
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test byte [esp + 0x44], 8
je 0x411cef
push str.FILE_READ_EA
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test byte [esp + 0x44], 0x10
je 0x411d03
push str.FILE_WRITE_EA
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test byte [esp + 0x44], 0x20
je 0x411d17
push str.FILE_TRAVERSE
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test byte [esp + 0x44], 0x40
je 0x411d2b
push str.FILE_DELETE_CHILD
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test byte [esp + 0x44], 0x80
je 0x411d3f
push str.FILE_READ_ATTRIBUTES
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test dword [esp + 0x44], 0x100
je 0x412136
push str.FILE_WRITE_ATTRIBUTES
jmp 0x41212e
cmp eax, 4
jne 0x411e7a
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.ADVAPI32.dll_MapGenericMask]
mov edx, dword [esp + 0x44]
and edx, 0xf003f
cmp edx, 0xf003f
jne 0x411d97
push str.full
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
and dword [esp + 0x44], 0xfff0ffc0
mov eax, dword [esp + 0x44]
and eax, 0x20019
cmp eax, 0x20019
jne 0x411dbc
push 0x426b38
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
and dword [esp + 0x44], 0xfffdffe6
test byte [esp + 0x44], 0x20
je 0x411dd0
push str.KEY_CREATE_LINK
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test byte [esp + 0x44], 4
je 0x411de4
push str.KEY_CREATE_SUB_KEY
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test byte [esp + 0x44], 8
je 0x411df8
push str.KEY_ENUMERATE_SUB_KEYS
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test dword [esp + 0x44], 0x20019
je 0x411e0f
push str.KEY_EXECUTE
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test byte [esp + 0x44], 0x10
je 0x411e23
push str.KEY_NOTIFY
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test byte [esp + 0x44], 1
je 0x411e37
push str.KEY_QUERY_VALUE
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test dword [esp + 0x44], 0x20019
je 0x411e4e
push str.KEY_READ
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test byte [esp + 0x44], 2
je 0x411e62
push str.KEY_SET_VALUE
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test dword [esp + 0x44], 0x20006
je 0x412136
push str.KEY_WRITE
jmp 0x41212e
cmp eax, 2
jne 0x411fae
mov ecx, dword [esp + 0x44]
and ecx, 0xf01ff
cmp ecx, 0xf01ff
jne 0x411eaa
push str.full
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
and dword [esp + 0x44], 0xfff0fe00
mov edx, dword [esp + 0x44]
and edx, 0x201fd
cmp edx, 0x201fd
jne 0x411ed1
push str.start_stop
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
and dword [esp + 0x44], 0xfffdfe02
mov eax, dword [esp + 0x44]
and eax, 0x2018d
cmp eax, 0x2018d
jne 0x411ef6
push 0x426b38
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
and dword [esp + 0x44], 0xfffdfe72
test byte [esp + 0x44], 2
je 0x411f0a
push str.SERVICE_CHANGE_CONFIG
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test byte [esp + 0x44], 8
je 0x411f1e
push str.SERVICE_ENUMERATE_DEPENDENTS
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test byte [esp + 0x44], 0x80
je 0x411f32
push str.SERVICE_INTERROGATE
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test byte [esp + 0x44], 0x40
je 0x411f46
push str.SERVICE_PAUSE_CONTINUE
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test byte [esp + 0x44], 1
je 0x411f5a
push str.SERVICE_QUERY_CONFIG
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test byte [esp + 0x44], 4
je 0x411f6e
push str.SERVICE_QUERY_STATUS
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test byte [esp + 0x44], 0x10
je 0x411f82
push str.SERVICE_START
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test byte [esp + 0x44], 0x20
je 0x411f96
push str.SERVICE_STOP
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test dword [esp + 0x44], 0x100
je 0x412136
push str.SERVICE_USER_DEFINED_CONTROL
jmp 0x41212e
cmp eax, 3
jne 0x41207b
mov ecx, dword [esp + 0x44]
and ecx, 0xf000c
cmp ecx, 0xf000c
jne 0x411fde
push str.manage_printer
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
and dword [esp + 0x44], 0xfff0fff3
mov edx, dword [esp + 0x44]
and edx, 0xf0030
cmp edx, 0xf0030
jne 0x412005
push str.manage_documents
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
and dword [esp + 0x44], 0xfff0ffcf
mov eax, dword [esp + 0x44]
and eax, 0x20008
cmp eax, 0x20008
jne 0x41202a
push 0x4266b8
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
and dword [esp + 0x44], 0xfffdfff7
test byte [esp + 0x44], 4
je 0x41203e
push str.PRINTER_ACCESS_ADMINISTER
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test byte [esp + 0x44], 8
je 0x412052
push str.PRINTER_ACCESS_USE
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test byte [esp + 0x44], 0x10
je 0x412066
push str.JOB_ACCESS_ADMINISTER
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test byte [esp + 0x44], 0x20
je 0x412136
push str.JOB_ACCESS_READ
jmp 0x41212e
cmp eax, 5
jne 0x412229
mov ecx, dword [esp + 0x44]
and ecx, 0x1f01ff
cmp ecx, 0x1f01ff
jne 0x4120ab
push str.full
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
and dword [esp + 0x44], 0xffe0fe00
mov edx, dword [esp + 0x44]
and edx, 0x1301bf
cmp edx, 0x1301bf
jne 0x4120d2
push 0x426b70
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
and dword [esp + 0x44], 0xffecfe40
mov eax, dword [esp + 0x44]
and eax, 0x1200a9
cmp eax, 0x1200a9
jne 0x4120f7
push 0x426b38
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
and dword [esp + 0x44], 0xffedff56
test dword [esp + 0x44], 0x1bf
je 0x41210e
push str.SHARE_READ
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test byte [esp + 0x44], 0xa9
je 0x412122
push str.SHARE_CHANGE
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test byte [esp + 0x44], 0x40
je 0x412136
push str.SHARE_WRITE
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test dword [esp + 0x44], 0x20000
je 0x41214d
push str.READ_CONTROL
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test dword [esp + 0x44], 0x80000
je 0x412164
push str.WRITE_OWNER
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test dword [esp + 0x44], 0x40000
je 0x41217b
push str.WRITE_DAC
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test dword [esp + 0x44], 0x10000
je 0x412192
push str.DELETE
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test dword [esp + 0x44], 0x100000
je 0x4121a9
push str.SYNCHRONIZE
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test dword [esp + 0x44], 0x1000000
je 0x4121c0
push str.ACCESS_SYSTEM_SECURITY
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test dword [esp + 0x44], 0x10000000
je 0x4121d7
push str.GENERIC_ALL
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test dword [esp + 0x44], 0x20000000
je 0x4121ee
push str.GENERIC_EXECUTE
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test dword [esp + 0x44], 0x80000000
je 0x412205
push str.GENERIC_READ
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
test dword [esp + 0x44], 0x40000000
je 0x41221c
push 0x42648c
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
push 0x426488
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_6172]
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 8