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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571421
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 - 0x200], 0
test eax, eax
jne 0x50488d
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.00407c80
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.00407f50
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.00407c80
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.00407f50
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.00407c80
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.00407f50
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.0052ad66
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 0x503d8b
push esi
call fcn.00407350
add esp, 4
test eax, eax
jne 0x503d85
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x120]
call fcn.00407f50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x150]
call fcn.00407f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x168]
call fcn.00407f50
jmp 0x5053cb
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 0x503dce
push esi
call fcn.00407350
add esp, 4
mov byte [ebp - 0x1e5], 0
test eax, eax
je 0x503dd5
mov byte [ebp - 0x1e5], 1
mov eax, dword [ebp - 0x1d4]
mov edx, dword [eax + 0x68]
cmp dword [edx + 0x2c], 0
je 0x503de9
add edx, 0x1c
jmp 0x503dec
add edx, 4
cmp dword [edx + 0x14], 8
jb 0x503df4
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 0x503e30
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa8]
call fcn.00407c80
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.00406c70
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 9
mov ecx, esi
call fcn.00486890
add esp, 0x18
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c8]
call fcn.00486cc0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xa8]
call fcn.00407f50
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.00485600
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x198]
call fcn.00446f60
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x198]
call fcn.004865b0
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 8
jb 0x503eee
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1e4]
call fcn.00415360
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x1e4]
call fcn.00492e20
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 0x503f31
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.00407f50
cmp dword [ebp - 0x10c], 8
lea eax, [ebp - 0x120]
mov ecx, 0x599ca0
cmovae eax, dword [ebp - 0x120]
cmp byte [ebp - 0x1dd], 0
push eax
mov eax, 0x599ca8
cmove eax, ecx
push eax
lea eax, [ebp - 0x1b0]
push eax
call fcn.00488390
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.004f8fa0
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 0x504022
mov edi, dword [edx]
jmp 0x504024
xor edi, edi
cmp eax, ecx
je 0x504063
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.00503ae0
add esp, 4
test al, al
jne 0x504051
inc esi
cmp esi, dword [ebp - 0x1dc]
jne 0x504030
mov edx, dword [ebp - 0x1fc]
mov dword [ebp - 0x1ec], esi
mov esi, dword [ebp - 0x1d4]
mov dword [ebp - 0x1e4], 0
test edx, edx
je 0x50408b
mov eax, dword [edx]
test eax, eax
je 0x504081
mov eax, dword [eax]
mov dword [ebp - 0x1e4], eax
jmp 0x50408b
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 0x504356
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.004f4f80
mov eax, dword [ebp - 0x1e4]
test eax, eax
je 0x5040e6
mov eax, dword [eax]
jmp 0x5040e8
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 0x5040ff
mov ecx, dword [ecx]
sub esp, 8
mov eax, esp
push edx
push ecx
lea ecx, [ebp - 0xe4]
mov dword [eax], 0x595394
mov dword [eax + 4], 1
call fcn.00487740
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 0x504139
mov ecx, dword [ecx]
sub esp, 8
mov eax, esp
push edx
push ecx
lea ecx, [ebp - 0x174]
mov dword [eax], 0x5862ac
mov dword [eax + 4], 1
call fcn.00487740
add esp, 0x10
mov byte [ebp - 4], 0x18
mov esi, dword [ebp - 0x174]
mov edi, dword [ebp - 0x170]
cmp esi, edi
je 0x5042f2
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 0x5042c8
nop word [eax + eax]
test edx, edx
js 0x5053e8
cmp edx, eax
jge 0x5053e8
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.0052b5ca
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 0x504210
sub eax, edx
lea ecx, [ebp - 0xa8]
sar eax, 1
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00407c80
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 0x504257
mov ecx, dword [esi]
push dword [ebp - 0x98]
mov edx, dword [esi + 0x10]
push eax
push 0
call fcn.00408930
and dword [ebp - 0x1cc], 0xffffffdf
add esp, 0xc
mov dword [ebp - 0x1d8], eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xa8]
call fcn.00407f50
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 0x5041a0
test ecx, ecx
je 0x5042c8
mov byte [ebp - 0x1cd], 1
jmp 0x5042e7
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x5042d2
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0xd8]
push eax
call fcn.00408640
mov eax, dword [ebp - 0x1f4]
add esi, 0x18
cmp esi, edi
jne 0x504180
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x174]
call fcn.00406cf0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xe4]
call fcn.00406cf0
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x1f8]
test eax, eax
je 0x504331
push eax
call fcn.005294a8
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 0x50435f
cmp byte [ebp - 0x1dd], 0
je 0x504382
lea eax, [edx + 0x1c]
lea ecx, [edx + 4]
cmp ecx, eax
je 0x50437e
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x504374
mov eax, dword [eax]
push edx
push eax
call fcn.00407c80
mov edx, dword [esi + 0x68]
mov byte [edx + 0x65], 0
cmp byte [ebp - 0x1e5], 0
je 0x5043ae
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0xf0]
call fcn.00406c70
mov ecx, eax
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x1cc]
or eax, 1
jmp 0x504406
xor eax, eax
mov dword [ebp - 0x98], 0
push eax
mov dword [ebp - 0x94], 0
lea ecx, [ebp - 0xa8]
push 0x584008
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
call fcn.00407c80
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 0x50446f
and eax, 0xfffffffd
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x1cc], eax
call fcn.00407f50
mov eax, dword [ebp - 0x1cc]
mov byte [ebp - 4], 0x1e
test al, 1
je 0x50448b
and eax, 0xfffffffe
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x1cc], eax
call fcn.00407f50
cmp dword [ebp - 0xc8], 0
mov eax, 0x5862ac
mov edx, 0x584008
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 0x5044b0
sub ecx, dword [ebp - 0x1d8]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x138]
call fcn.00408640
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.00408640
cmp byte [esi + 0x24c], 0
jne 0x504713
cmp byte [ebp - 0x1cd], 0
je 0x5045e5
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 0x504543
mov eax, dword [ecx]
test eax, eax
je 0x50453b
mov eax, dword [eax]
jmp 0x50453d
xor eax, eax
mov dword [ebp - 0x1dc], eax
sub esp, 0xc
xor edx, edx
mov ecx, esp
mov dword [ebp - 0x204], esp
cmp dword [ebp - 0x1dc], edx
je 0x504560
mov edx, dword [eax]
test edx, edx
je 0x504581
mov edx, dword [edx]
mov esi, dword [ebp - 0x1d4]
mov dword [ecx], 0
mov dword [ecx + 4], 0
test edx, edx
je 0x504594
mov edx, dword [edx]
test edx, edx
je 0x504590
mov edx, dword [edx]
jmp 0x504592
mov dword [ecx], 0
mov dword [ecx + 4], 0
jmp 0x504594
xor edx, edx
mov dword [ecx], edx
lea edx, [edi + 1]
mov dword [ecx + 8], edx
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 0x5045c8
mov eax, dword [eax]
test eax, eax
je 0x5045c4
mov eax, dword [eax]
jmp 0x5045c6
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.00505fe0
cmp dword [ebp - 0x128], 0
je 0x5047fd
mov eax, dword [esi + 0x68]
lea ecx, [ebp - 0xa8]
push 1
push 0x595394
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.00407c80
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0xa8]
push eax
mov edx, str.TRANSFORMS
lea ecx, [ebp - 0x180]
call fcn.00426040
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.00408640
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.00495560
and edi, 0xffffffbf
mov dword [ebp - 0x1cc], edi
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0xf0]
call fcn.00407f50
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x180]
call fcn.00407f50
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xa8]
jmp 0x5047f2
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.00407c80
mov byte [ebp - 4], 0x24
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xa8]
mov ecx, esi
push eax
call fcn.004f24e0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xa8]
call fcn.00407f50
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.00407c80
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.00407f50
mov esi, dword [ebp - 0x1d4]
mov ecx, esi
call fcn.00505400
push dword [esi + 0x5c]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x138]
call fcn.00407f50
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xd8]
call fcn.00407f50
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1b0]
call fcn.00407f50
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x198]
call fcn.00407f50
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c8]
call fcn.00407f50
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x120]
call fcn.00407f50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x150]
call fcn.00407f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x168]
call fcn.00407f50
jmp 0x5053a4
cmp eax, 1
jne 0x50518d
call fcn.0041f980
lea ecx, [ebp - 0x1cd]
mov byte [ebp - 0x1cd], 0
push ecx
lea ecx, [ebp - 0x1dc]
push ecx
mov ecx, eax
call fcn.0049e620
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
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x504900
sub ecx, dword [ebp - 0x1d8]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xd8]
call fcn.00407c80
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 0x504942
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x1cd], 0
je 0x504a4f
mov edx, 0xe8
lea ecx, [ebp - 0x1ec]
call fcn.004bb1b0
mov byte [ebp - 4], 0x2e
mov edx, 0xe7
lea ecx, [ebp - 0x1e4]
call fcn.004bb1b0
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 0x504a00
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 0x5049ca
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 0x5049e9
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.00407f50
jmp 0x5053cb
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 0x504a24
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 0x504a43
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 0x504a68
cmp byte [esi + 0x24c], 0
mov byte [ebp - 0x200], 0
jne 0x504a6f
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], 0x585e8c
mov dword [eax + 4], 1
call fcn.00487550
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 0x50514e
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 0x504b57
mov ecx, dword [eax]
push dword [eax + 0x10]
lea edx, [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0x108]
call fcn.00487af0
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 0x587524
push eax
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.00487fa0
add esp, 0x18
mov byte [ebp - 4], 0x38
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x504bb0
mov eax, dword [eax]
push 1
push 0x587524
push ecx
push eax
lea ecx, [ebp - 0x1b0]
call fcn.004881b0
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.00407f50
lea eax, [ebp - 0x108]
cmp eax, esi
je 0x504c1f
mov ecx, eax
call fcn.00407f50
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.00407f50
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 0x587524
push eax
push ecx
lea ecx, [ebp - 0x198]
call fcn.00487fa0
add esp, 0x10
mov byte [ebp - 4], 0x3a
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x504c7e
mov eax, dword [eax]
push 1
push 0x587524
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.004881b0
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.00407f50
lea eax, [ebp - 0xc0]
cmp eax, esi
je 0x504ced
mov ecx, eax
call fcn.00407f50
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.00407f50
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 0x504f48
push esi
call fcn.00407350
add esp, 4
test eax, eax
jne 0x504f48
cmp dword [ebp - 0xf4], 8
lea eax, [ebp - 0x108]
push esi
cmovae eax, dword [ebp - 0x108]
push eax
call fcn.00495aa0
mov esi, dword [ebp - 0x1d4]
add esp, 8
test al, al
lea eax, [ebp - 0xc0]
mov ecx, dword [esi + 0x68]
je 0x504e46
lea edx, [ecx + 0x4c]
cmp edx, eax
je 0x504dae
cmp dword [ebp - 0xac], 8
mov ecx, edx
push dword [ebp - 0xb0]
cmovae eax, dword [ebp - 0xc0]
push eax
call fcn.00407c80
mov ecx, dword [esi + 0x68]
mov eax, dword [ecx + 0xc4]
cmp dword [eax + 0x10], 1
jbe 0x5053f4
mov edx, dword [eax]
mov ecx, dword [eax + 0xc]
xor eax, eax
test edx, edx
je 0x504dd1
mov eax, dword [edx]
test eax, eax
je 0x504de8
mov eax, dword [eax]
lea edx, [ecx + 1]
test eax, eax
je 0x504deb
mov eax, dword [eax]
test eax, eax
je 0x504deb
mov eax, dword [eax]
test eax, eax
je 0x504deb
mov eax, dword [eax]
jmp 0x504ded
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 - 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.00407c80
mov byte [ebp - 0x200], 1
jmp 0x504f09
add ecx, 4
cmp ecx, eax
je 0x504e6d
cmp dword [ebp - 0xac], 8
lea eax, [ebp - 0xc0]
push dword [ebp - 0xb0]
cmovae eax, dword [ebp - 0xc0]
push eax
call fcn.00407c80
cmp byte [ebp - 0x200], 0
je 0x504f15
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 0xc4]
cmp dword [eax + 0x10], 1
jbe 0x5053f4
mov edx, dword [eax]
mov ecx, dword [eax + 0xc]
xor eax, eax
test edx, edx
je 0x504ea0
mov eax, dword [edx]
test eax, eax
je 0x504eb7
mov eax, dword [eax]
lea edx, [ecx + 1]
test eax, eax
je 0x504eba
mov eax, dword [eax]
test eax, eax
je 0x504eba
mov eax, dword [eax]
test eax, eax
je 0x504eba
mov eax, dword [eax]
jmp 0x504ebc
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 - 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.00407c80
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 0x505115
cmp dword [ebp - 0xac], 8
push dword [ebp - 0xb0]
cmovae eax, dword [ebp - 0xc0]
push eax
call fcn.00407c80
jmp 0x505115
cmp byte [ebp - 0x200], 0
mov esi, dword [ebp - 0x1d4]
mov ecx, dword [esi + 0x68]
je 0x5050ec
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 0x595394
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
call fcn.00407c80
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.00408420
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.00408640
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.00495560
and edi, 0xfffffbff
mov dword [ebp - 0x1cc], edi
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x168]
call fcn.00407f50
and edi, 0xfffffdff
mov dword [ebp - 0x1cc], edi
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x150]
call fcn.00407f50
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0xa8]
call fcn.00407f50
mov esi, dword [ebp - 0x1d4]
jmp 0x505115
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004f24e0
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.00407f50
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0x108]
call fcn.00407f50
mov eax, dword [ebp - 0x1dc]
add eax, 0x18
mov dword [ebp - 0x1dc], eax
cmp eax, dword [ebp - 0x1fc]
jne 0x504af1
cmp byte [ebp - 0x200], 0
jne 0x50515e
mov ecx, esi
call fcn.00505400
push dword [esi + 0x5c]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x1f8]
call fcn.00406cf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.00407f50
jmp 0x5053a4
cmp eax, 2
jne 0x5053a4
mov ecx, esi
call fcn.00505400
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 0x505352
xor ecx, ecx
mov dword [ebp - 0x1fc], ecx
nop dword [eax]
test ecx, ecx
js 0x5053e8
cmp eax, dword [edx + 8]
jge 0x5053e8
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.004a1c50
mov edx, dword [ebp - 0x1f0]
add esp, 4
test edx, edx
jne 0x505237
xor ecx, ecx
jmp 0x505255
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x1d8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x505242
sub ecx, dword [ebp - 0x1d8]
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x14]
call fcn.00408e90
mov edx, dword [edi + 0x18]
lea ecx, [ebp - 0x1f4]
push ecx
mov ecx, dword [ebp - 0x1e4]
call fcn.004a1c50
mov edx, dword [ebp - 0x1f0]
add esp, 4
test edx, edx
jne 0x505285
xor ecx, ecx
jmp 0x5052a3
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x1d8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x505290
sub ecx, dword [ebp - 0x1d8]
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x18]
call fcn.00408e90
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.004a1c50
mov edi, dword [ebp - 0x1f0]
add esp, 4
test edi, edi
jne 0x5052dc
xor ecx, ecx
jmp 0x5052f0
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5052e1
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x1d8]
push edi
call fcn.00408e90
mov dword [ebp - 4], 0xffffffff
push edi
call fcn.00521d18
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 0x5051e0
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.004191a0
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.004192c0
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 0x5053cb
mov ecx, esi
call fcn.00505550
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.00521461
mov esp, ebp
pop ebp
ret 4
push 1
push 0xc000008c
call fcn.00411080
call fcn.004f20b0
int3