Function at 0x403e60
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
cmp dword [0x433618], 0
push esi
push edi
je 0x404076
call fcn.004045c0
mov edi, eax
test edi, edi
je 0x403f2a
push 0x1000a
call fcn.00412ac8
mov esi, eax
add esp, 4
test esi, esi
jne 0x403eb7
push str.Memory_allocation_error_in_log_file_n
call fcn.00412f3c
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x403f01
push esi
push str.SaveSettingsFromTabs
push 1
mov edx, 0x105
mov byte [esi + 0xffff], 0
mov ecx, str...GuiSettings.cpp
call fcn.00401280
add esp, 0x10
push esi
call fcn.00412a90
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.Error__d_in_swprintf_s_n
call fcn.00412f3c
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.00412a90
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00404a80
mov edi, eax
test edi, edi
je 0x403f96
push 0x1000a
call fcn.00412ac8
mov esi, eax
add esp, 4
test esi, esi
je 0x403e97
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x403f01
push esi
push str.SaveSettingsFromTabs
push 1
mov edx, 0x109
mov byte [esi + 0xffff], 0
mov ecx, str...GuiSettings.cpp
call fcn.00401280
add esp, 0x10
push esi
call fcn.00412a90
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00404f40
mov edi, eax
test edi, edi
je 0x404006
push 0x1000a
call fcn.00412ac8
mov esi, eax
add esp, 4
test esi, esi
je 0x403e97
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x403f01
push esi
push str.SaveSettingsFromTabs
push 1
mov edx, 0x10d
mov byte [esi + 0xffff], 0
mov ecx, str...GuiSettings.cpp
call fcn.00401280
add esp, 0x10
push esi
call fcn.00412a90
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00405170
mov edi, eax
test edi, edi
je 0x404076
push 0x1000a
call fcn.00412ac8
mov esi, eax
add esp, 4
test esi, esi
je 0x403e97
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x403f01
push esi
push str.SaveSettingsFromTabs
push 1
mov edx, 0x111
mov byte [esi + 0xffff], 0
mov ecx, str...GuiSettings.cpp
call fcn.00401280
add esp, 0x10
push esi
call fcn.00412a90
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0040d9a0
mov edi, eax
test edi, edi
je 0x4040e6
push 0x1000a
call fcn.00412ac8
mov esi, eax
add esp, 4
test esi, esi
je 0x403e97
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x403f01
push esi
push str.SaveSettingsFromTabs
push 1
mov edx, 0x116
mov byte [esi + 0xffff], 0
mov ecx, str...GuiSettings.cpp
call fcn.00401280
add esp, 0x10
push esi
call fcn.00412a90
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x42f3d8
push dword [0x42f1b4]
call dword [sym.imp.mbae_api.dll__MbaeSetMbaeConfig_8]
mov edi, eax
test edi, edi
je 0x404162
push 0x1000a
call fcn.00412ac8
mov esi, eax
add esp, 4
test esi, esi
je 0x403e97
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x403f01
push esi
push str.SaveSettingsFromTabs
push 1
mov edx, 0x11a
mov byte [esi + 0xffff], 0
mov ecx, str...GuiSettings.cpp
call fcn.00401280
add esp, 0x10
push esi
call fcn.00412a90
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret