Function at 0x1001db00
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x830
mov eax, dword [0x10063790]
xor eax, esp
mov dword [esp + 0x828], eax
push ebx
push esi
xor esi, esi
push edi
push 0x206
lea eax, [esp + 0x16]
push esi
push eax
mov dword [0x10065ac8], 0x1005bbd4
mov dword [0x10065ee4], esi
mov dword [0x10065ee8], esi
mov dword [0x10065eec], esi
mov dword [0x10065ef0], esi
mov word [0x10065acc], si
mov dword [0x10065ef8], 1
mov dword [0x10065efc], 1
mov dword [0x10065f00], esi
mov dword [0x10065f04], esi
mov dword [0x10065ef4], esi
mov dword [0x10065f08], esi
mov dword [0x10065f0c], esi
mov word [0x10065cd4], si
mov dword [0x10065edc], 0xffffffff
mov word [esp + 0x1c], si
call fcn.1003d360
push 0x206
lea ecx, [esp + 0x22a]
push esi
push ecx
mov word [esp + 0x230], si
call fcn.1003d360
push 0x206
lea edx, [esp + 0x43e]
push esi
push edx
mov word [esp + 0x444], si
call fcn.1003d360
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
add esp, 0x24
push 0x104
lea eax, [esp + 0x424]
push eax
push esi
call ebx
lea eax, [esp + 0x218]
lea edx, [esp + 0x420]
mov ecx, eax
mov edi, 0x104
sub edx, ecx
lea ecx, [edi + 0x7ffffefa]
test ecx, ecx
je 0x1001dc20
movzx ecx, word [edx + eax]
cmp cx, si
je 0x1001dc20
mov word [eax], cx
add eax, 2
sub edi, 1
jne 0x1001dc00
jmp 0x1001dc24
cmp edi, esi
jne 0x1001dc27
sub eax, 2
lea edx, [esp + 0x218]
push edx
mov word [eax], si
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [esp + 0x628]
lea edi, [esp + 0x218]
mov ecx, eax
mov edx, 0x104
sub edi, ecx
nop
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x1001dc6b
movzx ecx, word [edi + eax]
cmp cx, si
je 0x1001dc6b
add eax, 2
sub edx, 1
jne 0x1001dc50
mov ecx, 0x104
lea eax, [esp + 0x218]
cmp word [eax], si
je 0x1001dc86
add eax, 2
sub ecx, 1
jne 0x1001dc77
jmp 0x1001dca9
cmp ecx, esi
je 0x1001dca9
mov eax, 0x104
sub eax, ecx
mov edx, 0x104
sub edx, eax
lea ecx, [esp + eax*2 + 0x218]
mov eax, str.ST_LOG.INI
call fcn.100067e0
push esi
push esi
push 3
push esi
push 3
push 0xc0000000
lea edx, [esp + 0x230]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x1001dd67
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x218]
push eax
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x10057090
push str.OutputFileName
push 0x1005b924
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x10], si
jne 0x1001dd46
push 0x104
lea edx, [esp + 0x14]
push edx
push esi
call ebx
mov ecx, 0x104
lea eax, [esp + 0x10]
cmp word [eax], si
je 0x1001dd26
add eax, 2
sub ecx, 1
jne 0x1001dd17
jmp 0x1001dd46
cmp ecx, esi
je 0x1001dd46
mov eax, 0x104
sub eax, ecx
mov edx, 0x104
sub edx, eax
lea ecx, [esp + eax*2 + 0x10]
mov eax, str..SDS.LOG
call fcn.100067e0
lea eax, [esp + 0x218]
push eax
push 0x3f
push str.LogLevel
push 0x1005b924
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x10065f08], eax
jmp 0x1001ddb9
push 0x104
lea ecx, [esp + 0x14]
push ecx
push esi
call ebx
mov ecx, 0x104
lea eax, [esp + 0x10]
lea ecx, [ecx]
cmp word [eax], si
je 0x1001dd8f
add eax, 2
sub ecx, 1
jne 0x1001dd80
jmp 0x1001ddaf
cmp ecx, esi
je 0x1001ddaf
mov eax, 0x104
sub eax, ecx
mov edx, 0x104
sub edx, eax
lea ecx, [esp + eax*2 + 0x10]
mov eax, str..SDS.LOG
call fcn.100067e0
mov dword [0x10065f08], 0x3f
lea ecx, [esp + 0x10]
call fcn.1001de40
mov ecx, dword [esp + 0x834]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 0x10065ac8
call fcn.1003c13d
add esp, 0x830
ret