Function at 0x40abd0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x248
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x244], eax
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [esp + 0x48], ax
lea eax, [esp + 0x4a]
push eax
call fcn.00419530
add esp, 0xc
mov dword [esp + 0xc], 0
lea eax, [esp + 0x10]
push 0x30
push 0
push eax
call fcn.00419530
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0xc
mov esi, 1
push esi
push 0xffffffffffffffff
push 0x100c
push 0x800f
push 0x800e
push dword [0x433624]
call edi
push eax
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x40ad2f
push 0x1000a
call fcn.00412ac8
mov esi, eax
add esp, 4
test esi, esi
jne 0x40ac99
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, [esi + 9]
pop edi
pop esi
mov ecx, dword [esp + 0x244]
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 9
test eax, eax
jle 0x40acf5
push esi
push str.ChangeApplicationShieldState
push 1
mov edx, 0x2fe
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, 9
pop edi
pop esi
mov ecx, dword [esp + 0x244]
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, 9
pop edi
pop esi
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.0041297c
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x40]
mov dword [esp + 0xc], 3
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0xc]
push ecx
push eax
push 0x104b
push 0x800f
push 0x800e
push dword [0x433624]
mov dword [esp + 0x3c], 0x104
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
call edi
push eax
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x40ad87
cmp eax, 1
jne 0x40ad89
xor esi, esi
cmp dword [0x434888], 0
je 0x40ae90
cmp word [esp + 0x40], 0
je 0x40ae90
push esi
push 1
lea eax, [esp + 0x48]
push eax
push dword [0x42f1b4]
call dword [sym.imp.mbae_api.dll__MbaeChangeApplicationShieldState_16]
mov edi, eax
test edi, edi
je 0x40ae90
push 0x1000a
call fcn.00412ac8
mov esi, eax
add esp, 4
test esi, esi
jne 0x40ae01
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 ecx, dword [esp + 0x244]
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 0x40ae59
push esi
push str.ChangeApplicationShieldState
push 1
mov edx, 0x311
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
mov ecx, dword [esp + 0x244]
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
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.0041297c
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x24c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0041297c
mov esp, ebp
pop ebp
ret