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

Disassembly:
push 0xac
mov eax, 0x42f67d
call fcn.004148fb
mov esi, ecx
mov dword [ebp - 0x78], esi
mov dword [ebp - 0xb0], esi
xor ebx, ebx
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0x74], ebx
push 7
pop edi
xor eax, eax
mov dword [ebp - 4], ebx
push 0x4061bc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
call fcn.0040b660
xor eax, eax
mov byte [ebp - 4], 1
push 0x4061bc
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x44], ax
call fcn.0040b660
push 2
pop ebx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], bl
push eax
mov ecx, esi
call fcn.0040b470
lea eax, [esi + 0x1c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xb0], eax
push ecx
mov ecx, eax
call fcn.0040b470
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.0040b613
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040b613
xor edx, edx
mov dword [esi + 0x5c], edi
xor ecx, ecx
mov dword [esi + 0x58], edx
mov word [esi + 0x48], cx
xor eax, eax
mov dword [esi + 0x78], edi
mov dword [esi + 0x74], edx
mov word [esi + 0x64], ax
lea eax, [esi + 0x7c]
mov dword [eax + 0x18], edi
mov dword [eax + 0x14], edx
mov dword [ebp - 0x7c], eax
mov word [eax + 4], cx
lea ecx, [esi + 0x98]
mov byte [ebp - 4], 9
call fcn.00416508
lea ecx, [esi + 0xdc]
mov byte [ebp - 4], 0xa
call fcn.00416614
lea ecx, [esi + 0x120]
mov byte [ebp - 4], 0xb
call fcn.0041669a
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x164]
call fcn.0041658e
xor ecx, ecx
mov dword [esi + 0x1ac], ecx
mov dword [esi + 0x1b0], ecx
mov dword [esi + 0x1b4], ecx
lea eax, [esi + 0x1bc]
mov dword [eax + 0x18], edi
mov dword [eax + 0x14], ecx
mov dword [ebp - 0xb4], eax
mov word [eax + 4], cx
mov dword [esi + 0x1fc], edi
xor eax, eax
xor edi, edi
mov dword [esi + 0x1f8], edi
mov word [esi + 0x1e8], ax
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
mov dword [ebp + 0x18], edi
push eax
call dword [sym.imp.ATL.DLL_AtlComPtrAssign]
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x88], edi
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x80], edi
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 0x1a
push eax
push str.componentType
lea ecx, [ebp + 8]
call fcn.00409353
test al, al
jne 0x416c3c
push str.componentType
call fcn.00415189
lea eax, [ebp - 0x94]
push eax
push str.restoreTarget
lea ecx, [ebp + 8]
call fcn.00409353
lea eax, [ebp - 0x88]
push eax
push str.logicalPath
lea ecx, [ebp + 8]
call fcn.00409353
lea eax, [ebp - 0x84]
push eax
push str.backupStamp
lea ecx, [ebp + 8]
call fcn.00409353
lea eax, [ebp - 0x90]
push eax
push str.instanceName
lea ecx, [ebp + 8]
call fcn.00409353
lea eax, [ebp - 0x80]
push eax
push str.caption
lea ecx, [ebp + 8]
call fcn.00409353
lea eax, [ebp - 0xa4]
push eax
push str.componentName
lea ecx, [ebp + 8]
call fcn.00409353
test al, al
jne 0x416cbf
push str.componentName
call fcn.00415189
lea eax, [ebp - 0xa0]
push eax
push str.selectable
lea ecx, [ebp + 8]
call fcn.00409353
test al, al
jne 0x416ce1
push str.selectable
call fcn.00415189
lea eax, [ebp - 0x9c]
push eax
push str.selectableForRestore
lea ecx, [ebp + 8]
call fcn.00409353
test al, al
jne 0x416d03
push str.selectableForRestore
call fcn.00415189
lea eax, [ebp - 0x98]
push eax
push str.autoRecover
lea ecx, [ebp + 8]
call fcn.00409353
test al, al
jne 0x416d25
push str.autoRecover
call fcn.00415189
push dword [ebp - 0xa8]
call fcn.004154e1
cmp dword [ebp - 0x94], 0
mov dword [esi + 0x38], eax
je 0x416d59
push dword [ebp - 0x94]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x416d59
push dword [ebp - 0x94]
call fcn.00415965
jmp 0x416d5b
mov eax, edi
cmp dword [ebp - 0x84], 0
mov dword [esi + 0x3c], eax
je 0x416da7
push dword [ebp - 0x84]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x416da7
push dword [ebp - 0x84]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push dword [ebp - 0x84]
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
mov dword [ebp - 0xac], edi
mov esi, dword [ebp - 0xac]
xor ebx, ebx
mov byte [ebp - 4], 0x1b
inc ebx
jmp 0x416dc7
push 0x4061bc
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0xac], esi
mov edi, dword [ebp - 0xac]
mov dword [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x7c]
push eax
mov dword [ebp - 0x74], ebx
call fcn.0040b660
test bl, 2
je 0x416de2
push esi
and ebx, 0xfffffffd
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 4], 0x1a
test bl, 1
je 0x416df8
push edi
and ebx, 0xfffffffe
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x88], 0
je 0x416e3b
push dword [ebp - 0x88]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x416e3b
push dword [ebp - 0x88]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push dword [ebp - 0x88]
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
mov dword [ebp - 0x7c], edi
mov esi, dword [ebp - 0x7c]
or ebx, 4
mov byte [ebp - 4], 0x1d
jmp 0x416e58
push 0x4061bc
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x7c], esi
mov edi, dword [ebp - 0x7c]
or ebx, 8
mov dword [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x78]
push eax
mov dword [ebp - 0x74], ebx
call fcn.0040b660
test bl, 8
je 0x416e73
push esi
and ebx, 0xfffffff7
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 4], 0x1a
test bl, 4
je 0x416e89
push edi
and ebx, 0xfffffffb
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0xa0]
call fcn.004154a0
mov esi, dword [ebp - 0x78]
push dword [ebp - 0x9c]
mov byte [esi + 0x40], al
call fcn.004154a0
push dword [ebp - 0x98]
mov byte [esi + 0x41], al
call fcn.00415566
cmp dword [ebp - 0x80], 0
mov dword [esi + 0x1b8], eax
je 0x416ef0
push dword [ebp - 0x80]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x416ef0
push dword [ebp - 0x80]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
mov dword [ebp - 0x7c], esi
mov edi, dword [ebp - 0x7c]
or ebx, 0x10
mov byte [ebp - 4], 0x1f
jmp 0x416f0d
push 0x4061bc
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x7c], edi
mov esi, dword [ebp - 0x7c]
push 0x20
pop eax
mov dword [ebp - 4], eax
or ebx, eax
mov eax, edi
mov ecx, dword [ebp - 0xb4]
push eax
mov dword [ebp - 0x74], ebx
call fcn.0040b660
test bl, 0x20
je 0x416f2b
push edi
and ebx, 0xffffffdf
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 4], 0x1a
test bl, 0x10
je 0x416f3e
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xb0]
call fcn.0040b660
mov ebx, dword [ebp - 0x78]
xor edi, edi
cmp dword [ebx + 0x30], edi
je 0x41721c
cmp dword [ebp - 0x90], edi
je 0x416f83
push dword [ebp - 0x90]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x416f83
push dword [ebp - 0x90]
lea ecx, [ebx + 0x44]
call fcn.0040b660
xor esi, esi
lea ecx, [ebp + 8]
inc esi
push esi
push str.ComponentFile
call fcn.004096e1
test al, al
je 0x416fc0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x70]
call fcn.004164bb
push eax
lea ecx, [ebx + 0x98]
mov byte [ebp - 4], 0x22
call fcn.004182bd
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1a
call fcn.00410140
lea ecx, [ebp + 8]
call fcn.00409505
push esi
push str.DifferencedFile
lea ecx, [ebp + 8]
call fcn.004096e1
test al, al
je 0x417002
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x70]
call fcn.004165c7
push eax
lea ecx, [ebx + 0xdc]
mov byte [ebp - 4], 0x23
call fcn.004182bd
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1a
call fcn.00410178
lea ecx, [ebp + 8]
call fcn.00409505
push esi
push str.PartialFile
lea ecx, [ebp + 8]
call fcn.004096e1
test al, al
je 0x417044
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x70]
call fcn.0041664d
push eax
lea ecx, [ebx + 0x120]
mov byte [ebp - 4], 0x24
call fcn.004182bd
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1a
call fcn.00410194
lea ecx, [ebp + 8]
call fcn.00409505
push esi
push str.Dependency
lea ecx, [ebp + 8]
call fcn.004096e1
test al, al
je 0x417082
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x70]
call fcn.00416541
push eax
lea ecx, [ebx + 0x164]
mov byte [ebp - 4], 0x25
call fcn.004182bd
lea ecx, [ebp - 0x70]
call fcn.0041015c
mov dword [ebp - 0x8c], edi
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0x26
push eax
push str.errorCode
lea ecx, [ebp + 8]
call fcn.00409353
cmp dword [ebp - 0x8c], 0
je 0x4170ca
push dword [ebp - 0x8c]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x4170ca
push dword [ebp - 0x8c]
call fcn.00415cb7
mov dword [ebx + 0x1d8], eax
push esi
push str.ExtendedError
lea ecx, [ebp + 8]
call fcn.004096e1
test al, al
je 0x417189
mov byte [ebx + 0x1dc], 1
mov dword [ebp - 0x78], edi
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0x27
push eax
push str.errorCode
lea ecx, [ebp + 8]
call fcn.00409353
mov dword [ebp - 0x74], edi
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x28
push eax
push str.errorMessage
lea ecx, [ebp + 8]
call fcn.00409353
cmp dword [ebp - 0x78], 0
je 0x417136
push dword [ebp - 0x78]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x417136
push dword [ebp - 0x78]
call fcn.00415cb7
mov edx, eax
jmp 0x417150
call dword [sym.imp.msvcrt.dll_rand]
push 0x18
cdq
pop ecx
idiv ecx
inc edx
test edx, edx
jle 0x417150
movzx edx, dx
or edx, 0x80070000
mov dword [ebx + 0x1e0], edx
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x417179
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x417176
push dword [ebp - 0x74]
lea ecx, [ebx + 0x1e4]
call fcn.0040b660
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x78]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x8c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x80]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x90]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x84]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x98]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x9c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0xa0]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0xa4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x88]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x94]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0xa8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp + 8]
call fcn.00409088
mov eax, ebx
call fcn.004148aa
ret 0x14
push 0x402538
lea ecx, [ebp - 0x2c]
call fcn.0040b41d
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x21
push eax
lea ecx, [ebp - 0x54]
call fcn.0040fd79
push 0x43410c
lea eax, [ebp - 0x54]
push eax
call sub.msvcrt.dll__CxxThrowException
int3