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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571051
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x5d6024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1d4], esi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x1cc], edi
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebp + 8]
mov byte [ebp - 0x1fc], 0
test eax, eax
jne 0x50574c
mov edi, dword [esi + 0x6c]
lea ecx, [ebp - 0xa8]
push 0x1b
push str.AI_BOOTSTRAPPERORIGINALLANG
mov eax, dword [edi]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x98], 0
mov esi, dword [eax]
xor eax, eax
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
call fcn.00407c60
mov dword [ebp - 4], 0
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x168]
mov ecx, edi
push eax
call esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa8]
call fcn.00407f30
mov edi, dword [ebp - 0x1d4]
lea ecx, [ebp - 0xd8]
push 0xf
push str.ProductLanguage
mov edi, dword [edi + 0x6c]
mov eax, dword [edi]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc8], 0
mov esi, dword [eax]
xor eax, eax
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
call fcn.00407c60
mov byte [ebp - 4], 3
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x150]
mov ecx, edi
push eax
call esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xd8]
call fcn.00407f30
mov eax, dword [ebp - 0x1d4]
lea ecx, [ebp - 0xf0]
push 0x13
push str.AI_BOOTSTRAPPERLANG
mov edi, dword [eax + 0x6c]
mov eax, dword [edi]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xe0], 0
mov esi, dword [eax]
xor eax, eax
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
call fcn.00407c60
mov byte [ebp - 4], 6
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x120]
mov ecx, edi
push eax
call esi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xf0]
call fcn.00407f30
mov eax, dword [ebp - 0x1d4]
mov edi, dword [eax + 0x78]
cmp dword [ebp - 0x10c], 8
mov eax, dword [edi]
mov esi, dword [eax + 0x30]
lea eax, [ebp - 0x120]
cmovae eax, dword [ebp - 0x120]
push eax
call fcn.0052b3a2
add esp, 4
movzx eax, ax
mov ecx, edi
push eax
call esi
cmp dword [ebp - 0x13c], 8
lea edx, [ebp - 0x150]
mov edi, dword [ebp - 0x10c]
lea ecx, [ebp - 0x120]
cmovae edx, dword [ebp - 0x150]
cmp edi, 8
mov eax, dword [ebp - 0x120]
mov esi, dword [ebp - 0x110]
cmovae ecx, eax
cmp esi, dword [ebp - 0x140]
jne 0x504c5b
push esi
call fcn.00407330
add esp, 4
test eax, eax
jne 0x504c55
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x120]
call fcn.00407f30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x150]
call fcn.00407f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x168]
call fcn.00407f30
jmp 0x5062ca
mov eax, dword [ebp - 0x120]
cmp dword [ebp - 0x154], 8
lea edx, [ebp - 0x168]
lea ecx, [ebp - 0x120]
mov byte [ebp - 0x1cd], 0
cmovae edx, dword [ebp - 0x168]
cmp edi, 8
cmovae ecx, eax
cmp esi, dword [ebp - 0x158]
jne 0x504c9e
push esi
call fcn.00407330
add esp, 4
mov byte [ebp - 0x1f1], 0
test eax, eax
je 0x504ca5
mov byte [ebp - 0x1f1], 1
mov eax, dword [ebp - 0x1d4]
mov edx, dword [eax + 0x68]
cmp dword [edx + 0x2c], 0
je 0x504cb9
add edx, 0x1c
jmp 0x504cbc
add edx, 4
cmp dword [edx + 0x14], 8
jb 0x504cc4
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x98], 0
xor eax, eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x504d00
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa8]
call fcn.00407c60
mov byte [ebp - 4], 9
lea eax, [ebp - 0xa8]
push 1
sub esp, 0x18
mov dword [ebp - 0x204], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1dc], esp
push eax
call fcn.00406c50
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 9
mov ecx, esi
call fcn.00486fd0
add esp, 0x18
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c8]
call fcn.00487400
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xa8]
call fcn.00407f30
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.00485d50
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x198]
call fcn.00447520
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x198]
call fcn.00486cf0
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 8
jb 0x504dbe
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.004154d0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x1d8]
call fcn.00493400
mov byte [ebp - 0x1dd], al
mov byte [ebp - 4], 0x10
or ecx, 0xffffffff
mov edx, dword [ebp - 0x1d8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x504e01
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa8]
call fcn.00407f30
cmp dword [ebp - 0x10c], 8
lea eax, [ebp - 0x120]
mov ecx, 0x5997c8
cmovae eax, dword [ebp - 0x120]
cmp byte [ebp - 0x1dd], 0
push eax
mov eax, 0x5997d0
cmove eax, ecx
push eax
lea eax, [ebp - 0x1b0]
push eax
call fcn.00488a50
add esp, 0xc
mov byte [ebp - 4], 0x13
mov esi, dword [ebp - 0x1d4]
mov eax, dword [esi + 0x68]
add eax, 0x1c
push eax
call fcn.004f9860
mov byte [ebp - 0x1dd], al
xor eax, eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
mov byte [ebp - 4], 0x14
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1ec], 0
mov edx, dword [eax + 0xc4]
mov ecx, dword [edx + 0x10]
add ecx, dword [edx + 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x1e4], ecx
mov dword [ebp - 0x1e8], ecx
mov dword [ebp - 0x1f0], eax
mov byte [ebp - 4], 0x15
mov eax, dword [edx + 0xc]
mov edx, dword [edx]
mov dword [ebp - 0x200], eax
mov dword [ebp - 0x1d8], edx
mov byte [ebp - 4], 0x14
test edx, edx
je 0x504ef2
mov edi, dword [edx]
jmp 0x504ef4
xor edi, edi
cmp eax, ecx
je 0x504f35
mov esi, dword [ebp - 0x1e4]
nop
mov ecx, dword [edi + 8]
dec ecx
and ecx, eax
mov eax, dword [edi + 4]
push dword [eax + ecx*4]
call fcn.005049b0
add esp, 4
test al, al
jne 0x504f29
mov eax, dword [ebp - 0x200]
inc eax
mov dword [ebp - 0x200], eax
cmp eax, esi
jne 0x504f00
mov esi, dword [ebp - 0x1d4]
mov edx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1f8], 0
test edx, edx
je 0x504f5d
mov eax, dword [edx]
test eax, eax
je 0x504f53
mov eax, dword [eax]
mov dword [ebp - 0x1f8], eax
jmp 0x504f5d
mov dword [ebp - 0x1f8], 0
mov edx, dword [esi + 0x68]
mov edi, dword [ebp - 0x200]
mov eax, dword [edx + 0xc4]
mov ecx, dword [eax + 0x10]
add ecx, dword [eax + 0xc]
cmp edi, ecx
je 0x505223
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1e8], 0
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x1f0]
push eax
mov ecx, esi
call fcn.004f58b0
mov eax, dword [ebp - 0x1f8]
test eax, eax
je 0x504fb8
mov eax, dword [eax]
jmp 0x504fba
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edi
mov ecx, dword [eax + ecx*4]
cmp dword [ecx + 0x14], 8
mov edx, dword [ecx + 0x10]
jb 0x504fd1
mov ecx, dword [ecx]
sub esp, 8
mov eax, esp
push edx
push ecx
lea ecx, [ebp - 0xe4]
mov dword [eax], 0x594f04
mov dword [eax + 4], 1
call fcn.00487e40
add esp, 0x10
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0xe4]
add ecx, 0x18
cmp dword [ecx + 0x14], 8
mov edx, dword [ecx + 0x10]
jb 0x50500b
mov ecx, dword [ecx]
sub esp, 8
mov eax, esp
push edx
push ecx
lea ecx, [ebp - 0x174]
mov dword [eax], 0x585bec
mov dword [eax + 4], 1
call fcn.00487e40
add esp, 0x10
mov byte [ebp - 4], 0x18
mov esi, dword [ebp - 0x174]
mov edi, dword [ebp - 0x170]
cmp esi, edi
je 0x5051bf
mov eax, dword [ebp - 0x1ec]
nop dword [eax + eax]
xor ecx, ecx
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x1e4], ecx
test eax, eax
jle 0x505195
nop word [eax + eax]
test ecx, ecx
js 0x5062e7
cmp ecx, eax
jge 0x5062e7
mov eax, dword [ebp - 0x1f0]
movzx eax, word [eax + ecx*2]
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x90]
push 0xa
push 0x40
push ecx
push eax
call fcn.0052c12e
add esp, 0x10
mov dword [ebp - 0x98], 0
xor eax, eax
mov dword [ebp - 0x94], 0
mov word [ebp - 0xa8], ax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x98], 0
lea edx, [eax + 2]
mov dword [ebp - 0x94], 7
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5050e0
sub eax, edx
lea ecx, [ebp - 0xa8]
sar eax, 1
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00407c60
or dword [ebp - 0x1cc], 0x20
lea eax, [ebp - 0xa8]
cmp dword [ebp - 0x94], 8
mov ecx, esi
cmovae eax, dword [ebp - 0xa8]
cmp dword [esi + 0x14], 8
jb 0x505127
mov ecx, dword [esi]
push dword [ebp - 0x98]
mov edx, dword [esi + 0x10]
push eax
push 0
call fcn.00408910
and dword [ebp - 0x1cc], 0xffffffdf
add esp, 0xc
mov dword [ebp - 0x1dc], eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xa8]
call fcn.00407f30
cmp dword [ebp - 0x1dc], 0xffffffff
mov edx, dword [ebp - 0x1d8]
jne 0x50516d
inc edx
mov dword [ebp - 0x1d8], edx
mov ecx, dword [ebp - 0x1e4]
mov eax, dword [ebp - 0x1ec]
inc ecx
mov dword [ebp - 0x1e4], ecx
cmp ecx, eax
jl 0x505070
test edx, edx
je 0x505195
mov byte [ebp - 0x1cd], 1
jmp 0x5051b4
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x50519f
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0xd8]
push eax
call fcn.00408620
mov eax, dword [ebp - 0x1ec]
add esi, 0x18
cmp esi, edi
jne 0x505050
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x174]
call fcn.00406cd0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xe4]
call fcn.00406cd0
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x1f0]
test eax, eax
je 0x5051fe
push eax
call fcn.00529ae6
add esp, 4
mov dword [ebp - 0x1f0], 0
mov esi, dword [ebp - 0x1d4]
mov edi, dword [ebp - 0x200]
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1e8], 0
mov edx, dword [esi + 0x68]
jmp 0x50522c
cmp byte [ebp - 0x1dd], 0
je 0x50524f
lea eax, [edx + 0x1c]
lea ecx, [edx + 4]
cmp ecx, eax
je 0x50524b
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x505241
mov eax, dword [eax]
push edx
push eax
call fcn.00407c60
mov edx, dword [esi + 0x68]
mov byte [edx + 0x65], 0
cmp byte [ebp - 0x1f1], 0
je 0x50527b
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0xf0]
call fcn.00406c50
mov ecx, eax
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x1cc]
or eax, 1
jmp 0x5052d3
xor eax, eax
mov dword [ebp - 0x98], 0
push eax
mov dword [ebp - 0x94], 0
lea ecx, [ebp - 0xa8]
push 0x583918
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
call fcn.00407c60
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 0x1b
mov eax, dword [ebp - 0x1cc]
or eax, 2
mov dword [ebp - 0x1cc], eax
xor edx, edx
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x138], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x128], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], dx
mov dword [ebp - 4], 0x1d
test al, 2
je 0x50533c
and eax, 0xfffffffd
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x1cc], eax
call fcn.00407f30
mov eax, dword [ebp - 0x1cc]
mov byte [ebp - 4], 0x1e
test al, 1
je 0x505358
and eax, 0xfffffffe
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x1cc], eax
call fcn.00407f30
cmp dword [ebp - 0xc8], 0
mov eax, 0x585bec
mov edx, 0x583918
cmovne edx, eax
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x1dc], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x505377
sub ecx, dword [ebp - 0x1dc]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x138]
call fcn.00408620
cmp dword [ebp - 0xc4], 8
lea eax, [ebp - 0xd8]
push dword [ebp - 0xc8]
cmovae eax, dword [ebp - 0xd8]
lea ecx, [ebp - 0x138]
push eax
call fcn.00408620
cmp byte [esi + 0x24c], 0
jne 0x5055d2
cmp byte [ebp - 0x1cd], 0
je 0x5054a4
mov eax, dword [esi + 0x68]
xor edx, edx
mov ecx, dword [ebp - 0x1f8]
mov eax, dword [eax + 0xc4]
mov dword [ebp - 0x1dc], eax
xor eax, eax
test ecx, ecx
je 0x505402
mov eax, dword [ecx]
test eax, eax
je 0x5053fe
mov eax, dword [eax]
jmp 0x505400
xor eax, eax
mov edx, eax
sub esp, 0xc
mov dword [ebp - 0x204], esp
mov ecx, esp
test edx, edx
je 0x505446
mov edx, dword [eax]
test edx, edx
je 0x50541b
mov edx, dword [edx]
jmp 0x50541d
xor edx, edx
mov esi, dword [ebp - 0x1d4]
mov dword [ecx], 0
mov dword [ecx + 4], 0
test edx, edx
je 0x505453
mov edx, dword [edx]
test edx, edx
je 0x505440
mov edx, dword [edx]
mov dword [ecx], edx
jmp 0x505453
xor edx, edx
mov dword [ecx], edx
jmp 0x505453
mov dword [ecx], 0
mov dword [ecx + 4], 0
lea edx, [edi + 1]
mov dword [ecx + 8], edx
mov byte [ebp - 4], 0x1f
sub esp, 0xc
mov dword [ebp - 0x1e4], esp
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
test eax, eax
je 0x505487
mov eax, dword [eax]
test eax, eax
je 0x505483
mov eax, dword [eax]
jmp 0x505485
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 8], edi
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0xe4]
push eax
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x1dc]
call fcn.00506ee0
cmp dword [ebp - 0x128], 0
je 0x5056bc
mov eax, dword [esi + 0x68]
lea ecx, [ebp - 0xa8]
push 1
push 0x594f04
mov esi, dword [eax + 0xc4]
xor eax, eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
call fcn.00407c60
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0xa8]
push eax
mov edx, str.TRANSFORMS
lea ecx, [ebp - 0x180]
call fcn.00426430
add esp, 4
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x138]
cmp dword [ebp - 0x124], 8
push dword [ebp - 0x128]
cmovae ecx, dword [ebp - 0x138]
push ecx
mov ecx, eax
call fcn.00408620
mov edi, dword [ebp - 0x1cc]
xor ecx, ecx
mov dword [ebp - 0xe0], 0
or edi, 0x40
mov dword [ebp - 0xdc], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xf0], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
mov ecx, esi
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0xf0]
push eax
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0x1cc], edi
call fcn.00495c40
and edi, 0xffffffbf
mov dword [ebp - 0x1cc], edi
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0xf0]
call fcn.00407f30
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x180]
call fcn.00407f30
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xa8]
jmp 0x5056b1
mov esi, dword [esi + 0x68]
lea ecx, [ebp - 0xa8]
push 0xa
xor eax, eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
push str.TRANSFORMS
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
call fcn.00407c60
mov byte [ebp - 4], 0x24
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xa8]
mov ecx, esi
push eax
call fcn.004f2e80
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xa8]
call fcn.00407f30
mov eax, dword [ebp - 0x1d4]
lea ecx, [ebp - 0xf0]
push 0xa
push str.TRANSFORMS
mov edi, dword [eax + 0x6c]
mov eax, dword [edi]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xe0], 0
mov esi, dword [eax + 0xc]
xor eax, eax
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
call fcn.00407c60
mov byte [ebp - 4], 0x25
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xf0]
mov ecx, edi
push eax
call esi
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xf0]
call fcn.00407f30
mov esi, dword [ebp - 0x1d4]
mov ecx, esi
call fcn.00506300
push dword [esi + 0x5c]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x138]
call fcn.00407f30
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xd8]
call fcn.00407f30
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1b0]
call fcn.00407f30
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x198]
call fcn.00407f30
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c8]
call fcn.00407f30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x120]
call fcn.00407f30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x150]
call fcn.00407f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x168]
call fcn.00407f30
jmp 0x5062a3
cmp eax, 1
jne 0x50604d
call fcn.0041fd40
lea ecx, [ebp - 0x1cd]
mov byte [ebp - 0x1cd], 0
push ecx
lea ecx, [ebp - 0x1e4]
push ecx
mov ecx, eax
call fcn.0049ecd0
mov dword [ebp - 4], 0x2a
mov edx, dword [eax]
mov ecx, edx
xor eax, eax
mov dword [ebp - 0xc8], 0
mov word [ebp - 0xd8], ax
mov dword [ebp - 0xc4], 0
lea eax, [ecx + 2]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 7
mov dword [ebp - 0x1dc], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5057c0
sub ecx, dword [ebp - 0x1dc]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xd8]
call fcn.00407c60
mov byte [ebp - 4], 0x2c
or eax, 0xffffffff
mov edx, dword [ebp - 0x1e4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x505802
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x1cd], 0
je 0x50590f
mov edx, 0xe8
lea ecx, [ebp - 0x1f8]
call fcn.004bb7b0
mov byte [ebp - 4], 0x2e
mov edx, 0xe7
lea ecx, [ebp - 0x1d8]
call fcn.004bb7b0
mov byte [ebp - 4], 0x2f
mov esi, dword [ebp - 0x1d8]
mov edi, dword [ebp - 0x1f8]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x44
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x5058c0
mov eax, dword [ebp - 0x1d4]
mov dword [eax + 0x64], 0x642
mov byte [ebp - 4], 0x2e
or esi, 0xffffffff
mov edx, dword [ebp - 0x1d8]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x50588a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2c
mov edx, dword [ebp - 0x1f8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x5058a9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.00407f30
jmp 0x5062ca
mov byte [ebp - 4], 0x2e
or esi, 0xffffffff
mov edx, dword [ebp - 0x1d8]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x5058e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2c
mov edx, dword [ebp - 0x1f8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x505903
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x1d4]
mov edi, dword [ebp - 0x1cc]
mov eax, dword [esi + 0x68]
test byte [eax + 0x68], 2
jne 0x505928
cmp byte [esi + 0x24c], 0
mov byte [ebp - 0x1fc], 0
jne 0x50592f
mov byte [ebp - 0x1fc], 1
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1e8], 0
mov byte [ebp - 4], 0x34
lea edx, [ebp - 0xd8]
cmp dword [ebp - 0xc4], 8
mov ecx, dword [ebp - 0xc8]
cmovae edx, dword [ebp - 0xd8]
sub esp, 8
mov eax, esp
push ecx
push edx
push 1
push 1
lea ecx, [ebp - 0x1f0]
mov dword [eax], 0x5857cc
mov dword [eax + 4], 1
call fcn.00487c50
mov eax, dword [ebp - 0x1f0]
add esp, 0x18
mov ecx, dword [ebp - 0x1ec]
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1d8], ecx
cmp eax, ecx
je 0x50600e
xor ecx, ecx
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 7
mov word [ebp - 0x108], cx
mov byte [ebp - 4], 0x35
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], cx
mov byte [ebp - 4], 0x36
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x505a17
mov ecx, dword [eax]
push dword [eax + 0x10]
lea edx, [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0x108]
call fcn.004881f0
cmp dword [ebp - 0xf4], 8
lea ecx, [ebp - 0x108]
mov eax, dword [ebp - 0xf8]
cmovae ecx, dword [ebp - 0x108]
mov byte [ebp - 4], 0x37
push 1
push 0x586e64
push eax
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.00488660
add esp, 0x18
mov byte [ebp - 4], 0x38
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x505a70
mov eax, dword [eax]
push 1
push 0x586e64
push ecx
push eax
lea ecx, [ebp - 0x1b0]
call fcn.00488870
or edi, 0x80
add esp, 0x10
mov esi, eax
mov dword [ebp - 0x1cc], edi
mov byte [ebp - 4], 0x37
lea ecx, [ebp - 0x1c8]
call fcn.00407f30
lea eax, [ebp - 0x108]
cmp eax, esi
je 0x505adf
mov ecx, eax
call fcn.00407f30
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x108], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0xf8], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
and edi, 0xffffff7f
mov dword [ebp - 0x1cc], edi
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x1b0]
call fcn.00407f30
cmp dword [ebp - 0xac], 8
lea ecx, [ebp - 0xc0]
mov eax, dword [ebp - 0xb0]
cmovae ecx, dword [ebp - 0xc0]
mov byte [ebp - 4], 0x39
push 1
push 0x586e64
push eax
push ecx
lea ecx, [ebp - 0x198]
call fcn.00488660
add esp, 0x10
mov byte [ebp - 4], 0x3a
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x505b3e
mov eax, dword [eax]
push 1
push 0x586e64
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.00488870
or edi, 0x100
add esp, 0x10
mov esi, eax
mov dword [ebp - 0x1cc], edi
mov byte [ebp - 4], 0x39
lea ecx, [ebp - 0x198]
call fcn.00407f30
lea eax, [ebp - 0xc0]
cmp eax, esi
je 0x505bad
mov ecx, eax
call fcn.00407f30
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0xc0], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0xb0], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
and edi, 0xfffffeff
mov dword [ebp - 0x1cc], edi
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x138]
call fcn.00407f30
cmp dword [ebp - 0xac], 8
lea edx, [ebp - 0xc0]
mov esi, dword [ebp - 0xf8]
lea ecx, [ebp - 0x108]
cmovae edx, dword [ebp - 0xc0]
cmp dword [ebp - 0xf4], 8
cmovae ecx, dword [ebp - 0x108]
cmp esi, dword [ebp - 0xb0]
jne 0x505e08
push esi
call fcn.00407330
add esp, 4
test eax, eax
jne 0x505e08
cmp dword [ebp - 0xf4], 8
lea eax, [ebp - 0x108]
push esi
cmovae eax, dword [ebp - 0x108]
push eax
call fcn.00496180
mov esi, dword [ebp - 0x1d4]
add esp, 8
test al, al
lea eax, [ebp - 0xc0]
mov ecx, dword [esi + 0x68]
je 0x505d06
lea edx, [ecx + 0x4c]
cmp edx, eax
je 0x505c6e
cmp dword [ebp - 0xac], 8
mov ecx, edx
push dword [ebp - 0xb0]
cmovae eax, dword [ebp - 0xc0]
push eax
call fcn.00407c60
mov ecx, dword [esi + 0x68]
mov eax, dword [ecx + 0xc4]
cmp dword [eax + 0x10], 1
jbe 0x5062f3
mov edx, dword [eax]
mov ecx, dword [eax + 0xc]
xor eax, eax
test edx, edx
je 0x505c91
mov eax, dword [edx]
test eax, eax
je 0x505ca8
mov eax, dword [eax]
lea edx, [ecx + 1]
test eax, eax
je 0x505cab
mov eax, dword [eax]
test eax, eax
je 0x505cab
mov eax, dword [eax]
test eax, eax
je 0x505cab
mov eax, dword [eax]
jmp 0x505cad
lea edx, [ecx + 1]
xor eax, eax
mov ecx, dword [eax + 8]
lea esi, [ebp - 0xc0]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
cmp dword [ebp - 0xac], 8
cmovae esi, dword [ebp - 0xc0]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0xc0]
cmovae ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0xb0]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x1dc]
sub eax, esi
sar eax, 1
push eax
push esi
call fcn.00407c60
mov byte [ebp - 0x1fc], 1
jmp 0x505dc9
add ecx, 4
cmp ecx, eax
je 0x505d2d
cmp dword [ebp - 0xac], 8
lea eax, [ebp - 0xc0]
push dword [ebp - 0xb0]
cmovae eax, dword [ebp - 0xc0]
push eax
call fcn.00407c60
cmp byte [ebp - 0x1fc], 0
je 0x505dd5
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 0xc4]
cmp dword [eax + 0x10], 1
jbe 0x5062f3
mov edx, dword [eax]
mov ecx, dword [eax + 0xc]
xor eax, eax
test edx, edx
je 0x505d60
mov eax, dword [edx]
test eax, eax
je 0x505d77
mov eax, dword [eax]
lea edx, [ecx + 1]
test eax, eax
je 0x505d7a
mov eax, dword [eax]
test eax, eax
je 0x505d7a
mov eax, dword [eax]
test eax, eax
je 0x505d7a
mov eax, dword [eax]
jmp 0x505d7c
lea edx, [ecx + 1]
xor eax, eax
mov ecx, dword [eax + 8]
lea esi, [ebp - 0xc0]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
cmp dword [ebp - 0xac], 8
cmovae esi, dword [ebp - 0xc0]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0xc0]
cmovae ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0xb0]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x1dc]
sub eax, esi
sar eax, 1
push eax
push esi
call fcn.00407c60
mov esi, dword [ebp - 0x1d4]
mov edi, dword [ebp - 0x1cc]
mov ecx, dword [esi + 0x68]
lea eax, [ebp - 0xc0]
add ecx, 0x34
cmp ecx, eax
je 0x505fd5
cmp dword [ebp - 0xac], 8
push dword [ebp - 0xb0]
cmovae eax, dword [ebp - 0xc0]
push eax
call fcn.00407c60
jmp 0x505fd5
cmp byte [ebp - 0x1fc], 0
mov esi, dword [ebp - 0x1d4]
mov ecx, dword [esi + 0x68]
je 0x505fac
mov esi, dword [ecx + 0xc4]
xor eax, eax
push 1
mov dword [ebp - 0x98], 0
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x94], 0
push 0x594f04
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
call fcn.00407c60
mov byte [ebp - 4], 0x3c
lea eax, [ebp - 0x108]
cmp dword [ebp - 0xf4], 8
lea ecx, [ebp - 0xa8]
push dword [ebp - 0xf8]
cmovae eax, dword [ebp - 0x108]
push eax
push 0
call fcn.00408400
mov dword [ebp - 0x140], 0
xor ecx, ecx
mov dword [ebp - 0x13c], 0
or edi, 0x200
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x150], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x140], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 0x1cc], edi
mov byte [ebp - 4], 0x3d
lea eax, [ebp - 0xc0]
cmp dword [ebp - 0xac], 8
lea ecx, [ebp - 0x150]
push dword [ebp - 0xb0]
cmovae eax, dword [ebp - 0xc0]
push eax
call fcn.00408620
xor ecx, ecx
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
or edi, 0x400
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x168], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
mov ecx, esi
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0x168]
push eax
movq qword [ebp - 0x158], xmm0
mov dword [ebp - 0x1cc], edi
call fcn.00495c40
and edi, 0xfffffbff
mov dword [ebp - 0x1cc], edi
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x168]
call fcn.00407f30
and edi, 0xfffffdff
mov dword [ebp - 0x1cc], edi
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x150]
call fcn.00407f30
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0xa8]
call fcn.00407f30
mov esi, dword [ebp - 0x1d4]
jmp 0x505fd5
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004f2e80
mov ecx, dword [esi + 0x6c]
lea edx, [ebp - 0xc0]
push edx
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov byte [ebp - 4], 0x35
lea ecx, [ebp - 0xc0]
call fcn.00407f30
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0x108]
call fcn.00407f30
mov eax, dword [ebp - 0x1e4]
add eax, 0x18
mov dword [ebp - 0x1e4], eax
cmp eax, dword [ebp - 0x1d8]
jne 0x5059b1
cmp byte [ebp - 0x1fc], 0
jne 0x50601e
mov ecx, esi
call fcn.00506300
push dword [esi + 0x5c]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x1f0]
call fcn.00406cd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.00407f30
jmp 0x5062a3
cmp eax, 2
jne 0x5062a3
mov ecx, esi
call fcn.00506300
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [esi + 0x5c]
mov edx, eax
xor eax, eax
mov dword [ebp - 0x204], edx
mov dword [ebp - 0x1d8], ecx
mov dword [ebp - 0x1e4], eax
mov edi, dword [edx + 8]
mov dword [ebp - 0x200], edi
test edi, edi
jle 0x506251
xor ecx, ecx
mov dword [ebp - 0x1f8], ecx
nop dword [eax]
test ecx, ecx
js 0x5062e7
cmp eax, dword [edx + 8]
jge 0x5062e7
mov edi, dword [edx + 4]
add edi, ecx
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 4], 0x3e
lea ecx, [ebp - 0x1ec]
mov edx, dword [edi + 0x14]
push ecx
mov ecx, dword [ebp - 0x1d8]
call fcn.004a2300
mov edx, dword [ebp - 0x1e8]
add esp, 4
test edx, edx
jne 0x5060f7
xor ecx, ecx
jmp 0x506115
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x1dc], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x506102
sub ecx, dword [ebp - 0x1dc]
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x14]
call fcn.00408e70
push dword [ebp - 0x1e8]
call fcn.00522af9
mov edx, dword [edi + 0x18]
lea ecx, [ebp - 0x1ec]
push ecx
mov ecx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x1ec], 0
call fcn.004a2300
mov edx, dword [ebp - 0x1e8]
add esp, 8
test edx, edx
jne 0x506164
xor ecx, ecx
jmp 0x506183
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x1dc], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x506170
sub ecx, dword [ebp - 0x1dc]
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x18]
call fcn.00408e70
push dword [ebp - 0x1e8]
call fcn.00522af9
mov edx, dword [edi + 0x1c]
lea eax, [edi + 0x1c]
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x1e8], 0
push ecx
mov ecx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1dc], eax
call fcn.004a2300
mov edi, dword [ebp - 0x1e8]
add esp, 8
test edi, edi
jne 0x5061db
xor ecx, ecx
jmp 0x5061ef
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5061e0
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x1dc]
push edi
call fcn.00408e70
mov dword [ebp - 4], 0xffffffff
push edi
call fcn.00522af9
mov eax, dword [ebp - 0x1e4]
add esp, 4
mov ecx, dword [ebp - 0x1f8]
inc eax
mov edx, dword [ebp - 0x204]
add ecx, 0x74
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1f8], ecx
cmp eax, dword [ebp - 0x200]
jl 0x5060a0
mov ecx, dword [esi + 0x5c]
push ecx
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
push dword [esi + 0x78]
lea ecx, [ebp - 0x60]
push dword [esi + 0x70]
call fcn.00419310
mov dword [ebp - 4], 0x3f
mov edi, dword [esi + 0x78]
mov ecx, edi
mov eax, dword [edi]
mov esi, dword [eax + 0x3c]
mov eax, dword [eax + 4]
call eax
xor ecx, ecx
lea edx, [ebp - 0x60]
test al, al
cmovne edx, ecx
mov ecx, edi
push edx
call esi
mov esi, dword [ebp - 0x1d4]
mov dword [esi + 0x64], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00419430
push 0
push 2
call dword [sym.imp.msi.dll_MsiSetPropertyW]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x1fc]
call dword [eax + 0x18]
cmp byte [ebp - 0x1fc], 0
jne 0x5062ca
mov ecx, esi
call fcn.00506450
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052223b
mov esp, ebp
pop ebp
ret 4
push 1
push 0xc000008c
call fcn.004111f0
call fcn.004f2a50
int3