Function at 0x40a540
Capabilities:
Print debug messages

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0
push dword [0x433610]
push 0x8010
push 0x800e
push dword [0x433624]
call esi
mov edi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
push 0x19
push 0x6e
push 0
push 0
push 0x54010000
push str.Activate
push str.Button
push 0
call edi
test eax, eax
jne 0x40a63f
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 0x40a5ce
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
ret
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x40a617
push esi
push str.CreateTabProtections
push 1
mov edx, 0x264
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
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
ret
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [0x42f3d4]
push 0x30
push eax
call ebx
push 0
push dword [0x433610]
push 0x8011
push 0x800e
push dword [0x433624]
call esi
push eax
push 0x19
push 0x6e
push 0
push 0x78
push 0x54010000
push str.Edit_Shield
push str.Button
push 0
call edi
test eax, eax
jne 0x40a6ff
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 0x40a5af
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x40a617
push esi
push str.CreateTabProtections
push 1
mov edx, 0x26e
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
ret
push 0
push dword [0x42f3d4]
push 0x30
push eax
call ebx
push 0
push dword [0x433610]
push 0x8012
push 0x800e
push dword [0x433624]
call esi
push eax
push 0x19
push 0x6e
push 0
push 0xf0
push 0x54010000
push str.Add_Shield
push str.Button
push 0
call edi
test eax, eax
jne 0x40a7bc
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 0x40a5af
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x40a617
push esi
push str.CreateTabProtections
push 1
mov edx, 0x278
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
ret
push 0
push dword [0x42f3d4]
push 0x30
push eax
call ebx
push 0
push dword [0x433610]
push 0x8013
push 0x800e
push dword [0x433624]
call esi
push eax
push 0x19
push 0x6e
push 0
push 0x168
push 0x54010000
push str.Remove_Shield
push str.Button
push 0
call edi
test eax, eax
jne 0x40a879
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 0x40a5af
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x40a617
push esi
push str.CreateTabProtections
push 1
mov edx, 0x282
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
ret
push 0
push dword [0x42f3d4]
push 0x30
push eax
call ebx
push 0
push 0x8010
push 0x800e
push dword [0x433624]
call esi
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0x8011
push 0x800e
push dword [0x433624]
call esi
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0x8013
push 0x800e
push dword [0x433624]
call esi
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [0x434888], 0
jne 0x40a907
push 0
push 0x8012
push 0x800e
push dword [0x433624]
call esi
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [0x433610]
push 0x800f
push 0x800e
push dword [0x433624]
call esi
push eax
push 0x104
push 0x1d6
push 0x1e
push 0
push 0x54010005
push 0x4283d8
push str.SysListView32
push 0
call edi
mov esi, eax
mov ecx, esi
call fcn.0040a420
call fcn.0040a490
push 0x20
push 0
push 0x1036
push esi
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
ret