Function at 0x48a570
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e339
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x55d3e4]
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 - 0x29c], esi
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x2b0], edi
mov dword [ebp - 0x2ac], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov dword [ebp - 0x294], edx
mov byte [edi], 0
mov ecx, edx
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x2ac], 1
mov word [ebp - 0x278], ax
mov dword [ebp - 0x268], 0
lea eax, [ecx + 2]
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x2a0], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48a610
sub ecx, dword [ebp - 0x2a0]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x278]
call fcn.004699d1
lea ecx, [ebp - 0x278]
push ecx
lea ecx, [esi + 0x88]
call fcn.004883e0
mov ecx, dword [ebp - 0x29c]
mov esi, eax
add ecx, 0x88
mov eax, dword [ecx]
mov dword [ebp - 0x2a0], eax
cmp esi, eax
je 0x48a676
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.00488aa0
test al, al
je 0x48a678
mov eax, dword [ebp - 0x2a0]
mov esi, eax
mov edx, dword [ebp - 0x264]
cmp edx, 8
jb 0x48a6b8
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48a6ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48becf
push edx
push ecx
call fcn.004759bb
add esp, 8
mov eax, dword [ebp - 0x29c]
cmp esi, dword [eax + 0x88]
je case.0x48a6ec.18
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004bc5f0
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, 0x19
ja case.0x48a6ec.18
jmp dword [eax*4 + 0x48bed4]
push 0x524b7c
lea ecx, [ebp - 0x294]
call fcn.0041c620
push 8
push str.reg_path
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 1
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.0040c270
push 0xfde9
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 2
push ecx
lea ecx, [ebp - 0x248]
push ecx
lea eax, [esi + 0x28]
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x2a8], eax
push ecx
mov ecx, eax
call fcn.00486b20
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 3
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48a790
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.004699d1
mov edx, dword [ebp - 0x2a0]
or esi, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48a7d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x248]
call fcn.0040a970
mov edx, dword [ebp - 0x294]
mov eax, esi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48a7fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x2a4]
push eax
sub esp, 0x18
lea eax, [ebp - 0x230]
mov ecx, esp
push eax
call fcn.004613b5
mov ecx, dword [ebp - 0x29c]
call fcn.0048db10
push 0x524b7c
lea ecx, [ebp - 0x294]
call fcn.0041c620
push 0xf
push str.channel_reg_key
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 9
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.0040c270
mov ecx, dword [ebp - 0x2a8]
lea eax, [ebp - 0x294]
push 0xfde9
push eax
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.00486b20
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov word [ebp - 0x278], ax
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x2a8], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48a8e0
sub ecx, dword [ebp - 0x2a8]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x278]
call fcn.004699d1
mov edx, dword [ebp - 0x2a0]
mov eax, esi
mov byte [ebp - 4], 0xd
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48a921
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x248]
call fcn.0040a970
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0xf
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x48a94b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x264], 8
lea edx, [ebp - 0x278]
mov ecx, dword [ebp - 0x29c]
lea eax, [ebp - 0x290]
cmovae edx, dword [ebp - 0x278]
cmp dword [ebp - 0x27c], 8
push edx
cmovae eax, dword [ebp - 0x290]
push eax
push dword [ebp - 0x2a4]
lea eax, [ebp - 0x260]
push eax
call fcn.0048c3e0
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
push 0xfde9
cmovae eax, dword [ebp - 0x260]
push eax
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x10
push eax
call fcn.00478d30
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x48a9e8
mov ecx, edi
call fcn.004130f0
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x248]
call fcn.0040a970
lea ecx, [ebp - 0x260]
call fcn.0040a9c0
lea ecx, [ebp - 0x278]
call fcn.0040a9c0
lea ecx, [ebp - 0x290]
call fcn.0040a9c0
lea ecx, [ebp - 0x230]
call fcn.0040a9c0
jmp case.0x48a6ec.18
push dword [ebp - 0x294]
mov ecx, dword [ebp - 0x29c]
lea eax, [ebp - 0x260]
push 3
push eax
call fcn.004898b0
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
mov dword [ebp - 0x2ac], 3
cmovae eax, dword [ebp - 0x260]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x260]
call fcn.0040a9c0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48ab4d
push 0x524b7c
lea ecx, [ebp - 0x294]
call fcn.0041c620
push 0x11
push str.main_process_name
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x11
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040c270
push 0xfde9
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [esi + 0x28]
call fcn.00486b20
push dword [eax]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [ebp - 0x2a4]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48ab23
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x230]
call fcn.0040a970
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x48ab4d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0xfde9
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00478d30
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x48ab96
mov ecx, edi
call fcn.004130f0
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x260]
jmp 0x48beab
push 0x524b7c
lea ecx, [ebp - 0x294]
call fcn.0041c620
push 8
push str.reg_path
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x13
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040c270
push 0xfde9
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 0x14
push ecx
lea ecx, [ebp - 0x230]
push ecx
lea eax, [esi + 0x28]
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 0x2a8], eax
push ecx
mov ecx, eax
call fcn.00486b20
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48ac40
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x248]
call fcn.004699d1
mov edx, dword [ebp - 0x2a4]
or esi, 0xffffffff
mov byte [ebp - 4], 0x17
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48ac80
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x230]
call fcn.0040a970
mov edx, dword [ebp - 0x294]
mov eax, esi
mov byte [ebp - 4], 0x19
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48acac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x298]
push eax
sub esp, 0x18
lea eax, [ebp - 0x248]
mov ecx, esp
push eax
call fcn.004613b5
mov ecx, dword [ebp - 0x29c]
call fcn.0048db10
push 0x524b7c
lea ecx, [ebp - 0x294]
call fcn.0041c620
push 0x14
push str.install_date_reg_key
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040c270
mov ecx, dword [ebp - 0x2a8]
lea eax, [ebp - 0x294]
push 0xfde9
push eax
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x1c
push eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.00486b20
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov word [ebp - 0x290], ax
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x2a4], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48ad90
sub ecx, dword [ebp - 0x2a4]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x290]
call fcn.004699d1
mov edx, dword [ebp - 0x2a0]
mov eax, esi
mov byte [ebp - 4], 0x1f
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48add1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x230]
call fcn.0040a970
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0x21
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x48adfb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x27c], 8
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x278]
cmovae ecx, dword [ebp - 0x290]
cmp dword [ebp - 0x264], 8
push ecx
cmovae eax, dword [ebp - 0x278]
mov ecx, dword [ebp - 0x29c]
push eax
push dword [ebp - 0x298]
lea eax, [ebp - 0x260]
push eax
call fcn.0048c3e0
mov byte [ebp - 4], 0x22
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
push 0xfde9
cmovae eax, dword [ebp - 0x260]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00478d30
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x48ae98
mov ecx, edi
call fcn.004130f0
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x230]
call fcn.0040a970
lea ecx, [ebp - 0x260]
call fcn.0040a9c0
lea ecx, [ebp - 0x290]
call fcn.0040a9c0
lea ecx, [ebp - 0x278]
call fcn.0040a9c0
lea ecx, [ebp - 0x248]
call fcn.0040a9c0
jmp case.0x48a6ec.18
push 0x524b7c
lea ecx, [ebp - 0x294]
call fcn.0041c620
push 8
push str.reg_path
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x23
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040c270
push 0xfde9
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 0x24
push ecx
lea ecx, [ebp - 0x230]
push ecx
lea eax, [esi + 0x28]
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x2a4], eax
push ecx
mov ecx, eax
call fcn.00486b20
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 0x25
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48af70
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x248]
call fcn.004699d1
mov edx, dword [ebp - 0x298]
or esi, 0xffffffff
mov byte [ebp - 4], 0x27
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48afb0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x230]
call fcn.0040a970
mov edx, dword [ebp - 0x294]
mov eax, esi
mov byte [ebp - 4], 0x29
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48afdc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 0x2a
push eax
lea eax, [ebp - 0x2a0]
push eax
sub esp, 0x18
lea eax, [ebp - 0x248]
mov ecx, esp
push eax
call fcn.004613b5
mov ecx, dword [ebp - 0x29c]
call fcn.0048db10
push 0x524b7c
lea ecx, [ebp - 0x294]
call fcn.0041c620
push 0x13
push str.install_dir_reg_key
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x2b
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040c270
mov ecx, dword [ebp - 0x2a4]
lea eax, [ebp - 0x294]
push 0xfde9
push eax
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x2c
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.00486b20
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov word [ebp - 0x290], ax
mov byte [ebp - 4], 0x2d
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x298], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b0c0
sub ecx, dword [ebp - 0x298]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x290]
call fcn.004699d1
mov edx, dword [ebp - 0x2a8]
mov eax, esi
mov byte [ebp - 4], 0x2f
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48b101
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x230]
call fcn.0040a970
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0x31
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x48b12b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x27c], 8
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x278]
cmovae ecx, dword [ebp - 0x290]
cmp dword [ebp - 0x264], 8
push ecx
cmovae eax, dword [ebp - 0x278]
mov ecx, dword [ebp - 0x29c]
push eax
push dword [ebp - 0x2a0]
lea eax, [ebp - 0x260]
push eax
call fcn.0048c3e0
mov byte [ebp - 4], 0x32
jmp 0x48ae41
push 0
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x524b7c
lea ecx, [ebp - 0x29c]
call fcn.0041c620
push 0x11
push str.public_config_dir
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x33
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040c270
push 0xfde9
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 0x34
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [esi + 0x28]
call fcn.00486b20
lea ecx, [ebp - 0x230]
call fcn.0040a970
mov edx, dword [ebp - 0x29c]
or esi, 0xffffffff
mov byte [ebp - 4], 0x37
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48b222
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x218]
push eax
push str._appdata_
lea ecx, [ebp - 0x294]
call fcn.00411c70
push 0xfde9
push dword [ebp - 0x294]
lea eax, [ebp - 0x260]
push eax
call fcn.00478d30
add esp, 0xc
mov dword [ebp - 0x298], eax
cmp edi, eax
je 0x48b28b
mov ecx, edi
call fcn.004130f0
mov eax, dword [ebp - 0x298]
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea ecx, [ebp - 0x260]
call fcn.0040a970
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg case.0x48a6ec.18
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp case.0x48a6ec.18
push 0
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x524b7c
lea ecx, [ebp - 0x294]
call fcn.0041c620
push 0x10
push str.appdata_dir_name
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x38
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040c270
push 0xfde9
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 0x39
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x298]
push eax
lea ecx, [esi + 0x28]
call fcn.00486b20
push dword [eax]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [ebp - 0x298]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48b36a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x230]
call fcn.0040a970
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x48b394
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0xfde9
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00478d30
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x48ab96
mov ecx, edi
call fcn.004130f0
movups xmm0, xmmword [esi]
lea ecx, [ebp - 0x260]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
jmp 0x48beab
push dword [ebp - 0x294]
mov ecx, dword [ebp - 0x29c]
lea eax, [ebp - 0x260]
push 3
push eax
call fcn.004898b0
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
mov dword [ebp - 0x2ac], 5
cmovae eax, dword [ebp - 0x260]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x260]
call fcn.0040a9c0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48b515
push 0x524b7c
lea ecx, [ebp - 0x294]
call fcn.0041c620
push 0xd
push str.cfg_file_path
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x3a
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040c270
push 0xfde9
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 0x3b
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x298]
push eax
lea ecx, [esi + 0x28]
call fcn.00486b20
push dword [eax]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [ebp - 0x298]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48b4eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x230]
call fcn.0040a970
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x48b515
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0xfde9
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00478d30
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x48ab96
mov ecx, edi
call fcn.004130f0
movups xmm0, xmmword [esi]
lea ecx, [ebp - 0x260]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
jmp 0x48beab
push 0
push 0x5245f4
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.0040c270
push 9
push str.stats_url
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x3c
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040c270
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x3d
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [esi + 0x28]
call fcn.004869b0
mov esi, eax
cmp edi, esi
je 0x48be8f
mov ecx, edi
call fcn.004130f0
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
jmp 0x48be8f
push 0
push 0x5245f4
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.0040c270
push 0x12
push str.cfg_center_ver_url
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x3e
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040c270
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x3f
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [esi + 0x28]
call fcn.004869b0
mov esi, eax
cmp edi, esi
je 0x48be8f
mov ecx, edi
call fcn.004130f0
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
jmp 0x48be8f
push 0
push 0x5245f4
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.0040c270
push 0x15
push str.cfg_center_detail_url
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x40
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040c270
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x41
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [esi + 0x28]
call fcn.004869b0
mov esi, eax
cmp edi, esi
je 0x48be8f
mov ecx, edi
call fcn.004130f0
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
jmp 0x48be8f
push 0
push 0x5245f4
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.0040c270
push 0x18
push str.cfg_center_msg_wnd_class
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x42
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040c270
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x43
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [esi + 0x28]
call fcn.004869b0
mov esi, eax
cmp edi, esi
je 0x48be8f
mov ecx, edi
call fcn.004130f0
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
jmp 0x48be8f
push 0
push 0x5245f4
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.0040c270
push 0x1d
push str.cfg_center_stub_msg_wnd_class
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x44
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040c270
mov byte [ebp - 4], 0x45
jmp 0x48be6a
push 0
push 0x5245f4
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.0040c270
push 0x1a
push str.config_center_single_mutex
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x46
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040c270
mov byte [ebp - 4], 0x47
jmp 0x48be6a
push 0
push 0x5245f4
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.0040c270
push 0xf
push str.dump_upload_url
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x48
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040c270
mov byte [ebp - 4], 0x49
jmp 0x48be6a
push 0
push 0x5245f4
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.0040c270
push 0xf
push str.service_cfg_url
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x4a
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040c270
mov byte [ebp - 4], 0x4b
jmp 0x48be6a
push 0
push 0x5245f4
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.0040c270
push 3
push 0x532590
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x4c
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040c270
mov byte [ebp - 4], 0x4d
jmp 0x48be6a
push 0
push 0x5245f4
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.0040c270
push 9
push str.short_app
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x4e
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040c270
mov byte [ebp - 4], 0x4f
jmp 0x48be6a
push 0
push 0x5245f4
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.0040c270
push 0xa
push str.short_name
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x50
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040c270
mov byte [ebp - 4], 0x51
jmp 0x48be6a
push 0
push 0x5245f4
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.0040c270
push 0xc
push str.service_name
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x52
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040c270
mov byte [ebp - 4], 0x53
jmp 0x48be6a
push dword [ebp - 0x294]
mov ecx, dword [ebp - 0x29c]
lea eax, [ebp - 0x260]
push 3
push eax
call fcn.004898b0
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
mov dword [ebp - 0x2ac], 9
cmovae eax, dword [ebp - 0x260]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x260]
call fcn.0040a9c0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48bca5
push 0x524b7c
lea ecx, [ebp - 0x294]
call fcn.0041c620
push 0xc
push str.service_path
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x54
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040c270
push 0xfde9
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 0x55
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x298]
push eax
lea ecx, [esi + 0x28]
call fcn.00486b20
push dword [eax]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x298]
call fcn.0040e920
lea ecx, [ebp - 0x230]
call fcn.0040a970
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 0
call fcn.0040e920
push 0xfde9
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00478d30
add esp, 0xc
mov ecx, edi
push eax
call fcn.0045a2aa
lea ecx, [ebp - 0x260]
jmp 0x48beab
push dword [ebp - 0x294]
mov ecx, dword [ebp - 0x29c]
lea eax, [ebp - 0x260]
push 5
push eax
call fcn.004898b0
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
mov dword [ebp - 0x2ac], 0x11
cmovae eax, dword [ebp - 0x260]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x260]
call fcn.0040a9c0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48bdd7
push 0x524b7c
lea ecx, [ebp - 0x294]
call fcn.0041c620
push 0x15
push str.appdata_cfg_file_path
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x56
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040c270
push 0xfde9
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 0x57
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x298]
push eax
lea ecx, [esi + 0x28]
call fcn.00486b20
push dword [eax]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x298]
call fcn.0040e920
lea ecx, [ebp - 0x230]
call fcn.0040a970
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 0
call fcn.0040e920
push 0xfde9
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00478d30
add esp, 0xc
mov ecx, edi
push eax
call fcn.0045a2aa
lea ecx, [ebp - 0x260]
jmp 0x48beab
push 0
push 0x5245f4
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.0040c270
push 0xc
push str.activate_url
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x58
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040c270
mov byte [ebp - 4], 0x59
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [esi + 0x28]
call fcn.004869b0
push eax
mov ecx, edi
call fcn.0045a2aa
lea ecx, [ebp - 0x260]
call fcn.0040a970
lea ecx, [ebp - 0x230]
call fcn.0040a970
lea ecx, [ebp - 0x248]
call fcn.0040a970
mov eax, edi
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.00475dd9
mov esp, ebp
pop ebp
ret 0xc
call fcn.004c7638
repe cmpsb byte [esi], byte es:[edi]
dec eax
add byte [edx + ebp*4], ah
dec eax
add byte [ecx - 0x2bffb755], ah
scasb al, byte es:[edi]
dec eax
add byte [esi - 0x4f], dh
dec eax
add byte [esi - 0x13ffb74e], bh
mov bl, 0x48
add byte [ebp - 0x4b], ch
dec eax
add byte [esi], ah
mov dh, 0x48
add bh, bl
mov dh, 0x48
add byte [eax + 0x510048b7], bl
mov eax, 0xb8bb0048
dec eax
add byte [0x8f0048b9], ah
mov ecx, 0xb9f90048
dec eax
add byte [ebx - 0x46], ah
dec eax
add ch, cl
mov edx, 0xbeb00048
dec eax
add byte [eax - 0x4fffb742], dh
mov esi, 0xbeb00048
dec eax
add byte [edi], dh
mov ebx, 0xbba10048
dec eax
add bl, dl
mov esp, 0xbe050048
dec eax
add ah, cl
int3