Function at 0x478320
Capabilities:
Enumerate files on windows
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e8ee
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x567680]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x3e4], ebx
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x3ac], eax
mov eax, dword [ebp + 0x14]
xor esi, esi
mov dword [ebp - 0x3fc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3b0], esi
cmp byte [ebx + 0xf1], 0
mov dword [ebp - 0x3f8], ebx
mov dword [ebp - 0x418], edi
mov dword [ebp - 0x3c8], ecx
mov dword [ebp - 0x3a4], eax
jne 0x478a1a
push ecx
mov ecx, ebx
call fcn.0048b7c0
push 0x524800
lea eax, [ebp - 0x3b8]
push edi
push eax
call fcn.00402b60
add esp, 0xc
lea ecx, [ebp - 0x37c]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x384], eax
mov eax, dword [ebp - 0x3b8]
add eax, 0xfffffff0
or edi, 0xffffffff
mov dword [ebp - 0x394], eax
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x478400
mov ecx, dword [eax]
push dword [ebp - 0x394]
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x384], 0xffffffff
je 0x478c39
lea ecx, [ecx]
test byte [ebp - 0x37c], 0x10
je 0x478505
mov eax, dword [0x5671f0]
mov ecx, 0x5671f0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x398], eax
lea eax, [ebp - 0x350]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x478471
movzx eax, ax
push 0
push eax
call fcn.00403090
add esp, 8
test eax, eax
je 0x4784a2
lea edx, [ebp - 0x350]
movzx ecx, dx
push ecx
push eax
lea ecx, [ebp - 0x398]
call fcn.004082e0
jmp 0x4784a2
lea ecx, [ebp - 0x350]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x478480
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x350]
push eax
lea ecx, [ebp - 0x398]
call fcn.0040b9d0
lea eax, [ebp - 0x398]
push 0x51b238
or esi, 1
push eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x3b0], esi
call fcn.004753d0
add esp, 8
test al, al
je 0x478505
lea eax, [ebp - 0x350]
push eax
lea ecx, [ebp - 0x420]
call fcn.00401c30
push 0x524808
or esi, 2
push eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x3b0], esi
call fcn.004753d0
add esp, 8
mov byte [ebp - 0x389], 1
test al, al
jne 0x47850c
mov byte [ebp - 0x389], 0
mov edx, dword [ebp - 0x3b0]
mov dword [ebp - 4], 1
test dl, 2
je 0x47854c
mov esi, dword [ebp - 0x420]
add esi, 0xfffffff0
and edx, 0xfffffffd
mov dword [ebp - 0x3b0], edx
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47854c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3b0]
mov dword [ebp - 4], 0xffffffff
test dl, 1
je 0x478580
and edx, 0xfffffffe
mov dword [ebp - 0x3b0], edx
mov edx, dword [ebp - 0x398]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x478580
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x389], 0
je 0x4789f4
mov eax, dword [0x5671f0]
mov ecx, 0x5671f0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x388], eax
lea eax, [ebp - 0x350]
mov dword [ebp - 4], 3
test eax, 0xffff0000
jne 0x4785d8
movzx esi, ax
push 0
push esi
call fcn.00403090
add esp, 8
test eax, eax
je 0x478603
push esi
push eax
lea ecx, [ebp - 0x388]
call fcn.004082e0
jmp 0x478603
lea ecx, [ebp - 0x350]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4785e1
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x350]
push eax
lea ecx, [ebp - 0x388]
call fcn.0040b9d0
push 0x51a434
push dword [ebp - 0x418]
lea eax, [ebp - 0x41c]
push eax
mov dword [ebp - 4], 4
call fcn.00402b60
lea ecx, [ebp - 0x388]
push ecx
push eax
lea eax, [ebp - 0x3a0]
push eax
mov byte [ebp - 4], 5
call fcn.00402aa0
add esp, 0x18
mov edx, dword [ebp - 0x41c]
add edx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47865f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x388]
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x478682
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x3ac]
lea eax, [ebp - 0x3c0]
push eax
mov ecx, ebx
call fcn.0047df70
push dword [ebp - 0x3c0]
lea ecx, [ebx + 0x7c]
push str.__BROWSER_NAME__
mov byte [ebp - 4], 9
call fcn.00408690
mov eax, dword [0x5671f0]
mov ecx, 0x5671f0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3c4], eax
mov eax, str.binstaller.js
mov byte [ebp - 4], 0xa
test eax, 0xffff0000
jne 0x4786f4
movzx esi, ax
push 0
push esi
call fcn.00403090
add esp, 8
test eax, eax
je 0x478706
push esi
push eax
lea ecx, [ebp - 0x3c4]
call fcn.004082e0
jmp 0x478706
push 0xe
push str.binstaller.js
lea ecx, [ebp - 0x3c4]
call fcn.0040b9d0
mov eax, dword [0x5671f0]
mov ecx, 0x5671f0
mov byte [ebp - 4], 0xb
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3bc], eax
mov eax, str.jsli
mov byte [ebp - 4], 0xc
test eax, 0xffff0000
jne 0x478751
movzx esi, ax
push 0
push esi
call fcn.00403090
add esp, 8
test eax, eax
je 0x478763
push esi
push eax
lea ecx, [ebp - 0x3bc]
call fcn.004082e0
jmp 0x478763
push 6
push str.jsli
lea ecx, [ebp - 0x3bc]
call fcn.0040b9d0
mov eax, dword [0x5671f0]
mov ecx, 0x5671f0
mov byte [ebp - 4], 0xd
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3b4], eax
lea eax, [ebp - 0x3a0]
push eax
lea eax, [ebp - 0x3b4]
push eax
lea eax, [ebp - 0x400]
push eax
mov byte [ebp - 4], 0xe
call fcn.00467f20
lea ecx, [ebp - 0x3bc]
push ecx
push eax
lea eax, [ebp - 0x404]
push eax
mov byte [ebp - 4], 0xf
call fcn.00467f20
lea ecx, [ebp - 0x3c4]
push ecx
push eax
lea eax, [ebp - 0x394]
push eax
mov byte [ebp - 4], 0x10
call fcn.00467f20
add esp, 0x24
push dword [ebp + 0x1c]
mov ecx, ebx
push eax
mov byte [ebp - 4], 0x11
call fcn.00409b80
mov edx, dword [ebp - 0x394]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x10
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x478800
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x404]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xf
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x478823
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x400]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xe
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x478846
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3b4]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xd
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x478869
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3bc]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xb
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47888c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3c4]
add edx, 0xfffffff0
mov byte [ebp - 4], 9
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4788af
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x5671f0]
mov ecx, 0x5671f0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x388], esi
push 0x524888
lea eax, [ebp - 0x388]
push eax
lea eax, [ebp - 0x390]
push eax
mov byte [ebp - 4], 0x12
call fcn.00402b60
lea ecx, [ebp - 0x3c0]
push ecx
push eax
lea eax, [ebp - 0x39c]
push eax
mov byte [ebp - 4], 0x13
call fcn.00402aa0
push 0x524888
push eax
lea eax, [ebp - 0x3a8]
push eax
mov byte [ebp - 4], 0x14
call fcn.00402b60
add esp, 0x24
push str.___BROWSER_NAME___
push dword [eax]
lea ecx, [ebx + 0x7c]
mov byte [ebp - 4], 0x15
call fcn.00408690
mov edx, dword [ebp - 0x3a8]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x14
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x478948
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x39c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x13
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47896b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x390]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x12
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47898e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 9
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4789ab
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3c0]
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4789ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3a0]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4789f4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x37c]
push eax
push dword [ebp - 0x384]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, dword [ebp - 0x3b0]
test eax, eax
jne 0x478410
jmp 0x478c39
push 0x52488c
lea ecx, [ebp - 0x3a0]
call fcn.00401c30
mov eax, dword [0x5671f0]
mov ecx, 0x5671f0
mov dword [ebp - 4], 0x16
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x384], eax
push dword [ebp - 0x3c8]
lea eax, [ebp - 0x384]
push eax
lea eax, [ebp - 0x39c]
push eax
mov byte [ebp - 4], 0x17
call fcn.00467f20
lea ecx, [ebp - 0x3a0]
push ecx
push eax
lea eax, [ebp - 0x390]
push eax
mov byte [ebp - 4], 0x18
call fcn.00467f20
add esp, 0x18
lea ecx, [ebx + 0xb0]
push ecx
lea edx, [ebx + 0xac]
push edx
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x19
call fcn.004096a0
mov edx, dword [ebp - 0x390]
add edx, 0xfffffff0
or edi, 0xffffffff
mov byte [ebp - 4], 0x18
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x478abf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x39c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x17
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x478ae2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x384]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x16
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x478b05
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3a0]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x478b2b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.manifest.json
lea ecx, [ebp - 0x3a0]
call fcn.00401c30
mov eax, dword [0x5671f0]
mov ecx, 0x5671f0
mov dword [ebp - 4], 0x1a
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x384], eax
push dword [ebp - 0x3c8]
lea eax, [ebp - 0x384]
push eax
lea eax, [ebp - 0x39c]
push eax
mov byte [ebp - 4], 0x1b
call fcn.00467f20
lea ecx, [ebp - 0x3a0]
push ecx
push eax
lea eax, [ebp - 0x390]
push eax
mov byte [ebp - 4], 0x1c
call fcn.00467f20
add esp, 0x18
lea ecx, [ebx + 0xb0]
push ecx
lea ecx, [ebx + 0xac]
push ecx
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x1d
call fcn.004096a0
mov edx, dword [ebp - 0x390]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x1c
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x478bcd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x39c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x1b
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x478bf0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x384]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x1a
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x478c13
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3a0]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x478c39
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 4], 0x1e
call fcn.00491230
add esp, 4
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], 0
mov byte [ebp - 0xbc], 0
mov dword [ebp - 0x90], 0xf
mov dword [ebp - 0x94], 0
mov byte [ebp - 0xa4], 0
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
lea eax, [ebp - 0x44]
push eax
push dword [0x562b10]
lea ecx, [ebp - 0xbc]
push 0x562ad0
mov byte [ebp - 4], 0x1f
call fcn.00492700
lea ecx, [ebp - 0x12c]
call fcn.00468510
push 0
lea ecx, [ebp - 0x3e0]
mov byte [ebp - 4], 0x20
call fcn.0046b9e0
push 0
lea ecx, [ebp - 0x3f4]
mov byte [ebp - 4], 0x21
call fcn.0046b9e0
mov byte [ebp - 4], 0x22
mov byte [ebp - 0x389], 1
mov dword [ebp - 0x3c0], 3
lea esp, [esp]
lea eax, [ebp - 0x3bc]
push eax
mov eax, dword [ebp - 0x3ac]
mov dword [ebp - 0x3bc], 0
push dword [eax]
mov dword [ebp - 0x394], 0
call fcn.00410fd0
lea eax, [ebp - 0x394]
push eax
mov eax, dword [ebp - 0x3fc]
push dword [eax]
call fcn.00410fd0
push dword [ebp - 0x3ac]
lea eax, [ebp - 0x398]
push eax
call fcn.00411420
push dword [ebp - 0x3fc]
lea eax, [ebp - 0x388]
push eax
mov byte [ebp - 4], 0x23
call fcn.00411420
lea eax, [ebp - 0x390]
push eax
mov byte [ebp - 4], 0x24
call fcn.00414a00
mov ecx, dword [eax]
xor eax, eax
add esp, 0x24
test ecx, ecx
setne al
test eax, eax
jne 0x478d9e
push 0x80004005
call fcn.00403100
mov eax, dword [ebp - 0x398]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x478dca
test dx, dx
je 0x478dc6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x478dca
add eax, 4
add ecx, 4
test dx, dx
jne 0x478da4
xor eax, eax
jmp 0x478dcf
sbb eax, eax
or eax, 1
mov edx, dword [ebp - 0x390]
test eax, eax
sete byte [ebp - 0x37d]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x478df7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x37d], 0
je 0x478e27
push str.read_preferences_for_enable
lea ecx, [ebp - 0x384]
call fcn.00401c30
lea eax, [ebp - 0x384]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x25
call fcn.0040b2e0
jmp 0x47a2f0
mov eax, dword [ebp - 0x398]
cmp dword [eax - 0xc], 0
jne 0x478ea8
push str.read_preferences_for_enable_file_is_empty
lea ecx, [ebp - 0x384]
call fcn.00401c30
lea eax, [ebp - 0x384]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x26
call fcn.0040b2e0
mov edx, dword [ebp - 0x384]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x24
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x478e78
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0048c5a0
test al, al
jne 0x47a313
push 4
call fcn.004e8d3a
mov esi, eax
call fcn.004e9fd1
mov dword [esi], eax
push esi
mov dword [0x568ad4], eax
call fcn.004e8c3e
add esp, 8
jmp 0x47a313
lea eax, [ebp - 0x39c]
push eax
call fcn.00414a00
mov ecx, dword [eax]
xor eax, eax
add esp, 4
test ecx, ecx
setne al
test eax, eax
jne 0x478ece
push 0x80004005
call fcn.00403100
mov eax, dword [ebp - 0x388]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x478efa
test dx, dx
je 0x478ef6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x478efa
add eax, 4
add ecx, 4
test dx, dx
jne 0x478ed4
xor eax, eax
jmp 0x478eff
sbb eax, eax
or eax, 1
mov edx, dword [ebp - 0x39c]
test eax, eax
sete byte [ebp - 0x37d]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x478f27
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x37d], 0
mov eax, dword [ebp - 0x388]
je 0x478fa9
cmp dword [eax - 0xc], 0
mov ecx, dword [eax - 0x10]
lea edx, [eax - 0x10]
mov dword [ebp - 0x3a8], ecx
je 0x478fa2
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x478f7b
cmp dword [eax - 8], 0
jge 0x478f61
push 0x80070057
call fcn.00403100
mov dword [eax - 0xc], 0
mov eax, dword [ebp - 0x388]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x388]
jmp 0x478fa2
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x478f8e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x3a8]
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x388], eax
mov byte [ebp - 0x389], 0
mov ecx, dword [ebp - 0x398]
cmp dword [ecx - 0xc], 0xa00000
jg 0x47a1e5
cmp dword [eax - 0xc], 0xa00000
jg 0x47a1e5
lea eax, [ebp - 0x398]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00493510
add esp, 8
push 1
lea ecx, [ebp - 0x3e0]
push ecx
push eax
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0x2c
call fcn.00469cf0
test al, al
sete al
cmp dword [ebp - 0x18], 0x10
mov byte [ebp - 0x37d], al
mov byte [ebp - 4], 0x24
jb 0x47901b
push dword [ebp - 0x2c]
call fcn.004e8c3e
mov al, byte [ebp - 0x37d]
add esp, 4
test al, al
je 0x479152
push str.parse_preferences_for_enable
lea ecx, [ebp - 0x384]
call fcn.00401c30
lea eax, [ebp - 0x384]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x2d
call fcn.0040b2e0
mov edx, dword [ebp - 0x384]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x24
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x479068
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x3ac]
lea eax, [ebp - 0x3a0]
push eax
push dword [esi]
mov dword [ebp - 0x3a0], 0
call fcn.00410fd0
add esp, 8
cmp dword [ebp - 0x3a0], 0
je 0x47a313
push str.InstEnd
lea ecx, [ebp - 0x3b4]
call fcn.00401ba0
push str.parse_ch_pref_for_enable_file
lea ecx, [ebp - 0x384]
mov byte [ebp - 4], 0x2e
call fcn.00401ba0
push str.SOFTWARE_
lea ecx, [ebp - 0x3a8]
mov byte [ebp - 4], 0x2f
call fcn.00401ba0
lea ecx, [ebx + 0x1c]
push ecx
push eax
lea eax, [ebp - 0x39c]
push eax
mov byte [ebp - 4], 0x30
call fcn.00402aa0
lea ecx, [ebp - 0x3b4]
push ecx
push eax
lea eax, [ebp - 0x390]
push eax
mov byte [ebp - 4], 0x31
call fcn.00402aa0
push dword [0x5621d8]
mov byte [ebp - 4], 0x32
push eax
lea eax, [ebp - 0x384]
push esi
push eax
call fcn.00424050
add esp, 0x28
lea ecx, [ebp - 0x390]
call fcn.004020a0
lea ecx, [ebp - 0x39c]
call fcn.004020a0
lea ecx, [ebp - 0x3a8]
call fcn.004020a0
lea ecx, [ebp - 0x384]
call fcn.004020a0
lea ecx, [ebp - 0x3b4]
call fcn.004020a0
jmp 0x47a313
mov eax, dword [ebp - 0x388]
cmp dword [eax - 0xc], 0
je 0x47919e
lea eax, [ebp - 0x388]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00493510
add esp, 8
push 1
lea ecx, [ebp - 0x3f4]
push ecx
or esi, 4
push eax
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0x33
mov dword [ebp - 0x3b0], esi
call fcn.00469cf0
mov byte [ebp - 0x37d], 1
test al, al
je 0x4791a5
mov byte [ebp - 0x37d], 0
mov eax, dword [ebp - 0x3b0]
mov dword [ebp - 4], 0x24
test al, 4
je 0x4791d0
and eax, 0xfffffffb
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x3b0], eax
jb 0x4791d0
push dword [ebp - 0x2c]
call fcn.004e8c3e
add esp, 4
cmp byte [ebp - 0x37d], 0
je 0x479310
push str.parse_preferences2_for_enable
lea ecx, [ebp - 0x384]
call fcn.00401c30
lea eax, [ebp - 0x384]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x34
call fcn.0040b2e0
mov edx, dword [ebp - 0x384]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x24
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x479222
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x3a0]
push eax
push dword [ebp - 0x388]
mov dword [ebp - 0x3a0], 0
call fcn.00410fd0
add esp, 8
cmp dword [ebp - 0x3a0], 0
je 0x47a313
push str.InstEnd
lea ecx, [ebp - 0x3b4]
call fcn.00401ba0
push str.parse_ch_pref2_for_enable_file
lea ecx, [ebp - 0x384]
mov byte [ebp - 4], 0x35
call fcn.00401ba0
push str.SOFTWARE_
lea ecx, [ebp - 0x3a8]
mov byte [ebp - 4], 0x36
call fcn.00401ba0
lea ecx, [ebx + 0x1c]
push ecx
push eax
lea eax, [ebp - 0x39c]
push eax
mov byte [ebp - 4], 0x37
call fcn.00402aa0
lea ecx, [ebp - 0x3b4]
push ecx
push eax
lea eax, [ebp - 0x390]
push eax
mov byte [ebp - 4], 0x38
call fcn.00402aa0
push dword [0x5621d8]
mov byte [ebp - 4], 0x39
push eax
lea eax, [ebp - 0x388]
push eax
lea eax, [ebp - 0x384]
push eax
call fcn.00424050
add esp, 0x28
lea ecx, [ebp - 0x390]
call fcn.004020a0
lea ecx, [ebp - 0x39c]
call fcn.004020a0
lea ecx, [ebp - 0x3a8]
call fcn.004020a0
lea ecx, [ebp - 0x384]
call fcn.004020a0
lea ecx, [ebp - 0x3b4]
call fcn.004020a0
jmp 0x47a313
push 0x5247d4
lea ecx, [ebp - 0x3e0]
call fcn.0046bf90
mov ecx, eax
call fcn.0046d240
test al, al
je 0x479352
push str.settings
push 0x5247d4
lea ecx, [ebp - 0x3e0]
call fcn.0046bf90
mov ecx, eax
call fcn.0046bf90
mov ecx, eax
call fcn.0046d240
test al, al
jne 0x47939c
push 0x5247d4
lea ecx, [ebp - 0x3f4]
call fcn.0046bf90
mov ecx, eax
call fcn.0046d240
test al, al
je 0x47a05b
push str.settings
push 0x5247d4
lea ecx, [ebp - 0x3f4]
call fcn.0046bf90
mov ecx, eax
call fcn.0046bf90
mov ecx, eax
call fcn.0046d240
test al, al
je 0x47a05b
lea eax, [ebp - 0x3e0]
push eax
mov ecx, ebx
call fcn.00476390
mov esi, eax
lea eax, [ebp - 0x3f4]
push eax
mov ecx, ebx
mov dword [ebp - 0x400], esi
call fcn.00476390
mov dword [ebp - 0x404], eax
test esi, esi
je 0x479fc7
test eax, eax
je 0x479fc7
push 0
lea ecx, [ebp - 0x414]
call fcn.0046b9e0
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x3a4]
mov ecx, ebx
push dword [ebp - 0x3c8]
mov byte [ebp - 4], 0x40
call fcn.00486900
test al, al
jne 0x479419
lea ecx, [ebp - 0x414]
mov byte [ebp - 4], 0x24
call fcn.0046bd00
jmp 0x47a313
cmp dword [ebx + 0xd0], 2
jne 0x47952a
lea eax, [ebx + 0xd4]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x41
call fcn.00493510
add esp, 8
mov esi, eax
push 0x5247d4
lea ecx, [ebp - 0x3e0]
mov byte [ebp - 4], 0x42
call fcn.0046bf90
push str.settings
mov ecx, eax
call fcn.0046bf90
push esi
lea ecx, [ebp - 0x460]
push ecx
mov ecx, eax
call fcn.0046d400
lea ecx, [ebp - 0x460]
call fcn.0046bd00
cmp dword [ebp - 0x18], 0x10
jb 0x4794a1
push dword [ebp - 0x2c]
call fcn.004e8c3e
add esp, 4
jmp 0x4794a1
lea eax, [ebx + 0xd4]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0x40
push eax
mov byte [ebp - 4], 0x44
call fcn.00493510
add esp, 8
mov esi, eax
push 0x5247d4
lea ecx, [ebp - 0x3f4]
mov byte [ebp - 4], 0x45
call fcn.0046bf90
push str.settings
mov ecx, eax
call fcn.0046bf90
push esi
lea ecx, [ebp - 0x450]
push ecx
mov ecx, eax
call fcn.0046d400
lea ecx, [ebp - 0x450]
call fcn.0046bd00
cmp dword [ebp - 0x18], 0x10
jb 0x479523
push dword [ebp - 0x2c]
call fcn.004e8c3e
add esp, 4
jmp 0x479523
mov dword [ebp - 4], 0x40
push 0x14
push str.extensions.settings.
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
call fcn.00401450
lea esi, [ebx + 0xac]
lea eax, [ebp - 0x2c]
push esi
push eax
mov byte [ebp - 4], 0x47
call fcn.00493510
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x48
call fcn.004187d0
cmp dword [ebp - 0x18], 0x10
mov byte [ebp - 4], 0x47
jb 0x479588
push dword [ebp - 0x2c]
call fcn.004e8c3e
add esp, 4
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, ebx
call fcn.0047e1a0
push str.protection
lea ecx, [ebp - 0x3e0]
mov byte [ebp - 0x37d], 0
mov byte [ebp - 4], 0x4a
call fcn.0046bf90
push str.macs
mov ecx, eax
call fcn.0046bf90
push 0x5247d4
mov ecx, eax
call fcn.0046bf90
push str.settings
mov ecx, eax
call fcn.0046d1f0
test al, al
je 0x4796ac
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x440]
call fcn.0046b8d0
lea eax, [ebp - 0x2c]
push esi
push eax
mov byte [ebp - 4], 0x4b
call fcn.00493510
add esp, 8
mov dword [ebp - 0x3a8], eax
push str.protection
lea ecx, [ebp - 0x3e0]
mov byte [ebp - 4], 0x4c
call fcn.0046bf90
push str.macs
mov ecx, eax
call fcn.0046bf90
push 0x5247d4
mov ecx, eax
call fcn.0046bf90
push str.settings
mov ecx, eax
call fcn.0046bf90
push dword [ebp - 0x3a8]
mov ecx, eax
call fcn.0046be30
lea ecx, [ebp - 0x440]
push ecx
mov ecx, eax
call fcn.0046bda0
cmp dword [ebp - 0x18], 0x10
jb 0x479676
push dword [ebp - 0x2c]
call fcn.004e8c3e
add esp, 4
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0x4a
call fcn.0046bd00
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00493510
add esp, 8
mov esi, eax
mov byte [ebp - 4], 0x4d
jmp 0x4796c8
cmp byte [ebp - 0x389], 0
jne 0x479716
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00493510
add esp, 8
mov esi, eax
mov byte [ebp - 4], 0x4e
push 0x5247d4
lea ecx, [ebp - 0x3e0]
call fcn.0046bf90
push str.settings
mov ecx, eax
call fcn.0046bf90
push esi
mov ecx, eax
call fcn.0046be30
lea ecx, [ebp - 0x414]
push ecx
mov ecx, eax
call fcn.0046bda0
cmp dword [ebp - 0x18], 0x10
mov byte [ebp - 4], 0x4a
jb 0x47970f
push dword [ebp - 0x2c]
call fcn.004e8c3e
add esp, 4
mov byte [ebp - 0x37d], 1
lea eax, [ebp - 0x3e0]
push eax
mov ecx, ebx
call fcn.00488190
jmp 0x47973b
cmp byte [ebp - 0x37d], 0
mov dword [ebp - 4], 0x49
mov byte [ebp - 4], 0x50
jne 0x47985e
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x430]
call fcn.0046b8d0
lea esi, [ebx + 0xac]
lea eax, [ebp - 0x2c]
push esi
push eax
mov byte [ebp - 4], 0x51
call fcn.00493510
add esp, 8
mov dword [ebp - 0x3a8], eax
push str.protection
lea ecx, [ebp - 0x3f4]
mov byte [ebp - 4], 0x52
call fcn.0046bf90
push str.macs
mov ecx, eax
call fcn.0046bf90
push 0x5247d4
mov ecx, eax
call fcn.0046bf90
push str.settings
mov ecx, eax
call fcn.0046bf90
push dword [ebp - 0x3a8]
mov ecx, eax
call fcn.0046be30
lea ecx, [ebp - 0x430]
push ecx
mov ecx, eax
call fcn.0046bda0
cmp dword [ebp - 0x18], 0x10
jb 0x4797e3
push dword [ebp - 0x2c]
call fcn.004e8c3e
add esp, 4
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0x50
call fcn.0046bd00
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00493510
add esp, 8
mov esi, eax
push 0x5247d4
lea ecx, [ebp - 0x3f4]
mov byte [ebp - 4], 0x53
call fcn.0046bf90
push str.settings
mov ecx, eax
call fcn.0046bf90
push esi
mov ecx, eax
call fcn.0046be30
lea ecx, [ebp - 0x414]
push ecx
mov ecx, eax
call fcn.0046bda0
cmp dword [ebp - 0x18], 0x10
mov byte [ebp - 4], 0x50
jb 0x47985e
push dword [ebp - 0x2c]
call fcn.004e8c3e
add esp, 4
lea eax, [ebp - 0x3f4]
push eax
mov ecx, ebx
call fcn.00488190
jmp 0x479883
cmp dword [ebx + 0xd0], 1
mov esi, dword [ebp - 0x3ac]
mov dword [ebp - 4], 0x49
jne 0x4798a7
lea eax, [ebp - 0x3e0]
push eax
mov ecx, ebx
call fcn.004758b0
lea eax, [ebp - 0x3c4]
push eax
push dword [esi]
mov dword [ebp - 0x3c4], 0
mov dword [ebp - 0x3b8], 0
call fcn.00410fd0
lea eax, [ebp - 0x3b8]
push eax
push dword [ebp - 0x388]
call fcn.00410fd0
mov eax, dword [ebp - 0x3c4]
add esp, 0x10
cmp eax, dword [ebp - 0x3bc]
je 0x4799ca
mov eax, dword [ebp - 0x3b8]
cmp eax, dword [ebp - 0x394]
je 0x4799ca
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x48], 0x10
jb 0x47991e
push dword [ebp - 0x5c]
call fcn.004e8c3e
add esp, 4
cmp dword [ebp - 0x60], 0x10
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
jb 0x479941
push dword [ebp - 0x74]
call fcn.004e8c3e
add esp, 4
lea ecx, [ebp - 0x414]
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
mov byte [ebp - 4], 0x24
call fcn.0046bd00
mov edx, dword [ebp - 0x388]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x23
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x479985
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x398]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x22
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4799a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x3c0]
dec dword [ebp - 0x3c0]
mov esi, dword [ebp - 0x3b0]
test eax, eax
jg 0x478d10
mov esi, dword [ebp - 0x3ac]
jmp 0x479a2f
lea ecx, [ebp - 0x5c]
call fcn.00491090
lea ecx, [ebp - 0x74]
call fcn.00491090
lea ecx, [ebp - 0x414]
mov byte [ebp - 4], 0x24
call fcn.0046bd00
mov edx, dword [ebp - 0x388]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x23
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x479a0c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x398]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x22
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x479a2f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x3e0]
call fcn.0046d870
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x55
jb 0x479a4a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x3cc]
call fcn.00401a70
cmp dword [ebp - 0x18], 0x10
mov byte [ebp - 4], 0x57
jb 0x479a6b
push dword [ebp - 0x2c]
call fcn.004e8c3e
add esp, 4
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.0046d870
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x58
jb 0x479a98
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x3d0]
call fcn.00401a70
cmp dword [ebp - 0x48], 0x10
mov byte [ebp - 4], 0x5a
jb 0x479ab9
push dword [ebp - 0x5c]
call fcn.004e8c3e
add esp, 4
mov eax, dword [ebp - 0x3cc]
mov dword [ebp - 0x48], 0xf
cmp dword [eax - 0xc], 0xa00000
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
jle 0x479ee4
push str.write_to_preferences_for_enable_too_big_
lea ecx, [ebp - 0x390]
call fcn.00401c30
mov ecx, dword [ebp - 0x3cc]
mov byte [ebp - 4], 0x5b
push dword [ecx - 0xc]
push eax
lea eax, [ebp - 0x3a4]
push eax
call fcn.00467fa0
add esp, 0xc
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x5c
call fcn.0040b2e0
lea ecx, [ebp - 0x3a4]
call fcn.004020a0
lea ecx, [ebp - 0x390]
mov byte [ebp - 4], 0x5a
call fcn.004020a0
mov esi, dword [0x568ad4]
mov eax, esi
imul eax, esi
imul eax, esi
cdq
mov ecx, 0x15
idiv ecx
cmp edx, 4
jne 0x479b7d
xor eax, eax
test esi, esi
je 0x479b78
xor ebx, ebx
mov eax, esi
mov ecx, esi
cdq
sub eax, edx
and ecx, 1
mov esi, eax
add ebx, ecx
sar esi, 1
jne 0x479b54
mov dword [ebp - 0x3a4], ebx
mov ebx, dword [ebp - 0x3e4]
mov eax, dword [ebp - 0x3a4]
mov dword [0x568ad4], eax
mov esi, dword [ebp - 0x3ac]
lea eax, [ebp - 0x394]
push eax
push dword [esi]
mov dword [ebp - 0x394], 0
call fcn.00410fd0
add esp, 8
cmp dword [ebp - 0x394], 0
je 0x479c66
push str.InstEnd
lea ecx, [ebp - 0x384]
call fcn.00401ba0
push str.enable_extension_file_result_size
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 0x5d
call fcn.00401ba0
push str.SOFTWARE_
lea ecx, [ebp - 0x39c]
mov byte [ebp - 4], 0x5e
call fcn.00401ba0
lea ecx, [ebx + 0x1c]
push ecx
push eax
lea eax, [ebp - 0x390]
push eax
mov byte [ebp - 4], 0x5f
call fcn.00402aa0
lea ecx, [ebp - 0x384]
push ecx
push eax
lea eax, [ebp - 0x3a4]
push eax
mov byte [ebp - 4], 0x60
call fcn.00402aa0
push dword [0x5621d8]
mov byte [ebp - 4], 0x61
push eax
lea eax, [ebp - 0x3b8]
push esi
push eax
call fcn.00424050
add esp, 0x28
lea ecx, [ebp - 0x3a4]
call fcn.004020a0
lea ecx, [ebp - 0x390]
call fcn.004020a0
lea ecx, [ebp - 0x39c]
call fcn.004020a0
lea ecx, [ebp - 0x3b8]
call fcn.004020a0
lea ecx, [ebp - 0x384]
mov byte [ebp - 4], 0x5a
call fcn.004020a0
mov eax, dword [ebp - 0x3d0]
cmp dword [eax - 0xc], 0xa00000
jle 0x479f84
push str.write_to_secure_preferences_for_enable_too_big_
lea ecx, [ebp - 0x390]
call fcn.00401c30
mov ecx, dword [ebp - 0x3d0]
mov byte [ebp - 4], 0x63
push dword [ecx - 0xc]
push eax
lea eax, [ebp - 0x3a4]
push eax
call fcn.00467fa0
add esp, 0xc
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x64
call fcn.0040b2e0
lea ecx, [ebp - 0x3a4]
call fcn.004020a0
lea ecx, [ebp - 0x390]
mov byte [ebp - 4], 0x5a
call fcn.004020a0
mov esi, dword [ebp - 0x3fc]
lea eax, [ebp - 0x394]
push eax
push dword [esi]
mov dword [ebp - 0x394], 0
call fcn.00410fd0
add esp, 8
cmp dword [ebp - 0x394], 0
je 0x479db5
push str.InstEnd
lea ecx, [ebp - 0x384]
call fcn.00401ba0
push str.enable_extension_secure_preferences_result_size
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 0x65
call fcn.00401ba0
push str.SOFTWARE_
lea ecx, [ebp - 0x39c]
mov byte [ebp - 4], 0x66
call fcn.00401ba0
lea ecx, [ebx + 0x1c]
push ecx
push eax
lea eax, [ebp - 0x390]
push eax
mov byte [ebp - 4], 0x67
call fcn.00402aa0
lea ecx, [ebp - 0x384]
push ecx
push eax
lea eax, [ebp - 0x3a4]
push eax
mov byte [ebp - 4], 0x68
call fcn.00402aa0
push dword [0x5621d8]
mov byte [ebp - 4], 0x69
push eax
lea eax, [ebp - 0x3b8]
push esi
push eax
call fcn.00424050
add esp, 0x28
lea ecx, [ebp - 0x3a4]
call fcn.004020a0
lea ecx, [ebp - 0x390]
call fcn.004020a0
lea ecx, [ebp - 0x39c]
call fcn.004020a0
lea ecx, [ebp - 0x3b8]
call fcn.004020a0
lea ecx, [ebp - 0x384]
mov byte [ebp - 4], 0x5a
call fcn.004020a0
cmp dword [ebp - 0x400], 1
je 0x479dcb
cmp dword [ebp - 0x404], 1
jne 0x479e59
push str.crxver
lea ecx, [ebp - 0x3a4]
call fcn.00401c30
lea ecx, [ebx + 0xb0]
push ecx
push eax
lea eax, [ebp - 0x3c8]
push eax
mov byte [ebp - 4], 0x6b
call fcn.00402aa0
add esp, 0xc
lea ecx, [ebp - 0x3a4]
mov byte [ebp - 4], 0x6d
call fcn.004020a0
push 0x51a8b8
push 0x519610
lea ecx, [ebp - 0x3c8]
call fcn.00408690
push str.reenablecrx
lea ecx, [ebp - 0x394]
call fcn.00401c30
lea eax, [ebp - 0x3c8]
push eax
lea eax, [ebp - 0x394]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x6e
call fcn.0040b250
lea ecx, [ebp - 0x394]
call fcn.004020a0
lea ecx, [ebp - 0x3c8]
call fcn.004020a0
mov edx, dword [ebp - 0x3d0]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x57
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x479e7c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3cc]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x22
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x479e9d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x3f4]
mov byte [ebp - 4], 0x21
call fcn.0046bd00
lea ecx, [ebp - 0x3e0]
mov byte [ebp - 4], 0x20
call fcn.0046bd00
lea ecx, [ebp - 0x12c]
call fcn.00402650
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x1e
call fcn.00492290
lea ecx, [ebp - 0x44]
call fcn.00491090
mov al, 1
jmp 0x47a3a2
lea eax, [ebp - 0x3cc]
push eax
push esi
call fcn.00411fc0
add esp, 8
test al, al
jne 0x479c66
push str.write_to_preferences_for_enable
lea ecx, [ebp - 0x394]
call fcn.00401c30
mov byte [ebp - 4], 0x62
lea eax, [ebp - 0x394]
push eax
mov ecx, ebx
call fcn.0040b2e0
lea ecx, [ebp - 0x394]
call fcn.004020a0
lea ecx, [ebp - 0x3d0]
call fcn.004020a0
lea ecx, [ebp - 0x3cc]
call fcn.004020a0
lea ecx, [ebp - 0x3f4]
mov byte [ebp - 4], 0x21
call fcn.0046bd00
lea ecx, [ebp - 0x3e0]
mov byte [ebp - 4], 0x20
call fcn.0046bd00
lea ecx, [ebp - 0x12c]
call fcn.00402650
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x1e
call fcn.00492290
lea ecx, [ebp - 0x44]
call fcn.00491090
jmp 0x47a3a0
cmp byte [ebp - 0x389], 0
je 0x479db5
lea eax, [ebp - 0x3d0]
push eax
push dword [ebp - 0x3fc]
call fcn.00411fc0
add esp, 8
test al, al
jne 0x479db5
push str.write_to_secure_preferences_for_enable
lea ecx, [ebp - 0x394]
call fcn.00401c30
mov byte [ebp - 4], 0x6a
jmp 0x479f10
mov edx, dword [ebp - 0x388]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x23
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x479fea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x398]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x22
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x47a00b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x3f4]
mov byte [ebp - 4], 0x21
call fcn.0046bd00
lea ecx, [ebp - 0x3e0]
mov byte [ebp - 4], 0x20
call fcn.0046bd00
lea ecx, [ebp - 0x12c]
call fcn.00402650
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x1e
call fcn.00492290
cmp dword [ebp - 0x30], 0x10
jb 0x47a054
push dword [ebp - 0x44]
call fcn.004e8c3e
add esp, 4
mov al, 1
jmp 0x47a3a2
push str.invalid_preferences_to_enable
lea ecx, [ebp - 0x384]
call fcn.00401c30
lea eax, [ebp - 0x384]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x3a
call fcn.0040b2e0
mov edx, dword [ebp - 0x384]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x24
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a0a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x3ac]
lea eax, [ebp - 0x3a0]
push eax
push dword [esi]
mov dword [ebp - 0x3a0], 0
call fcn.00410fd0
add esp, 8
cmp dword [ebp - 0x3a0], 0
je 0x47a313
push str.InstEnd
lea ecx, [ebp - 0x3b4]
call fcn.00401ba0
push str.invalid_ch_prefs_to_enable_file
lea ecx, [ebp - 0x384]
mov byte [ebp - 4], 0x3b
call fcn.00401ba0
push str.SOFTWARE_
lea ecx, [ebp - 0x39c]
mov byte [ebp - 4], 0x3c
call fcn.00401ba0
lea ecx, [ebx + 0x1c]
push ecx
push eax
lea eax, [ebp - 0x390]
push eax
mov byte [ebp - 4], 0x3d
call fcn.00402aa0
lea ecx, [ebp - 0x3b4]
push ecx
push eax
lea eax, [ebp - 0x3a4]
push eax
mov byte [ebp - 4], 0x3e
call fcn.00402aa0
push dword [0x5621d8]
mov byte [ebp - 4], 0x3f
push eax
lea eax, [ebp - 0x384]
push esi
push eax
call fcn.00424050
mov edx, dword [ebp - 0x3a4]
add edx, 0xfffffff0
add esp, 0x28
mov byte [ebp - 4], 0x3e
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a171
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x390]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x3d
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a194
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x39c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x3c
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a1b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x384]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x3b
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a1da
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3b4]
jmp 0x47a2f6
push 0x52493c
lea ecx, [ebp - 0x384]
call fcn.00401ba0
push 0x524940
lea ecx, [ebp - 0x3a8]
mov byte [ebp - 4], 0x27
call fcn.00401c30
mov ecx, dword [ebp - 0x398]
mov byte [ebp - 4], 0x28
push dword [ecx - 0xc]
push eax
lea eax, [ebp - 0x39c]
push eax
call fcn.00467fa0
lea ecx, [ebp - 0x384]
push ecx
push eax
lea eax, [ebp - 0x390]
push eax
mov byte [ebp - 4], 0x29
call fcn.00467f20
mov ecx, dword [ebp - 0x388]
mov byte [ebp - 4], 0x2a
push dword [ecx - 0xc]
push eax
lea eax, [ebp - 0x3a4]
push eax
call fcn.00467fa0
add esp, 0x24
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x2b
call fcn.0040b2e0
mov edx, dword [ebp - 0x3a4]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x2a
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a287
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x390]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x29
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a2aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x39c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x28
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a2cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3a8]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x27
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a2f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x384]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x24
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a313
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x388]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x23
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a336
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x398]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x22
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x47a357
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x3f4]
mov byte [ebp - 4], 0x21
call fcn.0046bd00
lea ecx, [ebp - 0x3e0]
mov byte [ebp - 4], 0x20
call fcn.0046bd00
lea ecx, [ebp - 0x12c]
call fcn.00402650
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x1e
call fcn.00492290
cmp dword [ebp - 0x30], 0x10
jb 0x47a3a0
push dword [ebp - 0x44]
call fcn.004e8c3e
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e9514
mov esp, ebp
pop ebp
ret 0x18