Function at 0x4bb3ee
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
sub esp, 0x108
lea ebp, [esp - 4]
mov eax, dword [0x570074]
xor eax, ebp
mov dword [ebp + 0x108], eax
push 0x90
mov eax, 0x5152c3
call fcn.004d0de3
mov edi, ecx
mov dword [ebp - 0x20], edi
and dword [ebp - 0x18], 0
mov ecx, dword [edi + 0x78]
mov esi, dword [ebp + 0x114]
push esi
mov eax, dword [ecx]
call dword [eax + 0xc]
xor bl, bl
mov byte [ebp - 0x30], bl
test esi, esi
jne 0x4bbb3a
push str.AI_BOOTSTRAPPERORIGINALLANG
lea ecx, [ebp + 0xf0]
call fcn.004042a7
and dword [ebp - 4], esi
lea edx, [ebp + 0xf0]
mov ecx, dword [edi + 0x6c]
push edx
lea edx, [ebp + 0x48]
push edx
mov eax, dword [ecx]
call dword [eax]
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xf0]
call fcn.004050c4
push str.ProductLanguage
lea ecx, [ebp + 0xf0]
call fcn.004042a7
mov byte [ebp - 4], 3
lea edx, [ebp + 0xf0]
mov ecx, dword [edi + 0x6c]
push edx
lea edx, [ebp + 0x18]
push edx
mov eax, dword [ecx]
call dword [eax]
mov byte [ebp - 4], 5
lea ecx, [ebp + 0xf0]
call fcn.004050c4
push str.AI_BOOTSTRAPPERLANG
lea ecx, [ebp + 0xf0]
call fcn.004042a7
mov byte [ebp - 4], 6
lea edx, [ebp + 0xf0]
mov ecx, dword [edi + 0x6c]
push edx
lea edx, [ebp + 0x90]
push edx
mov eax, dword [ecx]
call dword [eax]
mov byte [ebp - 4], 8
lea ecx, [ebp + 0xf0]
call fcn.004050c4
mov eax, dword [edi + 0x78]
lea ecx, [ebp + 0x90]
mov esi, dword [eax]
call fcn.00457410
mov ecx, dword [edi + 0x78]
push eax
call dword [esi + 0x30]
lea edx, [ebp + 0x18]
lea ecx, [ebp + 0x90]
call fcn.0040463e
test al, al
je 0x4bb530
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x90]
call fcn.004050c4
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x18]
call fcn.004050c4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x48]
call fcn.004050c4
jmp 0x4bbff9
lea edx, [ebp + 0x48]
mov byte [ebp - 0xd], 0
lea ecx, [ebp + 0x90]
call fcn.0040463e
mov edx, dword [edi + 0x68]
mov byte [ebp - 0x19], al
cmp dword [edx + 0x2c], 0
je 0x4bb553
add edx, 0x1c
jmp 0x4bb556
add edx, 4
cmp dword [edx + 0x14], 8
jb 0x4bb55e
mov edx, dword [edx]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x38], esp
push edx
call fcn.004042a7
mov byte [ebp - 4], 9
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x60]
call fcn.004661c0
mov byte [ebp - 4], 0xa
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebp + 0x60]
call fcn.00469c40
mov byte [ebp - 4], 0xb
lea eax, [ebp + 0x90]
push eax
lea eax, [ebp + 0xd8]
push eax
lea ecx, [ebp + 0x30]
call fcn.00469a90
mov byte [ebp - 4], 0xb
lea ecx, [ebp + 0xd8]
call fcn.004050c4
lea eax, [ebp + 0xd8]
push eax
lea ecx, [ebp + 0x30]
call fcn.00469200
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 8
jb 0x4bb5d0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040d264
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x14]
call fcn.00475e60
mov bl, al
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040cf54
mov byte [ebp - 4], 0xb
lea ecx, [ebp + 0xd8]
call fcn.004050c4
cmp dword [ebp + 0xa4], 8
lea eax, [ebp + 0x90]
mov ecx, 0x53bb08
cmovae eax, dword [ebp + 0x90]
test bl, bl
push eax
mov eax, 0x53bb10
cmove eax, ecx
push eax
lea eax, [ebp]
push eax
call fcn.0046e540
add esp, 0xc
mov byte [ebp - 4], 0x11
mov eax, dword [edi + 0x68]
add eax, 0x1c
push eax
call fcn.004b5747
xor edx, edx
mov byte [ebp - 0xe], al
xor eax, eax
mov dword [ebp + 0xb8], edx
mov dword [ebp + 0xbc], edx
mov dword [ebp + 0xb8], edx
mov dword [ebp + 0xbc], 7
mov word [ebp + 0xa8], ax
mov byte [ebp - 4], 0x12
mov eax, dword [edi + 0x68]
mov eax, dword [eax + 0xc4]
mov ecx, dword [eax + 0x10]
add ecx, dword [eax + 0xc]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0x13
mov eax, dword [edi + 0x68]
mov eax, dword [eax + 0xc4]
mov ebx, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0x12
mov esi, edx
test eax, eax
je 0x4bb6aa
mov esi, dword [eax]
cmp ebx, ecx
je 0x4bb6d7
mov edi, dword [ebp - 0x14]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
dec ecx
and ecx, ebx
push dword [eax + ecx*4]
call fcn.004bb3ab
pop ecx
test al, al
jne 0x4bb6cc
inc ebx
cmp ebx, edi
jne 0x4bb6b1
mov edi, dword [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x48], edx
mov esi, edx
mov dword [ebp - 0x4c], esi
test eax, eax
je 0x4bb6ee
mov eax, dword [eax]
test eax, eax
je 0x4bb6ee
mov esi, dword [eax]
mov dword [ebp - 0x4c], esi
mov eax, dword [edi + 0x68]
mov dword [ebp - 0x44], ebx
mov eax, dword [eax + 0xc4]
mov ecx, dword [eax + 0x10]
add ecx, dword [eax + 0xc]
cmp ebx, ecx
je 0x4bb89b
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.004b3412
push 0x5339c0
lea ecx, [ebp + 0xd8]
call fcn.004042a7
mov byte [ebp - 4], 0x16
test esi, esi
jne 0x4bb73c
xor eax, eax
jmp 0x4bb73e
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
dec edx
push ecx
and edx, ebx
lea ecx, [ebp + 0xd8]
push ecx
lea ecx, [ebp + 0xfc]
mov edx, dword [eax + edx*4]
call fcn.0046ce00
pop ecx
pop ecx
mov byte [ebp - 4], 0x18
lea ecx, [ebp + 0xd8]
call fcn.004050c4
push 0x528eac
lea ecx, [ebp + 0xd8]
call fcn.004042a7
mov byte [ebp - 4], 0x19
lea eax, [ebp + 0xd8]
mov edx, dword [ebp + 0xfc]
push ecx
push eax
lea ecx, [ebp + 0xcc]
lea edx, [edx + 0x18]
call fcn.0046ce00
pop ecx
pop ecx
mov byte [ebp - 4], 0x1b
lea ecx, [ebp + 0xd8]
call fcn.004050c4
mov edi, dword [ebp + 0xd0]
mov esi, dword [ebp + 0xcc]
mov dword [ebp - 0x38], edi
jmp 0x4bb84c
and dword [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x28], eax
jle 0x4bb830
mov edi, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004098cb
lea ecx, [ebp + 0xd8]
movzx edx, word [eax]
call fcn.00456d40
mov byte [ebp - 4], 0x1c
push 0
push eax
push esi
call fcn.0046eed0
add esp, 0xc
mov ebx, eax
mov byte [ebp - 4], 0x1b
lea ecx, [ebp + 0xd8]
call fcn.004050c4
mov eax, dword [ebp - 0x14]
lea ecx, [edi + 1]
cmp ebx, 0xffffffff
cmovne ecx, edi
inc eax
mov edi, ecx
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x28]
jl 0x4bb7d4
test edi, edi
mov edi, dword [ebp - 0x38]
je 0x4bb830
mov byte [ebp - 0xd], 1
jmp 0x4bb849
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4bb83a
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp + 0xa8]
push eax
call fcn.00411963
add esi, 0x18
cmp esi, edi
jne 0x4bb7c3
mov byte [ebp - 0xe], 1
mov byte [ebp - 4], 0x18
lea ecx, [ebp + 0xcc]
call fcn.004042fb
mov byte [ebp - 4], 0x15
lea ecx, [ebp + 0xfc]
call fcn.004042fb
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x2c], 0
je 0x4bb890
push dword [ebp - 0x2c]
call fcn.004d5c5a
xor edx, edx
pop ecx
mov dword [ebp - 0x2c], edx
jmp 0x4bb892
xor edx, edx
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
cmp byte [ebp - 0xe], 0
je 0x4bb8b8
mov ecx, dword [edi + 0x68]
lea eax, [ecx + 0x1c]
add ecx, 4
push eax
call fcn.00405125
mov eax, dword [edi + 0x68]
xor edx, edx
mov byte [eax + 0x65], dl
cmp byte [ebp - 0x19], 0
mov esi, 0x528070
jne 0x4bb8ed
lea eax, [ebp]
mov dword [ebp + 0x100], edx
push eax
lea ecx, [ebp + 0xf0]
mov dword [ebp + 0x104], edx
call fcn.0040479a
lea eax, [ebp + 0xf0]
mov byte [ebp - 4], 0x1d
xor ebx, ebx
inc ebx
jmp 0x4bb903
push esi
lea ecx, [ebp + 0xd8]
call fcn.004042a7
mov dword [ebp - 4], 0x1e
push 2
pop ebx
push eax
lea ecx, [ebp + 0x78]
mov dword [ebp - 0x18], ebx
call fcn.00404d3d
mov dword [ebp - 4], 0x20
test bl, 2
je 0x4bb92c
and ebx, 0xfffffffd
lea ecx, [ebp + 0xd8]
mov dword [ebp - 0x18], ebx
call fcn.004050c4
mov byte [ebp - 4], 0x21
test bl, 1
je 0x4bb946
and ebx, 0xfffffffe
lea ecx, [ebp + 0xf0]
mov dword [ebp - 0x18], ebx
call fcn.004050c4
cmp dword [ebp + 0xb8], 0
mov eax, 0x528eac
cmovne esi, eax
push esi
call fcn.004d5c34
pop ecx
push eax
push esi
lea ecx, [ebp + 0x78]
call fcn.00411963
cmp dword [ebp + 0xbc], 8
lea eax, [ebp + 0xa8]
push dword [ebp + 0xb8]
cmovae eax, dword [ebp + 0xa8]
lea ecx, [ebp + 0x78]
push eax
call fcn.00411963
mov al, byte [edi + 0x250]
test al, al
jne 0x4bba53
cmp byte [ebp - 0xd], al
je 0x4bb9cd
sub esp, 0xc
lea eax, [ebp - 0x4c]
mov ecx, esp
push eax
call fcn.00420889
mov eax, dword [ebp - 0x40]
mov dword [ecx + 8], eax
mov byte [ebp - 4], 0x22
lea eax, [ebp + 0xfc]
mov ecx, dword [edi + 0x68]
push eax
mov byte [ebp - 4], 0x21
mov ecx, dword [ecx + 0xc4]
call fcn.004bca49
cmp dword [ebp + 0x88], 0
je 0x4bbabc
push 0x5339c0
lea ecx, [ebp + 0xc0]
call fcn.004042a7
mov byte [ebp - 4], 0x23
mov edx, str.TRANSFORMS
push eax
lea ecx, [ebp + 0xf0]
call fcn.004190be
mov byte [ebp - 4], 0x24
lea ecx, [ebp + 0x78]
push ecx
mov edx, eax
lea ecx, [ebp + 0xd8]
call fcn.0041e759
pop ecx
pop ecx
mov byte [ebp - 4], 0x25
mov ecx, dword [edi + 0x68]
push eax
mov ecx, dword [ecx + 0xc4]
call fcn.0047b300
mov byte [ebp - 4], 0x24
lea ecx, [ebp + 0xd8]
call fcn.004050c4
mov byte [ebp - 4], 0x23
lea ecx, [ebp + 0xf0]
call fcn.004050c4
mov byte [ebp - 4], 0x21
lea ecx, [ebp + 0xc0]
jmp 0x4bbab7
mov esi, str.TRANSFORMS
lea ecx, [ebp + 0xd8]
push esi
call fcn.004042a7
mov byte [ebp - 4], 0x26
lea eax, [ebp + 0x78]
mov ecx, dword [edi + 0x68]
push eax
lea eax, [ebp + 0xd8]
push eax
call fcn.004b1c59
mov byte [ebp - 4], 0x21
lea ecx, [ebp + 0xd8]
call fcn.004050c4
push esi
lea ecx, [ebp + 0xd8]
call fcn.004042a7
mov byte [ebp - 4], 0x27
lea edx, [ebp + 0x78]
mov ecx, dword [edi + 0x6c]
push edx
lea edx, [ebp + 0xd8]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov byte [ebp - 4], 0x21
lea ecx, [ebp + 0xd8]
call fcn.004050c4
mov ecx, edi
call fcn.004bc01e
push dword [edi + 0x5c]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov byte [ebp - 4], 0x12
lea ecx, [ebp + 0x78]
call fcn.004050c4
mov byte [ebp - 4], 0x11
lea ecx, [ebp + 0xa8]
call fcn.004050c4
mov byte [ebp - 4], 0xb
lea ecx, [ebp]
call fcn.004050c4
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 0x30]
call fcn.004050c4
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x60]
call fcn.004050c4
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x90]
call fcn.004050c4
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x18]
call fcn.004050c4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x48]
call fcn.004050c4
mov bl, byte [ebp - 0x30]
jmp 0x4bbfda
cmp esi, 1
jne 0x4bbf81
call fcn.00414aad
lea ecx, [ebp - 0xd]
mov byte [ebp - 0xd], 0
push ecx
lea ecx, [ebp - 0x38]
push ecx
mov ecx, eax
call fcn.004862f1
mov dword [ebp - 4], 0x2c
lea ecx, [ebp + 0x48]
push dword [eax]
call fcn.004042a7
mov byte [ebp - 4], 0x2e
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.0040cf54
cmp byte [ebp - 0xd], 0
je 0x4bbc09
mov edx, 0xe8
lea ecx, [ebp - 0x14]
call fcn.00494948
mov byte [ebp - 4], 0x30
mov edx, 0xe7
lea ecx, [ebp - 0x20]
call fcn.00494948
mov byte [ebp - 4], 0x31
push 0x44
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x4bbbeb
mov dword [edi + 0x64], 0x642
mov byte [ebp - 4], 0x30
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0040cf54
mov byte [ebp - 4], 0x2e
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040cf54
jmp 0x4bb51f
mov byte [ebp - 4], 0x30
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0040cf54
mov byte [ebp - 4], 0x2e
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040cf54
mov eax, dword [edi + 0x68]
test byte [eax + 0x68], 2
jne 0x4bbc20
mov al, byte [edi + 0x250]
test al, al
je 0x4bbc20
xor bl, bl
jmp 0x4bbc22
mov bl, 1
and dword [ebp - 0x2c], 0
and dword [ebp - 0x28], 0
and dword [ebp - 0x24], 0
mov byte [ebp - 0x30], bl
mov byte [ebp - 4], 0x36
lea ecx, [ebp + 0x60]
push 0x528ad4
call fcn.004042a7
mov byte [ebp - 4], 0x37
lea eax, [ebp + 0x60]
push 1
push 1
push ecx
push eax
lea edx, [ebp + 0x48]
lea ecx, [ebp - 0x2c]
call fcn.0046c7f0
add esp, 0x10
mov byte [ebp - 4], 0x36
lea ecx, [ebp + 0x60]
call fcn.004050c4
mov esi, dword [ebp - 0x2c]
cmp esi, dword [ebp - 0x28]
je 0x4bbf53
xor ecx, ecx
xor eax, eax
push 7
pop edx
mov dword [ebp + 0xd0], ecx
mov dword [ebp + 0xd4], ecx
mov dword [ebp + 0xd0], ecx
mov dword [ebp + 0xd4], edx
mov word [ebp + 0xc0], ax
mov byte [ebp - 4], 0x38
mov dword [ebp + 0x100], ecx
mov dword [ebp + 0x104], ecx
mov dword [ebp + 0x100], ecx
mov dword [ebp + 0x104], edx
mov word [ebp + 0xf0], ax
mov byte [ebp - 4], 0x39
lea eax, [ebp + 0xf0]
push eax
lea edx, [ebp + 0xc0]
mov ecx, esi
call fcn.0046d250
lea ecx, [ebp + 0x60]
mov dword [esp], 0x529f54
call fcn.004042a7
mov byte [ebp - 4], 0x3a
lea eax, [ebp + 0x60]
push eax
lea edx, [ebp + 0xc0]
lea ecx, [ebp + 0xd8]
call fcn.0046e3e0
pop ecx
mov byte [ebp - 4], 0x3b
lea ecx, [ebp + 0xc0]
push eax
call fcn.00404252
mov byte [ebp - 4], 0x3a
lea ecx, [ebp + 0xd8]
call fcn.004050c4
mov byte [ebp - 4], 0x39
lea ecx, [ebp + 0x60]
call fcn.004050c4
push 0x529f54
lea ecx, [ebp]
call fcn.004042a7
mov byte [ebp - 4], 0x3c
lea eax, [ebp]
push eax
lea edx, [ebp + 0xf0]
lea ecx, [ebp + 0x18]
call fcn.0046e3e0
pop ecx
mov byte [ebp - 4], 0x3d
lea ecx, [ebp + 0xf0]
push eax
call fcn.00404252
mov byte [ebp - 4], 0x3c
lea ecx, [ebp + 0x18]
call fcn.004050c4
mov byte [ebp - 4], 0x39
lea ecx, [ebp]
call fcn.004050c4
lea edx, [ebp + 0xf0]
lea ecx, [ebp + 0xc0]
call fcn.0040463e
test al, al
je 0x4bbe5b
lea ecx, [ebp + 0xc0]
call fcn.0047c140
mov ecx, dword [edi + 0x68]
test al, al
lea eax, [ebp + 0xf0]
push eax
je 0x4bbdf6
add ecx, 0x4c
call fcn.00405125
cmp dword [ebp + 0x104], 8
lea ecx, [ebp + 0xf0]
mov eax, dword [ebp + 0x100]
cmovae ecx, dword [ebp + 0xf0]
lea eax, [ecx + eax*2]
lea ecx, [ebp + 0xf0]
cmovae ecx, dword [ebp + 0xf0]
push eax
push ecx
push ecx
mov ecx, dword [edi + 0x68]
mov ecx, dword [ecx + 0xc4]
call fcn.004bcabe
mov ecx, eax
call fcn.004bce17
mov bl, 1
jmp 0x4bbe44
add ecx, 4
call fcn.00405125
test bl, bl
je 0x4bbe44
cmp dword [ebp + 0x104], 8
lea ecx, [ebp + 0xf0]
mov eax, dword [ebp + 0x100]
cmovae ecx, dword [ebp + 0xf0]
lea eax, [ecx + eax*2]
lea ecx, [ebp + 0xf0]
cmovae ecx, dword [ebp + 0xf0]
push eax
push ecx
push ecx
mov ecx, dword [edi + 0x68]
mov ecx, dword [ecx + 0xc4]
call fcn.004bcabe
mov ecx, eax
call fcn.004bce17
mov ecx, dword [edi + 0x68]
lea eax, [ebp + 0xf0]
push eax
add ecx, 0x34
call fcn.00405125
jmp 0x4bbf26
test bl, bl
je 0x4bbefa
push 0x5339c0
lea ecx, [ebp + 0x90]
call fcn.004042a7
mov byte [ebp - 4], 0x3f
lea ecx, [ebp + 0xc0]
cmp dword [ebp + 0xd4], 8
push dword [ebp + 0xd0]
cmovae ecx, dword [ebp + 0xc0]
push ecx
push 0
mov ecx, eax
call fcn.00419465
push eax
lea ecx, [ebp + 0x78]
call fcn.00404d3d
or dword [ebp - 0x18], 4
lea ecx, [ebp + 0xf0]
push ecx
mov edx, eax
lea ecx, [ebp + 0x30]
call fcn.0041e759
pop ecx
mov byte [ebp - 4], 0x40
mov ecx, dword [edi + 0x68]
push eax
mov ecx, dword [ecx + 0xc4]
call fcn.0047b300
mov byte [ebp - 4], 0x3f
lea ecx, [ebp + 0x30]
call fcn.004050c4
and dword [ebp - 0x18], 0xfffffffb
mov byte [ebp - 4], 0x3e
lea ecx, [ebp + 0x78]
call fcn.004050c4
mov byte [ebp - 4], 0x39
lea ecx, [ebp + 0x90]
call fcn.004050c4
jmp 0x4bbf26
mov ecx, dword [edi + 0x68]
lea eax, [ebp + 0xf0]
push eax
lea eax, [ebp + 0xc0]
push eax
call fcn.004b1c59
mov ecx, dword [edi + 0x6c]
lea edx, [ebp + 0xf0]
push edx
lea edx, [ebp + 0xc0]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov byte [ebp - 4], 0x38
lea ecx, [ebp + 0xf0]
call fcn.004050c4
mov byte [ebp - 4], 0x36
lea ecx, [ebp + 0xc0]
call fcn.004050c4
add esi, 0x18
cmp esi, dword [ebp - 0x28]
jne 0x4bbc75
mov byte [ebp - 0x30], bl
test bl, bl
jne 0x4bbf5e
mov ecx, edi
call fcn.004bc01e
push dword [edi + 0x5c]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x2c]
call fcn.004042fb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x48]
call fcn.004050c4
jmp 0x4bbfda
cmp esi, 2
jne 0x4bbfda
mov ecx, edi
call fcn.004bc01e
push dword [edi + 0x5c]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
push dword [edi + 0x78]
lea ecx, [ebp - 0x9c]
push dword [edi + 0x70]
call fcn.00410805
mov dword [ebp - 4], 0x41
xor esi, esi
mov ecx, dword [edi + 0x78]
lea eax, [ebp - 0x9c]
cmp dword [edi + 0x24c], esi
cmove eax, esi
mov edx, dword [ecx]
push eax
call dword [edx + 0x3c]
mov dword [edi + 0x64], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.004108dc
push 0
push 2
call dword [sym.imp.msi.dll_MsiSetPropertyW]
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0x30]
call dword [eax + 0x18]
test bl, bl
jne 0x4bbff9
mov ecx, edi
call fcn.004bc066
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x108]
xor ecx, ebp
call fcn.004d0217
lea esp, [ebp + 0x10c]
pop ebp
ret 4