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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56a28a
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x5cf024]
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 - 0x200], 0
test eax, eax
jne 0x500e92
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.00407b80
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.00407e00
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.00407b80
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.00407e00
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.00407b80
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.00407e00
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.00527486
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 0x50039b
push esi
call fcn.00407580
add esp, 4
test eax, eax
jne 0x500395
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x120]
call fcn.00407e00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x150]
call fcn.00407e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x168]
call fcn.00407e00
jmp 0x5019cb
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 0x5003de
push esi
call fcn.00407580
add esp, 4
mov byte [ebp - 0x1e5], 0
test eax, eax
je 0x5003e5
mov byte [ebp - 0x1e5], 1
mov eax, dword [ebp - 0x1d4]
mov edx, dword [eax + 0x68]
cmp dword [edx + 0x2c], 0
je 0x5003f9
add edx, 0x1c
jmp 0x5003fc
add edx, 4
cmp dword [edx + 0x14], 8
jb 0x500404
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 0x500440
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa8]
call fcn.00407b80
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 - 0x1d8], esp
push eax
call fcn.004071f0
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 9
mov ecx, esi
call fcn.00487fb0
add esp, 0x18
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c8]
call fcn.004883e0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xa8]
call fcn.00407e00
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.004848d0
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x198]
call fcn.00446900
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x198]
call fcn.00487e50
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 8
jb 0x5004fe
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1e4]
call fcn.00415390
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x1e4]
call fcn.00491da0
mov byte [ebp - 0x1dd], al
mov byte [ebp - 4], 0x10
or ecx, 0xffffffff
mov edx, dword [ebp - 0x1e4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x500541
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.00407e00
cmp dword [ebp - 0x10c], 8
lea eax, [ebp - 0x120]
mov ecx, 0x592968
cmovae eax, dword [ebp - 0x120]
cmp byte [ebp - 0x1dd], 0
push eax
mov eax, 0x59291c
cmove eax, ecx
push eax
lea eax, [ebp - 0x1b0]
push eax
call fcn.00485b70
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.004f5770
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 - 0x1dc], 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 - 0x1ec], eax
mov dword [ebp - 0x1fc], edx
mov byte [ebp - 4], 0x14
test edx, edx
je 0x500632
mov edi, dword [edx]
jmp 0x500634
xor edi, edi
cmp eax, ecx
je 0x500673
mov esi, eax
nop word [eax + eax]
mov ecx, dword [edi + 8]
mov eax, dword [edi + 4]
dec ecx
and ecx, esi
push dword [eax + ecx*4]
call fcn.005000f0
add esp, 4
test al, al
jne 0x500661
inc esi
cmp esi, dword [ebp - 0x1dc]
jne 0x500640
mov edx, dword [ebp - 0x1fc]
mov dword [ebp - 0x1ec], esi
mov esi, dword [ebp - 0x1d4]
mov dword [ebp - 0x1e4], 0
test edx, edx
je 0x50069b
mov eax, dword [edx]
test eax, eax
je 0x500691
mov eax, dword [eax]
mov dword [ebp - 0x1e4], eax
jmp 0x50069b
mov dword [ebp - 0x1e4], 0
mov edx, dword [esi + 0x68]
mov edi, dword [ebp - 0x1ec]
mov eax, dword [edx + 0xc4]
mov ecx, dword [eax + 0x10]
add ecx, dword [eax + 0xc]
cmp edi, ecx
je 0x500966
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.004f1770
mov eax, dword [ebp - 0x1e4]
test eax, eax
je 0x5006f6
mov eax, dword [eax]
jmp 0x5006f8
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 0x50070f
mov ecx, dword [ecx]
sub esp, 8
mov eax, esp
push edx
push ecx
lea ecx, [ebp - 0xe4]
mov dword [eax], 0x58e1a8
mov dword [eax + 4], 1
call fcn.00484f40
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 0x500749
mov ecx, dword [ecx]
sub esp, 8
mov eax, esp
push edx
push ecx
lea ecx, [ebp - 0x174]
mov dword [eax], 0x57f0b8
mov dword [eax + 4], 1
call fcn.00484f40
add esp, 0x10
mov byte [ebp - 4], 0x18
mov esi, dword [ebp - 0x174]
mov edi, dword [ebp - 0x170]
cmp esi, edi
je 0x500902
mov eax, dword [ebp - 0x1f4]
nop dword [eax]
xor edx, edx
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1fc], edx
test eax, eax
jle 0x5008d8
nop word [eax + eax]
test edx, edx
js 0x5019e8
cmp edx, eax
jge 0x5019e8
mov eax, dword [ebp - 0x1f8]
movzx eax, word [eax + edx*2]
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x90]
push 0xa
push 0x40
push ecx
push eax
call fcn.00527cea
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 0x500820
sub eax, edx
lea ecx, [ebp - 0xa8]
sar eax, 1
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00407b80
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 0x500867
mov ecx, dword [esi]
push dword [ebp - 0x98]
mov edx, dword [esi + 0x10]
push eax
push 0
call fcn.00408810
and dword [ebp - 0x1cc], 0xffffffdf
add esp, 0xc
mov dword [ebp - 0x1d8], eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xa8]
call fcn.00407e00
mov eax, dword [ebp - 0x1dc]
mov edx, dword [ebp - 0x1fc]
inc edx
cmp dword [ebp - 0x1d8], 0xffffffff
mov dword [ebp - 0x1fc], edx
lea ecx, [eax + 1]
cmovne ecx, eax
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1dc], ecx
cmp edx, eax
jl 0x5007b0
test ecx, ecx
je 0x5008d8
mov byte [ebp - 0x1cd], 1
jmp 0x5008f7
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x5008e2
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0xd8]
push eax
call fcn.004084f0
mov eax, dword [ebp - 0x1f4]
add esi, 0x18
cmp esi, edi
jne 0x500790
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x174]
call fcn.00406ba0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xe4]
call fcn.00406ba0
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x1f8]
test eax, eax
je 0x500941
push eax
call fcn.00525bc8
add esp, 4
mov dword [ebp - 0x1f8], 0
mov esi, dword [ebp - 0x1d4]
mov edi, dword [ebp - 0x1ec]
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1f0], 0
mov edx, dword [esi + 0x68]
jmp 0x50096f
cmp byte [ebp - 0x1dd], 0
je 0x500992
lea eax, [edx + 0x1c]
lea ecx, [edx + 4]
cmp ecx, eax
je 0x50098e
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x500984
mov eax, dword [eax]
push edx
push eax
call fcn.00407b80
mov edx, dword [esi + 0x68]
mov byte [edx + 0x65], 0
cmp byte [ebp - 0x1e5], 0
je 0x5009be
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0xf0]
call fcn.004071f0
mov ecx, eax
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x1cc]
or eax, 1
jmp 0x500a16
xor eax, eax
mov dword [ebp - 0x98], 0
push eax
mov dword [ebp - 0x94], 0
lea ecx, [ebp - 0xa8]
push 0x57cef0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
call fcn.00407b80
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 0x500a7f
and eax, 0xfffffffd
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x1cc], eax
call fcn.00407e00
mov eax, dword [ebp - 0x1cc]
mov byte [ebp - 4], 0x1e
test al, 1
je 0x500a9b
and eax, 0xfffffffe
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x1cc], eax
call fcn.00407e00
cmp dword [ebp - 0xc8], 0
mov eax, 0x57f0b8
mov edx, 0x57cef0
cmovne edx, eax
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x1d8], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x500ac0
sub ecx, dword [ebp - 0x1d8]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x138]
call fcn.004084f0
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.004084f0
cmp byte [esi + 0x24c], 0
jne 0x500d18
cmp byte [ebp - 0x1cd], 0
je 0x500bea
mov eax, dword [esi + 0x68]
mov ecx, dword [ebp - 0x1e4]
mov eax, dword [eax + 0xc4]
mov dword [ebp - 0x1d8], eax
xor eax, eax
mov dword [ebp - 0x1dc], eax
test ecx, ecx
je 0x500b53
mov eax, dword [ecx]
test eax, eax
je 0x500b4b
mov eax, dword [eax]
jmp 0x500b4d
xor eax, eax
mov dword [ebp - 0x1dc], eax
sub esp, 0xc
xor ecx, ecx
mov edx, esp
mov dword [ebp - 0x204], esp
cmp dword [ebp - 0x1dc], ecx
je 0x500b74
mov ecx, dword [eax]
test ecx, ecx
je 0x500b72
mov ecx, dword [ecx]
jmp 0x500b74
xor ecx, ecx
mov esi, dword [ebp - 0x1d4]
mov dword [edx], 0
mov dword [edx + 4], 0
test ecx, ecx
je 0x500b99
mov ecx, dword [ecx]
test ecx, ecx
je 0x500b95
mov ecx, dword [ecx]
jmp 0x500b97
xor ecx, ecx
mov dword [edx], ecx
lea ecx, [edi + 1]
mov dword [edx + 8], ecx
mov byte [ebp - 4], 0x1f
sub esp, 0xc
mov dword [ebp - 0x1dc], esp
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
test eax, eax
je 0x500bcd
mov eax, dword [eax]
test eax, eax
je 0x500bc9
mov eax, dword [eax]
jmp 0x500bcb
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 - 0x1d8]
call fcn.005025d0
cmp dword [ebp - 0x128], 0
je 0x500e02
mov eax, dword [esi + 0x68]
lea ecx, [ebp - 0xa8]
push 1
push 0x58e1a8
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.00407b80
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0xa8]
push eax
mov edx, str.TRANSFORMS
lea ecx, [ebp - 0x180]
call fcn.00425f30
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.004084f0
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.00494470
and edi, 0xffffffbf
mov dword [ebp - 0x1cc], edi
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0xf0]
call fcn.00407e00
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x180]
call fcn.00407e00
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xa8]
jmp 0x500df7
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.00407b80
mov byte [ebp - 4], 0x24
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xa8]
mov ecx, esi
push eax
call fcn.004eed40
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xa8]
call fcn.00407e00
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.00407b80
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.00407e00
mov esi, dword [ebp - 0x1d4]
mov ecx, esi
call fcn.00501a00
push dword [esi + 0x5c]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x138]
call fcn.00407e00
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xd8]
call fcn.00407e00
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1b0]
call fcn.00407e00
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x198]
call fcn.00407e00
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c8]
call fcn.00407e00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x120]
call fcn.00407e00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x150]
call fcn.00407e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x168]
call fcn.00407e00
jmp 0x5019a4
cmp eax, 1
jne 0x50178c
call fcn.0041f9c0
lea ecx, [ebp - 0x1cd]
mov byte [ebp - 0x1cd], 0
push ecx
lea ecx, [ebp - 0x1dc]
push ecx
mov ecx, eax
call fcn.0049d340
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 - 0x1d8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x500f01
sub ecx, dword [ebp - 0x1d8]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xd8]
call fcn.00407b80
mov byte [ebp - 4], 0x2c
or eax, 0xffffffff
mov edx, dword [ebp - 0x1dc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x500f43
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x1cd], 0
je 0x501050
mov edx, 0xe8
lea ecx, [ebp - 0x1ec]
call fcn.004b9690
mov byte [ebp - 4], 0x2e
mov edx, 0xe7
lea ecx, [ebp - 0x1e4]
call fcn.004b9690
mov byte [ebp - 4], 0x2f
mov esi, dword [ebp - 0x1e4]
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 0x501001
mov eax, dword [ebp - 0x1d4]
mov dword [eax + 0x64], 0x642
mov byte [ebp - 4], 0x2e
or esi, 0xffffffff
mov edx, dword [ebp - 0x1e4]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x500fcb
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 0x500fea
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.00407e00
jmp 0x5019cb
mov byte [ebp - 4], 0x2e
or esi, 0xffffffff
mov edx, dword [ebp - 0x1e4]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x501025
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 0x501044
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 0x501069
cmp byte [esi + 0x24c], 0
mov byte [ebp - 0x200], 0
jne 0x501070
mov byte [ebp - 0x200], 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], 0x57ec98
mov dword [eax + 4], 1
call fcn.00484d50
mov eax, dword [ebp - 0x1f8]
add esp, 0x18
mov ecx, dword [ebp - 0x1f4]
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1fc], ecx
cmp eax, ecx
je 0x50174d
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 0x501158
mov ecx, dword [eax]
push dword [eax + 0x10]
lea edx, [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0x108]
call fcn.004852d0
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 0x58030c
push eax
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.00485780
add esp, 0x18
mov byte [ebp - 4], 0x38
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x5011b1
mov eax, dword [eax]
push 1
push 0x58030c
push ecx
push eax
lea ecx, [ebp - 0x1b0]
call fcn.00485990
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.00407e00
lea eax, [ebp - 0x108]
cmp eax, esi
je 0x501220
mov ecx, eax
call fcn.00407e00
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.00407e00
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 0x58030c
push eax
push ecx
lea ecx, [ebp - 0x198]
call fcn.00485780
add esp, 0x10
mov byte [ebp - 4], 0x3a
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x50127f
mov eax, dword [eax]
push 1
push 0x58030c
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.00485990
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.00407e00
lea eax, [ebp - 0xc0]
cmp eax, esi
je 0x5012ee
mov ecx, eax
call fcn.00407e00
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.00407e00
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 0x501547
push esi
call fcn.00407580
add esp, 4
test eax, eax
jne 0x501547
cmp dword [ebp - 0xf4], 8
lea eax, [ebp - 0x108]
push esi
cmovae eax, dword [ebp - 0x108]
push eax
call fcn.004949b0
mov esi, dword [ebp - 0x1d4]
add esp, 8
test al, al
lea eax, [ebp - 0xc0]
mov ecx, dword [esi + 0x68]
je 0x501446
lea edx, [ecx + 0x4c]
cmp edx, eax
je 0x5013af
cmp dword [ebp - 0xac], 8
mov ecx, edx
push dword [ebp - 0xb0]
cmovae eax, dword [ebp - 0xc0]
push eax
call fcn.00407b80
mov ecx, dword [esi + 0x68]
mov eax, dword [ecx + 0xc4]
cmp dword [eax + 0x10], 1
jbe 0x5019f4
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
xor eax, eax
test ecx, ecx
je 0x5013d6
mov eax, dword [ecx]
test eax, eax
je 0x5013d4
mov eax, dword [eax]
jmp 0x5013d6
xor eax, eax
inc edx
test eax, eax
je 0x5013eb
mov eax, dword [eax]
test eax, eax
je 0x5013eb
mov eax, dword [eax]
test eax, eax
je 0x5013eb
mov eax, dword [eax]
jmp 0x5013ed
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 - 0x1d8], eax
mov eax, dword [ebp - 0xb0]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x1d8]
sub eax, esi
sar eax, 1
push eax
push esi
call fcn.00407b80
mov byte [ebp - 0x200], 1
jmp 0x501508
add ecx, 4
cmp ecx, eax
je 0x50146d
cmp dword [ebp - 0xac], 8
lea eax, [ebp - 0xc0]
push dword [ebp - 0xb0]
cmovae eax, dword [ebp - 0xc0]
push eax
call fcn.00407b80
cmp byte [ebp - 0x200], 0
je 0x501514
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 0xc4]
cmp dword [eax + 0x10], 1
jbe 0x5019f4
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
xor eax, eax
test ecx, ecx
je 0x5014a4
mov eax, dword [ecx]
test eax, eax
je 0x5014a2
mov eax, dword [eax]
jmp 0x5014a4
xor eax, eax
inc edx
test eax, eax
je 0x5014b9
mov eax, dword [eax]
test eax, eax
je 0x5014b9
mov eax, dword [eax]
test eax, eax
je 0x5014b9
mov eax, dword [eax]
jmp 0x5014bb
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 - 0x1d8], eax
mov eax, dword [ebp - 0xb0]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x1d8]
sub eax, esi
sar eax, 1
push eax
push esi
call fcn.00407b80
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 0x501714
cmp dword [ebp - 0xac], 8
push dword [ebp - 0xb0]
cmovae eax, dword [ebp - 0xc0]
push eax
call fcn.00407b80
jmp 0x501714
cmp byte [ebp - 0x200], 0
mov esi, dword [ebp - 0x1d4]
mov ecx, dword [esi + 0x68]
je 0x5016eb
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 0x58e1a8
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
call fcn.00407b80
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.004082d0
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.004084f0
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.00494470
and edi, 0xfffffbff
mov dword [ebp - 0x1cc], edi
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x168]
call fcn.00407e00
and edi, 0xfffffdff
mov dword [ebp - 0x1cc], edi
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x150]
call fcn.00407e00
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0xa8]
call fcn.00407e00
mov esi, dword [ebp - 0x1d4]
jmp 0x501714
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004eed40
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.00407e00
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0x108]
call fcn.00407e00
mov eax, dword [ebp - 0x1dc]
add eax, 0x18
mov dword [ebp - 0x1dc], eax
cmp eax, dword [ebp - 0x1fc]
jne 0x5010f2
cmp byte [ebp - 0x200], 0
jne 0x50175d
mov ecx, esi
call fcn.00501a00
push dword [esi + 0x5c]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x1f8]
call fcn.00406ba0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.00407e00
jmp 0x5019a4
cmp eax, 2
jne 0x5019a4
mov ecx, esi
call fcn.00501a00
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 - 0x1e4], ecx
mov dword [ebp - 0x1dc], eax
mov edi, dword [edx + 8]
mov dword [ebp - 0x1ec], edi
test edi, edi
jle 0x501952
xor ecx, ecx
mov dword [ebp - 0x1fc], ecx
test ecx, ecx
js 0x5019e8
cmp eax, dword [edx + 8]
jge 0x5019e8
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 - 0x1e4]
call fcn.004a08f0
mov edx, dword [ebp - 0x1f0]
add esp, 4
test edx, edx
jne 0x50182f
xor ecx, ecx
jmp 0x501853
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x1d8], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x501840
sub ecx, dword [ebp - 0x1d8]
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x14]
call fcn.00408e30
mov edx, dword [edi + 0x18]
lea ecx, [ebp - 0x1f4]
push ecx
mov ecx, dword [ebp - 0x1e4]
call fcn.004a08f0
mov edx, dword [ebp - 0x1f0]
add esp, 4
test edx, edx
jne 0x501883
xor ecx, ecx
jmp 0x5018a3
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x1d8], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x501890
sub ecx, dword [ebp - 0x1d8]
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x18]
call fcn.00408e30
mov edx, dword [edi + 0x1c]
lea eax, [edi + 0x1c]
lea ecx, [ebp - 0x1f4]
mov dword [ebp - 0x1d8], eax
push ecx
mov ecx, dword [ebp - 0x1e4]
call fcn.004a08f0
mov edi, dword [ebp - 0x1f0]
add esp, 4
test edi, edi
jne 0x5018dc
xor ecx, ecx
jmp 0x5018f0
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5018e1
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x1d8]
push edi
call fcn.00408e30
mov dword [ebp - 4], 0xffffffff
push edi
call fcn.0051e384
mov eax, dword [ebp - 0x1dc]
add esp, 4
mov ecx, dword [ebp - 0x1fc]
inc eax
mov edx, dword [ebp - 0x204]
add ecx, 0x74
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1fc], ecx
cmp eax, dword [ebp - 0x1ec]
jl 0x5017d8
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.004191b0
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.004192d0
push 0
push 2
call dword [sym.imp.msi.dll_MsiSetPropertyW]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x200]
call dword [eax + 0x18]
cmp byte [ebp - 0x200], 0
jne 0x5019cb
mov ecx, esi
call fcn.00501b50
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.0051dacc
mov esp, ebp
pop ebp
ret 4
push 1
push 0xc000008c
call fcn.00411100
call fcn.004ee910
int3