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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cdb60
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x101063e4]
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 - 0x2b8], esi
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x2c8], edi
mov dword [ebp - 0x2c0], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov dword [ebp - 0x2ac], ecx
mov byte [edi], 0
mov edx, ecx
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x2c0], 1
mov word [ebp - 0x290], ax
mov dword [ebp - 0x280], 0
lea eax, [edx + 2]
mov dword [ebp - 0x27c], 7
mov dword [ebp - 0x2b4], eax
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1005f680
sub edx, dword [ebp - 0x2b4]
sar edx, 1
push edx
push ecx
lea ecx, [ebp - 0x290]
call fcn.10010b00
lea ecx, [ebp - 0x290]
push ecx
lea ecx, [esi + 0x88]
call fcn.1005dd90
mov ecx, dword [ebp - 0x2b8]
mov esi, eax
add ecx, 0x88
mov eax, dword [ecx]
mov dword [ebp - 0x2b4], eax
cmp esi, eax
je 0x1005f6e6
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.1005e1f0
test al, al
je 0x1005f6e8
mov eax, dword [ebp - 0x2b4]
mov esi, eax
mov edx, dword [ebp - 0x27c]
cmp edx, 8
jb 0x1005f728
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005f71e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100610fd
push edx
push ecx
call fcn.100757e2
add esp, 8
mov eax, dword [ebp - 0x2b8]
cmp esi, dword [eax + 0x88]
je case.0x1005f75c.18
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1009c500
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, 0x19
ja case.0x1005f75c.18
jmp dword [eax*4 + 0x10061104]
push 5
xor eax, eax
mov dword [ebp - 0x280], 0
push str.bizhi
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
call fcn.10010b00
mov ecx, dword [ebp - 0x2ac]
mov edx, ecx
mov dword [ebp - 4], 1
lea eax, [edx + 2]
mov dword [ebp - 0x2b4], eax
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1005f7b0
sub edx, dword [ebp - 0x2b4]
lea eax, [ebp - 0x290]
sar edx, 1
cmp dword [ebp - 0x27c], 8
cmovae eax, dword [ebp - 0x290]
cmp dword [ebp - 0x280], edx
jne 0x1005f928
mov edx, dword [ebp - 0x280]
test edx, edx
je 0x1005f81b
sub eax, ecx
mov dword [ebp - 0x2b4], eax
nop word [eax + eax]
mov ax, word [ecx + eax]
cmp ax, word [ecx]
jne 0x1005f928
mov eax, dword [ebp - 0x2b4]
add ecx, 2
sub edx, 1
jne 0x1005f800
push 0x100d2904
lea ecx, [ebp - 0x2ac]
call fcn.10003c90
push 0xf
push str.channel_reg_key
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 2
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
call fcn.100056d0
push 0xfde9
lea eax, [ebp - 0x2ac]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [esi + 0x28]
call fcn.1005cee0
push dword [eax]
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 4
call fcn.10017de0
mov edx, dword [ebp - 0x2b4]
or esi, 0xffffffff
mov byte [ebp - 4], 6
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1005f8b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x2a8]
call fcn.10003d60
mov edx, dword [ebp - 0x2ac]
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1005f8e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x2b8]
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.1005e580
push eax
mov ecx, edi
call fcn.10054061
lea ecx, [ebp - 0x260]
call fcn.10003d60
lea ecx, [ebp - 0x278]
call fcn.10008bd0
lea ecx, [ebp - 0x290]
call fcn.10008bd0
jmp case.0x1005f75c.18
push 0x100d2904
lea ecx, [ebp - 0x2ac]
call fcn.10003c90
push 8
push str.reg_path
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.100056d0
push 0xfde9
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0xa
push ecx
lea ecx, [ebp - 0x248]
push ecx
lea eax, [esi + 0x28]
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 0x2c4], eax
push ecx
mov ecx, eax
call fcn.1005cee0
push dword [eax]
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0xb
call fcn.10017de0
mov edx, dword [ebp - 0x2b4]
or esi, 0xffffffff
mov byte [ebp - 4], 0xd
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1005f9cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x248]
call fcn.10003d60
mov edx, dword [ebp - 0x2ac]
mov eax, esi
mov byte [ebp - 4], 0xf
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1005f9f8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 7
mov word [ebp - 0x2a8], ax
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x2bc]
push eax
sub esp, 0x18
lea eax, [ebp - 0x260]
mov ecx, esp
push eax
call fcn.10008060
mov ecx, dword [ebp - 0x2b8]
call fcn.10062a00
push 0x100d2904
lea ecx, [ebp - 0x2ac]
call fcn.10003c90
push 0xf
push str.channel_reg_key
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.100056d0
mov ecx, dword [ebp - 0x2c4]
lea eax, [ebp - 0x2ac]
push 0xfde9
push eax
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x2b4]
push eax
call fcn.1005cee0
push dword [eax]
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x13
call fcn.10017de0
mov edx, dword [ebp - 0x2b4]
mov eax, esi
mov byte [ebp - 4], 0x15
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1005fadf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x248]
call fcn.10003d60
mov edx, dword [ebp - 0x2ac]
mov byte [ebp - 4], 0x17
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1005fb09
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x264], 8
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x2a8]
cmovae ecx, dword [ebp - 0x278]
cmp dword [ebp - 0x294], 8
push ecx
cmovae eax, dword [ebp - 0x2a8]
mov ecx, dword [ebp - 0x2b8]
push eax
push dword [ebp - 0x2bc]
lea eax, [ebp - 0x230]
push eax
call fcn.100613c0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0xfde9
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x18
push eax
call fcn.1007b2f0
add esp, 0xc
mov ecx, edi
push eax
call fcn.10054061
lea ecx, [ebp - 0x248]
call fcn.10003d60
lea ecx, [ebp - 0x230]
call fcn.10008bd0
lea ecx, [ebp - 0x278]
call fcn.10008bd0
lea ecx, [ebp - 0x2a8]
call fcn.10008bd0
lea ecx, [ebp - 0x260]
call fcn.10008bd0
lea ecx, [ebp - 0x290]
call fcn.10008bd0
jmp case.0x1005f75c.18
push dword [ebp - 0x2ac]
mov ecx, dword [ebp - 0x2b8]
lea eax, [ebp - 0x278]
push 3
push eax
call fcn.1005f080
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
mov dword [ebp - 0x2c0], 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.10008bd0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1005fcf0
push 0x100d2904
lea ecx, [ebp - 0x2ac]
call fcn.10003c90
push 0x11
push str.main_process_name
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0x19
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.100056d0
push 0xfde9
lea eax, [ebp - 0x2ac]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x2bc]
push eax
lea ecx, [esi + 0x28]
call fcn.1005cee0
push dword [eax]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [ebp - 0x2bc]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1005fcc6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x248]
call fcn.10003d60
mov edx, dword [ebp - 0x2ac]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1005fcf0
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.1007b2f0
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x1005fd39
mov ecx, edi
call fcn.10003d60
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 0x100610d9
push 0x100d2904
lea ecx, [ebp - 0x2ac]
call fcn.10003c90
push 8
push str.reg_path
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0x1b
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.100056d0
push 0xfde9
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0x1c
push ecx
lea ecx, [ebp - 0x248]
push ecx
lea eax, [esi + 0x28]
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 0x2c4], eax
push ecx
mov ecx, eax
call fcn.1005cee0
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005fde0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.10010b00
mov edx, dword [ebp - 0x2bc]
or esi, 0xffffffff
mov byte [ebp - 4], 0x1f
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1005fe20
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x248]
call fcn.10003d60
mov edx, dword [ebp - 0x2ac]
mov eax, esi
mov byte [ebp - 4], 0x21
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1005fe4c
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], 0x22
push eax
lea eax, [ebp - 0x2b0]
push eax
sub esp, 0x18
lea eax, [ebp - 0x230]
mov ecx, esp
push eax
call fcn.10008060
mov ecx, dword [ebp - 0x2b8]
call fcn.10062a00
push 0x100d2904
lea ecx, [ebp - 0x2ac]
call fcn.10003c90
push 0x14
push str.install_date_reg_key
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x23
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.100056d0
mov ecx, dword [ebp - 0x2c4]
lea eax, [ebp - 0x2ac]
push 0xfde9
push eax
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x24
push eax
lea eax, [ebp - 0x2b4]
push eax
call fcn.1005cee0
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov word [ebp - 0x2a8], ax
mov byte [ebp - 4], 0x25
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x2bc], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005ff30
sub ecx, dword [ebp - 0x2bc]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2a8]
call fcn.10010b00
mov edx, dword [ebp - 0x2b4]
mov eax, esi
mov byte [ebp - 4], 0x27
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1005ff71
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x248]
call fcn.10003d60
mov edx, dword [ebp - 0x2ac]
mov byte [ebp - 4], 0x29
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1005ff9b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x294], 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x290]
cmovae ecx, dword [ebp - 0x2a8]
cmp dword [ebp - 0x27c], 8
push ecx
cmovae eax, dword [ebp - 0x290]
mov ecx, dword [ebp - 0x2b8]
push eax
push dword [ebp - 0x2b0]
lea eax, [ebp - 0x278]
push eax
call fcn.100613c0
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
push 0xfde9
cmovae eax, dword [ebp - 0x278]
push eax
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 0x2a
push eax
call fcn.1007b2f0
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x10060038
mov ecx, edi
call fcn.10003d60
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.10003d60
lea ecx, [ebp - 0x278]
call fcn.10008bd0
lea ecx, [ebp - 0x2a8]
call fcn.10008bd0
lea ecx, [ebp - 0x290]
call fcn.10008bd0
lea ecx, [ebp - 0x230]
call fcn.10008bd0
jmp case.0x1005f75c.18
push 0x100d2904
lea ecx, [ebp - 0x2ac]
call fcn.10003c90
push 8
push str.reg_path
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x2b
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.100056d0
push 0xfde9
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0x2c
push ecx
lea ecx, [ebp - 0x230]
push ecx
lea eax, [esi + 0x28]
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x2bc], eax
push ecx
mov ecx, eax
call fcn.1005cee0
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 0x2d
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 0x10060110
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x248]
call fcn.10010b00
mov edx, dword [ebp - 0x2b0]
or esi, 0xffffffff
mov byte [ebp - 4], 0x2f
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10060150
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x230]
call fcn.10003d60
mov edx, dword [ebp - 0x2ac]
mov eax, esi
mov byte [ebp - 4], 0x31
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1006017c
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], 0x32
push eax
lea eax, [ebp - 0x2b4]
push eax
sub esp, 0x18
lea eax, [ebp - 0x248]
mov ecx, esp
push eax
call fcn.10008060
mov ecx, dword [ebp - 0x2b8]
call fcn.10062a00
push 0x100d2904
lea ecx, [ebp - 0x2ac]
call fcn.10003c90
push 0x13
push str.install_dir_reg_key
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x33
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.100056d0
mov ecx, dword [ebp - 0x2bc]
lea eax, [ebp - 0x2ac]
push 0xfde9
push eax
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x34
push eax
lea eax, [ebp - 0x2c4]
push eax
call fcn.1005cee0
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov word [ebp - 0x2a8], ax
mov byte [ebp - 4], 0x35
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x2b0], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10060260
sub ecx, dword [ebp - 0x2b0]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2a8]
call fcn.10010b00
mov edx, dword [ebp - 0x2c4]
mov eax, esi
mov byte [ebp - 4], 0x37
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100602a1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x230]
call fcn.10003d60
mov edx, dword [ebp - 0x2ac]
mov byte [ebp - 4], 0x39
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x100602cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x294], 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x290]
cmovae ecx, dword [ebp - 0x2a8]
cmp dword [ebp - 0x27c], 8
push ecx
cmovae eax, dword [ebp - 0x290]
mov ecx, dword [ebp - 0x2b8]
push eax
push dword [ebp - 0x2b4]
lea eax, [ebp - 0x278]
push eax
call fcn.100613c0
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
push 0xfde9
cmovae eax, dword [ebp - 0x278]
push eax
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 0x3a
push eax
call fcn.1007b2f0
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x10060368
mov ecx, edi
call fcn.10003d60
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.10003d60
lea ecx, [ebp - 0x278]
call fcn.10008bd0
lea ecx, [ebp - 0x2a8]
call fcn.10008bd0
lea ecx, [ebp - 0x290]
call fcn.10008bd0
lea ecx, [ebp - 0x248]
call fcn.10008bd0
jmp case.0x1005f75c.18
push 0
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x100d2904
lea ecx, [ebp - 0x2b8]
call fcn.10003c90
push 0x11
push str.public_config_dir
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x3b
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.100056d0
push 0xfde9
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0x3c
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [esi + 0x28]
call fcn.1005cee0
lea ecx, [ebp - 0x230]
call fcn.10003d60
mov edx, dword [ebp - 0x2b8]
or esi, 0xffffffff
mov byte [ebp - 4], 0x3f
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10060450
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 - 0x2ac]
call fcn.1002b940
push 0xfde9
push dword [ebp - 0x2ac]
lea eax, [ebp - 0x260]
push eax
call fcn.1007b2f0
add esp, 0xc
mov dword [ebp - 0x2b0], eax
cmp edi, eax
je 0x100604b9
mov ecx, edi
call fcn.10003d60
mov eax, dword [ebp - 0x2b0]
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.10003d60
mov edx, dword [ebp - 0x2ac]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg case.0x1005f75c.18
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp case.0x1005f75c.18
push 0
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x100d2904
lea ecx, [ebp - 0x2ac]
call fcn.10003c90
push 0x10
push str.appdata_dir_name
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.100056d0
push 0xfde9
lea eax, [ebp - 0x2ac]
mov byte [ebp - 4], 0x41
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [esi + 0x28]
call fcn.1005cee0
push dword [eax]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [ebp - 0x2b0]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10060598
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x230]
call fcn.10003d60
mov edx, dword [ebp - 0x2ac]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x100605c2
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.1007b2f0
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x1005fd39
mov ecx, edi
call fcn.10003d60
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 0x100610d9
push dword [ebp - 0x2ac]
mov ecx, dword [ebp - 0x2b8]
lea eax, [ebp - 0x278]
push 3
push eax
call fcn.1005f080
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
mov dword [ebp - 0x2c0], 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.10008bd0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10060743
push 0x100d2904
lea ecx, [ebp - 0x2ac]
call fcn.10003c90
push 0xd
push str.cfg_file_path
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.100056d0
push 0xfde9
lea eax, [ebp - 0x2ac]
mov byte [ebp - 4], 0x43
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [esi + 0x28]
call fcn.1005cee0
push dword [eax]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [ebp - 0x2b0]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10060719
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x230]
call fcn.10003d60
mov edx, dword [ebp - 0x2ac]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10060743
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.1007b2f0
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x1005fd39
mov ecx, edi
call fcn.10003d60
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 0x100610d9
push 0
push 0x100d5dc0
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.100056d0
push 9
push str.stats_url
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.100056d0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x45
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [esi + 0x28]
call fcn.1005cd70
mov esi, eax
cmp edi, esi
je 0x100610bd
mov ecx, edi
call fcn.10003d60
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 0x100610bd
push 0
push 0x100d5dc0
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.100056d0
push 0x12
push str.cfg_center_ver_url
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.100056d0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x47
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [esi + 0x28]
call fcn.1005cd70
mov esi, eax
cmp edi, esi
je 0x100610bd
mov ecx, edi
call fcn.10003d60
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 0x100610bd
push 0
push 0x100d5dc0
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.100056d0
push 0x15
push str.cfg_center_detail_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.100056d0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x49
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [esi + 0x28]
call fcn.1005cd70
mov esi, eax
cmp edi, esi
je 0x100610bd
mov ecx, edi
call fcn.10003d60
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 0x100610bd
push 0
push 0x100d5dc0
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.100056d0
push 0x18
push str.cfg_center_msg_wnd_class
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.100056d0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x4b
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [esi + 0x28]
call fcn.1005cd70
mov esi, eax
cmp edi, esi
je 0x100610bd
mov ecx, edi
call fcn.10003d60
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 0x100610bd
push 0
push 0x100d5dc0
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.100056d0
push 0x1d
push str.cfg_center_stub_msg_wnd_class
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.100056d0
mov byte [ebp - 4], 0x4d
jmp 0x10061098
push 0
push 0x100d5dc0
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.100056d0
push 0x1a
push str.config_center_single_mutex
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.100056d0
mov byte [ebp - 4], 0x4f
jmp 0x10061098
push 0
push 0x100d5dc0
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.100056d0
push 0xf
push str.dump_upload_url
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.100056d0
mov byte [ebp - 4], 0x51
jmp 0x10061098
push 0
push 0x100d5dc0
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.100056d0
push 0xf
push str.service_cfg_url
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.100056d0
mov byte [ebp - 4], 0x53
jmp 0x10061098
push 0
push 0x100d5dc0
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.100056d0
push 3
push 0x100d8b70
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.100056d0
mov byte [ebp - 4], 0x55
jmp 0x10061098
push 0
push 0x100d5dc0
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.100056d0
push 9
push 0x100df3a0
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.100056d0
mov byte [ebp - 4], 0x57
jmp 0x10061098
push 0
push 0x100d5dc0
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.100056d0
push 0xa
push 0x100df3ac
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.100056d0
mov byte [ebp - 4], 0x59
jmp 0x10061098
push 0
push 0x100d5dc0
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.100056d0
push 0xc
push str.service_name
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x5a
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.100056d0
mov byte [ebp - 4], 0x5b
jmp 0x10061098
push dword [ebp - 0x2ac]
mov ecx, dword [ebp - 0x2b8]
lea eax, [ebp - 0x278]
push 3
push eax
call fcn.1005f080
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
mov dword [ebp - 0x2c0], 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.10008bd0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10060ed3
push 0x100d2904
lea ecx, [ebp - 0x2ac]
call fcn.10003c90
push 0xc
push str.service_path
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x5c
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.100056d0
push 0xfde9
lea eax, [ebp - 0x2ac]
mov byte [ebp - 4], 0x5d
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [esi + 0x28]
call fcn.1005cee0
push dword [eax]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x2b0]
call fcn.10003d40
lea ecx, [ebp - 0x230]
call fcn.10003d60
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0
call fcn.10003d40
push 0xfde9
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.1007b2f0
add esp, 0xc
mov ecx, edi
push eax
call fcn.10054061
lea ecx, [ebp - 0x260]
jmp 0x100610d9
push dword [ebp - 0x2ac]
mov ecx, dword [ebp - 0x2b8]
lea eax, [ebp - 0x278]
push 5
push eax
call fcn.1005f080
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
mov dword [ebp - 0x2c0], 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.10008bd0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10061005
push 0x100d2904
lea ecx, [ebp - 0x2ac]
call fcn.10003c90
push 0x15
push str.appdata_cfg_file_path
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x5e
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.100056d0
push 0xfde9
lea eax, [ebp - 0x2ac]
mov byte [ebp - 4], 0x5f
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [esi + 0x28]
call fcn.1005cee0
push dword [eax]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x2b0]
call fcn.10003d40
lea ecx, [ebp - 0x230]
call fcn.10003d60
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0
call fcn.10003d40
push 0xfde9
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.1007b2f0
add esp, 0xc
mov ecx, edi
push eax
call fcn.10054061
lea ecx, [ebp - 0x260]
jmp 0x100610d9
push 0
push 0x100d5dc0
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.100056d0
push 0xc
push str.activate_url
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0x60
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.100056d0
mov byte [ebp - 4], 0x61
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [esi + 0x28]
call fcn.1005cd70
push eax
mov ecx, edi
call fcn.10054061
lea ecx, [ebp - 0x260]
call fcn.10003d60
lea ecx, [ebp - 0x230]
call fcn.10003d60
lea ecx, [ebp - 0x248]
call fcn.10003d60
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.10075b61
mov esp, ebp
pop ebp
ret 0xc
call fcn.100a0325
nop
arpl di, si
add eax, 100386576
adc byte [ebp + edi*8 + 5], al
adc byte [eax + eax + 6], dh
adc byte [ebx + eax + 0x4ec1006], ah
push es
adc byte [edx], bl
push es
push es
adc byte [ebx + 0x54100607], bl
or byte [esi], al
adc byte [0xc6100609], cl
or dword [esi], eax
adc byte [edi + 0xa], bh
push es
adc cl, ch
or al, byte [esi]
adc byte [ebx + 0xb], dl
push es
adc byte [ebp + 0x2710060b], bh
or al, 6
adc byte [ecx - 0x4eff9f4], dl
or al, 6
adc dh, bl
adc byte [esi], al
adc dh, bl
adc byte [esi], al
adc dh, bl
adc byte [esi], al
adc dh, bl
adc byte [esi], al
adc byte [ebp + 0xd], ah
push es
adc bh, cl
or eax, 0xf011006
push es
adc byte [ebx], dh
adc byte [esi], al
adc ah, cl
int3