Function at 0x8c0890
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push esi
push edi
push 0
mov edi, 1
push edi
push str._BDCACHE__Invalidate__LogToUSB_
push 0xb54ce8
call fcn.008808e0
add esp, 0x10
call fcn.008b2850
mov ecx, dword [0xb54194]
mov eax, dword [0xb8db58]
test ecx, ecx
je 0x8c08df
test eax, eax
jne 0x8c08e7
test al, al
js 0x8c08e7
xor esi, esi
jmp 0x8c08e9
mov esi, edi
cmp dword [0xbd0664], edi
jne 0x8c0915
mov edx, dword [ebp + 8]
push esi
push edx
push ecx
push eax
push str._DCH__Dwlf0x_x__SMB_u__FW:_d__FinalVal:_u_
push str.C:PROGRA2eScanLOGDirChng.log
call fcn.0096a780
mov ecx, dword [0xb54194]
mov eax, dword [0xb8db58]
add esp, 0x18
test eax, eax
je 0x8c0935
test ecx, ecx
jne 0x8c0935
test al, al
js 0x8c0935
push ecx
push edi
push str._DCH__IGNORING_LogFilesCopiedToUSB::::_FEATURE_AVAILABLE_ONLY_IN_CORP_EDITION...
push 0xb54ce8
call fcn.008808e0
add esp, 0x10
test esi, esi
je 0x8c0bee
push 0xbd0664
push str.DebugDirChange
mov ecx, 0xaa21e4
mov edx, 0x80000002
call fcn.0094c0d0
mov eax, dword [0xbd0664]
push 0xb3dde0
push str.LogFilesCopiedAllActionsNew
mov ecx, 0xaa21e4
mov edx, 0x80000002
mov dword [0xbdc568], eax
call fcn.0094c0d0
push 0xb3dde4
push str.LogFilesCopiedIgnoreSystemDrive
mov ecx, 0xaa21e4
mov edx, 0x80000002
call fcn.0094c0d0
push 0xb3dde8
push str.LogFilesCopiedIgnoreFilesWithoutExtension
mov ecx, 0xaa21e4
mov edx, 0x80000002
call fcn.0094c0d0
push 0xbd18c8
push str.LogFilesCopiedMonitorExtensionTypes
mov ecx, 0xaa21e4
mov edx, 0x80000002
call fcn.0094c0d0
cmp dword [0xbd0664], edi
jne 0x8c09f9
mov ecx, dword [0xbd18c8]
mov edx, dword [0xb3dde8]
mov eax, dword [0xb3dde4]
push ecx
mov ecx, dword [0xb3dde0]
push edx
push eax
push ecx
push str._DCH__LogNew_u__Sys_u__LFIExt_u__MonExt_u
push str.C:PROGRA2eScanLOGDirChng.log
call fcn.0096a780
add esp, 0x18
cmp dword [0xb3dde0], 0
je 0x8c0b33
cmp dword [0xbd631c], 0
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
jne 0x8c0a6f
mov ecx, dword [0xb5635c]
push 0
push edi
mov edx, str.ESMediaRemoved
call fcn.00963200
mov dword [0xbd631c], eax
test eax, eax
je 0x8c0a5a
cmp eax, 0xffffffff
je 0x8c0a5a
cmp dword [0xbd0664], edi
jne 0x8c0a55
push str._DCH__ESMediaRemoved_Event_Created...
push str.C:PROGRA2eScanLOGDirChng.log
call fcn.0096a780
mov eax, dword [0xbd631c]
add esp, 8
push eax
call esi
jmp 0x8c0a6f
push 0
push edi
push str._DCH__ERROR:_Unable_To_Create_The_hMediaRemoved_Event_
push 0xb54ce8
call fcn.008808e0
add esp, 0x10
cmp dword [0xbd6320], 0
jne 0x8c0ad2
mov ecx, dword [0xb5635c]
push 0
push edi
mov edx, str.ESMediaAdded
call fcn.00963200
mov dword [0xbd6320], eax
test eax, eax
je 0x8c0abd
cmp eax, 0xffffffff
je 0x8c0abd
cmp dword [0xbd0664], edi
jne 0x8c0ab8
push str._DCH__hMediaAdded_Event_Created...
push str.C:PROGRA2eScanLOGDirChng.log
call fcn.0096a780
mov eax, dword [0xbd6320]
add esp, 8
push eax
call esi
jmp 0x8c0ad2
push 0
push edi
push str._DCH__ERROR:_Unable_To_Create_The_hMediaAdded_Event_
push 0xb54ce8
call fcn.008808e0
add esp, 0x10
push 2
call 0x894da0
add esp, 4
cmp dword [0xbd18c4], 0
jne 0x8c0b33
push 0
push 0
push 0x8920d0
mov dword [0xbd18c4], edi
call fcn.00a791b2
add esp, 0xc
push str.CBD_6s
xor ebx, ebx
mov esi, eax
call fcn.0085df20
add esp, 4
cmp dword [0xbd6320], ebx
je 0x8c0b33
push ebx
push ebx
push 0x892060
call fcn.00a791b2
add esp, 0xc
push str.CBD_6t
mov esi, eax
call fcn.0085df20
add esp, 4
cmp dword [0xb3a52c], 0
jne 0x8c0b56
call fcn.008c0ca0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
cmp dword [0xbd0b00], edi
je 0x8c0c83
mov eax, dword [0xbd09d4]
test eax, eax
je 0x8c0c83
cmp byte [eax], 0
je 0x8c0c83
call fcn.008c0ca0
mov eax, dword [0xbd09d4]
lea edx, [esp + 0xc]
push edx
push eax
mov bl, 0x2c
lea edi, [esp + 0x18]
mov dword [esp + 0x14], 0
call fcn.0095ae80
or esi, 0xffffffff
add esp, 8
cmp dword [esp + 0xc], esi
je 0x8c0c83
jmp 0x8c0bb0
lea eax, [esp + 0x10]
call fcn.008c1080
mov edx, dword [0xbd09d4]
lea ecx, [esp + 0xc]
push ecx
push edx
mov bl, 0x2c
lea edi, [esp + 0x18]
call fcn.0095ae80
add esp, 8
cmp dword [esp + 0xc], esi
jne 0x8c0bb0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
cmp dword [0xbd0af8], edi
je 0x8c0c5c
mov eax, dword [0xbd0adc]
test eax, eax
je 0x8c0c5c
cmp byte [eax], 0
je 0x8c0c5c
call fcn.008c0ca0
mov ecx, dword [0xbd0adc]
lea eax, [esp + 0xc]
push eax
push ecx
mov bl, 0x2c
lea edi, [esp + 0x18]
mov dword [esp + 0x14], 0
call fcn.0095ae80
or esi, 0xffffffff
add esp, 8
cmp dword [esp + 0xc], esi
je 0x8c0c5c
lea eax, [esp + 0x10]
call fcn.008c1080
mov eax, dword [0xbd0adc]
lea edx, [esp + 0xc]
push edx
push eax
mov bl, 0x2c
lea edi, [esp + 0x18]
call fcn.0095ae80
add esp, 8
cmp dword [esp + 0xc], esi
jne 0x8c0c34
cmp dword [0xbd18c0], 0
je 0x8c0c83
push 0
push 0
push 0
push 0x2000120
call dword [0xb8dac4]
add esp, 0x10
mov dword [0xbd18c0], 0
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret