Function at 0x4123f0
Capabilities:
Check if file exists
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59cf76
mov eax, dword fs:[0]
push eax
sub esp, 0x700
mov eax, dword [0x625260]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xc
xor eax, eax
mov dword [ebp - 0x46c], 7
push 0x5a197c
lea ecx, [ebp - 0x480]
mov dword [ebp - 0x470], 0
mov word [ebp - 0x480], ax
call fcn.00403c20
push 6
push 0x5a27bc
lea ecx, [ebp - 0x480]
mov dword [ebp - 4], 0
call fcn.004039d0
cmp dword [ebp - 0x46c], 8
lea eax, [ebp - 0x480]
lea ecx, [ebp - 0x6fc]
cmovae eax, dword [ebp - 0x480]
push eax
call fcn.0042baf6
lea ecx, [ebp - 0x6fc]
mov byte [ebp - 4], 1
call fcn.0043e4f0
test eax, eax
je 0x4124a0
xor esi, esi
jmp 0x412bf5
push 0x35
push str.https:__tmodm.kangarootec.cn_ktw_kx_c53f44d4f8b5c.fda
lea ecx, [ebp - 0x468]
mov dword [ebp - 0x454], 0xf
mov dword [ebp - 0x458], 0
mov byte [ebp - 0x468], 0
call fcn.00405ad0
cmp dword [ebp - 0x458], 0
mov byte [ebp - 4], 2
jne 0x4124e1
xor esi, esi
jmp 0x412bbc
lea ecx, [ebp - 0x4fc]
call fcn.00401aa0
mov byte [ebp - 4], 3
call fcn.00406790
mov ecx, eax
call fcn.004114a0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x6f0], esp
push eax
call fcn.00401a40
mov byte [ebp - 4], 4
call fcn.00406790
mov ecx, eax
call fcn.004114a0
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401a40
lea ecx, [ebp - 0x4fc]
mov byte [ebp - 4], 3
call fcn.00403430
lea ecx, [ebp - 0x62c]
call fcn.00404020
lea ecx, [ebp - 0x6e4]
mov byte [ebp - 4], 5
call fcn.0040aa50
mov byte [ebp - 4], 6
call fcn.00406790
mov ecx, eax
call fcn.004115b0
push eax
lea ecx, [ebp - 0x438]
call fcn.00401a40
lea eax, [ebp - 0x4fc]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x6e4]
call fcn.0040ad10
mov eax, dword [ebp - 0x424]
mov byte [ebp - 4], 6
cmp eax, 8
jb 0x4125ac
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00403d70
lea eax, [ebp - 0x4fc]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x4125d0
mov eax, dword [ecx]
jmp 0x4125d2
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x468]
push 0
push eax
call fcn.004059a0
lea ecx, [ebp - 0x62c]
call fcn.00404bd0
xor esi, esi
mov byte [ebp - 0x6e6], 0
mov dword [ebp - 0x6ec], esi
mov byte [ebp - 0x6e5], 0
nop word [eax + eax]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 0x18
xor ebx, ebx
mov ecx, esp
mov dword [ebp - 0x6f0], ebx
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
cmp dword [ecx + 0x14], 0x10
jb 0x41263c
mov eax, dword [ecx]
jmp 0x41263e
mov eax, ecx
push 0x35
push str.https:__tmodm.kangarootec.cn_ktw_kx_c53f44d4f8b5c.fda
mov byte [eax], bl
call fcn.00405ad0
lea ecx, [ebp - 0x62c]
call fcn.00404610
test al, al
jne 0x412667
cmp byte [ebp - 0x6e6], bl
je 0x4128d6
lea ecx, [ebp - 0x62c]
call fcn.00404a60
mov edi, eax
test esi, esi
jne 0x412737
lea ecx, [ebp - 0x62c]
call fcn.00404b80
test al, al
je 0x412737
push 6
push str.dc6207
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x424], 0xf
mov dword [ebp - 0x428], ebx
mov byte [ebp - 0x438], bl
call fcn.00405ad0
cmp dword [ebp - 0x424], 0x10
lea esi, [ebp - 0x438]
mov eax, dword [0x629ee0]
cmovae esi, dword [ebp - 0x438]
mov byte [ebp - 4], 8
test eax, eax
jne 0x412707
push 0xdc
call fcn.00422994
add esp, 4
mov dword [ebp - 0x700], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x4126fc
mov ecx, eax
call fcn.0040d520
jmp 0x4126fe
xor eax, eax
mov byte [ebp - 4], 8
mov dword [0x629ee0], eax
push 1
push esi
push 1
push 1
mov ecx, eax
call fcn.0040ff40
mov eax, dword [ebp - 0x424]
mov byte [ebp - 4], 6
cmp eax, 0x10
jb 0x412737
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00403d20
cmp dword [edi + 0x18], 8
lea eax, [edi + 4]
jb 0x412742
mov eax, dword [eax]
push eax
push 0x8c
call fcn.00429b2e
mov ecx, dword [0x629ef0]
add esp, 8
push 0
push 0
test ecx, ecx
jne 0x41278d
push 0x78
call fcn.00422994
add esp, 4
mov dword [ebp - 0x704], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x412781
mov ecx, eax
call fcn.00411390
mov ecx, eax
jmp 0x412783
xor ecx, ecx
mov byte [ebp - 4], 6
mov dword [0x629ef0], ecx
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x6f4], esp
push eax
call fcn.00411700
push edi
sub esp, 0x18
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x4127c0
mov eax, dword [ecx]
jmp 0x4127c2
mov eax, ecx
push 0xb
xor edx, edx
push str.KaixOverlyt
mov word [eax], dx
call fcn.00403c20
push 0
lea ecx, [ebp - 0x6e4]
mov byte [ebp - 4], 6
call fcn.0040aa80
movzx esi, al
mov eax, dword [ebp - 0x6ec]
test eax, eax
jne 0x4128c1
lea ecx, [ebp - 0x62c]
call fcn.00404b80
test al, al
je 0x4128c1
push 6
push str.f2a2c6
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x424], 0xf
mov dword [ebp - 0x428], 0
mov byte [ebp - 0x438], 0
call fcn.00405ad0
mov eax, dword [0x629ee0]
xor ebx, ebx
test esi, esi
mov byte [ebp - 4], 0xc
lea esi, [ebp - 0x438]
setne bl
cmp dword [ebp - 0x424], 0x10
cmovae esi, dword [ebp - 0x438]
test eax, eax
jne 0x41288c
push 0xdc
call fcn.00422994
add esp, 4
mov dword [ebp - 0x70c], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x412881
mov ecx, eax
call fcn.0040d520
jmp 0x412883
xor eax, eax
mov byte [ebp - 4], 0xc
mov dword [0x629ee0], eax
push ebx
push esi
push 1
push 1
mov ecx, eax
call fcn.0040ff40
mov eax, dword [ebp - 0x424]
mov byte [ebp - 4], 6
cmp eax, 0x10
jb 0x4128bb
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00403d20
mov ebx, dword [ebp - 0x6f0]
lea ecx, [ebp - 0x62c]
mov dword [ebp - 0x6ec], 1
call fcn.004054e0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00440e80
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00440e80
add esp, 0x18
lea eax, [ebp - 0x420]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x420]
push 0x5c
push eax
call fcn.0044108d
add esp, 8
xor ecx, ecx
mov word [eax + 2], cx
nop dword [eax]
movzx eax, word [ebp + ecx - 0x420]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x21a], ax
test ax, ax
jne 0x412930
lea edi, [ebp - 0x218]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x412951
mov ecx, 0xb
mov esi, str.LocalLowExplorerMenu_
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x218]
add ecx, 0xfffffffe
movsw word es:[edi], word [esi]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x412974
mov eax, dword [str.KaixCDCCP]
lea edi, [ebp - 0x218]
mov dword [ecx], eax
add edi, 0xfffffffe
mov eax, dword [0x5a2944]
mov dword [ecx + 4], eax
mov eax, dword [0x5a2948]
mov dword [ecx + 8], eax
mov eax, dword [0x5a294c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x5a2950]
mov dword [ecx + 0x10], eax
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4129b0
mov ecx, 6
lea eax, [ebp - 0x218]
mov esi, str.RunDate.ini
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412b53
call fcn.0042b1b3
push 0
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.0042612c
add esp, 0xc
cmp dword [ebp - 0x440], 8
mov byte [ebp - 4], 0xe
jne 0x412af6
push 4
push 4
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x450]
call fcn.00411e60
mov esi, eax
lea eax, [ebp - 0x450]
cmp eax, esi
je 0x412a70
mov eax, dword [ebp - 0x43c]
cmp eax, 8
jb 0x412a47
inc eax
lea ecx, [ebp - 0x450]
push eax
push dword [ebp - 0x450]
call fcn.00403d70
xor eax, eax
mov dword [ebp - 0x43c], 7
push esi
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x440], 0
mov word [ebp - 0x450], ax
call fcn.00403610
mov eax, dword [ebp - 0x424]
cmp eax, 8
jb 0x412a8e
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00403d70
cmp dword [ebp - 0x43c], 8
lea ecx, [ebp - 0x218]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [ebp - 0x450]
cmovae eax, dword [ebp - 0x450]
push ecx
push 0
push str.Interval
push eax
call edi
cmp dword [ebp - 0x43c], 8
lea ecx, [ebp - 0x450]
mov esi, eax
lea eax, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x450]
push eax
push 0xffffffffffffffff
push str.Disable
push ecx
call edi
cmp eax, 1
je 0x412af6
test esi, esi
je 0x412af6
mov byte [ebp - 0x6e6], 1
imul ebx, esi, 0xea60
mov eax, dword [ebp - 0x43c]
mov byte [ebp - 4], 6
cmp eax, 8
jb 0x412b18
inc eax
lea ecx, [ebp - 0x450]
push eax
push dword [ebp - 0x450]
call fcn.00403d70
test ebx, ebx
je 0x412b53
cmp byte [ebp - 0x6e5], 0
jne 0x412b41
push 1
push str.f2a2c6
push 1
mov byte [ebp - 0x6e5], 1
call fcn.00403080
mov ecx, eax
call fcn.0040ee80
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp - 0x6ec]
jmp 0x412610
lea ecx, [ebp - 0x62c]
call fcn.00404af0
test al, al
je 0x412b96
cmp byte [ebp - 0x6e5], 0
mov esi, dword [ebp - 0x6ec]
jne 0x412610
push 1
push str.f2a2c6
push 1
mov byte [ebp - 0x6e5], 1
call fcn.00403080
mov ecx, eax
call fcn.0040ee80
jmp 0x412610
lea ecx, [ebp - 0x6e4]
mov esi, 1
call fcn.0040aa70
lea ecx, [ebp - 0x62c]
call fcn.004042d0
lea ecx, [ebp - 0x4fc]
call fcn.00401b80
mov eax, dword [ebp - 0x454]
cmp eax, 0x10
jb 0x412bda
inc eax
lea ecx, [ebp - 0x468]
push eax
push dword [ebp - 0x468]
call fcn.00403d20
mov dword [ebp - 0x454], 0xf
mov dword [ebp - 0x458], 0
mov byte [ebp - 0x468], 0
lea ecx, [ebp - 0x6fc]
call fcn.0042bb0b
mov ecx, dword [ebp - 0x46c]
cmp ecx, 8
jb 0x412c1e
inc ecx
push ecx
push dword [ebp - 0x480]
lea ecx, [ebp - 0x480]
call fcn.00403d70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004229e8
mov esp, ebp
pop ebp
ret