Function at 0x401480
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41afc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x248
push ebx
push esi
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x150]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x150]
push 0x104
push eax
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x150]
push 0x5c
push ecx
call fcn.0040a000
mov esi, eax
add esp, 8
test esi, esi
je 0x4014e8
mov byte [esi], 0
lea edx, [ebp - 0x150]
mov ecx, 0x4237d0
push edx
call fcn.00414ddd
push 0x423b28
push 0x421468
mov ecx, 0x4237d0
call fcn.00413dea
mov eax, dword [0x4237d0]
lea ebx, [esi + 1]
push ebx
push eax
push str.CheckHaveSetServIP2____g_szDefaultPath:__s____
mov dword [ebp - 0x1c], ebx
call fcn.004011c0
add esp, 0xc
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x20], 0
call fcn.00415011
push str.YTSysConfig.ini
lea ecx, [ebp - 0x14]
push 0x4237d0
push ecx
mov byte [ebp - 4], 1
call fcn.00414e83
mov eax, dword [eax]
push 0
push 0
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00415123
lea ecx, [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 1
call fcn.00414c54
test esi, esi
je 0x4015b4
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x20], 1
call fcn.0041533e
push str.YTSysConfig.ini
lea edx, [ebp - 0x14]
push 0x4237d0
push edx
call fcn.00414e83
mov eax, dword [eax]
mov byte [ebp - 4], 3
push eax
push str.CheckHaveSetServIP2___
call fcn.004011c0
add esp, 8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00414c54
push str.YTSysConfig.ini
lea ecx, [ebp - 0x38]
push 0x4237d0
push ecx
call fcn.00414e83
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x253]
mov byte [ebp - 0x254], 0
rep stosd dword es:[edi], eax
mov edx, dword [ebp - 0x38]
mov byte [ebp - 4], 4
stosw word es:[edi], ax
stosb byte es:[edi], al
push edx
lea eax, [ebp - 0x254]
push 0x104
push eax
push 0x421400
push str.kill
push str.YTSTATUS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x254]
push ecx
call fcn.0040a17b
add esp, 4
test eax, eax
jne 0x40164e
mov edx, dword [ebp - 0x38]
push edx
push 0x4213e8
push str.kill
push str.YTSTATUS
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.CheckHaveSetServIP2__
call fcn.004011c0
add esp, 0xc
jmp 0x40165b
push 0x42138c
call fcn.004011c0
add esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x401761
lea ecx, [ebp - 0x30]
call fcn.00415011
push str.YTSysConfig.ini
lea eax, [ebp - 0x20]
mov bl, 5
push 0x4237d0
push eax
mov byte [ebp - 4], bl
call fcn.00414e83
mov eax, dword [eax]
push 0
push 0x3002
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.00415123
lea ecx, [ebp - 0x20]
mov esi, eax
mov byte [ebp - 4], bl
call fcn.00414c54
test esi, esi
je 0x401752
mov ecx, dword [0x4222c4]
mov dword [ebp - 0x14], ecx
push str._YTSTATUS_
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.00414ddd
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0041527a
mov edi, 0x4210b0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4210b0
lea ecx, [ebp - 0x30]
call fcn.0041527a
push str.kill1
lea ecx, [ebp - 0x14]
call fcn.00414ddd
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0041527a
mov edi, 0x4210b0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4210b0
lea ecx, [ebp - 0x30]
call fcn.0041527a
lea ecx, [ebp - 0x30]
call fcn.0041533e
push 0x42133c
call fcn.004011c0
add esp, 4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00414c54
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00415066
mov ebx, dword [ebp - 0x1c]
push 0x421338
push ebx
call fcn.0040a070
add esp, 8
test eax, eax
je 0x401799
inc eax
push 0x421338
push eax
call fcn.0040a070
add esp, 8
test eax, eax
je 0x401799
inc eax
push 0x421338
push eax
call fcn.0040a070
add esp, 8
test eax, eax
jne 0x4017ab
push str.CheckHaveSetServIP2____
call fcn.00401040
add esp, 4
jmp 0x4018d9
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ebp - 0x20], 0
xor edx, edx
cmp edx, ecx
jge 0x4017ea
mov al, byte [edx + ebx]
cmp al, 0x2e
je 0x401902
cmp al, 0x40
je 0x401902
cmp al, 0x30
jl 0x4017e2
cmp al, 0x39
jle 0x401902
cmp al, 0x23
jne 0x4017ea
mov byte [ebp - 0x20], 1
push ebx
lea ecx, [ebp - 0x18]
call fcn.00414cc2
mov edx, dword [ebp - 0x18]
push esi
push edx
push str.CheckHaveSetServIP2__szServIP:_s____nPos:_d
mov byte [ebp - 4], 8
call fcn.004011c0
add esp, 0xc
inc esi
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push esi
push eax
call fcn.00413fc9
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.00414d8d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.00414c54
lea ecx, [ebp - 0x18]
call fcn.00414fc9
mov ecx, dword [0x4222c4]
mov dword [ebp - 0x34], ecx
push 0x40
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.00414f8e
mov esi, eax
test esi, esi
jl 0x4018aa
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
mov eax, dword [edx - 8]
sub eax, esi
dec eax
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00413f4d
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
call fcn.00414d8d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.00414c54
lea ecx, [ebp - 0x1c]
push esi
push ecx
lea ecx, [ebp - 0x18]
call fcn.00413fc9
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call fcn.00414d8d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.00414c54
mov eax, dword [ebp - 0x18]
cmp dword [eax - 8], 7
jge 0x40190a
push eax
push 0x4212ac
call fcn.004011c0
add esp, 8
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.00414c54
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00414c54
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00414c54
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.00415066
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, edx
inc edx
jmp 0x4017bf
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x34]
and ecx, 0xff
push ecx
push edx
push eax
push 0x42124c
mov dword [ebp - 0x20], ecx
call fcn.004011c0
add esp, 0x10
lea ecx, [ebp - 0x30]
call fcn.00415011
push str.YTSysConfig.ini
lea eax, [ebp - 0x1c]
push 0x4237d0
push eax
mov byte [ebp - 4], 0xd
call fcn.00414e83
mov eax, dword [eax]
push 0
push 0x3002
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xe
call fcn.00415123
lea ecx, [ebp - 0x1c]
mov esi, eax
mov byte [ebp - 4], 0xd
call fcn.00414c54
test esi, esi
je 0x401bc3
mov ecx, dword [0x4222c4]
mov dword [ebp - 0x14], ecx
mov bl, 0xf
push str._YTSTATUS_
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00414ddd
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0041527a
mov edi, 0x4210b0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4210b0
lea ecx, [ebp - 0x30]
call fcn.0041527a
push 0
push 0x421248
lea ecx, [ebp - 0x18]
call fcn.0041404f
test eax, eax
jle 0x4019f4
lea edx, [ebp - 0x3c]
push eax
push edx
lea ecx, [ebp - 0x18]
call fcn.00413fc9
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x10
call fcn.00414d8d
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.00414c54
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push str.ServerIP_s
push ecx
call fcn.00414382
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0041527a
mov edi, 0x4210b0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4210b0
lea ecx, [ebp - 0x30]
call fcn.0041527a
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x14]
push edx
push str.ZRServerIP_s
push eax
call fcn.00414382
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0041527a
mov edi, 0x4210b0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4210b0
lea ecx, [ebp - 0x30]
call fcn.0041527a
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
push ecx
push str.FileEncrypt_d
push edx
call fcn.00414382
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0041527a
mov edi, 0x4210b0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4210b0
lea ecx, [ebp - 0x30]
call fcn.0041527a
push str.nondis1
lea ecx, [ebp - 0x14]
call fcn.00414ddd
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0041527a
or ecx, 0xffffffff
mov edi, 0x4210b0
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4210b0
lea ecx, [ebp - 0x30]
call fcn.0041527a
push str.kill1
lea ecx, [ebp - 0x14]
call fcn.00414ddd
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0041527a
mov edi, 0x4210b0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4210b0
lea ecx, [ebp - 0x30]
call fcn.0041527a
push str.Secret1
lea ecx, [ebp - 0x14]
call fcn.00414ddd
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0041527a
mov edi, 0x4210b0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4210b0
lea ecx, [ebp - 0x30]
call fcn.0041527a
push str.noreboot1
lea ecx, [ebp - 0x14]
call fcn.00414ddd
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0041527a
mov edi, 0x4210b0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4210b0
lea ecx, [ebp - 0x30]
call fcn.0041527a
lea ecx, [ebp - 0x30]
call fcn.0041533e
push 0x4211d0
call fcn.004011c0
add esp, 4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xd
call fcn.00414c54
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.00415066
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.00414c54
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00414c54
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00414c54
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.00415066
push 0x4211b4
mov dword [ebp - 4], 0xffffffff
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret