Function at 0x1004ee80
Capabilities:
Check if file exists
Get common file path
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bfc4d
mov eax, dword fs:[0]
push eax
sub esp, 0x314
mov eax, dword [0x100f6458]
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 - 0x314], esi
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x320], edi
mov dword [ebp - 0x318], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov dword [ebp - 0x31c], edx
mov byte [edi], 0
mov ecx, edx
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x318], 1
mov word [ebp - 0x2a8], ax
mov dword [ebp - 0x298], 0
lea eax, [ecx + 2]
mov dword [ebp - 0x294], 7
mov dword [ebp - 0x30c], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004ef20
sub ecx, dword [ebp - 0x30c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2a8]
call fcn.1000c5b0
lea eax, [esi + 0x88]
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x30c], eax
push ecx
mov ecx, eax
call fcn.1004ce10
mov esi, eax
mov eax, dword [ebp - 0x30c]
mov eax, dword [eax]
mov dword [ebp - 0x310], eax
cmp esi, eax
je 0x1004ef8b
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.1004cbf0
add esp, 8
test al, al
je 0x1004ef8d
mov eax, dword [ebp - 0x310]
mov esi, eax
mov edx, dword [ebp - 0x294]
cmp edx, 8
jb 0x1004efcd
mov ecx, dword [ebp - 0x2a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004efc3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050822
push edx
push ecx
call fcn.10065f62
add esp, 8
mov eax, dword [ebp - 0x30c]
cmp esi, dword [eax]
je case.0x1004effd.18
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10089510
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, 0x1a
ja case.0x1004effd.18
jmp dword [eax*4 + 0x10050828]
push 0
push 0x100c520c
lea ecx, [ebp - 0x2f0]
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2dc], 0xf
mov byte [ebp - 0x2f0], 0
call fcn.1000c4b0
push 0xf
push str.channel_reg_key
lea ecx, [ebp - 0x308]
mov dword [ebp - 4], 1
mov dword [ebp - 0x2f8], 0
mov dword [ebp - 0x2f4], 0xf
mov byte [ebp - 0x308], 0
call fcn.1000c4b0
lea ecx, [ebp - 0x2f0]
mov byte [ebp - 4], 2
push ecx
lea ecx, [ebp - 0x308]
push ecx
lea eax, [esi + 0x28]
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x310], eax
push ecx
mov ecx, eax
call fcn.10049430
lea ecx, [ebp - 0x308]
call fcn.10005180
lea ecx, [ebp - 0x2f0]
mov byte [ebp - 4], 5
call fcn.10005180
cmp dword [ebp - 0x294], 0x10
lea esi, [ebp - 0x2a8]
mov eax, dword [ebp - 0x298]
cmovae esi, dword [ebp - 0x2a8]
test eax, eax
je 0x1004f155
push eax
push 0x3a
push esi
call fcn.10089830
add esp, 0xc
test eax, eax
je 0x1004f155
sub eax, esi
cmp eax, 0xffffffff
je 0x1004f155
cmp dword [ebp - 0x294], 0x10
lea eax, [ebp - 0x2a8]
push 0xfde9
cmovae eax, dword [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.10067fc0
add esp, 0xc
mov ecx, dword [ebp - 0x314]
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 6
push eax
call fcn.10050af0
push eax
mov ecx, edi
call fcn.1003afcf
lea ecx, [ebp - 0x2c0]
call fcn.10005180
lea ecx, [ebp - 0x278]
call fcn.10005200
lea ecx, [ebp - 0x2a8]
call fcn.10005180
jmp case.0x1004effd.18
push 0
push 0x100c520c
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000c4b0
push 8
push str.reg_path
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 7
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000c4b0
mov ecx, dword [ebp - 0x310]
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.10049430
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 9
jb 0x1004f1e3
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.10067fc0
add esp, 0xc
lea ecx, [ebp - 0x260]
call fcn.10005180
lea ecx, [ebp - 0x230]
call fcn.10005180
lea ecx, [ebp - 0x248]
call fcn.10005180
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], 0xe
push eax
lea eax, [ebp - 0x310]
push eax
sub esp, 0x18
lea eax, [ebp - 0x2c0]
mov ecx, esp
push eax
call fcn.10003de0
mov ecx, dword [ebp - 0x314]
call fcn.10052790
cmp dword [ebp - 0x294], 0x10
lea eax, [ebp - 0x2a8]
push 0xfde9
cmovae eax, dword [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.10067fc0
add esp, 0xc
cmp dword [ebp - 0x264], 8
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 0xf
cmovae ecx, dword [ebp - 0x278]
cmp dword [ebp - 0x27c], 8
push ecx
cmovae eax, dword [ebp - 0x290]
mov ecx, dword [ebp - 0x314]
push eax
push dword [ebp - 0x310]
lea eax, [ebp - 0x2d8]
push eax
call fcn.10050f40
cmp dword [ebp - 0x2c4], 8
lea eax, [ebp - 0x2d8]
push 0xfde9
cmovae eax, dword [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 0x10
push eax
call fcn.10067e80
add esp, 0xc
mov ecx, edi
push eax
call fcn.1003afcf
lea ecx, [ebp - 0x260]
call fcn.10005180
lea ecx, [ebp - 0x2d8]
call fcn.10005200
lea ecx, [ebp - 0x278]
call fcn.10005200
lea ecx, [ebp - 0x290]
call fcn.10005200
lea ecx, [ebp - 0x2c0]
call fcn.10005200
lea ecx, [ebp - 0x2a8]
call fcn.10005180
jmp case.0x1004effd.18
push dword [ebp - 0x31c]
mov ecx, dword [ebp - 0x314]
lea eax, [ebp - 0x278]
push 3
push eax
call fcn.1004e970
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
mov dword [ebp - 0x318], 3
cmovae eax, dword [ebp - 0x278]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x278]
call fcn.10005200
push 0
push 0x100c520c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000c4b0
push 0x11
push str.main_process_name
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0x11
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000c4b0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x2c0]
push eax
lea ecx, [esi + 0x28]
call fcn.10049430
mov byte [ebp - 4], 0x13
cmp dword [eax + 0x14], 0x10
jb 0x1004f42e
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.10067fc0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x1004f44b
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x260]
call fcn.10005200
lea ecx, [ebp - 0x2c0]
call fcn.10005180
lea ecx, [ebp - 0x248]
call fcn.10005180
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.10005180
push 0xfde9
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.10067e80
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x1004f4d2
mov ecx, edi
call fcn.100182a0
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]
call fcn.10005180
jmp case.0x1004effd.18
push 0
push 0x100c520c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000c4b0
push 8
push str.reg_path
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0x14
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000c4b0
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x15
push ecx
lea ecx, [ebp - 0x248]
push ecx
lea eax, [esi + 0x28]
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x310], eax
push ecx
mov ecx, eax
call fcn.10049430
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x16
jb 0x1004f578
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.10067fc0
add esp, 0xc
lea ecx, [ebp - 0x260]
call fcn.10005180
lea ecx, [ebp - 0x248]
call fcn.10005180
lea ecx, [ebp - 0x230]
call fcn.10005180
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], 0x1b
push eax
lea eax, [ebp - 0x30c]
push eax
sub esp, 0x18
lea eax, [ebp - 0x2c0]
mov ecx, esp
push eax
call fcn.10003de0
mov esi, dword [ebp - 0x314]
mov ecx, esi
call fcn.10052790
push 0
push 0x100c520c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000c4b0
push 0x14
push str.install_date_reg_key
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000c4b0
mov ecx, dword [ebp - 0x310]
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.10049430
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x1e
jb 0x1004f689
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x2d8]
push eax
call fcn.10067fc0
add esp, 0xc
lea ecx, [ebp - 0x260]
call fcn.10005180
lea ecx, [ebp - 0x248]
call fcn.10005180
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x22
call fcn.10005180
cmp dword [ebp - 0x2c4], 8
lea ecx, [ebp - 0x2d8]
lea eax, [ebp - 0x290]
cmovae ecx, dword [ebp - 0x2d8]
cmp dword [ebp - 0x27c], 8
push ecx
cmovae eax, dword [ebp - 0x290]
mov ecx, esi
push eax
push dword [ebp - 0x30c]
lea eax, [ebp - 0x278]
push eax
call fcn.10050f40
mov byte [ebp - 4], 0x23
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
push 0xfde9
cmovae eax, dword [ebp - 0x278]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.10067e80
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x1004f75c
mov ecx, edi
call fcn.100182a0
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]
call fcn.10005180
lea ecx, [ebp - 0x278]
call fcn.10005200
lea ecx, [ebp - 0x2d8]
call fcn.10005200
lea ecx, [ebp - 0x290]
call fcn.10005200
lea ecx, [ebp - 0x2c0]
jmp 0x100507fe
push 0
push 0x100c520c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000c4b0
push 8
push str.reg_path
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0x24
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000c4b0
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x25
push ecx
lea ecx, [ebp - 0x248]
push ecx
lea eax, [esi + 0x28]
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x310], eax
push ecx
mov ecx, eax
call fcn.10049430
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x26
jb 0x1004f829
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.10067fc0
add esp, 0xc
lea ecx, [ebp - 0x260]
call fcn.10005180
lea ecx, [ebp - 0x248]
call fcn.10005180
lea ecx, [ebp - 0x230]
call fcn.10005180
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], 0x2b
push eax
lea eax, [ebp - 0x30c]
push eax
sub esp, 0x18
lea eax, [ebp - 0x2c0]
mov ecx, esp
push eax
call fcn.10003de0
mov esi, dword [ebp - 0x314]
mov ecx, esi
call fcn.10052790
push 0
push 0x100c520c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000c4b0
push 0x13
push str.install_dir_reg_key
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x2c
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000c4b0
mov ecx, dword [ebp - 0x310]
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x2d
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.10049430
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x2e
jb 0x1004f93a
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x2d8]
push eax
call fcn.10067fc0
add esp, 0xc
lea ecx, [ebp - 0x260]
call fcn.10005180
lea ecx, [ebp - 0x248]
call fcn.10005180
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x32
call fcn.10005180
cmp dword [ebp - 0x2c4], 8
lea ecx, [ebp - 0x2d8]
lea eax, [ebp - 0x290]
cmovae ecx, dword [ebp - 0x2d8]
cmp dword [ebp - 0x27c], 8
push ecx
cmovae eax, dword [ebp - 0x290]
mov ecx, esi
push eax
push dword [ebp - 0x30c]
lea eax, [ebp - 0x278]
push eax
call fcn.10050f40
mov byte [ebp - 4], 0x33
jmp 0x1004f705
push 0
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0
push 0x100c520c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000c4b0
push 0x11
push str.public_config_dir
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0x34
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000c4b0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x35
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [esi + 0x28]
call fcn.10049430
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x36
jb 0x1004fa5c
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.10067fc0
add esp, 0xc
lea ecx, [ebp - 0x260]
call fcn.10005180
lea ecx, [ebp - 0x248]
call fcn.10005180
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x3a
call fcn.10005180
push 9
xor eax, eax
mov dword [ebp - 0x280], 0
push str._appdata_
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
call fcn.1000c5b0
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 0x3b
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004fad2
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
push dword [ebp - 0x280]
lea eax, [ebp - 0x290]
push 0
push eax
lea ecx, [ebp - 0x2a8]
call fcn.10036cf0
push eax
lea ecx, [ebp - 0x2a8]
call fcn.100374b0
cmp dword [ebp - 0x294], 8
lea eax, [ebp - 0x2a8]
push 0xfde9
cmovae eax, dword [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.10067e80
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x1004fb66
mov ecx, edi
call fcn.100182a0
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]
call fcn.10005180
lea ecx, [ebp - 0x290]
call fcn.10005200
lea ecx, [ebp - 0x2a8]
jmp 0x100507fe
push 0
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0
push 0x100c520c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000c4b0
push 0x10
push str.appdata_dir_name
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0x3c
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000c4b0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x3d
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x2c0]
push eax
lea ecx, [esi + 0x28]
call fcn.10049430
mov byte [ebp - 4], 0x3e
jmp 0x1004f426
push dword [ebp - 0x31c]
mov ecx, dword [ebp - 0x314]
lea eax, [ebp - 0x278]
push 3
push eax
call fcn.1004e970
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
mov dword [ebp - 0x318], 5
cmovae eax, dword [ebp - 0x278]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x278]
call fcn.10005200
push 0
push 0x100c520c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000c4b0
push 0xd
push str.cfg_file_path
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0x3f
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000c4b0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x40
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x2c0]
push eax
lea ecx, [esi + 0x28]
call fcn.10049430
mov byte [ebp - 4], 0x41
jmp 0x1004f426
push 0
push 0x100c520c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000c4b0
push 9
push str.stats_url
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0x42
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000c4b0
mov byte [ebp - 4], 0x43
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [esi + 0x28]
call fcn.10049430
mov esi, eax
cmp edi, esi
je 0x1004fdb1
mov ecx, edi
call fcn.100182a0
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]
call fcn.10005180
lea ecx, [ebp - 0x248]
call fcn.10005180
lea ecx, [ebp - 0x230]
call fcn.10005180
jmp case.0x1004effd.18
push 0
push 0x100c520c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000c4b0
push 0x12
push str.cfg_center_ver_url
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0x44
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000c4b0
mov byte [ebp - 4], 0x45
jmp 0x1004fd66
push 0
push 0x100c520c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000c4b0
push 0x15
push str.cfg_center_detail_url
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0x46
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000c4b0
mov byte [ebp - 4], 0x47
jmp 0x1004fd66
push 0
push 0x100c520c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000c4b0
push 0x18
push str.cfg_center_msg_wnd_class
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0x48
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000c4b0
mov byte [ebp - 4], 0x49
jmp 0x1004fd66
push 0
push 0x100c520c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000c4b0
push 0x1d
push str.cfg_center_stub_msg_wnd_class
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0x4a
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000c4b0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x4b
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [esi + 0x28]
call fcn.10049430
push eax
mov ecx, edi
call fcn.1003afcf
jmp 0x1004fdb1
push 0
push 0x100c520c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000c4b0
push 0x1a
push str.config_center_single_mutex
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0x4c
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000c4b0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x4d
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [esi + 0x28]
call fcn.10049430
push eax
mov ecx, edi
call fcn.1003afcf
jmp 0x1004fdb1
push 0
push 0x100c520c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000c4b0
push 0xf
push str.dump_upload_url
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0x4e
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000c4b0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x4f
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [esi + 0x28]
call fcn.10049430
push eax
mov ecx, edi
call fcn.1003afcf
jmp 0x1004fdb1
push 0
push 0x100c520c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000c4b0
push 0xf
push str.service_cfg_url
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0x50
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000c4b0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x51
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [esi + 0x28]
call fcn.10049430
push eax
mov ecx, edi
call fcn.1003afcf
jmp 0x1004fdb1
push 0
push 0x100c520c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000c4b0
push 3
push 0x100d1ad8
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0x52
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000c4b0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x53
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [esi + 0x28]
call fcn.10049430
push eax
mov ecx, edi
call fcn.1003afcf
jmp 0x1004fdb1
push 0
push 0x100c520c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000c4b0
push 9
push 0x100d1adc
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0x54
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000c4b0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x55
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [esi + 0x28]
call fcn.10049430
push eax
mov ecx, edi
call fcn.1003afcf
jmp 0x1004fdb1
push 0
push 0x100c520c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000c4b0
push 0xa
push 0x100d1ae8
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0x56
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000c4b0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x57
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [esi + 0x28]
call fcn.10049430
push eax
mov ecx, edi
call fcn.1003afcf
jmp 0x1004fdb1
push 0
push 0x100c520c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000c4b0
push 0xc
push str.service_name
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0x58
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000c4b0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x59
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [esi + 0x28]
call fcn.10049430
push eax
mov ecx, edi
call fcn.1003afcf
jmp 0x1004fdb1
push dword [ebp - 0x31c]
mov ecx, dword [ebp - 0x314]
lea eax, [ebp - 0x278]
push 3
push eax
call fcn.1004e970
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
mov dword [ebp - 0x318], 9
cmovae eax, dword [ebp - 0x278]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x278]
call fcn.10005200
push 0
push 0x100c520c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000c4b0
push 0xc
push str.service_path
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0x5a
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000c4b0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x5b
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x2c0]
push eax
lea ecx, [esi + 0x28]
call fcn.10049430
mov byte [ebp - 4], 0x5c
cmp dword [eax + 0x14], 0x10
jb 0x1005046c
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.10067fc0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x10050489
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x260]
call fcn.10005200
lea ecx, [ebp - 0x2c0]
call fcn.10005180
lea ecx, [ebp - 0x248]
call fcn.10005180
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.10005180
push 0xfde9
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.10067e80
add esp, 0xc
mov ecx, edi
push eax
call fcn.1003afcf
lea ecx, [ebp - 0x278]
call fcn.10005180
jmp case.0x1004effd.18
push dword [ebp - 0x31c]
mov ecx, dword [ebp - 0x314]
lea eax, [ebp - 0x278]
push 5
push eax
call fcn.1004e970
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
mov dword [ebp - 0x318], 0x11
cmovae eax, dword [ebp - 0x278]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x278]
call fcn.10005200
push 0
push 0x100c520c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000c4b0
push 0x15
push str.appdata_cfg_file_path
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0x5d
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000c4b0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x5e
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x2c0]
push eax
lea ecx, [esi + 0x28]
call fcn.10049430
mov byte [ebp - 4], 0x5f
jmp 0x10050464
push 0
push 0x100c520c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000c4b0
push 0xc
push str.activate_url
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0x60
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000c4b0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x61
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [esi + 0x28]
call fcn.10049430
push eax
mov ecx, edi
call fcn.1003afcf
jmp 0x1004fdb1
push dword [ebp - 0x31c]
mov ecx, dword [ebp - 0x314]
lea eax, [ebp - 0x278]
push 3
push eax
call fcn.1004e970
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
mov dword [ebp - 0x318], 0x21
cmovae eax, dword [ebp - 0x278]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x278]
call fcn.10005200
push 0
push 0x100c520c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000c4b0
push 0xc
push str.app_ver_path
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0x62
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000c4b0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x63
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [esi + 0x28]
call fcn.10049430
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x64
jb 0x10050744
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x2f0]
push eax
call fcn.10067fc0
add esp, 0xc
lea ecx, [ebp - 0x260]
call fcn.10005180
lea ecx, [ebp - 0x248]
call fcn.10005180
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x68
call fcn.10005180
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100507ea
cmp dword [ebp - 0x2e0], 0
je 0x100507ea
cmp dword [ebp - 0x2dc], 8
lea eax, [ebp - 0x2f0]
cmovae eax, dword [ebp - 0x2f0]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xfde9
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.10067e80
add esp, 0xc
mov ecx, edi
push eax
call fcn.1003afcf
lea ecx, [ebp - 0x2c0]
call fcn.10005180
jmp 0x100507f8
push 0
push 0x100c520c
mov ecx, edi
call fcn.1000c4b0
lea ecx, [ebp - 0x2f0]
call fcn.10005200
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.100662e1
mov esp, ebp
pop ebp
ret 0xc
call fcn.1008c70a
nop
add al, 0xf0
add al, 16
add byte [eax + case.0x1004effd.0], dl
dec edi
add al, 16
loop 0x10050826
add al, 0x10
xchg ebx, eax
test dword [eax + edx], case.0x1004effd.4
xchg ebx, edi
add al, 16
and eax, 0x11004fc
std
add al, 0x10
xlatb
std
add al, 0x10
inc ecx
inc byte [eax + edx]
stosd dword es:[edi], eax
inc byte [eax + edx]
adc eax, 0xa41004ff
inc dword [eax + edx]
xor eax, dword [eax]
add eax, 83935760
adc byte [ecx + 1], dl
add eax, 0x501e010
adc byte [edi + 2], ch
add eax, 0x5080310
adc byte [ebx], al
or byte [0x5080310], al
adc byte [ebx], al
or byte [0x502fe10], al
adc byte [ebp - 0x5effafd], cl
add al, 5
adc dh, dl
add eax, 0x6651005
add eax, 0xcccccc10
int3