Function at 0x419d90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427998
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x433018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0041af90
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x419dd9
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x419dfd
cmp dword [ebp - 0x18], edi
jb 0x419df6
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 0x41a30e
push 0xf
mov eax, str.LogSetting.ini
lea ecx, [ebp - 0x2c]
call fcn.00401990
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 [0x435e30]
cmp eax, esi
je 0x419e69
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.00418440
push esi
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x48]
call fcn.004188a0
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [ebp - 0x50], edi
jb 0x419e69
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x68], esi
cmp dword [ebp - 0x38], esi
je 0x41a067
mov ecx, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x419e8b
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x419e96
lea eax, [ebp - 0x48]
push ecx
push 0xffffffffffffffff
push str.LogLevel
push eax
call ebx
mov ecx, dword [ebp - 0x2c]
mov dword [0x435dc0], eax
cmp dword [ebp - 0x18], esi
jae 0x419eb1
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x419ebc
lea eax, [ebp - 0x48]
push ecx
push 0xffffffffffffffff
push str.ThreadSafeMode
push eax
call ebx
mov ecx, dword [ebp - 0x2c]
mov dword [0x435ddc], eax
cmp dword [ebp - 0x18], esi
jae 0x419ed7
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x419ee2
lea eax, [ebp - 0x48]
push ecx
push 0xffffffffffffffff
push str.DumpJson
push eax
call ebx
mov ecx, dword [ebp - 0x2c]
mov dword [0x435de0], eax
cmp dword [ebp - 0x18], esi
jae 0x419efd
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x419f08
lea eax, [ebp - 0x48]
push ecx
push 0xffffffffffffffff
push str.DumpImage
push eax
call ebx
mov ecx, dword [ebp - 0x2c]
mov dword [0x435de4], eax
cmp dword [ebp - 0x18], esi
jae 0x419f23
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x419f2e
lea eax, [ebp - 0x48]
push ecx
push 0xffffffffffffffff
push str.ModuleIsoration
push eax
call ebx
mov ecx, dword [ebp - 0x2c]
mov dword [0x435de8], eax
cmp dword [ebp - 0x18], esi
jae 0x419f49
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x419f54
lea eax, [ebp - 0x48]
push ecx
push 0xffffffffffffffff
push str.ModuleSubDir
push eax
call ebx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x18], esi
jae 0x419f6d
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x419f78
lea eax, [ebp - 0x48]
push ecx
push 0xffffffffffffffff
push str.DisableTimestampPrefix
push eax
call ebx
mov ecx, dword [ebp - 0x2c]
mov dword [0x435e24], eax
cmp dword [ebp - 0x18], esi
jae 0x419f93
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x419f9e
lea eax, [ebp - 0x48]
push ecx
push 0xffffffffffffffff
push str.DumpCommand
push eax
call ebx
sub esp, 0x1c
mov esi, esp
mov dword [0x435e28], 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.00401ac0
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.00401800
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.00401800
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.00419bf0
add esp, 0x54
mov edi, eax
mov esi, 0x435e08
mov byte [ebp - 4], 5
call fcn.00401790
mov byte [ebp - 4], 1
cmp dword [ebp - 0x50], 8
jb 0x41a056
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 0x41a067
or esi, 0xffffffff
cmp dword [0x435dc0], esi
jne 0x41a090
mov eax, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x41a077
lea eax, [ebp - 0x2c]
push eax
push 6
push str.LogLevel
push str.Setting
call ebx
mov dword [0x435dc0], eax
or esi, 0xffffffff
jmp 0x41a095
mov edi, 8
cmp dword [ebp - 0x38], 0
je 0x41a0a3
cmp dword [0x435ddc], esi
jne 0x41a0c2
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x41a0ae
lea eax, [ebp - 0x2c]
push eax
push 0
push str.ThreadSafeMode
push str.Setting
call ebx
mov dword [0x435ddc], eax
cmp dword [ebp - 0x38], 0
je 0x41a0d0
cmp dword [0x435de0], esi
jne 0x41a0ef
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x41a0db
lea eax, [ebp - 0x2c]
push eax
push 0
push str.DumpJson
push str.Setting
call ebx
mov dword [0x435de0], eax
cmp dword [ebp - 0x38], 0
je 0x41a0fd
cmp dword [0x435de4], esi
jne 0x41a11c
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x41a108
lea eax, [ebp - 0x2c]
push eax
push 0
push str.DumpImage
push str.Setting
call ebx
mov dword [0x435de4], eax
cmp dword [ebp - 0x38], 0
je 0x41a12a
cmp dword [0x435de8], esi
jne 0x41a149
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x41a135
lea eax, [ebp - 0x2c]
push eax
push 0
push str.ModuleIsoration
push str.Setting
call ebx
mov dword [0x435de8], eax
cmp dword [ebp - 0x38], 0
je 0x41a156
mov eax, dword [ebp - 0x68]
cmp eax, esi
jne 0x41a170
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x41a161
lea eax, [ebp - 0x2c]
push eax
push 0
push str.ModuleSubDir
push str.Setting
call ebx
cmp eax, 1
jne 0x41a18f
cmp dword [0x435de8], eax
jne 0x41a18f
push 0
lea edx, [ebp - 0x48]
push edx
mov eax, esi
mov ecx, 0x435dec
call fcn.00401800
cmp dword [ebp - 0x38], 0
je 0x41a19d
cmp dword [0x435e24], esi
jne 0x41a1bc
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x41a1a8
lea eax, [ebp - 0x2c]
push eax
push 0
push str.DisableTimestampPrefix
push str.Setting
call ebx
mov dword [0x435e24], eax
cmp dword [ebp - 0x38], 0
je 0x41a1ca
cmp dword [0x435e28], esi
jne 0x41a1e9
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x41a1d5
lea eax, [ebp - 0x2c]
push eax
push 0
push str.DumpCommand
push str.Setting
call ebx
mov dword [0x435e28], eax
cmp dword [ebp - 0x38], 0
je 0x41a1fc
cmp dword [0x435e18], 0
jne 0x41a2a7
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.00401ac0
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.00401ac0
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.00401800
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.00419bf0
add esp, 0x54
mov edi, eax
mov esi, 0x435e08
mov byte [ebp - 4], 8
call fcn.00401790
cmp dword [ebp - 0x50], 8
jb 0x41a2a2
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, 8
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x41a2b2
lea eax, [ebp - 0x2c]
push eax
push 0
push str.DumpTwain
push str.Setting
call ebx
xor edx, edx
cmp dword [0x435dc0], 6
mov dword [0x435e2c], eax
setne dl
mov esi, edx
cmp dword [ebp - 0x34], edi
jb 0x41a2e6
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 - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], edi
jb 0x41a30c
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
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00424ffa
mov esp, ebp
pop ebp
ret