Function at 0x1001b490
Capabilities:
Delete file
Print debug messages
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100902c0
push 0x1005aa50
mov eax, dword fs:[0]
push eax
sub esp, 0x230
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
mov esi, ecx
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 dword [ebp - 0x23c], 0xffffffff
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
xor eax, eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x628c]
test eax, eax
je 0x1001b55a
push eax
call fcn.10052152
add esp, 4
mov dword [esi + 0x628c], 0
mov dword [esi + 0x628c], 0
mov dword [esi + 0x6288], 0
mov dword [esi + 0x6284], 0
mov dword [esi + 0x6290], 0x10a0000
push str.exclusions.dat
push 0x100e1fb0
push 0x10086350
lea eax, [ebp - 0x224]
push eax
call fcn.10004ed0
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x23c], edi
cmp edi, 0xffffffff
je 0x1001b8f0
push 0
lea eax, [ebp - 0x234]
push eax
push 0xc
lea eax, [ebp - 0x230]
push eax
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
call ebx
test eax, eax
je 0x1001b90a
cmp dword [ebp - 0x234], 0xc
jne 0x1001b90a
mov eax, dword [ebp - 0x230]
cmp eax, 0x10a0000
jb 0x1001b7b1
cmp dword [ebp - 0x22c], 0x35c
jne 0x1001b7b1
mov dword [esi + 0x6290], eax
mov eax, dword [ebp - 0x228]
mov dword [esi + 0x6284], eax
add eax, 0xa
mov dword [esi + 0x6288], eax
imul eax, eax, 0x35c
mov dword [ebp - 0x238], eax
add eax, 0xa
push eax
call fcn.1005218a
add esp, 4
mov dword [esi + 0x628c], eax
test eax, eax
jne 0x1001b6eb
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x1001b671
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 0x1001b6ce
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push 5
test eax, eax
jle 0x1001b6ad
mov byte [esi + 0xffff], 0
push esi
push str.LoadExclusions
push 1
mov edx, 0x362
mov ecx, str...StandAloneSvcAppFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1001b6c5
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, 5
jmp 0x1001ba72
push dword [ebp - 0x238]
push 0
push eax
call fcn.10055aa0
add esp, 0xc
push 0
lea eax, [ebp - 0x234]
push eax
imul eax, dword [esi + 0x6284], 0x35c
push eax
push dword [esi + 0x628c]
push edi
call ebx
test eax, eax
je 0x1001b749
imul eax, dword [esi + 0x6284], 0x35c
cmp dword [ebp - 0x234], eax
jne 0x1001b749
mov dword [ebp - 4], 0
call fcn.1001b9c3
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x1001ba72
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
je 0x1001b92c
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x1001b981
mov byte [esi + 0xffff], 0
push esi
push str.LoadExclusions
push 1
mov edx, 0x367
mov ecx, str...StandAloneSvcAppFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1001b999
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x23c], 0xffffffff
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x238], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [eax + 0x1e]
mov dword [ebp - 0x240], 0
push 0x1000a
call fcn.1005218a
mov edi, eax
push 0x2000a
call fcn.1005218a
add esp, 8
mov esi, eax
test edi, edi
je 0x1001b8be
test esi, esi
je 0x1001b8be
push dword [ebp - 0x238]
push 0x35c
push dword [ebp - 0x22c]
push 0x10a0000
push dword [ebp - 0x230]
lea eax, [ebp - 0x224]
push eax
push str.INCOMPATIBLE_VERSION:___s_:__X____X____d____d____d
push 0xffff
push esi
call fcn.1005211a
add esp, 0x24
test eax, eax
jle 0x1001b8a9
xor eax, eax
mov word [esi + 0x1fffe], ax
push 0xffffffffffffffff
push esi
mov ecx, esi
call fcn.10001b80
inc eax
push eax
push edi
lea eax, [ebp - 0x240]
push eax
call fcn.10052d14
add esp, 0x14
test eax, eax
je 0x1001b88c
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 edi
push str.LoadExclusions
push 4
mov edx, 0x358
mov ecx, str...StandAloneSvcAppFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1001b8d6
push ebx
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
jmp 0x1001b8d0
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]
test edi, edi
je 0x1001b8e3
push edi
call fcn.10052152
add esp, 4
test esi, esi
je 0x1001b8f0
push esi
call fcn.10052152
add esp, 4
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
xor eax, eax
jmp 0x1001ba72
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x1001b946
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 0x1001b9a2
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x1001b981
mov byte [esi + 0xffff], 0
push esi
push str.LoadExclusions
push 1
mov edx, 0x34e
mov ecx, str...StandAloneSvcAppFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1001b999
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
lea eax, [ebx + 0x1e]
jmp 0x1001ba72
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