Function at 0x479910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a03f
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x565680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x26c], ebx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x280], edi
call fcn.00488d60
test al, al
jne 0x4799ce
mov esi, dword [0x566ac0]
test esi, esi
je 0x4799ce
jmp 0x479970
mov ecx, esi
and ecx, 0x80000001
jns 0x47997f
dec ecx
or ecx, 0xfffffffe
inc ecx
jne 0x47998c
mov eax, esi
cdq
sub eax, edx
mov esi, eax
sar esi, 1
jmp 0x479993
lea esi, [esi*2 + 1]
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, esi
lea eax, [eax + eax*2]
sub ecx, eax
mov dword [0x566ac0], esi
sub ecx, 0
je 0x4799bd
sub ecx, 2
je 0x4799c0
dec ecx
je 0x4799c1
jmp 0x4799ca
add esi, 2
inc esi
add esi, 2
mov dword [0x566ac0], esi
test esi, esi
jne 0x479970
lea eax, [ebx + 0xa8]
push eax
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0x238]
push eax
call fcn.0048c490
add esp, 8
push eax
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], 0
call fcn.00469230
lea eax, [ebp - 0x260]
push eax
push 0x51ff4c
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00469840
mov ecx, eax
call fcn.00469650
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0
call fcn.004695b0
cmp dword [ebp - 0x224], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x479a48
push dword [ebp - 0x238]
call fcn.004e4aa8
add esp, 4
mov eax, dword [0x5651b8]
mov ecx, 0x5651b8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x274], eax
mov esi, dword [0x566ac0]
mov eax, esi
imul eax, esi
mov dword [ebp - 4], 2
and eax, 0x80000003
jns 0x479a7c
dec eax
or eax, 0xfffffffc
inc eax
cmp eax, 3
jne 0x479ae3
test esi, esi
je 0x479ae3
mov ecx, esi
and ecx, 0x80000001
jns 0x479a94
dec ecx
or ecx, 0xfffffffe
inc ecx
jne 0x479aa1
mov eax, esi
cdq
sub eax, edx
mov esi, eax
sar esi, 1
jmp 0x479aa8
lea esi, [esi*2 + 1]
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, esi
lea eax, [eax + eax*2]
sub ecx, eax
mov dword [0x566ac0], esi
sub ecx, 0
je 0x479ad2
sub ecx, 2
je 0x479ad5
dec ecx
je 0x479ad6
jmp 0x479adf
add esi, 2
inc esi
add esi, 2
mov dword [0x566ac0], esi
test esi, esi
jne 0x479a85
push dword [ebx + 0x1c]
call fcn.004e5d44
cdq
mov ecx, 0x1f41
idiv ecx
lea eax, [ebp - 0x274]
add edx, 0x3e8
push edx
push str.XjOW_d_s
push eax
call fcn.00405690
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.0048c490
add esp, 0x18
push eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 3
call fcn.00469230
lea eax, [ebp - 0x260]
push eax
push str.syncGUID
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00469840
mov ecx, eax
call fcn.00469650
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 3
call fcn.004695b0
cmp dword [ebp - 0x224], 0x10
mov byte [ebp - 4], 2
jb 0x479b79
push dword [ebp - 0x238]
call fcn.004e4aa8
add esp, 4
push str.app_profile
lea ecx, [ebp - 0x260]
call fcn.004692d0
lea eax, [ebp - 0x260]
push eax
push str.location
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.00469840
mov ecx, eax
call fcn.00469650
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.004695b0
mov ecx, dword [0x566ac0]
mov esi, 0x14
lea eax, [ecx + 1]
imul eax, ecx
cdq
idiv esi
cmp edx, 0xb
jne 0x479bd6
dec ecx
mov dword [0x566ac0], ecx
lea eax, [ebx + 0xac]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.0048c490
add esp, 8
push eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 6
call fcn.00469230
lea eax, [ebp - 0x260]
push eax
push 0x51a54c
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00469840
mov ecx, eax
call fcn.00469650
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 6
call fcn.004695b0
cmp dword [ebp - 0x224], 0x10
mov byte [ebp - 4], 2
jb 0x479c44
push dword [ebp - 0x238]
call fcn.004e4aa8
add esp, 4
push str.extension
lea ecx, [ebp - 0x260]
call fcn.004692d0
lea eax, [ebp - 0x260]
push eax
push 0x51fecc
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.00469840
mov ecx, eax
call fcn.00469650
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.004695b0
lea eax, [ebx + 0xb0]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.0048c490
add esp, 8
push eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 9
call fcn.00469230
lea eax, [ebp - 0x260]
push eax
push str.updateURL
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.00469840
mov ecx, eax
call fcn.00469650
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 9
call fcn.004695b0
cmp dword [ebp - 0x224], 0x10
mov byte [ebp - 4], 2
jb 0x479cef
push dword [ebp - 0x238]
call fcn.004e4aa8
add esp, 4
mov esi, dword [0x566ac0]
mov ecx, 0xa
lea eax, [esi + 1]
imul eax, esi
cdq
idiv ecx
cmp edx, 4
jne 0x479d93
xor edx, edx
mov edi, edi
mov ecx, edx
and ecx, 1
dec ecx
not ecx
and ecx, esi
mov eax, edx
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, esi
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, esi
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, esi
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
inc edx
add esi, eax
cmp edx, 0x100
jl 0x479d10
mov dword [0x566ac0], esi
mov eax, dword [0x5651b8]
mov ecx, 0x5651b8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x264], eax
mov esi, str.chrome:__
shr esi, 0x10
mov byte [ebp - 4], 0xb
mov eax, str.chrome:__
test esi, esi
jne 0x479f4d
movzx ebx, ax
push esi
push ebx
call fcn.00402f50
add esp, 8
test eax, eax
je 0x479de0
push ebx
push eax
lea ecx, [ebp - 0x264]
call fcn.004073a0
mov ebx, dword [ebp - 0x26c]
lea eax, [ebx + 0xb4]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x268]
push eax
mov byte [ebp - 4], 0xc
call fcn.00402a20
push str._content_options.xul
push eax
lea eax, [ebp - 0x270]
push eax
mov byte [ebp - 4], 0xd
call fcn.00402ae0
push eax
lea eax, [ebp - 0x250]
push eax
mov byte [ebp - 4], 0xe
call fcn.0048c490
add esp, 0x20
push eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0xf
call fcn.00469230
lea eax, [ebp - 0x260]
push eax
push str.optionsURL
mov ecx, edi
mov byte [ebp - 4], 0x10
call fcn.00469840
mov ecx, eax
call fcn.00469650
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0xf
call fcn.004695b0
cmp dword [ebp - 0x23c], 0x10
jb 0x479e82
push dword [ebp - 0x250]
call fcn.004e4aa8
add esp, 4
mov edx, dword [ebp - 0x270]
add edx, 0xfffffff0
or ebx, 0xffffffff
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], 0
mov byte [ebp - 0x250], 0
mov byte [ebp - 4], 0xd
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x479ec3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x268]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xc
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x479ee6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x264]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x479f09
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x5651b8]
mov ecx, 0x5651b8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 0x11
test esi, esi
jne 0x479f62
mov eax, str.chrome:__
movzx esi, ax
push 0
push esi
call fcn.00402f50
add esp, 8
test eax, eax
je 0x479f72
push esi
push eax
lea ecx, [ebp - 0x264]
call fcn.004073a0
jmp 0x479f72
push str.chrome:__
lea ecx, [ebp - 0x264]
call fcn.004027b0
jmp 0x479de6
push str.chrome:__
lea ecx, [ebp - 0x264]
call fcn.004027b0
mov esi, dword [ebp - 0x26c]
mov byte [ebp - 4], 0x12
lea eax, [esi + 0xb4]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00402a20
push str._skin_icon24.png
push eax
lea eax, [ebp - 0x268]
push eax
mov byte [ebp - 4], 0x13
call fcn.00402ae0
push eax
lea eax, [ebp - 0x250]
push eax
mov byte [ebp - 4], 0x14
call fcn.0048c490
add esp, 0x20
push eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0x15
call fcn.00469230
lea eax, [ebp - 0x260]
push eax
push str.iconURL
mov ecx, edi
mov byte [ebp - 4], 0x16
call fcn.00469840
mov ecx, eax
call fcn.00469650
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0x15
call fcn.004695b0
cmp dword [ebp - 0x23c], 0x10
jb 0x47a014
push dword [ebp - 0x250]
call fcn.004e4aa8
add esp, 4
mov edx, dword [ebp - 0x268]
add edx, 0xfffffff0
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], 0
mov byte [ebp - 0x250], 0
mov byte [ebp - 4], 0x13
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a052
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x270]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x12
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a075
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x264]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a098
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00488b50
test al, al
jne 0x47a0b5
mov eax, dword [0x566ac0]
mov ecx, 1
test eax, eax
cmove eax, ecx
mov dword [0x566ac0], eax
lea eax, [esi + 0xbc]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.0048c490
add esp, 8
push eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0x17
call fcn.00469230
lea eax, [ebp - 0x260]
push eax
push 0x51fec4
push str.defaultLocale
mov ecx, edi
mov byte [ebp - 4], 0x18
call fcn.00469840
mov ecx, eax
call fcn.00469840
mov ecx, eax
call fcn.00469650
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0x17
call fcn.004695b0
cmp dword [ebp - 0x224], 0x10
mov byte [ebp - 4], 2
jb 0x47a12f
push dword [ebp - 0x238]
call fcn.004e4aa8
add esp, 4
lea eax, [esi + 0xc0]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.0048c490
add esp, 8
push eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0x19
call fcn.00469230
lea eax, [ebp - 0x260]
push eax
push str.description
push str.defaultLocale
mov ecx, edi
mov byte [ebp - 4], 0x1a
call fcn.00469840
mov ecx, eax
call fcn.00469840
mov ecx, eax
call fcn.00469650
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0x19
call fcn.004695b0
cmp dword [ebp - 0x224], 0x10
mov byte [ebp - 4], 2
jb 0x47a1a9
push dword [ebp - 0x238]
call fcn.004e4aa8
add esp, 4
mov esi, dword [0x566ac0]
lea ecx, [esi + 1]
lea eax, [esi + 2]
imul eax, ecx
imul eax, esi
cdq
mov ecx, 0x15
idiv ecx
cmp edx, 0xd
jne 0x47a1e2
lea ecx, [edx - 0xc]
cmp esi, ecx
jle 0x47a1dc
nop
mov eax, esi
cdq
idiv ecx
inc ecx
add ecx, edx
cmp ecx, esi
jl 0x47a1d0
mov dword [0x566ac0], ecx
mov eax, dword [ebp - 0x26c]
add eax, 0xc4
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.0048c490
add esp, 8
push eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0x1b
call fcn.00469230
lea eax, [ebp - 0x260]
push eax
push str.creator
push str.defaultLocale
mov ecx, edi
mov byte [ebp - 4], 0x1c
call fcn.00469840
mov ecx, eax
call fcn.00469840
mov ecx, eax
call fcn.00469650
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0x1b
call fcn.004695b0
cmp dword [ebp - 0x224], 0x10
mov byte [ebp - 4], 2
jb 0x47a261
push dword [ebp - 0x238]
call fcn.004e4aa8
add esp, 4
push 0
lea ecx, [ebp - 0x260]
call fcn.00469310
lea eax, [ebp - 0x260]
push eax
push str.homepageURL
push str.defaultLocale
mov ecx, edi
mov byte [ebp - 4], 0x1d
call fcn.00469840
mov ecx, eax
call fcn.00469840
mov ecx, eax
call fcn.00469650
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.004695b0
call fcn.00488d90
test al, al
jne 0x47a2ce
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 1
lea ecx, [ebp - 0x260]
call fcn.00469410
lea eax, [ebp - 0x260]
push eax
push str.visible
mov ecx, edi
mov byte [ebp - 4], 0x1e
call fcn.00469840
mov ecx, eax
call fcn.00469650
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.004695b0
push 1
lea ecx, [ebp - 0x260]
call fcn.00469410
lea eax, [ebp - 0x260]
push eax
push str.active
mov ecx, edi
mov byte [ebp - 4], 0x1f
call fcn.00469840
mov ecx, eax
call fcn.00469650
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.004695b0
push 0
lea ecx, [ebp - 0x260]
call fcn.00469410
lea eax, [ebp - 0x260]
push eax
push str.userDisabled
mov ecx, edi
mov byte [ebp - 4], 0x20
call fcn.00469840
mov ecx, eax
call fcn.00469650
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.004695b0
push 0
lea ecx, [ebp - 0x260]
call fcn.00469410
lea eax, [ebp - 0x260]
push eax
push str.appDisabled
mov ecx, edi
mov byte [ebp - 4], 0x21
call fcn.00469840
mov ecx, eax
call fcn.00469650
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.004695b0
call fcn.00488bb0
test al, al
jne 0x47a3dd
push 4
call fcn.004e4ad7
mov esi, eax
call fcn.004e5d44
mov dword [esi], eax
push esi
mov dword [0x566ac0], eax
call fcn.004e4aa8
add esp, 8
push str.extensions_
push dword [ebp - 0x278]
lea eax, [ebp - 0x268]
push eax
call fcn.00402ae0
push dword [ebp - 0x27c]
mov byte [ebp - 4], 0x22
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.00402a20
push eax
lea eax, [ebp - 0x250]
push eax
mov byte [ebp - 4], 0x23
call fcn.0048c490
add esp, 0x20
push eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0x24
call fcn.00469230
lea eax, [ebp - 0x260]
push eax
push str.descriptor
mov ecx, edi
mov byte [ebp - 4], 0x25
call fcn.00469840
mov ecx, eax
call fcn.00469650
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0x24
call fcn.004695b0
cmp dword [ebp - 0x23c], 0x10
jb 0x47a473
push dword [ebp - 0x250]
call fcn.004e4aa8
add esp, 4
mov edx, dword [ebp - 0x278]
add edx, 0xfffffff0
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], 0
mov byte [ebp - 0x250], 0
mov byte [ebp - 4], 0x22
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a4b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x268]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a4d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
imul eax, eax, 0x3e8
push eax
lea ecx, [ebp - 0x260]
call fcn.00469290
lea eax, [ebp - 0x260]
push eax
push str.installDate
mov ecx, edi
mov byte [ebp - 4], 0x26
call fcn.00469840
mov ecx, eax
call fcn.00469650
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.004695b0
call esi
imul eax, eax, 0x3e8
push eax
lea ecx, [ebp - 0x260]
call fcn.00469290
lea eax, [ebp - 0x260]
push eax
push str.updateDate
mov ecx, edi
mov byte [ebp - 4], 0x27
call fcn.00469840
mov ecx, eax
call fcn.00469650
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.004695b0
push 1
lea ecx, [ebp - 0x260]
call fcn.00469270
lea eax, [ebp - 0x260]
push eax
push str.applyBackgroundUpdates
mov ecx, edi
mov byte [ebp - 4], 0x28
call fcn.00469840
mov ecx, eax
call fcn.00469650
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.004695b0
call fcn.00488bb0
test al, al
jne 0x47a5a9
call fcn.004e5d44
mov dword [0x566ac0], eax
push 0
lea ecx, [ebp - 0x290]
call fcn.00469310
mov eax, dword [0x566ac0]
imul eax, eax
cdq
mov ecx, 6
idiv ecx
mov byte [ebp - 4], 0x29
cmp edx, 2
jne 0x47a5d7
push 0
call dword [sym.imp.KERNEL32.dll_GetFileType]
push str.ec8030f7_c20a_464f_9b0e_13a3a9e97384
lea ecx, [ebp - 0x260]
call fcn.004692d0
lea eax, [ebp - 0x260]
push eax
push 0x51ff4c
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x2a
call fcn.00469840
mov ecx, eax
call fcn.00469650
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0x29
call fcn.004695b0
push 0x5243dc
lea ecx, [ebp - 0x260]
call fcn.004692d0
lea eax, [ebp - 0x260]
push eax
push str.minVersion
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x2b
call fcn.00469840
mov ecx, eax
call fcn.00469650
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0x29
call fcn.004695b0
call fcn.00488bb0
test al, al
jne 0x47a683
mov ebx, dword [0x566ac0]
xor esi, esi
mov edi, ebx
lea esp, [esp]
inc esi
dec edi
cmp esi, 0x84
jb 0x47a670
mov edi, dword [ebp - 0x280]
or ebx, 0xffffffff
push str.99.
lea ecx, [ebp - 0x248]
call fcn.004692d0
lea eax, [ebp - 0x248]
push eax
push str.maxVersion
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x2c
call fcn.00469840
mov ecx, eax
call fcn.00469650
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x29
call fcn.004695b0
lea eax, [ebp - 0x290]
push eax
push str.targetApplications
mov ecx, edi
call fcn.00469840
mov ecx, eax
call fcn.00469e20
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 2
call fcn.004695b0
mov edx, dword [ebp - 0x274]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x47a711
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e52a4
mov esp, ebp
pop ebp
ret 8