Function at 0x4089d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x435fc8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x448fb0]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
push 0xa
lea ecx, [esp + 0x3c]
call fcn.004156a6
mov dword [esp + 0x38], vtable.CTypedPtrList_class_CPtrList__class_CACE__.0
mov eax, dword [esi + 0x78]
xor ebx, ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x4092f6
jmp 0x408a30
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x409333
mov esi, dword [eax + 8]
cmp dword [esi + 0x14], 0xb
mov ebp, dword [eax]
mov dword [esp + 0x18], ebp
jne 0x408a76
mov edi, dword [esp + 0x14]
push esi
mov ecx, edi
mov dword [esi + 0x14], 6
call fcn.00404fa0
push eax
lea ecx, [edi + 0x74]
mov dword [eax + 0x14], 5
call fcn.00415736
cmp ebp, ebx
jne 0x408a76
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x24]
mov dword [esi + 0x1c], ebx
call fcn.00414ff6
lea eax, [esp + 0x24]
push eax
mov eax, dword [esi + 8]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov edi, esp
push eax
mov byte [esp + 0x68], 1
call fcn.00402730
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x43a9e4
mov byte [esp + 0x6c], 2
call fcn.004077e0
mov byte [esp + 0x68], 1
call fcn.00404410
add esp, 0xc
cmp eax, ebx
je 0x409338
mov ecx, dword [esp + 0x2c]
xor ebp, ebp
cmp ecx, ebx
jle 0x4092db
lea edi, [ebp + 2]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x50]
cmp eax, 1
jne 0x408e41
cmp ebp, ebx
jl 0x409333
cmp ebp, ecx
jge 0x409333
mov eax, dword [esp + 0x28]
mov eax, dword [eax + ebp*4]
push str.read
push eax
call fcn.004217b8
add esp, 8
cmp eax, ebx
jne 0x408b24
or dword [esi + 0x1c], 0x20089
jmp 0x408e1f
cmp ebp, dword [esp + 0x2c]
jge 0x409333
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + ebp*4]
push str.write
push eax
call fcn.004217b8
add esp, 8
cmp eax, ebx
jne 0x408b53
or dword [esi + 0x1c], 0x116
jmp 0x408e1f
cmp ebp, dword [esp + 0x2c]
jge 0x409333
mov edx, dword [esp + 0x28]
mov eax, dword [edx + ebp*4]
push str.list_folder
push eax
call fcn.004217b8
add esp, 8
cmp eax, ebx
jne 0x408b95
or dword [esi + 0x1c], 0x200a9
cmp dword [esi + 0x10], ebx
jne 0x408e1f
mov dword [esi + 0x10], 1
mov dword [esi + 0xc], edi
jmp 0x408e1f
cmp ebp, dword [esp + 0x2c]
jge 0x409333
mov eax, dword [esp + 0x28]
mov eax, dword [eax + ebp*4]
push str.read_ex
push eax
call fcn.004217b8
add esp, 8
cmp eax, ebx
jne 0x408bc4
or dword [esi + 0x1c], 0x200a9
jmp 0x408e1f
cmp ebp, dword [esp + 0x2c]
jge 0x409333
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + ebp*4]
push str.change
push eax
call fcn.004217b8
add esp, 8
cmp eax, ebx
jne 0x408bf3
or dword [esi + 0x1c], 0x301bf
jmp 0x408e1f
cmp ebp, dword [esp + 0x2c]
jge 0x409333
mov edx, dword [esp + 0x28]
mov eax, dword [edx + ebp*4]
push str.profile
push eax
call fcn.004217b8
add esp, 8
cmp eax, ebx
jne 0x408c22
or dword [esi + 0x1c], 0x701bf
jmp 0x408e1f
cmp ebp, dword [esp + 0x2c]
jge 0x409333
mov eax, dword [esp + 0x28]
mov eax, dword [eax + ebp*4]
push str.full
push eax
call fcn.004217b8
add esp, 8
cmp eax, ebx
jne 0x408c51
or dword [esi + 0x1c], 0xf01ff
jmp 0x408e1f
push str.traverse
push ebp
lea ecx, [esp + 0x2c]
call fcn.00401200
mov ecx, eax
call fcn.00402410
test eax, eax
jne 0x408c74
or dword [esi + 0x1c], 0x20
jmp 0x408e1f
push str.list_dir
push ebp
lea ecx, [esp + 0x2c]
call fcn.00401200
mov ecx, eax
call fcn.00402410
test eax, eax
jne 0x408c97
or dword [esi + 0x1c], 1
jmp 0x408e1f
push str.read_attr
push ebp
lea ecx, [esp + 0x2c]
call fcn.00401200
mov ecx, eax
call fcn.00402410
test eax, eax
jne 0x408cbd
or dword [esi + 0x1c], 0x80
jmp 0x408e1f
push str.read_ea
push ebp
lea ecx, [esp + 0x2c]
call fcn.00401200
mov ecx, eax
call fcn.00402410
test eax, eax
jne 0x408ce0
or dword [esi + 0x1c], 8
jmp 0x408e1f
push str.add_file
push ebp
lea ecx, [esp + 0x2c]
call fcn.00401200
mov ecx, eax
call fcn.00402410
test eax, eax
jne 0x408d02
or dword [esi + 0x1c], edi
jmp 0x408e1f
push str.add_subdir
push ebp
lea ecx, [esp + 0x2c]
call fcn.00401200
mov ecx, eax
call fcn.00402410
test eax, eax
jne 0x408d25
or dword [esi + 0x1c], 4
jmp 0x408e1f
push str.write_attr
push ebp
lea ecx, [esp + 0x2c]
call fcn.00401200
mov ecx, eax
call fcn.00402410
test eax, eax
jne 0x408d4b
or dword [esi + 0x1c], 0x100
jmp 0x408e1f
push str.write_ea
push ebp
lea ecx, [esp + 0x2c]
call fcn.00401200
mov ecx, eax
call fcn.00402410
test eax, eax
jne 0x408d6e
or dword [esi + 0x1c], 0x10
jmp 0x408e1f
push str.del_child
push ebp
lea ecx, [esp + 0x2c]
call fcn.00401200
mov ecx, eax
call fcn.00402410
test eax, eax
jne 0x408d91
or dword [esi + 0x1c], 0x40
jmp 0x408e1f
push str.delete
push ebp
lea ecx, [esp + 0x2c]
call fcn.00401200
mov ecx, eax
call fcn.00402410
test eax, eax
jne 0x408db4
or dword [esi + 0x1c], 0x10000
jmp 0x408e1f
push str.read_dacl
push ebp
lea ecx, [esp + 0x2c]
call fcn.00401200
mov ecx, eax
call fcn.00402410
test eax, eax
jne 0x408dd7
or dword [esi + 0x1c], 0x20000
jmp 0x408e1f
push str.write_dacl
push ebp
lea ecx, [esp + 0x2c]
call fcn.00401200
mov ecx, eax
call fcn.00402410
test eax, eax
jne 0x408dfa
or dword [esi + 0x1c], 0x40000
jmp 0x408e1f
push str.write_owner
push ebp
lea ecx, [esp + 0x2c]
call fcn.00401200
mov ecx, eax
call fcn.00402410
test eax, eax
jne 0x40936f
or dword [esi + 0x1c], 0x80000
cmp dword [esi + 0x14], 3
je 0x408e2c
or dword [esi + 0x1c], 0x100000
cmp dword [esi + 0x10], ebx
jne 0x4092ba
mov dword [esi + 0xc], 3
jmp 0x4092ba
cmp eax, 3
jne 0x408f86
cmp ebp, ebx
jl 0x409333
cmp ebp, ecx
jge 0x409333
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + ebp*4]
push str.print
push eax
call fcn.004217b8
add esp, 8
cmp eax, ebx
jne 0x408e7f
or dword [esi + 0x1c], 0x20008
jmp 0x4092b2
cmp ebp, dword [esp + 0x2c]
jge 0x409333
mov edx, dword [esp + 0x28]
mov eax, dword [edx + ebp*4]
push str.man_printer
push eax
call fcn.004217b8
add esp, 8
cmp eax, ebx
jne 0x408eae
or dword [esi + 0x1c], 0xf000c
jmp 0x4092b2
cmp ebp, dword [esp + 0x2c]
jge 0x409333
mov eax, dword [esp + 0x28]
mov eax, dword [eax + ebp*4]
push str.man_docs
push eax
call fcn.004217b8
add esp, 8
cmp eax, ebx
jne 0x408f16
cmp dword [esi + 0x10], ebx
je 0x408ef0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.WARNING:_You_specified_inheritance_flags__which_is_incompatible_with_man_docs._Your_flags_are_being_ignored_in_order_to_be_able_to_set_standard_manage_documents_permissions.
call fcn.004077e0
mov ecx, dword [esp + 0x18]
call fcn.00403f90
mov ecx, dword [esp + 0x14]
push esi
call fcn.00404fa0
mov edi, eax
push edi
lea ecx, [esp + 0x3c]
call fcn.00415736
mov dword [esi + 0x1c], 0x20000
mov dword [esi + 0xc], 0xa
jmp 0x408f62
cmp ebp, dword [esp + 0x2c]
jge 0x409333
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + ebp*4]
push str.full
push eax
call fcn.004217b8
add esp, 8
cmp eax, ebx
jne 0x4093a6
cmp dword [esi + 0x10], ebx
jne 0x408f7a
mov ecx, dword [esp + 0x14]
push esi
call fcn.00404fa0
mov edi, eax
push edi
lea ecx, [esp + 0x3c]
call fcn.00415736
mov dword [esi + 0x1c], 0xf000c
mov dword [esi + 0xc], ebx
mov dword [edi + 0x1c], 0xf0030
mov dword [edi + 0xc], 9
mov edi, 2
jmp 0x4092ba
or dword [esi + 0x1c], 0xf000c
jmp 0x4092ba
cmp eax, 4
jne 0x40917e
cmp ebp, ebx
jl 0x409333
cmp ebp, ecx
jge 0x409333
mov edx, dword [esp + 0x28]
mov eax, dword [edx + ebp*4]
push str.read
push eax
call fcn.004217b8
add esp, 8
cmp eax, ebx
jne 0x408fc4
or dword [esi + 0x1c], 0x20019
jmp 0x40916d
cmp ebp, dword [esp + 0x2c]
jge 0x409333
mov eax, dword [esp + 0x28]
mov eax, dword [eax + ebp*4]
push str.full
push eax
call fcn.004217b8
add esp, 8
cmp eax, ebx
jne 0x408ff3
or dword [esi + 0x1c], 0xf003f
jmp 0x40916d
cmp ebp, dword [esp + 0x2c]
jge 0x409333
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + ebp*4]
push str.query_val
push eax
call fcn.004217b8
add esp, 8
cmp eax, ebx
jne 0x40901f
or dword [esi + 0x1c], 1
jmp 0x40916d
cmp ebp, dword [esp + 0x2c]
jge 0x409333
mov edx, dword [esp + 0x28]
mov eax, dword [edx + ebp*4]
push str.set_val
push eax
call fcn.004217b8
add esp, 8
cmp eax, ebx
jne 0x40904a
or dword [esi + 0x1c], edi
jmp 0x40916d
cmp ebp, dword [esp + 0x2c]
jge 0x409333
mov eax, dword [esp + 0x28]
mov eax, dword [eax + ebp*4]
push str.create_subkey
push eax
call fcn.004217b8
add esp, 8
cmp eax, ebx
jne 0x409076
or dword [esi + 0x1c], 4
jmp 0x40916d
push str.enum_subkeys
push ebp
lea ecx, [esp + 0x2c]
call fcn.00401200
mov ecx, eax
call fcn.00402410
test eax, eax
jne 0x409099
or dword [esi + 0x1c], 8
jmp 0x40916d
push str.notify
push ebp
lea ecx, [esp + 0x2c]
call fcn.00401200
mov ecx, eax
call fcn.00402410
test eax, eax
jne 0x4090bc
or dword [esi + 0x1c], 0x10
jmp 0x40916d
push str.create_link
push ebp
lea ecx, [esp + 0x2c]
call fcn.00401200
mov ecx, eax
call fcn.00402410
test eax, eax
jne 0x4090df
or dword [esi + 0x1c], 0x20
jmp 0x40916d
push str.delete
push ebp
lea ecx, [esp + 0x2c]
call fcn.00401200
mov ecx, eax
call fcn.00402410
test eax, eax
jne 0x409102
or dword [esi + 0x1c], 0x10000
jmp 0x40916d
push str.write_dacl
push ebp
lea ecx, [esp + 0x2c]
call fcn.00401200
mov ecx, eax
call fcn.00402410
test eax, eax
jne 0x409125
or dword [esi + 0x1c], 0x40000
jmp 0x40916d
push str.write_owner
push ebp
lea ecx, [esp + 0x2c]
call fcn.00401200
mov ecx, eax
call fcn.00402410
test eax, eax
jne 0x409148
or dword [esi + 0x1c], 0x80000
jmp 0x40916d
push str.read_access
push ebp
lea ecx, [esp + 0x2c]
call fcn.00401200
mov ecx, eax
call fcn.00402410
test eax, eax
jne 0x4093dd
or dword [esi + 0x1c], 0x20000
cmp dword [esi + 0x10], ebx
jne 0x4092ba
mov dword [esi + 0xc], edi
jmp 0x4092ba
cmp eax, edi
jne 0x40921d
cmp ebp, ebx
jl 0x409333
cmp ebp, ecx
jge 0x409333
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + ebp*4]
push str.read
push eax
call fcn.004217b8
add esp, 8
cmp eax, ebx
jne 0x4091bb
or dword [esi + 0x1c], 0x2018d
jmp 0x4092b2
cmp ebp, dword [esp + 0x2c]
jge 0x409333
mov edx, dword [esp + 0x28]
mov eax, dword [edx + ebp*4]
push str.start_stop
push eax
call fcn.004217b8
add esp, 8
cmp eax, ebx
jne 0x4091ea
or dword [esi + 0x1c], 0x201fd
jmp 0x4092b2
cmp ebp, dword [esp + 0x2c]
jge 0x409333
mov eax, dword [esp + 0x28]
mov eax, dword [eax + ebp*4]
push str.full
push eax
call fcn.004217b8
add esp, 8
cmp eax, ebx
jne 0x409414
or dword [esi + 0x1c], 0xf01ff
jmp 0x4092b2
cmp eax, 5
jne 0x4092ba
cmp ebp, ebx
jl 0x409333
cmp ebp, ecx
jge 0x409333
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + ebp*4]
push str.read
push eax
call fcn.004217b8
add esp, 8
cmp eax, ebx
jne 0x409258
or dword [esi + 0x1c], 0x1200a9
jmp 0x4092b2
cmp ebp, dword [esp + 0x2c]
jge 0x409333
mov edx, dword [esp + 0x28]
mov eax, dword [edx + ebp*4]
push str.change
push eax
call fcn.004217b8
add esp, 8
cmp eax, ebx
jne 0x409284
or dword [esi + 0x1c], 0x1301bf
jmp 0x4092b2
cmp ebp, dword [esp + 0x2c]
jge 0x409333
mov eax, dword [esp + 0x28]
mov eax, dword [eax + ebp*4]
push str.full
push eax
call fcn.004217b8
add esp, 8
cmp eax, ebx
jne 0x40944b
or dword [esi + 0x1c], 0x1f01ff
cmp dword [esi + 0x10], ebx
jne 0x4092ba
mov dword [esi + 0xc], ebx
mov eax, dword [esi + 0x14]
cmp eax, 6
je 0x4092c7
cmp eax, 5
jne 0x4092ce
and dword [esi + 0x1c], 0xffefffff
mov ecx, dword [esp + 0x2c]
inc ebp
cmp ebp, ecx
jl 0x408adf
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], bl
call fcn.00415349
cmp dword [esp + 0x18], ebx
jne 0x408a30
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esi + 0x74]
call fcn.00415764
lea ecx, [esp + 0x38]
call fcn.00415626
lea ecx, [esp + 0x38]
mov dword [esp + 0x5c], 0xffffffff
call fcn.004156ce
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
call fcn.00414d29
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], bl
call fcn.00415349
lea ecx, [esp + 0x38]
mov dword [esp + 0x5c], 0xffffffff
call fcn.004156ce
mov eax, 3
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], bl
call fcn.00415349
lea ecx, [esp + 0x38]
mov dword [esp + 0x5c], 0xffffffff
call fcn.004156ce
mov eax, 7
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], bl
call fcn.00415349
lea ecx, [esp + 0x38]
mov dword [esp + 0x5c], 0xffffffff
call fcn.004156ce
mov eax, 8
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], bl
call fcn.00415349
lea ecx, [esp + 0x38]
mov dword [esp + 0x5c], 0xffffffff
call fcn.004156ce
mov eax, 9
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], bl
call fcn.00415349
lea ecx, [esp + 0x38]
mov dword [esp + 0x5c], 0xffffffff
call fcn.004156ce
mov eax, 0xa
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], bl
call fcn.00415349
lea ecx, [esp + 0x38]
mov dword [esp + 0x5c], 0xffffffff
call fcn.004156ce
mov eax, 0xb
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret