Function at 0x10001d30
Capabilities:
Create directory
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003198f
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x10045018]
xor eax, esp
mov dword [esp + 0x628], eax
push ebx
push esi
push edi
mov eax, dword [0x10045018]
xor eax, esp
push eax
lea eax, [esp + 0x640]
mov dword fs:[0], eax
push dword [0x100498a4]
push str.Global_Flag_08X
push 1
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLog]
mov ebx, dword [sym.imp.MSVCR110.dll_swprintf_s]
add esp, 0xc
test byte [0x100498a4], 1
jne 0x10001de2
xor eax, eax
push 0x206
push eax
mov word [esp + 0x434], ax
lea eax, [esp + 0x436]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0x42c]
push 0x10035f3c
push 0x10049c30
push 0x10035f44
push 0x104
push eax
call ebx
add esp, 0x14
lea ecx, [esp + 0x42c]
call fcn.10004c40
mov edi, dword [sym.imp.iImportLib.dll_void____stdcall_elex::handle::MyCreateEvent_unsigned_long_int__int__int__wchar_t_const__]
xor esi, esi
lea ebx, [ebx]
push 0
push 0
push 0
push 2
call edi
mov dword [esi + 0x10049974], eax
test eax, eax
je 0x100020e3
add esi, 4
cmp esi, 0x1c
jb 0x10001df0
push 0x104
call fcn.1002d1e2
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x648], 0
test eax, eax
je 0x10001e4f
push 0x1000ba50
push 0x1000ba30
push 8
lea esi, [eax + 4]
push 0x20
push esi
mov dword [eax], 8
call fcn.1002d460
jmp 0x10001e51
xor esi, esi
mov dword [esp + 0x648], 0xffffffff
mov dword [0x10049970], esi
test esi, esi
jne 0x10001e70
mov eax, 0xe0001001
jmp 0x100020e8
push 0x240
push 0
push 0x100499a4
call sub.MSVCR110.dll_memset
add esp, 0xc
test byte [0x100499a4], 1
je 0x10001ec2
mov eax, dword [0x100499a8]
test eax, eax
je 0x10001ea7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x100499a8], 0
push 0x234
push 0
push 0x100499a4
call sub.MSVCR110.dll_memset
add esp, 0xc
and dword [0x100499a4], 0xfffffffe
push 0x234
push 0
push 0x100499a4
call sub.MSVCR110.dll_memset
and dword [0x100499a4], 0xfffffffe
add esp, 0xc
push 0x26acc
call fcn.1002d1e2
add esp, 4
mov dword [0x10049be4], eax
push 0x26acc
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [esp + 0x24], ax
lea eax, [esp + 0x26]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0x1c]
push str.data
push 0x10049c30
push 0x10035f44
push 0x104
push eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esp, 0x14
lea eax, [esp + 0x1c]
push 0
push eax
call esi
push str.user
push 0x10049c30
push 0x10035f44
lea eax, [esp + 0x28]
push 0x104
push eax
call ebx
add esp, 0x14
lea eax, [esp + 0x1c]
push 0
push eax
call esi
push str.update_
push 0x10049c30
push 0x10035f44
lea eax, [esp + 0x28]
push 0x104
push eax
call ebx
add esp, 0x14
lea eax, [esp + 0x1c]
push 0
push eax
call esi
push str.update1_
push 0x10049c30
push 0x10035f44
lea eax, [esp + 0x28]
push 0x104
push eax
call ebx
add esp, 0x14
lea eax, [esp + 0x1c]
push 0
push eax
call esi
push str.update0_
push 0x10049c30
push 0x10035f44
lea eax, [esp + 0x28]
push 0x104
push eax
call ebx
add esp, 0x14
push 0
lea eax, [esp + 0x20]
push eax
call esi
push str.update_temp_
push 0x10049c30
push 0x10035f44
lea eax, [esp + 0x28]
push 0x104
push eax
call ebx
add esp, 0x14
lea eax, [esp + 0x1c]
push 0
push eax
call esi
mov edx, 0x10049c30
mov ecx, 0x100498ac
call fcn.1000c820
xor eax, eax
push 0x206
push eax
mov word [esp + 0x22c], ax
lea eax, [esp + 0x22e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0x224]
push 0x10049c30
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0xc
lea eax, [esp + 0x224]
push str.user_svc2_com.dat
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscat_s]
add esp, 0xc
lea eax, [esp + 0x224]
push eax
push 0
push str.installtime
push str.baseinfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, dword [sym.imp.MSVCR110.dll__time64]
mov dword [0x1004996c], eax
test eax, eax
je 0x100020aa
push 0
call esi
add esp, 4
mov dword [esp + 0x18], edx
cmp dword [0x1004996c], eax
jbe 0x100020c0
push 0
call esi
push ecx
push eax
push ecx
mov ecx, 0x10049c30
mov dword [0x1004996c], eax
call fcn.10008550
call dword [sym.imp.iImportLib.dll_int___cdecl_elex::uphlp::MoveUpdateFiles_void_]
call fcn.1001d560
call fcn.1001b8e0
call fcn.10007030
call fcn.100073f0
call fcn.10001a90
xor eax, eax
jmp 0x100020e8
mov eax, 0xe0001012
mov ecx, dword [esp + 0x640]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x628]
xor ecx, esp
call fcn.1002d28e
mov esp, ebp
pop ebp
ret