Function at 0x10001519
Capabilities:
Check if file exists
Delete file
Read .ini file
Resolve dns
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1464
call fcn.10016f20
mov eax, dword [0x10032d64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp byte [0x10037ed0], bl
push esi
push edi
jne 0x10001a9b
push str.www.qq.com
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10001a9b
cmp byte [0x10037cd0], bl
mov byte [0x10037ed0], 1
je 0x10001a9b
mov esi, 0x1ff
push esi
lea eax, [ebp - 0x247]
push ebx
push eax
mov byte [ebp - 0x248], bl
call fcn.10011e30
add esp, 0xc
mov edi, 0x10037cd0
lea eax, [ebp - 0x248]
push edi
push eax
call fcn.10011d30
push esi
lea eax, [ebp - 0x847]
push ebx
push eax
mov byte [ebp - 0x848], bl
call fcn.10011e30
add esp, 0x14
lea eax, [ebp - 0x848]
push edi
push eax
call fcn.10011d30
lea eax, [ebp - 0x848]
push str.MyPlayermain.ini
push eax
call fcn.10011d40
lea eax, [ebp - 0x248]
push str.MyPlayerMyPlayerUp.exe
push eax
call fcn.10011d40
push esi
lea eax, [ebp - 0xa47]
push ebx
push eax
mov byte [ebp - 0xa48], bl
call fcn.10011e30
add esp, 0x24
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0xa48]
push str._s.up
push eax
call fcn.10010e4b
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0xc
lea eax, [ebp - 0xa48]
push eax
call edi
push esi
lea eax, [ebp - 0x1047]
push ebx
push eax
mov byte [ebp - 0x1048], bl
call fcn.10011e30
add esp, 0xc
lea eax, [ebp - 0xa48]
push eax
lea eax, [ebp - 0x1048]
push eax
call fcn.10011d30
lea eax, [ebp - 0x1048]
push 0x1002cf68
push eax
call fcn.10011d40
add esp, 0x10
lea eax, [ebp - 0x1048]
push eax
call edi
push 0x3ff
lea eax, [ebp - 0xe47]
push ebx
push eax
mov byte [ebp - 0xe48], bl
call fcn.10011e30
add esp, 0xc
call fcn.100013b9
mov esi, 0x400000
push esi
call fcn.10005130
pop ecx
push esi
mov edi, eax
push ebx
push edi
mov dword [ebp - 0x1450], edi
call fcn.10011e30
add esp, 0xc
push str.option109.xml
push str.http:__u.gogle.cn_
lea eax, [ebp - 0xe48]
push str._sjfupdate__s
push eax
mov byte [ebp - 0x1449], bl
call fcn.10010e4b
lea eax, [ebp - 0xe48]
push edi
push eax
call fcn.10001421
add esp, 0x18
cmp eax, 0x1e
jge 0x100016f0
push str.flag1
push edi
call fcn.10010d80
test eax, eax
pop ecx
pop ecx
je 0x100016f0
mov byte [ebp - 0x1449], 1
push 0x400
lea eax, [ebp - 0xe48]
push ebx
push eax
call fcn.10011e30
add esp, 0xc
push esi
push ebx
push edi
call fcn.10011e30
add esp, 0xc
push str.option107.xml
push str.http:__u.gogle.cn_
lea eax, [ebp - 0xe48]
push str._sjfupdate__s
push eax
call fcn.10010e4b
lea eax, [ebp - 0xe48]
push edi
push eax
call fcn.10001421
mov esi, eax
push esi
push edi
call fcn.10001501
push edi
call fcn.100014bb
add esp, 0x24
test eax, eax
je 0x10001a94
push str.value
push edi
call fcn.10010d80
push 0x1002cfac
push edi
mov esi, eax
call fcn.10010d80
add esp, 0x10
cmp esi, ebx
mov edx, eax
je 0x10001a94
cmp edx, ebx
je 0x10001a94
xor eax, eax
push 7
mov byte [ebp - 0x24], bl
pop ecx
lea edi, [ebp - 0x23]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
add esi, 6
mov eax, edx
sub eax, esi
cmp eax, 0x1f
jle 0x100017a6
push dword [ebp - 0x1450]
jmp 0x10001a95
push eax
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.100110f0
add esp, 0xc
lea eax, [ebp - 0x848]
push eax
push ebx
push str.size
push str.SETUP
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x145c], eax
lea eax, [ebp - 0x24]
push eax
call fcn.10010ed7
cmp dword [ebp - 0x145c], eax
pop ecx
je 0x1000179b
mov edi, dword [ebp - 0x1450]
push 0x400000
push ebx
push edi
call fcn.10011e30
add esp, 0xc
push 0x400
lea eax, [ebp - 0xe48]
push ebx
push eax
call fcn.10011e30
add esp, 0xc
push str.option108.xml
push str.http:__u.gogle.cn_
lea eax, [ebp - 0xe48]
push str._sjfupdate__s
push eax
call fcn.10010e4b
lea eax, [ebp - 0xe48]
push edi
push eax
call fcn.10001421
mov esi, eax
push esi
push edi
call fcn.10001501
push edi
call fcn.100014bb
mov dword [ebp - 0x1458], eax
lea eax, [ebp - 0x24]
add esp, 0x24
push eax
call fcn.10010ed7
cmp dword [ebp - 0x1458], eax
pop ecx
jne 0x10001a94
mov edi, 0x1ff
push edi
lea eax, [ebp - 0x447]
push ebx
push eax
mov byte [ebp - 0x448], bl
call fcn.10011e30
add esp, 0xc
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x448]
push eax
call fcn.10011d30
lea eax, [ebp - 0x448]
push str..new
push eax
call fcn.10011d40
lea eax, [ebp - 0x448]
push 0x1002cee8
push eax
call fcn.10011f6e
add esp, 0x18
cmp eax, ebx
mov dword [ebp - 0x1460], eax
je 0x1000179b
push eax
push dword [ebp - 0x1458]
push 1
push dword [ebp - 0x1450]
call fcn.1001103b
add esp, 0x10
cmp byte [ebp - 0x1449], bl
je 0x10001973
push 0x3ff
lea eax, [ebp - 0x1447]
push ebx
push eax
mov byte [ebp - 0x1448], bl
call fcn.10011e30
add esp, 0xc
push ebx
call fcn.10011455
pop ecx
push eax
call fcn.100110bd
pop ecx
call fcn.100110ca
mov esi, eax
and esi, 0x800003ff
jns 0x10001929
dec esi
or esi, 0xfffffc00
inc esi
cmp esi, ebx
mov dword [ebp - 0x1454], ebx
jle 0x1000195b
call fcn.100110ca
cdq
mov ecx, 0xff
idiv ecx
mov eax, dword [ebp - 0x1454]
inc dword [ebp - 0x1454]
cmp dword [ebp - 0x1454], esi
mov byte [ebp + eax - 0x1448], dl
jl 0x10001933
push dword [ebp - 0x1460]
lea eax, [ebp - 0x1448]
push esi
push 1
push eax
call fcn.1001103b
add esp, 0x10
push dword [ebp - 0x1460]
call fcn.10011ff3
pop ecx
push edi
lea eax, [ebp - 0x647]
push ebx
push eax
mov byte [ebp - 0x648], bl
call fcn.10011e30
add esp, 0xc
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x648]
push eax
call fcn.10011d30
lea eax, [ebp - 0x648]
push 0x1002cfd8
push eax
call fcn.10011d40
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x10
lea eax, [ebp - 0x648]
push eax
call esi
lea eax, [ebp - 0x648]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10011491
test eax, eax
pop ecx
pop ecx
je 0x10001a06
cmp dword [ebp - 0x145c], ebx
je 0x10001a06
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x10001a06
lea eax, [ebp - 0x448]
push eax
call esi
jmp 0x1000179b
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x448]
push eax
call fcn.10011491
test eax, eax
pop ecx
pop ecx
je 0x10001a36
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x648]
push eax
call fcn.10011491
pop ecx
pop ecx
jmp 0x100019f8
lea eax, [ebp - 0x648]
push eax
call esi
push dword [ebp - 0x1450]
call fcn.1000512b
pop ecx
push 7
pop ecx
push dword [ebp - 0x1458]
xor eax, eax
mov byte [ebp - 0x44], bl
lea edi, [ebp - 0x43]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x44]
push 0x1002d1d4
push eax
call fcn.10010e4b
add esp, 0xc
lea eax, [ebp - 0x848]
push eax
lea eax, [ebp - 0x44]
push eax
push str.size
push str.SETUP
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
call fcn.10001161
jmp 0x10001a9b
push edi
call fcn.1000512b
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100114bf
leave
ret