Function at 0x4052d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x42b7d8
push 0x4179a0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [section..data]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 4], 1
call fcn.00405e10
mov esi, eax
test esi, esi
je 0x4053f0
cmp esi, 9
je 0x4053f0
cmp esi, 6
je 0x4053f0
push 0x1000a
call fcn.00412ac8
add esp, 4
mov edi, eax
test edi, edi
jne 0x40536d
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]
jmp 0x4053c9
push 0x4283c8
push 0xffff
push edi
call fcn.00412a74
add esp, 0xc
push esi
test eax, eax
jle 0x4053a8
mov byte [edi + 0xffff], 0
push edi
push str.StartMbae
push 1
mov edx, 0x30
mov ecx, str...MbaeGui.cpp
call fcn.00401280
add esp, 0x10
jmp 0x4053c0
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 edi
call fcn.00412a90
add esp, 4
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push section..data
call fcn.0041dd90
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 3
push 0x42f1b4
push 0
call dword [sym.imp.mbae_api.dll__MbaeCreateSession_12]
mov edi, eax
test edi, edi
je 0x4054b9
push 0x1000a
call fcn.00412ac8
add esp, 4
mov esi, eax
test esi, esi
jne 0x405436
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]
jmp 0x405492
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x405471
mov byte [esi + 0xffff], 0
push esi
push str.StartMbae
push 1
mov edx, 0x34
mov ecx, str...MbaeGui.cpp
call fcn.00401280
add esp, 0x10
jmp 0x405489
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
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push section..data
call fcn.0041dd90
add esp, 0xc
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [0x42f1b4]
call dword [sym.imp.mbae_api.dll__MbaeLoadReports_12]
mov edi, eax
test edi, edi
je 0x40552c
push 0x1000a
call fcn.00412ac8
add esp, 4
mov esi, eax
test esi, esi
je 0x40541c
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x405471
mov byte [esi + 0xffff], 0
push esi
push str.StartMbae
push 1
mov edx, 0x39
mov ecx, str...MbaeGui.cpp
call fcn.00401280
add esp, 0x10
jmp 0x405489
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jle 0x4055de
mov edx, dword [0x42f3c0]
lea eax, [edx + ecx]
cmp dword [0x42f3c8], eax
jg 0x4055b5
call fcn.0040e310
mov edi, eax
test edi, edi
je 0x4055ac
push 0x1000a
call fcn.00412ac8
add esp, 4
mov esi, eax
test esi, esi
je 0x40541c
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x405471
mov byte [esi + 0xffff], 0
push esi
push str.StartMbae
push 1
mov edx, 0x42
mov ecx, str...MbaeGui.cpp
call fcn.00401280
add esp, 0x10
jmp 0x405489
mov ecx, dword [ebp - 0x1c]
mov edx, dword [0x42f3c0]
imul eax, ecx, 0x1908
push eax
push dword [ebp - 0x20]
push eax
imul eax, edx, 0x1908
add eax, dword [0x42f3c4]
push eax
call fcn.00413f72
add esp, 0x10
mov eax, dword [ebp - 0x1c]
add dword [0x42f3c0], eax
push 0x433830
push 0x433838
push dword [0x42f1b4]
call dword [sym.imp.mbae_api.dll__MbaeLoadProtectedApplications_12]
mov edi, eax
test edi, edi
je 0x405653
push 0x1000a
call fcn.00412ac8
add esp, 4
mov esi, eax
test esi, esi
je 0x40541c
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x405471
mov byte [esi + 0xffff], 0
push esi
push str.StartMbae
push 1
mov edx, 0x4d
mov ecx, str...MbaeGui.cpp
call fcn.00401280
add esp, 0x10
jmp 0x405489
push 0x43383c
push 0x433844
push dword [0x42f1b4]
call dword [sym.imp.mbae_api.dll__MbaeLoadExclusions_12]
mov edi, eax
test edi, edi
je 0x4056c8
push 0x1000a
call fcn.00412ac8
add esp, 4
mov esi, eax
test esi, esi
je 0x40541c
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x405471
mov byte [esi + 0xffff], 0
push esi
push str.StartMbae
push 1
mov edx, 0x52
mov ecx, str...MbaeGui.cpp
call fcn.00401280
add esp, 0x10
jmp 0x405489
push dword [0x42f1b4]
call dword [sym.imp.mbae_api.dll__MbaeStartNotifications_4]
mov edi, eax
test edi, edi
je 0x405733
push 0x1000a
call fcn.00412ac8
add esp, 4
mov esi, eax
test esi, esi
je 0x40541c
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x405471
mov byte [esi + 0xffff], 0
push esi
push str.StartMbae
push 1
mov edx, 0x56
mov ecx, str...MbaeGui.cpp
call fcn.00401280
add esp, 0x10
jmp 0x405489
push 0x406a60
push 1
push dword [0x42f1b4]
mov esi, dword [sym.imp.mbae_api.dll__MbaeSetCallback_12]
call esi
mov edi, eax
test edi, edi
je 0x4057a7
push 0x1000a
call fcn.00412ac8
add esp, 4
mov esi, eax
test esi, esi
je 0x40541c
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x405471
mov byte [esi + 0xffff], 0
push esi
push str.StartMbae
push 1
mov edx, 0x5a
mov ecx, str...MbaeGui.cpp
call fcn.00401280
add esp, 0x10
jmp 0x405489
push 0x406e00
push 2
push dword [0x42f1b4]
call esi
mov edi, eax
test edi, edi
je 0x405815
push 0x1000a
call fcn.00412ac8
add esp, 4
mov esi, eax
test esi, esi
je 0x40541c
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x405471
mov byte [esi + 0xffff], 0
push esi
push str.StartMbae
push 1
mov edx, 0x5e
mov ecx, str...MbaeGui.cpp
call fcn.00401280
add esp, 0x10
jmp 0x405489
push 0x407140
push 3
push dword [0x42f1b4]
call esi
mov edi, eax
test edi, edi
je 0x405883
push 0x1000a
call fcn.00412ac8
add esp, 4
mov esi, eax
test esi, esi
je 0x40541c
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x405471
mov byte [esi + 0xffff], 0
push esi
push str.StartMbae
push 1
mov edx, 0x62
mov ecx, str...MbaeGui.cpp
call fcn.00401280
add esp, 0x10
jmp 0x405489
push 0x407360
push 4
push dword [0x42f1b4]
call esi
mov edi, eax
test edi, edi
je 0x4058f1
push 0x1000a
call fcn.00412ac8
add esp, 4
mov esi, eax
test esi, esi
je 0x40541c
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x405471
mov byte [esi + 0xffff], 0
push esi
push str.StartMbae
push 1
mov edx, 0x66
mov ecx, str...MbaeGui.cpp
call fcn.00401280
add esp, 0x10
jmp 0x405489
push 0x407610
push 5
push dword [0x42f1b4]
call esi
mov edi, eax
test edi, edi
je 0x40595f
push 0x1000a
call fcn.00412ac8
add esp, 4
mov esi, eax
test esi, esi
je 0x40541c
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x405471
mov byte [esi + 0xffff], 0
push esi
push str.StartMbae
push 1
mov edx, 0x6a
mov ecx, str...MbaeGui.cpp
call fcn.00401280
add esp, 0x10
jmp 0x405489
push 0x407980
push 6
push dword [0x42f1b4]
call esi
mov edi, eax
test edi, edi
je 0x4059cd
push 0x1000a
call fcn.00412ac8
add esp, 4
mov esi, eax
test esi, esi
je 0x40541c
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x405471
mov byte [esi + 0xffff], 0
push esi
push str.StartMbae
push 1
mov edx, 0x6e
mov ecx, str...MbaeGui.cpp
call fcn.00401280
add esp, 0x10
jmp 0x405489
push 0x407cf0
push 7
push dword [0x42f1b4]
call esi
mov edi, eax
test edi, edi
je 0x405a3b
push 0x1000a
call fcn.00412ac8
add esp, 4
mov esi, eax
test esi, esi
je 0x40541c
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x405471
mov byte [esi + 0xffff], 0
push esi
push str.StartMbae
push 1
mov edx, 0x72
mov ecx, str...MbaeGui.cpp
call fcn.00401280
add esp, 0x10
jmp 0x405489
push 0x408020
push 8
push dword [0x42f1b4]
call esi
mov edi, eax
test edi, edi
je 0x405aa9
push 0x1000a
call fcn.00412ac8
add esp, 4
mov esi, eax
test esi, esi
je 0x40541c
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x405471
mov byte [esi + 0xffff], 0
push esi
push str.StartMbae
push 1
mov edx, 0x76
mov ecx, str...MbaeGui.cpp
call fcn.00401280
add esp, 0x10
jmp 0x405489
mov dword [ebp - 4], 0
call fcn.00405ad0
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret