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

Disassembly:
push 0xffffffffffffffff
push 0x10040afd
mov eax, dword fs:[0]
push eax
sub esp, 0x330
mov eax, dword [0x1004e060]
xor eax, esp
mov dword [esp + 0x328], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1004e060]
xor eax, esp
push eax
lea eax, [esp + 0x344]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x354]
xor ebx, ebx
xor eax, eax
xor edi, edi
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], ax
mov esi, 8
mov dword [esp + 0x34c], ebx
cmp dword [ebp + 0x20], esi
jb 0x100044cf
mov eax, dword [ebp + 0xc]
jmp 0x100044d2
lea eax, [ebp + 0xc]
cmp eax, ebx
je 0x1000456b
cmp dword [ebp + 0x20], esi
jb 0x100044e4
mov eax, dword [ebp + 0xc]
jmp 0x100044e7
lea eax, [ebp + 0xc]
push str.msiexec.exe
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1000456b
xor ecx, ecx
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], cx
lea edx, [esp + 0x70]
mov byte [esp + 0x34c], 1
mov eax, dword [ebp]
push edx
push eax
call fcn.10003e70
test al, al
jne 0x10004541
lea esi, [esp + 0x70]
call fcn.10001b10
lea esi, [esp + 0x54]
call fcn.10001b10
jmp 0x10004e61
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x78]
lea ecx, [esp + 0x5c]
call fcn.10001e40
lea esi, [esp + 0x70]
mov edi, 1
mov byte [esp + 0x34c], bl
call fcn.10001b10
lea esi, [edi + 7]
jmp 0x1000457a
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x24]
lea ecx, [esp + 0x5c]
call fcn.10001e40
mov edx, dword [esp + 0x58]
cmp dword [esp + 0x6c], esi
jae 0x10004588
lea edx, [esp + 0x58]
lea ecx, [esp + 0x70]
call fcn.1002428c
push eax
lea ecx, [esp + 0x90]
mov byte [esp + 0x350], 2
call fcn.10002c90
add esp, 4
mov byte [esp + 0x34c], 4
cmp dword [esp + 0x88], 0x10
jb 0x100045c8
mov ecx, dword [esp + 0x74]
push ecx
call fcn.1002889e
add esp, 4
lea edx, [esp + 0x8c]
push edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.10003bc0
mov edx, dword [esp + 0x58]
cmp dword [esp + 0x6c], esi
jae 0x100045fd
lea edx, [esp + 0x58]
call fcn.100041e0
test eax, eax
je 0x1000466b
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], esi
jae 0x10004614
lea eax, [esp + 0x58]
push eax
push str.allowed_installer:__s
call fcn.10019e3e
add esp, 8
cmp dword [esp + 0xa4], esi
jb 0x1000463b
mov eax, dword [esp + 0x90]
push eax
call fcn.1002889e
add esp, 4
xor ecx, ecx
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], cx
cmp dword [esp + 0x6c], esi
jb 0x10004e61
mov edx, dword [esp + 0x58]
push edx
jmp 0x10004e59
mov eax, 7
xor ecx, ecx
mov dword [esp + 0xc0], eax
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], cx
xor edx, edx
mov dword [esp + 0xdc], eax
mov dword [esp + 0xd8], ebx
mov word [esp + 0xc8], dx
mov byte [esp + 0x34c], 6
cmp edi, ebx
je 0x1000477b
push 0x10043dd0
sub esp, 0x1c
mov ecx, esp
mov dword [ecx + 0x18], eax
mov dword [esp + 0x38], esp
xor eax, eax
mov dword [ecx + 0x14], ebx
push 0xffffffffffffffff
mov word [ecx + 4], ax
push ebx
lea eax, [esp + 0x7c]
call fcn.10001e40
lea edi, [esp + 0x40]
call fcn.10003740
add esp, 0x20
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xb0]
mov byte [esp + 0x354], 7
call fcn.10001e40
mov esi, 8
mov byte [esp + 0x34c], 6
cmp dword [esp + 0x38], esi
jb 0x10004719
mov ecx, dword [esp + 0x24]
push ecx
call fcn.1002889e
add esp, 4
push 0x10043de8
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0x7c]
mov word [ecx + 4], dx
call fcn.10001e40
lea edi, [esp + 0x40]
call fcn.10003740
add esp, 0x20
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x354], 8
call fcn.10001e40
mov byte [esp + 0x34c], 6
cmp dword [esp + 0x38], esi
jb 0x100047d5
mov eax, dword [esp + 0x24]
push eax
jmp 0x100047cd
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x94]
lea ecx, [esp + 0xb0]
call fcn.10001e40
lea ecx, [ebp + 0xb0]
push ecx
lea ecx, [esp + 0x24]
call fcn.10002c90
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x354], 9
call fcn.10001e40
mov byte [esp + 0x34c], 6
cmp dword [esp + 0x38], esi
jb 0x100047d5
mov edx, dword [esp + 0x24]
push edx
call fcn.1002889e
add esp, 4
cmp dword [esp + 0xbc], ebx
jne 0x10004886
cmp dword [esp + 0xd8], ebx
jne 0x10004886
mov esi, 8
cmp dword [esp + 0xdc], esi
jb 0x1000480d
mov eax, dword [esp + 0xc8]
push eax
call fcn.1002889e
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], ebx
mov word [esp + 0xc8], cx
cmp dword [esp + 0xc0], esi
jb 0x10004843
mov edx, dword [esp + 0xac]
push edx
call fcn.1002889e
add esp, 4
xor eax, eax
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], ax
cmp dword [esp + 0xa4], esi
jb 0x10004874
mov ecx, dword [esp + 0x90]
push ecx
call fcn.1002889e
add esp, 4
xor edx, edx
cmp dword [esp + 0x6c], esi
mov dword [esp + 0xa4], edi
jmp 0x10004e43
cmp dword [ebp + 0x3c], 8
jb 0x10004891
mov esi, dword [ebp + 0x28]
jmp 0x10004894
lea esi, [ebp + 0x28]
call fcn.100184f1
push 0x10043e08
call fcn.10003630
movzx edi, al
add esp, 4
mov dword [esp + 0x18], edi
mov eax, 0x10043e30
cmp edi, ebx
jne 0x100048bb
mov eax, 0x10043a90
push eax
push 0x10043e58
lea esi, [esp + 0x120]
call fcn.10018acf
add esp, 8
mov byte [esp + 0x34c], 0xa
mov eax, 0x10043e98
cmp edi, ebx
jne 0x100048e6
mov eax, 0x10043aac
xor ecx, ecx
mov word [esp + 0xe4], cx
mov ecx, eax
mov dword [esp + 0xf8], 7
mov dword [esp + 0xf4], ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x10004907
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0xe4]
call fcn.100023a0
push 0x206
lea eax, [esp + 0x13a]
xor edx, edx
push ebx
push eax
mov word [esp + 0x140], dx
call fcn.1002aad0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x138]
push ecx
mov ebx, str.wfchost.exe
xor ecx, ecx
call fcn.10017bb6
and dword [esp + 0x44], 0xfffffe00
xor ebx, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
lea edx, [esp + 0x54]
push edx
lea esi, [esp + 0x24]
mov byte [esp + 0x350], 0xd
call fcn.10002d90
mov byte [esp + 0x350], 0xe
sub esp, 0x14
mov esi, esp
mov byte [esi + 8], 4
or dword [esi + 8], 0x100
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov edi, dword [eax + 0x14]
mov ebp, 0x10
mov dword [esp + 0x34], esp
cmp dword [eax + 0x18], ebp
jb 0x100049bf
mov eax, dword [eax + 4]
jmp 0x100049c2
add eax, 4
push eax
call fcn.1001cb3c
add esp, 4
mov dword [esi], eax
push str.path
lea eax, [esp + 0x58]
push eax
mov ecx, 0x10043ea8
mov byte [esp + 0x36c], 0xf
call fcn.1001decf
mov edi, eax
mov byte [esp + 0x364], 0xe
call fcn.1001d30c
mov byte [esp + 0x34c], 0xd
cmp dword [esp + 0x38], ebp
jb 0x10004a13
mov ecx, dword [esp + 0x24]
push ecx
call fcn.1002889e
add esp, 4
lea edx, [esp + 0xa8]
push edx
lea esi, [esp + 0x24]
call fcn.10002d90
mov byte [esp + 0x350], 0x10
sub esp, 0x14
mov esi, esp
mov byte [esi + 8], 4
or dword [esi + 8], 0x100
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov edi, dword [eax + 0x14]
mov dword [esp + 0x34], esp
cmp dword [eax + 0x18], ebp
jb 0x10004a56
mov eax, dword [eax + 4]
jmp 0x10004a59
add eax, 4
push eax
call fcn.1001cb3c
add esp, 4
mov dword [esi], eax
push str.name
lea eax, [esp + 0x58]
push eax
mov ecx, 0x10043eb0
mov byte [esp + 0x36c], 0x11
call fcn.1001decf
mov edi, eax
mov byte [esp + 0x364], 0x10
call fcn.1001d30c
mov byte [esp + 0x34c], 0xd
cmp dword [esp + 0x38], ebp
jb 0x10004aaa
mov ecx, dword [esp + 0x24]
push ecx
call fcn.1002889e
add esp, 4
lea edx, [esp + 0xc4]
push edx
lea esi, [esp + 0x24]
call fcn.10002d90
mov byte [esp + 0x350], 0x12
sub esp, 0x14
mov esi, esp
mov byte [esi + 8], 4
or dword [esi + 8], 0x100
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov edi, dword [eax + 0x14]
mov dword [esp + 0x34], esp
cmp dword [eax + 0x18], ebp
jb 0x10004aed
mov eax, dword [eax + 4]
jmp 0x10004af0
add eax, 4
push eax
call fcn.1001cb3c
add esp, 4
mov dword [esi], eax
push 0x10043eb4
lea eax, [esp + 0x58]
push eax
mov ecx, 0x10043ebb
mov byte [esp + 0x36c], 0x13
call fcn.1001decf
mov edi, eax
mov byte [esp + 0x364], 0x12
call fcn.1001d30c
mov byte [esp + 0x34c], 0xd
cmp dword [esp + 0x38], ebp
jb 0x10004b41
mov ecx, dword [esp + 0x24]
push ecx
call fcn.1002889e
add esp, 4
lea edx, [esp + 0x8c]
push edx
lea esi, [esp + 0x24]
call fcn.10002d90
mov byte [esp + 0x350], 0x14
sub esp, 0x14
mov esi, esp
mov byte [esi + 8], 4
or dword [esi + 8], 0x100
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov edi, dword [eax + 0x14]
mov dword [esp + 0x34], esp
cmp dword [eax + 0x18], ebp
jb 0x10004b84
mov eax, dword [eax + 4]
jmp 0x10004b87
add eax, 4
push eax
call fcn.1001cb3c
add esp, 4
mov dword [esi], eax
push 0x10043ebc
lea eax, [esp + 0x58]
push eax
mov ecx, 0x10043ec2
mov byte [esp + 0x36c], 0x15
call fcn.1001decf
mov edi, eax
mov byte [esp + 0x364], 0x14
call fcn.1001d30c
mov byte [esp + 0x34c], 0xd
cmp dword [esp + 0x38], ebp
jb 0x10004bd8
mov ecx, dword [esp + 0x24]
push ecx
call fcn.1002889e
add esp, 4
sub esp, 0x1c
lea edx, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.1001e553
lea edi, [esp + 0x3c]
call fcn.10023f57
add esp, 0x1c
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x350], 0x16
call fcn.10002c90
add esp, 4
push eax
lea edi, [esp + 0x100]
mov byte [esp + 0x350], 0x17
call fcn.10007c90
add esp, 4
mov edi, 8
cmp dword [esp + 0x88], edi
jb 0x10004c3f
mov eax, dword [esp + 0x74]
push eax
call fcn.1002889e
add esp, 4
xor ecx, ecx
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], cx
mov byte [esp + 0x34c], 0x1a
cmp dword [esp + 0x38], ebp
jb 0x10004c73
mov edx, dword [esp + 0x24]
push edx
call fcn.1002889e
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
cmp eax, ebx
je 0x10004cb6
cmp dword [esp + 0x114], edi
jb 0x10004ca5
mov ecx, dword [esp + 0x100]
mov dword [esp + 0x18], 0x10043f00
jmp 0x10004cc0
lea ecx, [esp + 0x100]
mov dword [esp + 0x18], 0x10043f00
jmp 0x10004cc0
xor ecx, ecx
mov dword [esp + 0x18], 0x10043f14
mov ebp, dword [esp + 0xe4]
cmp dword [esp + 0xf8], edi
jae 0x10004cd7
lea ebp, [esp + 0xe4]
mov esi, dword [esp + 0x11c]
cmp dword [esp + 0x130], edi
jae 0x10004cee
lea esi, [esp + 0x11c]
xor edx, edx
cmp eax, ebx
sete dl
neg eax
sbb eax, eax
push edx
lea edx, [esp + 0x138]
and eax, edx
mov edx, dword [esp + 0x1c]
push eax
push ebp
push esi
call fcn.10002e60
add esp, 0x10
cmp dword [esp + 0x114], edi
jb 0x10004d2b
mov eax, dword [esp + 0x100]
push eax
call fcn.1002889e
add esp, 4
xor ecx, ecx
mov ebp, 7
lea esi, [esp + 0x3c]
mov dword [esp + 0x114], ebp
mov dword [esp + 0x110], ebx
mov word [esp + 0x100], cx
mov byte [esp + 0x34c], 0xb
call fcn.1001d289
cmp dword [esp + 0xf8], edi
jb 0x10004d72
mov edx, dword [esp + 0xe4]
push edx
call fcn.1002889e
add esp, 4
xor eax, eax
mov dword [esp + 0xf8], ebp
mov dword [esp + 0xf4], ebx
mov word [esp + 0xe4], ax
cmp dword [esp + 0x130], edi
jb 0x10004da3
mov ecx, dword [esp + 0x11c]
push ecx
call fcn.1002889e
add esp, 4
xor edx, edx
mov dword [esp + 0x130], ebp
mov dword [esp + 0x12c], ebx
mov word [esp + 0x11c], dx
cmp dword [esp + 0xdc], edi
jb 0x10004dd4
mov eax, dword [esp + 0xc8]
push eax
call fcn.1002889e
add esp, 4
xor ecx, ecx
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xd8], ebx
mov word [esp + 0xc8], cx
cmp dword [esp + 0xc0], edi
jb 0x10004e05
mov edx, dword [esp + 0xac]
push edx
call fcn.1002889e
add esp, 4
xor eax, eax
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], ax
cmp dword [esp + 0xa4], edi
jb 0x10004e36
mov ecx, dword [esp + 0x90]
push ecx
call fcn.1002889e
add esp, 4
xor edx, edx
cmp dword [esp + 0x6c], edi
mov dword [esp + 0xa4], ebp
mov word [esp + 0x90], dx
mov dword [esp + 0xa0], ebx
jb 0x10004e61
mov eax, dword [esp + 0x58]
push eax
call fcn.1002889e
add esp, 4
mov ecx, dword [esp + 0x344]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x328]
xor ecx, esp
call fcn.100283ef
add esp, 0x33c
ret 4