Function at 0x10001e00
Capabilities:
Read .ini file

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
cmp edi, 3
mov esi, 1
ja case.default.0x10001e14
jmp dword [edi*4 + 0x10002154]
mov edi, dword [esp + 0xc]
push 0x104
push 0x1001a348
push edi
mov dword [0x1001a340], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x10001f0d
push 0x5c
push 0x1001a348
call fcn.10006080
add esp, 8
test eax, eax
je 0x10001e8f
push 0x1001a348
sub eax, 0x1001a348
add eax, 1
push 0x104
push 0x1001a568
mov esi, eax
call fcn.10005f00
lea eax, [esi + 0x1001a348]
push eax
push 0x104
push 0x1001a460
mov byte [esi + 0x1001a568], 0
call fcn.10005f00
add esp, 0x18
push 0x2e
push 0x1001a348
call fcn.10006080
add esp, 8
test eax, eax
je 0x10001f0d
push 0x1001a348
sub eax, 0x1001a348
add eax, 1
push 0x104
push 0x1001a680
mov esi, eax
call fcn.10005f00
push 0x1001a348
push 0x104
push 0x1001a788
call fcn.10005f00
push 0x100140cc
push 0x104
push 0x1001a680
mov byte [esi + 0x1001a680], 0
mov byte [esi + 0x1001a788], 0
call fcn.10006002
push 0x100140c8
push 0x104
push 0x1001a788
call fcn.10006002
add esp, 0x30
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x1001a680
push 0
push str.LogType
push 0x100140bc
call esi
mov dword [0x1001aa9c], eax
call fcn.10002170
push 0x1001a348
push str.vvv_DLL_____s____load
push 3
call fcn.100026c0
mov ecx, dword [esp + 0x20]
push ecx
push edi
push str._vvv__DllMain__0x_08X__DLL_PROCESS_ATTACH__0x_08X____
push 3
call fcn.100026c0
mov edx, dword [0x1001aa9c]
push edx
push str.g_iLogType___d
push 3
call fcn.100026c0
add esp, 0x28
push 0x1001a680
push 0
push str.Type2_LogStopDesable
push 0x100140bc
call esi
push eax
push str.g_bType2_LogStopDesable___d
push 3
mov dword [0x1001afa8], eax
call fcn.100026c0
push str.call_LoadTimeParam__
push 3
call fcn.100026c0
call fcn.10001330
push str.call_LoadBaseDll__
push 3
call fcn.100026c0
call fcn.10001650
mov esi, eax
push esi
push str.bRet___d____LoadBaseDll__
push 3
call fcn.100026c0
push esi
push str.___DllMain___DLL_PROCESS_ATTACH_return___d_
push 3
call fcn.100026c0
add esp, 0x34
test esi, esi
jne 0x1000214b
push 0x1001a348
push str._DLL_____s____load_fail
push 3
call fcn.100026c0
add esp, 0xc
call fcn.100021d0
pop edi
mov eax, esi
pop esi
ret 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push str._vvv__DllMain__0x_08X__DLL_THREAD_ATTACH__0x_08X____
push 3
call fcn.100026c0
add esp, 0x10
push 0x1001aba4
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edx, dword [0x1001aba4]
push edx
push str.g_iThreadCount___d
push 3
call fcn.100026c0
push 1
push str.___DllMain___DLL_THREAD_ATTACH_return___d_
push 3
call fcn.100026c0
add esp, 0x18
pop edi
mov eax, esi
pop esi
ret 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push str._vvv__DllMain__0x_08X__DLL_THREAD_DETACH__0x_08X____
push 3
call fcn.100026c0
add esp, 0x10
push 0x1001aba4
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov edx, dword [0x1001aba4]
push edx
push str.g_iThreadCount___d
push 3
mov edi, eax
call fcn.100026c0
push edi
push str.iThCnt___d
push 3
call fcn.100026c0
push 1
push str.___DllMain___DLL_THREAD_DETACH_return___d_
push 3
call fcn.100026c0
add esp, 0x24
pop edi
mov eax, esi
pop esi
ret 0xc
cmp dword [0x1001afa8], 0
je 0x100020c0
cmp dword [0x1001aa9c], 2
jne 0x100020c0
mov dword [0x1001aa9c], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push str._vvv__DllMain__0x_08X__DLL_PROCESS_DETACH__0x_08X____
push 3
call fcn.100026c0
push str.call_FreeBaseDll__
push 3
call fcn.100026c0
call fcn.100011e0
push eax
push str.bRet___d____FreeBaseDll__
push 3
call fcn.100026c0
push 1
push str.___DllMain___DLL_PROCESS_DETACH_return___d_
push 3
call fcn.100026c0
push 0x1001a348
push str._DLL_____s____unload
push 3
call fcn.100026c0
add esp, 0x3c
call fcn.100021d0
pop edi
mov eax, esi
pop esi
ret 0xc
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
push edx
push edi
push eax
push str._vvv__DllMain__0x_08X__fdwReason0x_08X__0x_08X____
push 3
call fcn.100026c0
push 1
push edi
push str.___DllMain___fdwReason0x_08X_return___d_
push 3
call fcn.100026c0
add esp, 0x24
pop edi
mov eax, esi
pop esi
ret 0xc