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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571811
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x5d8024]
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 0x50506c
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.0052b6e2
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 0x50457b
push esi
call fcn.00407330
add esp, 4
test eax, eax
jne 0x504575
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 0x505bab
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 0x5045be
push esi
call fcn.00407330
add esp, 4
mov byte [ebp - 0x1e5], 0
test eax, eax
je 0x5045c5
mov byte [ebp - 0x1e5], 1
mov eax, dword [ebp - 0x1d4]
mov edx, dword [eax + 0x68]
cmp dword [edx + 0x2c], 0
je 0x5045d9
add edx, 0x1c
jmp 0x5045dc
add edx, 4
cmp dword [edx + 0x14], 8
jb 0x5045e4
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 0x504620
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.00486920
add esp, 0x18
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c8]
call fcn.00486d50
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xa8]
call fcn.00407f30
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.004856a0
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x198]
call fcn.00446fe0
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x198]
call fcn.00486640
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 8
jb 0x5046de
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.004152f0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x1d8]
call fcn.00492b20
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 0x504721
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, 0x59b5d0
cmovae eax, dword [ebp - 0x120]
cmp byte [ebp - 0x1dd], 0
push eax
mov eax, 0x59b5d8
cmove eax, ecx
push eax
lea eax, [ebp - 0x1b0]
push eax
call fcn.004883a0
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.004f9350
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 - 0x1f8], 0
mov dword [ebp - 0x1f4], 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 - 0x1f0], ecx
mov dword [ebp - 0x1f8], 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 0x504812
mov edi, dword [edx]
jmp 0x504814
xor edi, edi
cmp eax, ecx
je 0x504855
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.005042d0
add esp, 4
test al, al
jne 0x504849
mov eax, dword [ebp - 0x200]
inc eax
mov dword [ebp - 0x200], eax
cmp eax, esi
jne 0x504820
mov esi, dword [ebp - 0x1d4]
mov edx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1ec], 0
test edx, edx
je 0x50487d
mov eax, dword [edx]
test eax, eax
je 0x504873
mov eax, dword [eax]
mov dword [ebp - 0x1ec], eax
jmp 0x50487d
mov dword [ebp - 0x1ec], 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 0x504b43
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1f0], 0
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x1f8]
push eax
mov ecx, esi
call fcn.004f53f0
mov eax, dword [ebp - 0x1ec]
test eax, eax
je 0x5048d8
mov eax, dword [eax]
jmp 0x5048da
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 0x5048f1
mov ecx, dword [ecx]
sub esp, 8
mov eax, esp
push edx
push ecx
lea ecx, [ebp - 0xe4]
mov dword [eax], 0x596ce4
mov dword [eax + 4], 1
call fcn.00487790
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 0x50492b
mov ecx, dword [ecx]
sub esp, 8
mov eax, esp
push edx
push ecx
lea ecx, [ebp - 0x174]
mov dword [eax], 0x587a0c
mov dword [eax + 4], 1
call fcn.00487790
add esp, 0x10
mov byte [ebp - 4], 0x18
mov esi, dword [ebp - 0x174]
mov edi, dword [ebp - 0x170]
cmp esi, edi
je 0x504adf
mov eax, dword [ebp - 0x1f4]
nop dword [eax + eax]
xor ecx, ecx
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x1e4], ecx
test eax, eax
jle 0x504ab5
nop word [eax + eax]
test ecx, ecx
js 0x505bc8
cmp ecx, eax
jge 0x505bc8
mov eax, dword [ebp - 0x1f8]
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.0052c46e
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 0x504a00
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 0x504a47
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 0x504a8d
inc edx
mov dword [ebp - 0x1d8], edx
mov ecx, dword [ebp - 0x1e4]
mov eax, dword [ebp - 0x1f4]
inc ecx
mov dword [ebp - 0x1e4], ecx
cmp ecx, eax
jl 0x504990
test edx, edx
je 0x504ab5
mov byte [ebp - 0x1cd], 1
jmp 0x504ad4
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x504abf
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0xd8]
push eax
call fcn.00408620
mov eax, dword [ebp - 0x1f4]
add esi, 0x18
cmp esi, edi
jne 0x504970
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 - 0x1f8]
test eax, eax
je 0x504b1e
push eax
call fcn.00529e26
add esp, 4
mov dword [ebp - 0x1f8], 0
mov esi, dword [ebp - 0x1d4]
mov edi, dword [ebp - 0x200]
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1f0], 0
mov edx, dword [esi + 0x68]
jmp 0x504b4c
cmp byte [ebp - 0x1dd], 0
je 0x504b6f
lea eax, [edx + 0x1c]
lea ecx, [edx + 4]
cmp ecx, eax
je 0x504b6b
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x504b61
mov eax, dword [eax]
push edx
push eax
call fcn.00407c60
mov edx, dword [esi + 0x68]
mov byte [edx + 0x65], 0
cmp byte [ebp - 0x1e5], 0
je 0x504b9b
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 0x504bf3
xor eax, eax
mov dword [ebp - 0x98], 0
push eax
mov dword [ebp - 0x94], 0
lea ecx, [ebp - 0xa8]
push 0x585748
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 0x504c5c
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 0x504c78
and eax, 0xfffffffe
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x1cc], eax
call fcn.00407f30
cmp dword [ebp - 0xc8], 0
mov eax, 0x587a0c
mov edx, 0x585748
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 0x504c97
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 0x504ef2
cmp byte [ebp - 0x1cd], 0
je 0x504dc4
mov eax, dword [esi + 0x68]
xor edx, edx
mov ecx, dword [ebp - 0x1ec]
mov eax, dword [eax + 0xc4]
mov dword [ebp - 0x1dc], eax
xor eax, eax
test ecx, ecx
je 0x504d22
mov eax, dword [ecx]
test eax, eax
je 0x504d1e
mov eax, dword [eax]
jmp 0x504d20
xor eax, eax
mov edx, eax
sub esp, 0xc
mov dword [ebp - 0x204], esp
mov ecx, esp
test edx, edx
je 0x504d66
mov edx, dword [eax]
test edx, edx
je 0x504d3b
mov edx, dword [edx]
jmp 0x504d3d
xor edx, edx
mov esi, dword [ebp - 0x1d4]
mov dword [ecx], 0
mov dword [ecx + 4], 0
test edx, edx
je 0x504d73
mov edx, dword [edx]
test edx, edx
je 0x504d60
mov edx, dword [edx]
mov dword [ecx], edx
jmp 0x504d73
xor edx, edx
mov dword [ecx], edx
jmp 0x504d73
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 0x504da7
mov eax, dword [eax]
test eax, eax
je 0x504da3
mov eax, dword [eax]
jmp 0x504da5
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.005067c0
cmp dword [ebp - 0x128], 0
je 0x504fdc
mov eax, dword [esi + 0x68]
lea ecx, [ebp - 0xa8]
push 1
push 0x596ce4
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.00425fd0
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.00495360
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 0x504fd1
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.004f27e0
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.00505be0
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 0x505b84
cmp eax, 1
jne 0x50596d
call fcn.0041f8f0
lea ecx, [ebp - 0x1cd]
mov byte [ebp - 0x1cd], 0
push ecx
lea ecx, [ebp - 0x1e4]
push ecx
mov ecx, eax
call fcn.0049e420
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 0x5050e0
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 0x505122
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x1cd], 0
je 0x50522f
mov edx, 0xe8
lea ecx, [ebp - 0x1ec]
call fcn.004bb060
mov byte [ebp - 4], 0x2e
mov edx, 0xe7
lea ecx, [ebp - 0x1d8]
call fcn.004bb060
mov byte [ebp - 4], 0x2f
mov esi, dword [ebp - 0x1d8]
mov edi, dword [ebp - 0x1ec]
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 0x5051e0
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 0x5051aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2c
mov edx, dword [ebp - 0x1ec]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x5051c9
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 0x505bab
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 0x505204
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2c
mov edx, dword [ebp - 0x1ec]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x505223
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 0x505248
cmp byte [esi + 0x24c], 0
mov byte [ebp - 0x1fc], 0
jne 0x50524f
mov byte [ebp - 0x1fc], 1
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1f0], 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 - 0x1f8]
mov dword [eax], 0x5875ec
mov dword [eax + 4], 1
call fcn.004875a0
mov eax, dword [ebp - 0x1f8]
add esp, 0x18
mov ecx, dword [ebp - 0x1f4]
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1d8], ecx
cmp eax, ecx
je 0x50592e
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 0x505337
mov ecx, dword [eax]
push dword [eax + 0x10]
lea edx, [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0x108]
call fcn.00487b40
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 0x588c84
push eax
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.00487fb0
add esp, 0x18
mov byte [ebp - 4], 0x38
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x505390
mov eax, dword [eax]
push 1
push 0x588c84
push ecx
push eax
lea ecx, [ebp - 0x1b0]
call fcn.004881c0
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 0x5053ff
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 0x588c84
push eax
push ecx
lea ecx, [ebp - 0x198]
call fcn.00487fb0
add esp, 0x10
mov byte [ebp - 4], 0x3a
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x50545e
mov eax, dword [eax]
push 1
push 0x588c84
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.004881c0
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 0x5054cd
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 0x505728
push esi
call fcn.00407330
add esp, 4
test eax, eax
jne 0x505728
cmp dword [ebp - 0xf4], 8
lea eax, [ebp - 0x108]
push esi
cmovae eax, dword [ebp - 0x108]
push eax
call fcn.004958a0
mov esi, dword [ebp - 0x1d4]
add esp, 8
test al, al
lea eax, [ebp - 0xc0]
mov ecx, dword [esi + 0x68]
je 0x505626
lea edx, [ecx + 0x4c]
cmp edx, eax
je 0x50558e
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 0x505bd4
mov edx, dword [eax]
mov ecx, dword [eax + 0xc]
xor eax, eax
test edx, edx
je 0x5055b1
mov eax, dword [edx]
test eax, eax
je 0x5055c8
mov eax, dword [eax]
lea edx, [ecx + 1]
test eax, eax
je 0x5055cb
mov eax, dword [eax]
test eax, eax
je 0x5055cb
mov eax, dword [eax]
test eax, eax
je 0x5055cb
mov eax, dword [eax]
jmp 0x5055cd
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 0x5056e9
add ecx, 4
cmp ecx, eax
je 0x50564d
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 0x5056f5
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 0xc4]
cmp dword [eax + 0x10], 1
jbe 0x505bd4
mov edx, dword [eax]
mov ecx, dword [eax + 0xc]
xor eax, eax
test edx, edx
je 0x505680
mov eax, dword [edx]
test eax, eax
je 0x505697
mov eax, dword [eax]
lea edx, [ecx + 1]
test eax, eax
je 0x50569a
mov eax, dword [eax]
test eax, eax
je 0x50569a
mov eax, dword [eax]
test eax, eax
je 0x50569a
mov eax, dword [eax]
jmp 0x50569c
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 0x5058f5
cmp dword [ebp - 0xac], 8
push dword [ebp - 0xb0]
cmovae eax, dword [ebp - 0xc0]
push eax
call fcn.00407c60
jmp 0x5058f5
cmp byte [ebp - 0x1fc], 0
mov esi, dword [ebp - 0x1d4]
mov ecx, dword [esi + 0x68]
je 0x5058cc
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 0x596ce4
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.00495360
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 0x5058f5
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004f27e0
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 0x5052d1
cmp byte [ebp - 0x1fc], 0
jne 0x50593e
mov ecx, esi
call fcn.00505be0
push dword [esi + 0x5c]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x1f8]
call fcn.00406cd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.00407f30
jmp 0x505b84
cmp eax, 2
jne 0x505b84
mov ecx, esi
call fcn.00505be0
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 0x505b32
xor ecx, ecx
mov dword [ebp - 0x1ec], ecx
nop dword [eax]
test ecx, ecx
js 0x505bc8
cmp eax, dword [edx + 8]
jge 0x505bc8
mov edi, dword [edx + 4]
add edi, ecx
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 4], 0x3e
lea ecx, [ebp - 0x1f4]
mov edx, dword [edi + 0x14]
push ecx
mov ecx, dword [ebp - 0x1d8]
call fcn.004a1a50
mov edx, dword [ebp - 0x1f0]
add esp, 4
test edx, edx
jne 0x505a17
xor ecx, ecx
jmp 0x505a35
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x1dc], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x505a22
sub ecx, dword [ebp - 0x1dc]
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x14]
call fcn.00408e70
mov edx, dword [edi + 0x18]
lea ecx, [ebp - 0x1f4]
push ecx
mov ecx, dword [ebp - 0x1d8]
call fcn.004a1a50
mov edx, dword [ebp - 0x1f0]
add esp, 4
test edx, edx
jne 0x505a65
xor ecx, ecx
jmp 0x505a83
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x1dc], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x505a70
sub ecx, dword [ebp - 0x1dc]
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x18]
call fcn.00408e70
mov edx, dword [edi + 0x1c]
lea eax, [edi + 0x1c]
lea ecx, [ebp - 0x1f4]
mov dword [ebp - 0x1dc], eax
push ecx
mov ecx, dword [ebp - 0x1d8]
call fcn.004a1a50
mov edi, dword [ebp - 0x1f0]
add esp, 4
test edi, edi
jne 0x505abc
xor ecx, ecx
jmp 0x505ad0
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x505ac1
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.0052266b
mov eax, dword [ebp - 0x1e4]
add esp, 4
mov ecx, dword [ebp - 0x1ec]
inc eax
mov edx, dword [ebp - 0x204]
add ecx, 0x74
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1ec], ecx
cmp eax, dword [ebp - 0x200]
jl 0x5059c0
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.00419130
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.00419250
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 0x505bab
mov ecx, esi
call fcn.00505d30
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.00521dac
mov esp, ebp
pop ebp
ret 4
push 1
push 0xc000008c
call fcn.00411010
call fcn.004f23b0
int3