Function at 0x40b840
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 esi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0xc
push 1
push 0xffffffffffffffff
push 0x100c
push 0x800f
push 0x800e
push dword [0x433624]
call esi
push eax
call esi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call edi
cmp eax, 0xffffffff
jne 0x40b99d
push 0x1000a
call fcn.00412ac8
mov esi, eax
add esp, 4
test esi, esi
jne 0x40b907
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 0x40b963
push esi
push str.DelShieldApplication
push 1
mov edx, 0x3cb
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], 1
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 esi
push eax
call esi
push eax
call edi
cmp dword [0x434888], 0
je 0x40baea
cmp word [esp + 0x40], 0
je 0x40baea
push 1
lea eax, [esp + 0x44]
push eax
push dword [0x42f1b4]
call dword [sym.imp.mbae_api.dll__MbaeDelShieldApplication_12]
mov edi, eax
test edi, edi
je 0x40baea
push 0x1000a
call fcn.00412ac8
mov esi, eax
add esp, 4
test esi, esi
jne 0x40ba5b
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 0x40bab3
push esi
push str.DelShieldApplication
push 1
mov edx, 0x3db
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