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

Disassembly:
push 0xffffffffffffffff
push 0x10028a51
mov eax, dword fs:[0]
push eax
sub esp, 0x860
mov eax, dword [0x1003230c]
xor eax, esp
mov dword [esp + 0x85c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1003230c]
xor eax, esp
push eax
lea eax, [esp + 0x874]
mov dword fs:[0], eax
mov edi, 7
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebp
mov word [esp + 0x58], ax
mov dword [esp + 0x87c], ebp
xor ecx, ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebp
mov word [esp + 0x20], cx
xor edx, edx
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], dx
mov ebx, dword [esp + 0x884]
push 0x11
push ebx
mov byte [esp + 0x884], 2
call sub.msi.dll_MsiGetProductInfoFromScriptA
cmp eax, ebp
jne 0x10004aa2
push 0x10
push ebx
call sub.msi.dll_MsiGetProductInfoFromScriptA
cmp eax, ebp
mov eax, 0x1002d268
je 0x10004aa7
mov eax, str.CustomActionData
mov ecx, eax
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x10004ab0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x3c]
call fcn.10005d40
cmp dword [esp + 0x50], 8
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x40]
jae 0x10004add
lea eax, [esp + 0x40]
sub esp, 0x1c
mov esi, esp
xor ecx, ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebp
mov word [esi + 4], cx
mov ecx, eax
mov dword [esp + 0x34], esp
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x10004af7
sub ecx, edi
sar ecx, 1
push ecx
call fcn.10005d40
mov ecx, ebx
call fcn.10006950
add esp, 0x20
cmp eax, ebp
jne 0x10004cc3
cmp dword [esp + 0x68], ebp
jne 0x10004b86
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x10004b3c
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.10011720
add esp, 4
xor edx, edx
mov edi, 7
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], dx
cmp dword [esp + 0x34], esi
jb 0x10004b63
mov eax, dword [esp + 0x20]
push eax
call fcn.10011720
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebp
mov word [esp + 0x20], cx
cmp dword [esp + 0x6c], esi
jb 0x10004d24
mov edx, dword [esp + 0x58]
push edx
jmp 0x10004d1c
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x1002be54
lea ebx, [esp + 0x5c]
mov dword [esp + 0x1c], ebp
call fcn.10004ff0
add esp, 8
test eax, eax
je 0x10004cc3
lea ecx, [ecx]
mov eax, dword [esp + 0x20]
mov esi, 8
mov dword [esp + 0x18], ebp
cmp dword [esp + 0x34], esi
jae 0x10004bc7
lea eax, [esp + 0x20]
push 0x1002d270
push eax
lea edx, [esp + 0x20]
push edx
call fcn.10011800
push 0x7fe
lea ecx, [esp + 0x82]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x88], ax
call fcn.10017160
mov eax, dword [esp + 0x30]
add esp, 0x18
cmp eax, ebp
je 0x10004c6b
push eax
call fcn.10011ec7
mov eax, dword [esp + 0x24]
add esp, 4
cmp dword [esp + 0x34], esi
jae 0x10004c16
lea eax, [esp + 0x20]
mov edi, 0x80004005
cmp eax, ebp
je 0x10004c4c
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, ebp
je 0x10004c47
push str.DllRegisterServer
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x10004c40
call eax
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, 8
push edi
push str.RegSvr_result:__d
lea edx, [esp + 0x78]
push 0x104
push edx
call fcn.10011853
lea eax, [esp + 0x80]
push eax
jmp 0x10004c96
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], esi
jae 0x10004c79
lea eax, [esp + 0x20]
push eax
push str._s_not_present
lea ecx, [esp + 0x78]
push 0x104
push ecx
call fcn.10011853
lea edx, [esp + 0x80]
push edx
call fcn.10001180
add esp, 0x14
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x1002be54
lea ebx, [esp + 0x5c]
call fcn.10004ff0
add esp, 8
test eax, eax
jne 0x10004bb0
jmp 0x10004cc8
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x10004cdb
mov edx, dword [esp + 0x3c]
push edx
call fcn.10011720
add esp, 4
xor eax, eax
mov edi, 7
mov word [esp + 0x3c], ax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], edi
cmp dword [esp + 0x34], esi
jb 0x10004d02
mov ecx, dword [esp + 0x20]
push ecx
call fcn.10011720
add esp, 4
xor edx, edx
mov word [esp + 0x20], dx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edi
cmp dword [esp + 0x6c], esi
jb 0x10004d24
mov eax, dword [esp + 0x58]
push eax
call fcn.10011720
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x874]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x85c]
xor ecx, esp
call fcn.1001172b
add esp, 0x86c
ret 4