Function at 0x10035040
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10090d68
push 0x1005aa50
mov eax, dword fs:[0]
push eax
sub esp, 0x14
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 dword [ebp - 0x24], edx
mov edi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [eax + 0x1e]
mov dword [ebp - 0x20], 0
push 0x1000a
call fcn.1005218a
mov dword [ebp - 0x1c], eax
push 0x2000a
call fcn.1005218a
add esp, 8
mov esi, eax
cmp dword [ebp - 0x1c], 0
je 0x1003514e
test esi, esi
je 0x1003514e
push 0x1008aacc
push 0xffff
push esi
call fcn.1005211a
add esp, 0xc
test eax, eax
jle 0x10035139
xor eax, eax
mov word [esi + 0x1fffe], ax
push 0xfffffffffffffffe
push esi
call fcn.10051b84
push 0xffffffffffffffff
push esi
inc eax
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push eax
call fcn.10052d14
add esp, 0x1c
test eax, eax
je 0x1003511a
push ebx
push esi
push str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.10052604
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ebx
push dword [ebp - 0x1c]
push str.SetDefaultConfig
push 4
mov edx, 0x1f
mov ecx, str...StandAloneSvcProtection.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10035166
push ebx
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
jmp 0x10035160
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 eax, dword [ebp - 0x1c]
test eax, eax
je 0x10035176
push eax
call fcn.10052152
add esp, 4
test esi, esi
je 0x10035183
push esi
call fcn.10052152
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1003519c
push 0x208
push 0
lea eax, [edi + 0x54]
push eax
call fcn.10055aa0
jmp 0x100351c0
lea esi, [edi + 0x20]
push 0x4238
push 0
push esi
call fcn.10055aa0
mov dword [esi], 1
mov dword [edi + 0x24], 1
mov dword [edi + 0x28], 1
add esp, 0xc
push 0x128
push 0xff
lea eax, [edi + 0x134]
push eax
call fcn.10055aa0
add esp, 0xc
mov dword [edi + 0x54], 0x24b
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0x41
mov dword [edi + 0x60], 0x42
mov dword [edi + 0x64], 0x43
mov dword [edi + 0x68], 0x41
mov dword [edi + 0x6c], 0x41
mov dword [edi + 0x70], 0
mov dword [edi + 0x88], 0x24f
mov dword [edi + 0x8c], 0x24f
mov dword [edi + 0x90], 0x35f
mov dword [edi + 0x94], 0x35f
mov dword [edi + 0xa0], 0x35f
mov dword [edi + 0xa4], 0
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xcc], 0x35f
mov dword [edi + 0xf0], 0x24f
mov dword [edi + 0xf4], 0xff7f
mov dword [edi + 0xf8], 0xffff
mov dword [edi + 0xfc], 0x41
mov dword [edi + 0x100], 0
mov dword [edi + 0x118], 2
mov dword [edi + 0x120], 2
mov dword [edi + 0xd0], 2
mov dword [edi + 0xd4], 2
mov dword [edi + 0xd8], 2
mov dword [edi + 0x12c], 2
mov dword [edi + 0xdc], 2
mov dword [edi + 0xe0], 2
mov dword [edi + 0x124], 2
mov dword [edi + 0x130], 1
mov dword [edi + 0x104], 0
mov dword [edi + 0x10c], 0
mov dword [edi + 0x110], 1
mov dword [edi + 0x11c], 0
mov dword [edi + 0x114], 0
mov dword [edi + 0x108], 1
test ebx, ebx
jne 0x10035373
mov dword [edi + 0x3c], 1
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], 1
mov dword [edi + 0x4c], 1
mov dword [edi + 0x50], 1
mov dword [edi + 0x128], ebx
mov dword [ebp - 4], 0
call fcn.1003539a
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