Function at 0x408290
Capabilities:
Print debug messages

Disassembly:
push ecx
push esi
push edi
call fcn.004085e0
mov edi, eax
test edi, edi
je 0x408342
push 0x1000a
call fcn.00412ac8
mov esi, eax
add esp, 4
test esi, esi
jne 0x4082d3
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
pop ecx
ret
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x40831b
push esi
push str.LoadMainTab
push 1
mov edx, 0x6c
mov byte [esi + 0xffff], 0
mov ecx, str...GuiTab.cpp
call fcn.00401280
add esp, 0x10
push esi
call fcn.00412a90
add esp, 4
mov eax, edi
pop edi
pop esi
pop ecx
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
pop ecx
ret
call fcn.00409c50
mov edi, eax
test edi, edi
je 0x4083ac
push 0x1000a
call fcn.00412ac8
mov esi, eax
add esp, 4
test esi, esi
je 0x4082b5
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x40831b
push esi
push str.LoadMainTab
push 1
mov edx, 0x70
mov byte [esi + 0xffff], 0
mov ecx, str...GuiTab.cpp
call fcn.00401280
add esp, 0x10
push esi
call fcn.00412a90
add esp, 4
mov eax, edi
pop edi
pop esi
pop ecx
ret
call fcn.0040a540
mov edi, eax
test edi, edi
je 0x40841a
push 0x1000a
call fcn.00412ac8
mov esi, eax
add esp, 4
test esi, esi
je 0x4082b5
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x40831b
push esi
push str.LoadMainTab
push 1
mov edx, 0x74
mov byte [esi + 0xffff], 0
mov ecx, str...GuiTab.cpp
call fcn.00401280
add esp, 0x10
push esi
call fcn.00412a90
add esp, 4
mov eax, edi
pop edi
pop esi
pop ecx
ret
call fcn.0040c8c0
mov edi, eax
test edi, edi
je 0x408488
push 0x1000a
call fcn.00412ac8
mov esi, eax
add esp, 4
test esi, esi
je 0x4082b5
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x40831b
push esi
push str.LoadMainTab
push 1
mov edx, 0x78
mov byte [esi + 0xffff], 0
mov ecx, str...GuiTab.cpp
call fcn.00401280
add esp, 0x10
push esi
call fcn.00412a90
add esp, 4
mov eax, edi
pop edi
pop esi
pop ecx
ret
call fcn.0040d2f0
mov edi, eax
test edi, edi
je 0x4084f6
push 0x1000a
call fcn.00412ac8
mov esi, eax
add esp, 4
test esi, esi
je 0x4082b5
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x40831b
push esi
push str.LoadMainTab
push 1
mov edx, 0x7c
mov byte [esi + 0xffff], 0
mov ecx, str...GuiTab.cpp
call fcn.00401280
add esp, 0x10
push esi
call fcn.00412a90
add esp, 4
mov eax, edi
pop edi
pop esi
pop ecx
ret
call fcn.0040d3b0
mov edi, eax
test edi, edi
je 0x408564
push 0x1000a
call fcn.00412ac8
mov esi, eax
add esp, 4
test esi, esi
je 0x4082b5
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x40831b
push esi
push str.LoadMainTab
push 1
mov edx, 0x80
mov byte [esi + 0xffff], 0
mov ecx, str...GuiTab.cpp
call fcn.00401280
add esp, 0x10
push esi
call fcn.00412a90
add esp, 4
mov eax, edi
pop edi
pop esi
pop ecx
ret
call fcn.0040da20
mov edi, eax
test edi, edi
je 0x4085d2
push 0x1000a
call fcn.00412ac8
mov esi, eax
add esp, 4
test esi, esi
je 0x4082b5
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x40831b
push esi
push str.LoadMainTab
push 1
mov edx, 0x85
mov byte [esi + 0xffff], 0
mov ecx, str...GuiTab.cpp
call fcn.00401280
add esp, 0x10
push esi
call fcn.00412a90
add esp, 4
mov eax, edi
pop edi
pop esi
pop ecx
ret
pop edi
xor eax, eax
pop esi
pop ecx
ret