Function at 0x10038520
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10090f28
push 0x1005aa50
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x1009cbc0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor eax, eax
mov word [ebp - 0x224], ax
push 0x206
push eax
lea eax, [ebp - 0x222]
push eax
call fcn.10055aa0
add esp, 0xc
mov byte [ebp - 0x225], 0
mov eax, dword [0x100e28bc]
test eax, eax
jle 0x10038592
dec eax
mov dword [0x100e28bc], eax
jmp 0x1003885e
mov dword [0x100e28bc], 0x5460
mov dword [ebp - 4], 0
mov eax, dword [0x100e2810]
add eax, 0x6290
push eax
push str._mbae.database.whitelist_
push str.exclusions.dat
lea edx, [ebp - 0x224]
lea ecx, [ebp - 0x225]
call fcn.10038880
add esp, 0xc
mov edi, eax
test edi, edi
je 0x10038679
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x1003860f
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
mov eax, edi
jmp 0x10038860
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x1003864a
mov byte [esi + 0xffff], 0
push esi
push str.GetExclusionFileUpdateSA
push 1
mov edx, 0x2c
mov ecx, str...StandAloneSvcSirius.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10038662
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, edi
jmp 0x10038860
cmp byte [ebp - 0x225], 0
je 0x10038857
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [eax + 0x1e]
mov dword [ebp - 0x230], 0
push 0x1000a
call fcn.1005218a
mov esi, eax
mov dword [ebp - 0x22c], esi
push 0x2000a
call fcn.1005218a
add esp, 8
mov edi, eax
test esi, esi
je 0x10038767
test edi, edi
je 0x10038767
push str.exclusions.dat
push str.Exclusions_downloaded:__s__
push 0xffff
push edi
call fcn.1005211a
add esp, 0x10
test eax, eax
jle 0x10038752
xor eax, eax
mov word [edi + 0x1fffe], ax
push 0xffffffffffffffff
push edi
mov ecx, edi
call fcn.10001b80
inc eax
push eax
push esi
lea eax, [ebp - 0x230]
push eax
call fcn.10052d14
add esp, 0x14
test eax, eax
je 0x10038729
push ebx
push edi
push str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.10052604
add esp, 0xc
push edi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call esi
jmp 0x1003872f
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ebx
mov ebx, dword [ebp - 0x22c]
push ebx
push str.GetExclusionFileUpdateSA
push 4
mov edx, 0x30
mov ecx, str...StandAloneSvcSirius.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10038787
push ebx
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
jmp 0x10038779
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call esi
mov ebx, dword [ebp - 0x22c]
test ebx, ebx
je 0x10038794
push ebx
call fcn.10052152
add esp, 4
test edi, edi
je 0x100387a1
push edi
call fcn.10052152
add esp, 4
lea edx, [ebp - 0x224]
call fcn.1001ba90
mov ebx, eax
test ebx, ebx
je 0x10038857
push 0x1000a
call fcn.1005218a
add esp, 4
mov edi, eax
test edi, edi
jne 0x100387e8
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 esi
mov dword [ebp - 4], 0xfffffffe
mov eax, ebx
jmp 0x10038860
push 0x100865c0
push 0xffff
push edi
call fcn.10052136
add esp, 0xc
push ebx
test eax, eax
jle 0x10038823
mov byte [edi + 0xffff], 0
push edi
push str.GetExclusionFileUpdateSA
push 1
mov edx, 0x35
mov ecx, str...StandAloneSvcSirius.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10038837
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call esi
push edi
call fcn.10052152
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov eax, ebx
jmp 0x10038860
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 ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1005132c
mov esp, ebp
pop ebp
ret