Function at 0x10020bb0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10090448
push 0x1005aa50
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x1009cbc0]
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 edi, edx
mov dword [ebp - 0x2c], edi
mov ebx, ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x20], 0
xor esi, esi
mov dword [ebp - 4], esi
test ebx, ebx
je 0x10020fff
cmp dword [ebx], 0x1234abcd
jne 0x10020fff
mov dword [ebp - 4], 1
lea eax, [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, edi
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
mov edx, edi
mov ecx, ebx
call fcn.1001fa10
add esp, 8
test eax, eax
je 0x10020d1e
test esi, esi
jne 0x10020cf7
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x10020c70
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x10020ccd
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push 9
test eax, eax
jle 0x10020cac
mov byte [esi + 0xffff], 0
push esi
push str.DelShieldApplication
push 1
mov edx, 0x33c
mov ecx, str...StandAloneSvcClientIPC.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10020cc4
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
mov eax, 9
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
call fcn.10020ff0
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
inc esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x34], esi
mov edi, dword [ebp - 0x20]
imul ecx, edi, 0xa30
mov eax, dword [ebx + 0x426c]
add eax, ecx
mov ecx, dword [ebp + 0xc]
cmp dword [eax + 0x624], ecx
jae 0x10020df9
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x10020d72
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x10020dcf
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push 8
test eax, eax
jle 0x10020dae
mov byte [esi + 0xffff], 0
push esi
push str.DelShieldApplication
push 1
mov edx, 0x314
mov ecx, str...StandAloneSvcClientIPC.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10020dc6
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
mov eax, 8
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [eax + 0x61c], 0
je 0x10020f36
mov dword [eax + 0x61c], 0
push 0
mov edx, edi
mov ecx, ebx
call fcn.10037fd0
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10020ee3
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x10020e59
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edi, dword [ebp - 0x1c]
jmp 0x10020ebc
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
test eax, eax
jle 0x10020e97
mov byte [esi + 0xffff], 0
mov edi, dword [ebp - 0x1c]
push edi
push esi
push str.DelShieldApplication
push 1
mov edx, 0x31d
mov ecx, str...StandAloneSvcClientIPC.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10020eb3
mov edi, dword [ebp - 0x1c]
push edi
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
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, [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor esi, esi
mov dword [ebp - 0x24], esi
cmp esi, dword [ebx + 0x4270]
jge 0x10020f2c
lea ebx, [ebx]
imul ecx, esi, 0x62c
mov eax, dword [ebx + 0x4278]
cmp dword [eax + ecx + 0x624], 1
jne 0x10020f29
cmp dword [eax + ecx + 0x208], edi
jne 0x10020f29
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10020f00
inc esi
jmp 0x10020eef
lea eax, [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
dec dword [ebx + 0x4264]
mov ecx, dword [ebx + 0x4264]
cmp edi, ecx
jge 0x10020f63
mov eax, dword [ebx + 0x426c]
imul esi, ecx, 0xa30
add esi, eax
imul edi, edi, 0xa30
add edi, eax
mov ecx, 0x28c
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.1001b0a0
mov edi, eax
test edi, edi
je 0x10020fe2
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x10020fa0
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x10020ebc
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x10020e9b
mov byte [esi + 0xffff], 0
push esi
push str.DelShieldApplication
push 1
mov edx, 0x339
mov ecx, str...StandAloneSvcClientIPC.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10020eb3
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
jmp 0x10020c20
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x10021046
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xfffffffe
lea eax, [esi + 8]
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 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push 8
test eax, eax
jle 0x10021082
mov byte [esi + 0xffff], 0
push esi
push str.DelShieldApplication
push 1
mov edx, 0x305
mov ecx, str...StandAloneSvcClientIPC.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1002109a
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov eax, 8
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret