Function at 0x10001160
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x100fc63b
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x10143328]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10143328]
xor eax, esp
push eax
lea eax, [esp + 0x458]
mov dword fs:[0], eax
mov edi, ecx
xor ebp, ebp
cmp dword [edi], ebp
je 0x100013a2
call fcn.10001440
cmp dword [eax + 0x138], 8
jb 0x100011bd
mov ebx, dword [eax + 0x124]
jmp 0x100011c3
lea ebx, [eax + 0x124]
push ebp
call fcn.1000f3da
add esp, 4
push eax
call fcn.10004270
add esp, 4
push ebx
push 0xffffffffffffffff
push str.ServiceUpOnlineData
push str.Setting
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, esi
je 0x100013a2
mov dword [edi + 4], ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [edi + 8]
jl 0x10001205
mov ebp, 1
mov edx, str.C:loggswb.log
lea eax, [esp + 0x14]
call fcn.100013d0
mov dword [esp + 0x460], 0
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x18]
jae 0x1000122d
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10001240
test ebp, ebp
je 0x1000138e
xor eax, eax
push esi
mov word [esp + 0x34], ax
mov dword [esp + 0x36], eax
mov dword [esp + 0x3a], eax
mov dword [esp + 0x3e], eax
mov dword [esp + 0x42], eax
mov word [esp + 0x46], ax
lea eax, [esp + 0x34]
push 0x1013cb3c
push eax
call fcn.1000f0cb
add esp, 0xc
push ebx
lea ecx, [esp + 0x34]
push ecx
push str.ServiceUpOnlineData
push str.Setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor ebx, ebx
push 0x206
lea edx, [esp + 0x4a]
push ebx
push edx
mov dword [edi + 4], 1
mov word [esp + 0x50], bx
call fcn.10015360
add esp, 0xc
push 0x206
lea eax, [esp + 0x252]
push ebx
push eax
mov word [esp + 0x258], bx
call fcn.10015360
add esp, 0xc
call fcn.10001440
add eax, 0x13c
cmp dword [eax + 0x18], 8
jb 0x100012d9
mov eax, dword [eax + 4]
jmp 0x100012dc
add eax, 4
lea edx, [esp + 0x24c]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bx
jne 0x100012e3
xor eax, eax
jmp 0x10001300
movzx ecx, word [eax + 0x1013cb44]
mov word [esp + eax + 0x44], cx
add eax, 2
cmp cx, bx
jne 0x10001300
lea eax, [esp + 0x24c]
mov edx, eax
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10001320
lea edi, [esp + 0x44]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x10001334
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x44]
add edi, 0xfffffffe
jmp 0x10001360
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x10001360
mov ecx, 7
mov esi, 0x1013cb48
rep movsd dword es:[edi], dword [esi]
push 0x7d0
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x44]
call fcn.100042f0
cmp dword [esp + 0x2c], 8
jb 0x100013a2
mov ecx, dword [esp + 0x18]
push ecx
call fcn.1000f3a5
add esp, 4
mov ecx, dword [esp + 0x458]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.1000efa1
add esp, 0x450
ret