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

Disassembly:
sub esp, 0x54
push ebx
mov ebx, dword [esp + 0x6c]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x41f67c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx + 4], 0
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x24]
push ebp
push esi
push edi
mov ecx, dword [eax + 4]
xor edi, edi
mov dword [esp + 0x2c], vtable.SmartCOMPointer_struct_IUnknown_.0
mov dword [esp + 0x30], edi
push edx
mov eax, dword [ecx]
push ecx
mov dword [esp + 0x2c], vtable.SmartCOMPointer_struct_IEnumVARIANT_.0
mov dword [esp + 0x30], edi
call dword [eax + 0x2c]
mov ebp, dword [esp + 0x7c]
mov esi, eax
test esi, esi
jns 0x41f709
push 0x44d260
push str.COM_error_occurred
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x441510
push str._s__Message:___s_
push eax
mov dword [esp + 0x30], edi
call fcn.00414640
add esp, 0x10
test al, al
je 0x41f6f6
push edi
push dword [esp + 0x20]
mov ecx, ebp
push esi
call fcn.00414cf0
test al, al
je 0x41f6f6
mov bl, 1
jmp 0x41f6f8
xor bl, bl
lea ecx, [esp + 0x1c]
call fcn.00405f30
test bl, bl
je 0x41fa9e
push ebp
push dword [esp + 0x34]
lea ecx, [esp + 0x2c]
call fcn.0041f5e0
test al, al
je 0x41fa9a
mov bl, 1
mov dword [esp + 0x18], 1
nop dword [eax]
cmp dword [esp + 0x18], 0
je 0x41fa21
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x58]
xor esi, esi
push edx
mov eax, dword [ecx]
push 1
push ecx
call dword [eax + 0xc]
mov edi, eax
test edi, edi
jns 0x41f7ad
push str.Get_Next_Rule
push str.COM_error_occurred
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0x441510
push str._s__Message:___s_
push eax
mov dword [esp + 0x48], esi
call fcn.00414640
add esp, 0x10
test al, al
je 0x41f79a
push esi
push dword [esp + 0x38]
mov ecx, ebp
push edi
call fcn.00414cf0
test al, al
je 0x41f79a
mov bl, 1
jmp 0x41f79c
xor bl, bl
lea ecx, [esp + 0x34]
call fcn.00405f30
test bl, bl
je 0x41fa0d
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x41f7f0
mov eax, dword [ecx]
lea edx, [esp + 0x1c]
push edx
push 0x44d604
push ecx
mov dword [esp + 0x28], esi
call dword [eax]
mov ecx, eax
test ecx, ecx
js 0x41f7de
mov eax, dword [esp + 0x1c]
test eax, eax
cmovne esi, eax
test esi, esi
setne al
jmp 0x41f7ff
mov eax, dword [ebp]
push ecx
push str.Error_0x_X
push ebp
call dword [eax + 0x20]
add esp, 0xc
jmp 0x41f7ff
mov eax, dword [ebp]
mov ecx, ebp
push str.Null_pointer_reference
mov eax, dword [eax + 4]
call eax
test al, al
je 0x41fa0d
cmp dword [esp + 0x18], 0
mov bl, 1
je 0x41fa0f
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x14], 0
call fcn.00408290
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [eax + 0x1c]
mov edi, eax
test edi, edi
jns 0x41f89d
push str.Get_Rule_Application_Name
push str.COM_error_occurred
lea eax, [esp + 0x44]
mov dword [esp + 0x44], 0x441510
push str._s__Message:___s_
push eax
mov dword [esp + 0x50], 0
call fcn.00414640
add esp, 0x10
test al, al
je 0x41f88a
push 0
push dword [esp + 0x40]
mov ecx, ebp
push edi
call fcn.00414cf0
test al, al
je 0x41f88a
jmp 0x41f88c
xor bl, bl
lea ecx, [esp + 0x3c]
call fcn.00405f30
test bl, bl
je 0x41f97b
lea ecx, [esp + 0x68]
call fcn.00408290
mov eax, dword [esi]
lea ecx, [esp + 0x68]
push ecx
push esi
call dword [eax + 0x2c]
mov edi, eax
test edi, edi
jns 0x41f90c
push str.Get_Rule_Application_Name
push str.COM_error_occurred
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], 0x441510
push str._s__Message:___s_
push eax
mov dword [esp + 0x58], 0
call fcn.00414640
add esp, 0x10
test al, al
je 0x41f8fd
push 0
push dword [esp + 0x48]
mov ecx, ebp
push edi
call fcn.00414cf0
test al, al
je 0x41f8fd
mov bl, 1
jmp 0x41f8ff
xor bl, bl
lea ecx, [esp + 0x44]
call fcn.00405f30
test bl, bl
je 0x41f97b
lea ecx, [esp + 0x14]
call fcn.00408290
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [eax + 0x44]
mov edi, eax
test edi, edi
jns 0x41f97f
push str.Get_Rule_Application_Name
push str.COM_error_occurred
lea eax, [esp + 0x54]
mov dword [esp + 0x54], 0x441510
push str._s__Message:___s_
push eax
mov dword [esp + 0x60], 0
call fcn.00414640
add esp, 0x10
test al, al
je 0x41f96c
push 0
push dword [esp + 0x50]
mov ecx, ebp
push edi
call fcn.00414cf0
test al, al
je 0x41f96c
mov bl, 1
jmp 0x41f96e
xor bl, bl
lea ecx, [esp + 0x4c]
call fcn.00405f30
test bl, bl
jne 0x41f97f
xor bl, bl
jmp 0x41f9f0
mov eax, dword [esp + 0x10]
mov bl, 1
test eax, eax
je 0x41f9f0
cmp word [eax], 0
je 0x41f9f0
mov eax, dword [esp + 0x68]
test eax, eax
je 0x41f9f0
cmp word [eax], 0
je 0x41f9f0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41f9f0
cmp word [eax], 0
je 0x41f9f0
push 0xa
push 0
push eax
call fcn.0043009c
push dword [esp + 0x78]
mov edi, eax
push dword [esp + 0x78]
call fcn.0040f9c0
add esp, 0x14
test al, al
je 0x41f9f0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x41f9e4
push dword [esp + 0x10]
push eax
call fcn.0040f9c0
add esp, 8
test al, al
je 0x41f9f0
mov eax, dword [esp + 0x74]
test eax, eax
je 0x41fa4f
cmp eax, edi
je 0x41fa4f
lea ecx, [esp + 0x14]
call fcn.00408290
lea ecx, [esp + 0x68]
call fcn.00408290
lea ecx, [esp + 0x10]
call fcn.00408290
jmp 0x41fa0f
xor bl, bl
test esi, esi
je 0x41fa19
mov eax, dword [esi]
push esi
call dword [eax + 8]
test bl, bl
jne 0x41f730
mov edi, dword [esp + 0x28]
test edi, edi
je 0x41fa2f
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], vtable.SmartCOMPointer_struct_IUnknown_.0
pop edi
pop esi
pop ebp
test eax, eax
je 0x41fa48
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
pop ebx
add esp, 0x54
ret
mov edi, dword [esp + 0x78]
mov ecx, dword [edi + 4]
cmp ecx, esi
je 0x41fa69
test ecx, ecx
je 0x41fa64
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 4], esi
mov ecx, esi
test ecx, ecx
je 0x41fa73
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
lea ecx, [esp + 0x14]
call fcn.00408290
lea ecx, [esp + 0x68]
call fcn.00408290
lea ecx, [esp + 0x10]
call fcn.00408290
test esi, esi
je 0x41fa21
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x41fa21
mov edi, dword [esp + 0x28]
xor bl, bl
mov dword [esp + 0x18], 1
jmp 0x41fa25