Function at 0x41dae0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43bbc8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x44e018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0041f1c0
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x41db28
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x41db4c
cmp dword [ebp - 0x18], edi
jb 0x41db45
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
jmp 0x41e083
push 0xf
mov eax, str.LogSetting.ini
lea ecx, [ebp - 0x2c]
call fcn.0040d100
mov ecx, 7
xor edx, edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], dx
mov byte [ebp - 4], 1
mov eax, dword [ebx + 0x94]
cmp eax, esi
je 0x41dbb9
mov dword [ebp - 0x50], ecx
xor ecx, ecx
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], cx
lea edx, [ebp - 0x64]
push edx
push eax
mov byte [ebp - 4], 2
call fcn.00437c80
push esi
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x48]
call fcn.00438000
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [ebp - 0x50], edi
jb 0x41dbb9
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x68], esi
cmp dword [ebp - 0x38], esi
je 0x41ddae
mov ecx, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x41dbd5
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41dbe0
lea eax, [ebp - 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push 0xffffffffffffffff
push str.LogLevel
push eax
call esi
mov ecx, dword [ebp - 0x2c]
mov dword [ebx + 0x20], eax
cmp dword [ebp - 0x18], edi
jae 0x41dbff
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41dc0a
lea eax, [ebp - 0x48]
push ecx
push 0xffffffffffffffff
push str.ThreadSafeMode
push eax
call esi
mov ecx, dword [ebp - 0x2c]
mov dword [ebx + 0x3c], eax
cmp dword [ebp - 0x18], edi
jae 0x41dc23
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41dc2e
lea eax, [ebp - 0x48]
push ecx
push 0xffffffffffffffff
push str.DumpJson
push eax
call esi
mov ecx, dword [ebp - 0x2c]
mov dword [ebx + 0x40], eax
cmp dword [ebp - 0x18], edi
jae 0x41dc47
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41dc52
lea eax, [ebp - 0x48]
push ecx
push 0xffffffffffffffff
push str.DumpImage
push eax
call esi
mov ecx, dword [ebp - 0x2c]
mov dword [ebx + 0x44], eax
cmp dword [ebp - 0x18], edi
jae 0x41dc6b
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41dc76
lea eax, [ebp - 0x48]
push ecx
push 0xffffffffffffffff
push str.ModuleIsoration
push eax
call esi
mov ecx, dword [ebp - 0x2c]
mov dword [ebx + 0x48], eax
cmp dword [ebp - 0x18], edi
jae 0x41dc8f
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41dc9a
lea eax, [ebp - 0x48]
push ecx
push 0xffffffffffffffff
push str.ModuleSubDir
push eax
call esi
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x18], edi
jae 0x41dcb3
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41dcbe
lea eax, [ebp - 0x48]
push ecx
push 0xffffffffffffffff
push str.DisableTimestampPrefix
push eax
call esi
mov ecx, dword [ebp - 0x2c]
mov dword [ebx + 0x84], eax
cmp dword [ebp - 0x18], edi
jae 0x41dcda
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41dce5
lea eax, [ebp - 0x48]
push ecx
push 0xffffffffffffffff
push str.DumpCommand
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
sub esp, 0x1c
mov esi, esp
mov dword [ebx + 0x88], eax
mov dword [ebp - 0x70], esp
xor edi, edi
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
push 8
mov eax, str.ResetLog
mov word [esi], cx
call fcn.00404c70
sub esp, 0x1c
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x74], esp
push edi
lea eax, [ebp - 0x48]
mov esi, 7
xor edx, edx
push eax
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], edi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00405500
sub esp, 0x1c
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x6c], esp
push edi
lea eax, [ebp - 0x2c]
xor edx, edx
push eax
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], edi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00405500
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.0041d930
add esp, 0x54
lea esi, [ebx + 0x68]
mov edi, eax
mov byte [ebp - 4], 5
call fcn.0040b7c0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x50], 8
jb 0x41dda0
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x38], 0
je 0x41ddae
or edi, 0xffffffff
cmp dword [ebx + 0x20], edi
jne 0x41ddd7
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41ddba
lea eax, [ebp - 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 6
push str.LogLevel
push str.Setting
call esi
mov dword [ebx + 0x20], eax
or edi, 0xffffffff
jmp 0x41dddd
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [ebp - 0x38], 0
je 0x41dde8
cmp dword [ebx + 0x3c], edi
jne 0x41de06
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41ddf4
lea eax, [ebp - 0x2c]
push eax
push 0
push str.ThreadSafeMode
push str.Setting
call esi
mov dword [ebx + 0x3c], eax
cmp dword [ebp - 0x38], 0
je 0x41de11
cmp dword [ebx + 0x40], edi
jne 0x41de2f
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41de1d
lea eax, [ebp - 0x2c]
push eax
push 0
push str.DumpJson
push str.Setting
call esi
mov dword [ebx + 0x40], eax
cmp dword [ebp - 0x38], 0
je 0x41de3a
cmp dword [ebx + 0x44], edi
jne 0x41de58
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41de46
lea eax, [ebp - 0x2c]
push eax
push 0
push str.DumpImage
push str.Setting
call esi
mov dword [ebx + 0x44], eax
cmp dword [ebp - 0x38], 0
je 0x41de63
cmp dword [ebx + 0x48], edi
jne 0x41de81
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41de6f
lea eax, [ebp - 0x2c]
push eax
push 0
push str.ModuleIsoration
push str.Setting
call esi
mov dword [ebx + 0x48], eax
cmp dword [ebp - 0x38], 0
je 0x41de8e
mov eax, dword [ebp - 0x68]
cmp eax, edi
jne 0x41dea9
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41de9a
lea eax, [ebp - 0x2c]
push eax
push 0
push str.ModuleSubDir
push str.Setting
call esi
cmp eax, 1
jne 0x41dec3
cmp dword [ebx + 0x48], eax
jne 0x41dec3
push 0
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebx + 0x4c]
mov eax, edi
call fcn.00405500
cmp dword [ebp - 0x38], 0
je 0x41ded1
cmp dword [ebx + 0x84], edi
jne 0x41def2
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41dedd
lea eax, [ebp - 0x2c]
push eax
push 0
push str.DisableTimestampPrefix
push str.Setting
call esi
mov dword [ebx + 0x84], eax
cmp dword [ebp - 0x38], 0
je 0x41df00
cmp dword [ebx + 0x88], edi
jne 0x41df21
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41df0c
lea eax, [ebp - 0x2c]
push eax
push 0
push str.DumpCommand
push str.Setting
call esi
mov dword [ebx + 0x88], eax
cmp dword [ebp - 0x38], 0
je 0x41df31
cmp dword [ebx + 0x78], 0
jne 0x41dfdb
sub esp, 0x1c
mov esi, esp
xor eax, eax
xor edi, edi
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov dword [ebp - 0x6c], esp
mov word [esi], ax
push 8
mov eax, str.ResetLog
call fcn.00404c70
sub esp, 0x1c
mov byte [ebp - 4], 6
mov esi, esp
mov dword [ebp - 0x74], esp
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
push 7
mov eax, str.Setting
mov word [esi], cx
call fcn.00404c70
sub esp, 0x1c
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x70], esp
push edi
lea eax, [ebp - 0x2c]
xor edx, edx
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], edi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00405500
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.0041d930
add esp, 0x54
lea esi, [ebx + 0x68]
mov edi, eax
mov byte [ebp - 4], 8
call fcn.0040b7c0
cmp dword [ebp - 0x50], 8
jb 0x41dfd5
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov eax, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x41dfeb
lea eax, [ebp - 0x2c]
push eax
push 0
push str.DumpTwain
push str.Setting
call esi
mov dword [ebx + 0x8c], eax
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x41e00b
lea eax, [ebp - 0x2c]
push eax
push 0
push str.PerformanceCheck
push str.Setting
call esi
mov dword [ebx + 0x90], eax
test eax, eax
je 0x41e02b
mov dword [ebx + 0x20], 6
mov eax, dword [ebx + 0x20]
xor ecx, ecx
cmp eax, 6
jne 0x41e041
mov dword [ebx + 0x40], ecx
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x8c], ecx
xor edx, edx
cmp eax, 6
setne dl
mov esi, edx
cmp dword [ebp - 0x34], edi
jb 0x41e05f
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x38], ecx
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], edi
jb 0x41e081
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00438de6
mov esp, ebp
pop ebp
ret