Function at 0x409130
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
push edi
push str.Arial
push 0
push 4
mov esi, dword [sym.imp.GDI32.dll_CreateFontW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0x10
call esi
push str.Arial
push 0
push 4
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0xe
mov dword [0x434880], eax
call esi
push str.Arial
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x384
push 0
push 0
push 0x10
mov dword [0x42f3d4], eax
call esi
push str.Arial
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x384
push 0
push 0
push 0x14
mov dword [0x43487c], eax
call esi
mov dword [0x434870], eax
call fcn.00408290
mov edi, eax
test edi, edi
je 0x4092ca
push 0x1000a
call fcn.00412ac8
mov esi, eax
add esp, 4
test esi, esi
jne 0x40923f
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 ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0041297c
mov esp, ebp
pop ebp
ret
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x409295
push esi
push str.CreateUIContent
push 1
mov edx, 0x133
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 ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0041297c
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
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0041297c
mov esp, ebp
pop ebp
ret
mov ebx, dword [0x43361c]
lea eax, [esp + 0xc]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
mov ecx, dword [esp + 0xc]
sub ecx, dword [esp + 0x14]
add eax, ecx
cdq
sub eax, edx
mov edi, eax
push 1
sar edi, 1
call esi
mov ecx, dword [esp + 0x10]
sub ecx, dword [esp + 0x18]
push 5
add eax, ecx
push 0
cdq
push 0
sub eax, edx
sar eax, 1
push eax
push edi
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [sym.imp.USER32.dll_CreateDialogParamW]
push 0
push 0x40fe30
push dword [0x43361c]
push 0x78
push dword [0x433610]
call esi
mov dword [0x43486c], eax
test eax, eax
jne 0x409421
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
push 0x1000a
lea edi, [eax + 0x1e]
call fcn.00412ac8
mov esi, eax
add esp, 4
test esi, esi
jne 0x409394
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]
lea eax, [ebx + 0x1e]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0041297c
mov esp, ebp
pop ebp
ret
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x4093eb
push esi
push str.CreateUIContent
push 1
mov edx, 0x13a
mov byte [esi + 0xffff], 0
mov ecx, str...GuiTab.cpp
call fcn.00401280
add esp, 0x10
push esi
call fcn.00412a90
add esp, 4
lea eax, [ebx + 0x1e]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0041297c
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
lea eax, [ebx + 0x1e]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0041297c
mov esp, ebp
pop ebp
ret
push 0
push 0x40fe30
push dword [0x43361c]
push 0x7e
push dword [0x433610]
call esi
mov dword [0x433620], eax
test eax, eax
jne 0x4094a9
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
push 0x1000a
lea edi, [eax + 0x1e]
call fcn.00412ac8
mov esi, eax
add esp, 4
test esi, esi
je 0x409367
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x4093eb
push esi
push str.CreateUIContent
push 1
mov edx, 0x13f
mov byte [esi + 0xffff], 0
mov ecx, str...GuiTab.cpp
call fcn.00401280
add esp, 0x10
jmp 0x409403
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push dword [0x434870]
push 0x30
push 0x259
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebx
push 0
push dword [0x434880]
push 0x30
push 0x25a
push dword [0x433620]
call edi
push eax
call ebx
push 0
push 0x40fe30
push dword [0x43361c]
push 0x79
push dword [0x433610]
call esi
mov dword [0x434874], eax
test eax, eax
jne 0x40956c
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
push 0x1000a
lea edi, [eax + 0x1e]
call fcn.00412ac8
mov esi, eax
add esp, 4
test esi, esi
je 0x409367
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x4093eb
push esi
push str.CreateUIContent
push 1
mov edx, 0x147
mov byte [esi + 0xffff], 0
mov ecx, str...GuiTab.cpp
call fcn.00401280
add esp, 0x10
jmp 0x409403
push 0
push 0x20
push 0xc5
push 0x3f1
push eax
call edi
push eax
call ebx
push 0
push 0x20
push 0xc5
push 0x3f2
push dword [0x434874]
call edi
push eax
call ebx
push 0
push 0x40fe30
push dword [0x43361c]
push 0x7a
push dword [0x433610]
call esi
mov dword [0x434884], eax
test eax, eax
jne 0x409621
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
push 0x1000a
lea edi, [eax + 0x1e]
call fcn.00412ac8
mov esi, eax
add esp, 4
test esi, esi
je 0x409367
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x4093eb
push esi
push str.CreateUIContent
push 1
mov edx, 0x150
mov byte [esi + 0xffff], 0
mov ecx, str...GuiTab.cpp
call fcn.00401280
add esp, 0x10
jmp 0x409403
mov esi, 0x4294a0
push dword [esi]
push 0
push 0x143
push 0x3f5
push eax
call edi
push eax
call ebx
add esi, 8
cmp esi, str.StartMbae
jge 0x40964c
mov eax, dword [0x434884]
jmp 0x409626
push 0
push 0
push 0x14e
push 0x3f5
push dword [0x434884]
call edi
push eax
call ebx
push 0
push 0xfa
push 0xc5
push 0x3f3
push dword [0x434884]
call edi
push eax
call ebx
push 0
push 0xfa
push 0xc5
push 0x3f4
push dword [0x434884]
call edi
push eax
call ebx
push 0
push 0x40fe30
push dword [0x43361c]
push 0x7c
push dword [0x433610]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov dword [0x434878], eax
test eax, eax
jne 0x409729
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
push 0x1000a
lea edi, [eax + 0x1e]
call fcn.00412ac8
mov esi, eax
add esp, 4
test esi, esi
je 0x409367
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x4093eb
push esi
push str.CreateUIContent
push 1
mov edx, 0x15e
mov byte [esi + 0xffff], 0
mov ecx, str...GuiTab.cpp
call fcn.00401280
add esp, 0x10
jmp 0x409403
mov ecx, dword [esp + 0x1c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041297c
mov esp, ebp
pop ebp
ret