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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56a4e2
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x5d0074]
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 - 0x1e0], esi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x1d4], edi
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebp + 8]
mov byte [ebp - 0x204], 0
test eax, eax
jne 0x503f10
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.00407880
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.00407b40
mov edi, dword [ebp - 0x1e0]
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.00407880
mov byte [ebp - 4], 3
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x180]
mov ecx, edi
push eax
call esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xd8]
call fcn.00407b40
mov eax, dword [ebp - 0x1e0]
lea ecx, [ebp - 0x150]
push 0x13
push str.AI_BOOTSTRAPPERLANG
mov edi, dword [eax + 0x6c]
mov eax, dword [edi]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x140], 0
mov esi, dword [eax]
xor eax, eax
mov dword [ebp - 0x13c], 7
mov word [ebp - 0x150], ax
call fcn.00407880
mov byte [ebp - 4], 6
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x108]
mov ecx, edi
push eax
call esi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x150]
call fcn.00407b40
mov eax, dword [ebp - 0x1e0]
mov edi, dword [eax + 0x78]
cmp dword [ebp - 0xf4], 8
mov eax, dword [edi]
mov esi, dword [eax + 0x30]
lea eax, [ebp - 0x108]
cmovae eax, dword [ebp - 0x108]
push eax
call fcn.0052ad59
add esp, 4
mov ecx, edi
push eax
call esi
cmp dword [ebp - 0x16c], 8
lea edx, [ebp - 0x180]
mov edi, dword [ebp - 0xf4]
lea ecx, [ebp - 0x108]
cmovae edx, dword [ebp - 0x180]
cmp edi, 8
mov eax, dword [ebp - 0x108]
mov esi, dword [ebp - 0xf8]
cmovae ecx, eax
cmp esi, dword [ebp - 0x170]
jne 0x503488
push esi
call fcn.00406da0
add esp, 4
test eax, eax
jne 0x503482
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x108]
call fcn.00407b40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x180]
call fcn.00407b40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x168]
call fcn.00407b40
jmp 0x504aeb
mov eax, dword [ebp - 0x108]
cmp dword [ebp - 0x154], 8
lea edx, [ebp - 0x168]
lea ecx, [ebp - 0x108]
mov byte [ebp - 0x1c9], 0
cmovae edx, dword [ebp - 0x168]
cmp edi, 8
cmovae ecx, eax
cmp esi, dword [ebp - 0x158]
jne 0x5034cb
push esi
call fcn.00406da0
add esp, 4
mov byte [ebp - 0x1ed], 0
test eax, eax
je 0x5034d2
mov byte [ebp - 0x1ed], 1
mov esi, dword [ebp - 0x1e0]
mov edx, dword [esi + 0x68]
cmp dword [edx + 0x2c], 0
je 0x5034e6
add edx, 0x1c
jmp 0x5034e9
add edx, 4
cmp dword [edx + 0x14], 8
jb 0x5034f1
mov edx, dword [edx]
sub esp, 0x18
mov ecx, edx
mov edi, esp
mov dword [ebp - 0x1f4], esp
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x1d0], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x503520
sub ecx, dword [ebp - 0x1d0]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00407880
mov byte [ebp - 4], 9
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c8]
call fcn.0048bb00
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.004840f0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x198]
call fcn.00445380
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x1f4], eax
lea ecx, [ebp - 0xa8]
lea eax, [ebp - 0x198]
push eax
call fcn.00406ba0
mov byte [ebp - 4], 0xe
xor eax, eax
movups xmm0, xmmword [ebp - 0xa8]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
movups xmmword [ebp - 0xd8], xmm0
mov word [ebp - 0xa8], ax
movq xmm0, qword [ebp - 0x98]
movq qword [ebp - 0xc8], xmm0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xa8]
call fcn.00407b40
mov eax, 8
mov dword [ebp - 0x1d4], 8
mov dword [ebp - 0x1d4], eax
and eax, 0xfffffff7
mov dword [ebp - 0x1d4], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xd8]
call fcn.00407b40
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x198]
call fcn.0048d0b0
mov byte [ebp - 4], 0x14
cmp dword [eax + 0x14], 8
jb 0x503646
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.004127e0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x1d8]
call fcn.00494680
mov byte [ebp - 0x1d9], al
mov byte [ebp - 4], 0x14
or ecx, 0xffffffff
mov edx, dword [ebp - 0x1d8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x503689
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa8]
call fcn.00407b40
cmp dword [ebp - 0xf4], 8
lea eax, [ebp - 0x108]
mov ecx, 0x5934f0
cmovae eax, dword [ebp - 0x108]
cmp byte [ebp - 0x1d9], 0
push eax
mov eax, 0x5934f8
cmove eax, ecx
push eax
lea eax, [ebp - 0x1b0]
push eax
call fcn.00490240
add esp, 0xc
mov byte [ebp - 4], 0x17
mov eax, dword [esi + 0x68]
add eax, 0x1c
push eax
call fcn.004f99f0
mov byte [ebp - 0x1d9], al
xor eax, eax
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 7
mov word [ebp - 0x138], ax
mov byte [ebp - 4], 0x18
mov ecx, dword [esi + 0x68]
mov edx, dword [ecx + 0xc4]
mov ecx, dword [edx + 0x10]
add ecx, dword [edx + 0xc]
mov dword [ebp - 0x1d0], ecx
mov byte [ebp - 4], 0x19
mov eax, dword [edx + 0xc]
mov edx, dword [edx]
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1e8], edx
mov byte [ebp - 4], 0x18
test edx, edx
jne 0x503752
xor edi, edi
jmp 0x503754
mov edi, dword [edx]
cmp eax, ecx
je 0x503793
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.00503140
add esp, 4
test al, al
jne 0x503781
inc esi
cmp esi, dword [ebp - 0x1d0]
jne 0x503760
mov edx, dword [ebp - 0x1e8]
mov dword [ebp - 0x1e4], esi
mov esi, dword [ebp - 0x1e0]
xor eax, eax
mov dword [ebp - 0x1d8], eax
test edx, edx
je 0x5037ad
mov eax, dword [edx]
test eax, eax
je 0x5037ad
mov eax, dword [eax]
mov dword [ebp - 0x1d8], eax
mov edx, dword [esi + 0x68]
mov edi, dword [ebp - 0x1e4]
mov eax, dword [edx + 0xc4]
mov ecx, dword [eax + 0x10]
add ecx, dword [eax + 0xc]
cmp edi, ecx
je 0x503a76
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x1f8], 0
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x200]
push eax
mov ecx, esi
call fcn.004f63e0
push 0x58b0fc
lea ecx, [ebp - 0xa8]
call fcn.004064f0
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x1d8]
test eax, eax
je 0x50381a
mov eax, dword [eax]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
dec edx
push ecx
and edx, edi
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0xcc]
mov edx, dword [eax + edx*4]
call fcn.0048f900
add esp, 8
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xa8]
call fcn.00407b40
push 0x580120
lea ecx, [ebp - 0xa8]
call fcn.004064f0
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0xa8]
mov edx, dword [ebp - 0xcc]
push ecx
push eax
lea ecx, [ebp - 0x144]
lea edx, [edx + 0x18]
call fcn.0048f900
add esp, 8
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0xa8]
call fcn.00407b40
mov esi, dword [ebp - 0x144]
mov edi, dword [ebp - 0x140]
cmp esi, edi
je 0x503a12
mov ecx, dword [ebp - 0x1fc]
xor eax, eax
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1e8], eax
test ecx, ecx
jg 0x5038e6
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x5038c7
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x138]
push eax
call fcn.00418ac0
add esi, 0x18
jmp 0x503899
mov ecx, dword [ebp - 0x1fc]
test eax, eax
js 0x504b08
cmp eax, ecx
jge 0x504b08
mov ecx, dword [ebp - 0x200]
movzx eax, word [ecx + eax*2]
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x90]
push 0xa
push 0x40
push ecx
push eax
call fcn.0052b248
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
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x503952
sub eax, edx
lea ecx, [ebp - 0xa8]
sar eax, 1
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00407880
or dword [ebp - 0x1d4], 0x10
lea eax, [ebp - 0xa8]
cmp dword [ebp - 0x94], 8
mov ecx, esi
cmovae eax, dword [ebp - 0xa8]
cmp dword [esi + 0x14], 8
jb 0x503999
mov ecx, dword [esi]
push dword [ebp - 0x98]
mov edx, dword [esi + 0x10]
push eax
push 0
call fcn.004467c0
and dword [ebp - 0x1d4], 0xffffffef
add esp, 0xc
mov dword [ebp - 0x1ec], eax
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0xa8]
call fcn.00407b40
mov edx, dword [ebp - 0x1d0]
mov eax, dword [ebp - 0x1e8]
inc eax
cmp dword [ebp - 0x1ec], 0xffffffff
mov dword [ebp - 0x1e8], eax
lea ecx, [edx + 1]
cmovne ecx, edx
mov dword [ebp - 0x1d0], ecx
cmp eax, dword [ebp - 0x1fc]
jl 0x5038e0
test ecx, ecx
je 0x5038bd
mov byte [ebp - 0x1c9], 1
add esi, 0x18
jmp 0x503899
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x144]
call fcn.00406550
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xcc]
call fcn.00406550
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x200]
test eax, eax
je 0x503a51
push eax
call fcn.005269c4
add esp, 4
mov dword [ebp - 0x200], 0
mov esi, dword [ebp - 0x1e0]
mov edi, dword [ebp - 0x1e4]
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x1f8], 0
mov edx, dword [esi + 0x68]
jmp 0x503a7f
cmp byte [ebp - 0x1d9], 0
je 0x503aa3
lea eax, [edx + 0x1c]
lea ecx, [edx + 4]
cmp ecx, eax
je 0x503a9f
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x503a93
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00407880
mov edx, dword [esi + 0x68]
mov byte [edx + 0x65], 0
cmp byte [ebp - 0x1ed], 0
je 0x503acf
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00406ba0
mov ecx, eax
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x1d4]
or eax, 1
jmp 0x503b27
xor eax, eax
mov dword [ebp - 0x98], 0
push eax
mov dword [ebp - 0x94], 0
lea ecx, [ebp - 0xa8]
push 0x57df48
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
call fcn.00407880
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 0x23
mov eax, dword [ebp - 0x1d4]
or eax, 2
mov dword [ebp - 0x1d4], eax
xor edx, edx
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0xf0], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0xe0], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], dx
mov dword [ebp - 4], 0x25
test al, 2
je 0x503b90
and eax, 0xfffffffd
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x1d4], eax
call fcn.00407b40
mov eax, dword [ebp - 0x1d4]
mov byte [ebp - 4], 0x26
test al, 1
je 0x503bac
and eax, 0xfffffffe
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x1d4], eax
call fcn.00407b40
cmp dword [ebp - 0x128], 0
mov eax, 0x580120
mov edx, 0x57df48
cmovne edx, eax
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x1ec], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x503bd0
sub ecx, dword [ebp - 0x1ec]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xf0]
call fcn.00418ac0
cmp dword [ebp - 0x124], 8
lea eax, [ebp - 0x138]
push dword [ebp - 0x128]
cmovae eax, dword [ebp - 0x138]
lea ecx, [ebp - 0xf0]
push eax
call fcn.00418ac0
cmp byte [esi + 0x24c], 0
jne 0x503d96
cmp byte [ebp - 0x1c9], 0
je 0x503cce
mov eax, dword [esi + 0x68]
xor ecx, ecx
mov eax, dword [eax + 0xc4]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1d8]
test eax, eax
je 0x503c53
mov eax, dword [eax]
test eax, eax
je 0x503c53
mov ecx, dword [eax]
sub esp, 0xc
xor eax, eax
mov edx, esp
test ecx, ecx
je 0x503c66
cmp dword [ecx], eax
je 0x503c66
mov eax, dword [ecx]
mov eax, dword [eax]
mov esi, dword [ebp - 0x1e0]
mov dword [edx], 0
mov dword [edx + 4], 0
test eax, eax
je 0x503c87
mov eax, dword [eax]
test eax, eax
je 0x503c87
mov eax, dword [eax]
mov dword [edx], eax
lea eax, [edi + 1]
mov dword [edx + 8], eax
mov byte [ebp - 4], 0x27
sub esp, 0xc
mov edx, esp
mov dword [edx], 0
mov dword [edx + 4], 0
test ecx, ecx
je 0x503cb1
mov eax, dword [ecx]
test eax, eax
je 0x503cb1
mov eax, dword [eax]
mov dword [edx], eax
mov dword [edx + 8], edi
mov byte [ebp - 4], 0x28
lea eax, [ebp - 0xcc]
push eax
mov byte [ebp - 4], 0x26
mov ecx, dword [ebp - 0x1ec]
call fcn.005058b0
cmp dword [ebp - 0xe0], 0
je 0x503e80
mov eax, dword [esi + 0x68]
lea ecx, [ebp - 0xa8]
push 1
push 0x58b0fc
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.00407880
mov byte [ebp - 4], 0x29
lea eax, [ebp - 0xa8]
push eax
mov edx, str.TRANSFORMS
lea ecx, [ebp - 0x150]
call fcn.00424760
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0xf0]
push ecx
mov edx, eax
lea ecx, [ebp - 0xd8]
call fcn.0042cc30
add esp, 8
mov byte [ebp - 4], 0x2b
mov ecx, esi
push eax
call fcn.00496e80
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0xd8]
call fcn.00407b40
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x150]
call fcn.00407b40
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0xa8]
jmp 0x503e75
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.00407880
mov byte [ebp - 4], 0x2c
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0xa8]
mov ecx, esi
push eax
call fcn.004f3960
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0xa8]
call fcn.00407b40
mov eax, dword [ebp - 0x1e0]
lea ecx, [ebp - 0xd8]
push 0xa
push str.TRANSFORMS
mov edi, dword [eax + 0x6c]
mov eax, dword [edi]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc8], 0
mov esi, dword [eax + 0xc]
xor eax, eax
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
call fcn.00407880
mov byte [ebp - 4], 0x2d
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0xd8]
mov ecx, edi
push eax
call esi
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0xd8]
call fcn.00407b40
mov esi, dword [ebp - 0x1e0]
mov ecx, esi
call fcn.00504b20
push dword [esi + 0x5c]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xf0]
call fcn.00407b40
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x138]
call fcn.00407b40
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1b0]
call fcn.00407b40
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x198]
call fcn.00407b40
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c8]
call fcn.00407b40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x108]
call fcn.00407b40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x180]
call fcn.00407b40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x168]
call fcn.00407b40
jmp 0x504ac4
cmp eax, 1
jne 0x5048ae
call fcn.0041da00
lea ecx, [ebp - 0x1c9]
mov byte [ebp - 0x1c9], 0
push ecx
lea ecx, [ebp - 0x1d0]
push ecx
mov ecx, eax
call fcn.0049fe50
mov dword [ebp - 4], 0x32
mov edx, dword [eax]
mov ecx, edx
xor eax, eax
mov dword [ebp - 0x128], 0
mov word [ebp - 0x138], ax
mov dword [ebp - 0x124], 0
lea eax, [ecx + 2]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 7
mov dword [ebp - 0x1ec], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x503f80
sub ecx, dword [ebp - 0x1ec]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x138]
call fcn.00407880
mov byte [ebp - 4], 0x34
or eax, 0xffffffff
mov edx, dword [ebp - 0x1d0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x503fc2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x1c9], 0
je 0x5040bc
mov edx, 0xe8
lea ecx, [ebp - 0x1e4]
call fcn.004bdc10
mov byte [ebp - 4], 0x36
mov edx, 0xe7
lea ecx, [ebp - 0x1d8]
call fcn.004bdc10
mov byte [ebp - 4], 0x37
push 0x44
push dword [ebp - 0x1d8]
push dword [ebp - 0x1e4]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x504078
mov dword [esi + 0x64], 0x642
mov byte [ebp - 4], 0x36
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 0x504042
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x34
mov edx, dword [ebp - 0x1e4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x504061
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.00407b40
jmp 0x504aeb
mov byte [ebp - 4], 0x36
or eax, 0xffffffff
mov edx, dword [ebp - 0x1d8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x50409a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x34
or eax, 0xffffffff
mov edx, dword [ebp - 0x1e4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x5040bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x68]
test byte [eax + 0x68], 2
jne 0x5040d5
cmp byte [esi + 0x24c], 0
mov byte [ebp - 0x204], 0
jne 0x5040dc
mov byte [ebp - 0x204], 1
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x1f8], 0
mov byte [ebp - 4], 0x3c
xor eax, eax
push 1
mov dword [ebp - 0xe0], 0
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xdc], 0
push 0x57fd08
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
call fcn.00407880
mov byte [ebp - 4], 0x3d
lea eax, [ebp - 0xf0]
push 1
push 1
push ecx
push eax
lea edx, [ebp - 0x138]
lea ecx, [ebp - 0x200]
call fcn.0048f5e0
add esp, 0x10
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0xf0]
call fcn.00407b40
mov eax, dword [ebp - 0x200]
mov ecx, dword [ebp - 0x1fc]
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1f4], ecx
cmp eax, ecx
je 0x50486f
xor ecx, ecx
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 7
mov word [ebp - 0x120], cx
mov byte [ebp - 4], 0x3e
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], 0x3f
lea ecx, [ebp - 0xc0]
push ecx
lea edx, [ebp - 0x120]
mov ecx, eax
call fcn.0048fa70
add esp, 4
mov dword [ebp - 0xe0], 0
xor eax, eax
mov dword [ebp - 0xdc], 0
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 7
push 1
push 0x581364
mov word [ebp - 0xf0], ax
call fcn.00407880
mov byte [ebp - 4], 0x41
lea eax, [ebp - 0xf0]
push eax
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x1c8]
call fcn.0048fe90
mov byte [ebp - 4], 0x42
lea ecx, [ebp - 0xf0]
push ecx
mov edx, eax
lea ecx, [ebp - 0x1b0]
call fcn.004900b0
or edi, 0x20
mov dword [ebp - 0x1d0], eax
add esp, 8
mov dword [ebp - 0x1d4], edi
mov byte [ebp - 4], 0x41
lea ecx, [ebp - 0x1c8]
call fcn.00407b40
lea eax, [ebp - 0x120]
cmp eax, dword [ebp - 0x1d0]
je 0x5042e4
mov ecx, eax
call fcn.00407b40
mov eax, dword [ebp - 0x1d0]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x120], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x110], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
and edi, 0xffffffdf
mov dword [ebp - 0x1d4], edi
mov byte [ebp - 4], 0x40
lea ecx, [ebp - 0x1b0]
call fcn.00407b40
mov byte [ebp - 4], 0x3f
lea ecx, [ebp - 0xf0]
call fcn.00407b40
push 1
xor eax, eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
lea ecx, [ebp - 0xa8]
push 0x581364
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
call fcn.00407880
mov byte [ebp - 4], 0x44
lea eax, [ebp - 0xa8]
push eax
lea edx, [ebp - 0xc0]
lea ecx, [ebp - 0x198]
call fcn.0048fe90
mov byte [ebp - 4], 0x45
lea ecx, [ebp - 0xa8]
push ecx
mov edx, eax
lea ecx, [ebp - 0x180]
call fcn.004900b0
or edi, 0x40
mov dword [ebp - 0x1d0], eax
add esp, 8
mov dword [ebp - 0x1d4], edi
mov byte [ebp - 4], 0x44
lea ecx, [ebp - 0x198]
call fcn.00407b40
lea eax, [ebp - 0xc0]
cmp eax, dword [ebp - 0x1d0]
je 0x5043e8
mov ecx, eax
call fcn.00407b40
mov eax, dword [ebp - 0x1d0]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xc0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xb0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
and edi, 0xffffffbf
mov dword [ebp - 0x1d4], edi
mov byte [ebp - 4], 0x43
lea ecx, [ebp - 0x180]
call fcn.00407b40
mov byte [ebp - 4], 0x3f
lea ecx, [ebp - 0xa8]
call fcn.00407b40
cmp dword [ebp - 0xac], 8
lea edx, [ebp - 0xc0]
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x120]
cmovae edx, dword [ebp - 0xc0]
cmp dword [ebp - 0x10c], 8
cmovae ecx, dword [ebp - 0x120]
cmp eax, dword [ebp - 0xb0]
jne 0x5046d3
push eax
call fcn.00406da0
add esp, 4
test eax, eax
jne 0x5046d3
lea ecx, [ebp - 0x120]
call fcn.004975c0
test al, al
je 0x504584
mov eax, dword [esi + 0x68]
lea edx, [ebp - 0xc0]
lea ecx, [eax + 0x4c]
cmp ecx, edx
je 0x50449c
cmp dword [ebp - 0xac], 8
mov eax, edx
push dword [ebp - 0xb0]
cmovae eax, dword [ebp - 0xc0]
push eax
call fcn.00407880
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 0xc4]
cmp dword [eax + 0x10], 1
jbe 0x504b14
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
xor eax, eax
test ecx, ecx
je 0x5044bf
mov ecx, dword [ecx]
test ecx, ecx
je 0x5044bf
mov eax, dword [ecx]
inc edx
test eax, eax
je 0x5044d4
mov eax, dword [eax]
test eax, eax
je 0x5044d4
mov eax, dword [eax]
test eax, eax
je 0x5044d4
mov eax, dword [eax]
jmp 0x5044d6
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
cmp dword [ebp - 0xac], 8
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0xc0]
cmovae ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0x1ec]
mov esi, edx
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0xc0]
cmovae ecx, dword [ebp - 0xc0]
cmp dword [edx + 0x14], 8
mov dword [ebp - 0x1d8], ecx
jb 0x504528
mov esi, dword [edx]
mov ecx, dword [edx + 0x10]
lea esi, [esi + ecx*2]
mov ecx, edx
jb 0x504534
mov ecx, dword [edx]
sub esi, ecx
mov dword [ebp - 0x1e8], edx
sar esi, 1
cmp dword [edx + 0x14], 8
mov dword [ebp - 0x1d0], esi
jb 0x504558
mov esi, dword [edx]
mov dword [ebp - 0x1e8], esi
mov esi, dword [ebp - 0x1d0]
sub eax, dword [ebp - 0x1d8]
sub ecx, dword [ebp - 0x1e8]
sar eax, 1
push eax
push dword [ebp - 0x1d8]
sar ecx, 1
push esi
push ecx
mov ecx, edx
call fcn.0048db00
mov byte [ebp - 0x204], 1
jmp 0x50469a
mov ecx, dword [esi + 0x68]
lea eax, [ebp - 0xc0]
add ecx, 4
cmp ecx, eax
je 0x5045ae
cmp dword [ebp - 0xac], 8
push dword [ebp - 0xb0]
cmovae eax, dword [ebp - 0xc0]
push eax
call fcn.00407880
cmp byte [ebp - 0x204], 0
je 0x5046a0
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 0xc4]
cmp dword [eax + 0x10], 1
jbe 0x504b14
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
xor eax, eax
test ecx, ecx
je 0x5045e1
mov ecx, dword [ecx]
test ecx, ecx
je 0x5045e1
mov eax, dword [ecx]
inc edx
test eax, eax
je 0x5045f6
mov eax, dword [eax]
test eax, eax
je 0x5045f6
mov eax, dword [eax]
test eax, eax
je 0x5045f6
mov eax, dword [eax]
jmp 0x5045f8
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
cmp dword [ebp - 0xac], 8
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0xc0]
cmovae ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0x1ec]
mov esi, edx
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0xc0]
cmovae ecx, dword [ebp - 0xc0]
cmp dword [edx + 0x14], 8
mov dword [ebp - 0x1d8], ecx
jb 0x50464a
mov esi, dword [edx]
mov ecx, dword [edx + 0x10]
lea esi, [esi + ecx*2]
mov ecx, edx
jb 0x504656
mov ecx, dword [edx]
sub esi, ecx
mov dword [ebp - 0x1e8], edx
sar esi, 1
cmp dword [edx + 0x14], 8
mov dword [ebp - 0x1d0], esi
jb 0x50467a
mov esi, dword [edx]
mov dword [ebp - 0x1e8], esi
mov esi, dword [ebp - 0x1d0]
sub eax, dword [ebp - 0x1d8]
sub ecx, dword [ebp - 0x1e8]
sar eax, 1
push eax
push dword [ebp - 0x1d8]
sar ecx, 1
push esi
push ecx
mov ecx, edx
call fcn.0048db00
mov esi, dword [ebp - 0x1e0]
mov ecx, dword [esi + 0x68]
lea eax, [ebp - 0xc0]
add ecx, 0x34
cmp ecx, eax
je 0x504836
cmp dword [ebp - 0xac], 8
push dword [ebp - 0xb0]
cmovae eax, dword [ebp - 0xc0]
push eax
call fcn.00407880
jmp 0x504836
cmp byte [ebp - 0x204], 0
je 0x50480a
mov eax, dword [esi + 0x68]
lea ecx, [ebp - 0x108]
push 1
push 0x58b0fc
mov esi, dword [eax + 0xc4]
xor eax, eax
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 7
mov word [ebp - 0x108], ax
call fcn.00407880
mov byte [ebp - 4], 0x47
lea eax, [ebp - 0x120]
cmp dword [ebp - 0x10c], 8
lea ecx, [ebp - 0x108]
push dword [ebp - 0x110]
cmovae eax, dword [ebp - 0x120]
push eax
push 0
call fcn.004251d0
mov dword [ebp - 0x158], 0
lea edx, [ebp - 0x168]
mov dword [ebp - 0x154], 0
xor ecx, ecx
or edi, 0x80
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x168], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x158], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x1d4], edi
call fcn.0042cc30
add esp, 4
mov byte [ebp - 4], 0x48
mov ecx, esi
push eax
call fcn.00496e80
mov byte [ebp - 4], 0x47
lea ecx, [ebp - 0xd8]
call fcn.00407b40
and edi, 0xffffff7f
mov dword [ebp - 0x1d4], edi
mov byte [ebp - 4], 0x46
lea ecx, [ebp - 0x168]
call fcn.00407b40
mov byte [ebp - 4], 0x3f
lea ecx, [ebp - 0x108]
call fcn.00407b40
mov esi, dword [ebp - 0x1e0]
jmp 0x504836
mov ecx, dword [esi + 0x68]
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.004f3960
mov ecx, dword [esi + 0x6c]
lea edx, [ebp - 0xc0]
push edx
lea edx, [ebp - 0x120]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov byte [ebp - 4], 0x3e
lea ecx, [ebp - 0xc0]
call fcn.00407b40
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x120]
call fcn.00407b40
mov eax, dword [ebp - 0x1e4]
add eax, 0x18
mov dword [ebp - 0x1e4], eax
cmp eax, dword [ebp - 0x1f4]
jne 0x504194
cmp byte [ebp - 0x204], 0
jne 0x50487f
mov ecx, esi
call fcn.00504b20
push dword [esi + 0x5c]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0x200]
call fcn.00406550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.00407b40
jmp 0x504ac4
cmp eax, 2
jne 0x504ac4
mov ecx, esi
call fcn.00504b20
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 - 0x1e4], edx
mov dword [ebp - 0x1d8], ecx
mov dword [ebp - 0x1d0], eax
mov edi, dword [edx + 8]
mov dword [ebp - 0x1ec], edi
test edi, edi
jle 0x504a72
xor ecx, ecx
mov dword [ebp - 0x1e8], ecx
nop word [eax + eax]
test ecx, ecx
js 0x504b08
cmp eax, dword [edx + 8]
jge 0x504b08
mov edi, dword [edx + 4]
add edi, ecx
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 4], 0x49
lea ecx, [ebp - 0x1fc]
mov edx, dword [edi + 0x14]
push ecx
mov ecx, dword [ebp - 0x1d8]
call fcn.004a3240
mov edx, dword [ebp - 0x1f8]
add esp, 4
test edx, edx
jne 0x504957
xor ecx, ecx
jmp 0x504975
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x1f4], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x504962
sub ecx, dword [ebp - 0x1f4]
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x14]
call fcn.004126c0
mov edx, dword [edi + 0x18]
lea ecx, [ebp - 0x1fc]
push ecx
mov ecx, dword [ebp - 0x1d8]
call fcn.004a3240
mov edx, dword [ebp - 0x1f8]
add esp, 4
test edx, edx
jne 0x5049a5
xor ecx, ecx
jmp 0x5049c3
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x1f4], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5049b0
sub ecx, dword [ebp - 0x1f4]
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x18]
call fcn.004126c0
mov edx, dword [edi + 0x1c]
lea eax, [edi + 0x1c]
lea ecx, [ebp - 0x1fc]
mov dword [ebp - 0x1f4], eax
push ecx
mov ecx, dword [ebp - 0x1d8]
call fcn.004a3240
mov edi, dword [ebp - 0x1f8]
add esp, 4
test edi, edi
jne 0x5049fc
xor ecx, ecx
jmp 0x504a10
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x504a01
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x1f4]
push edi
call fcn.004126c0
mov dword [ebp - 4], 0xffffffff
push edi
call fcn.00521c5a
mov eax, dword [ebp - 0x1d0]
add esp, 4
mov ecx, dword [ebp - 0x1e8]
inc eax
mov edx, dword [ebp - 0x1e4]
add ecx, 0x74
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1e8], ecx
cmp eax, dword [ebp - 0x1ec]
jl 0x504900
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.00416fd0
mov dword [ebp - 4], 0x4a
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 edx, edx
lea ecx, [ebp - 0x60]
test al, al
cmovne ecx, edx
push ecx
mov ecx, edi
call esi
mov esi, dword [ebp - 0x1e0]
mov dword [esi + 0x64], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.004170f0
push 0
push 2
call dword [sym.imp.msi.dll_MsiSetPropertyW]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x204]
call dword [eax + 0x18]
cmp byte [ebp - 0x204], 0
jne 0x504aeb
mov ecx, esi
call fcn.00504b90
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.005214e1
mov esp, ebp
pop ebp
ret 4
push 1
push 0xc000008c
call fcn.0040db10
call fcn.004f36b0
int3