Function at 0x10006790
Capabilities:
Delete file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x101dff98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x10282758]
push ebx
mov ebx, dword [esp + 0x34]
push ebp
push esi
push edi
xor ebp, ebp
mov edi, ecx
cmp eax, ebp
mov dword [esp + 0x10], edi
je 0x100067e0
mov eax, dword [esp + 0x3c]
push ebx
push eax
push str.CDecryptProxyHelper::NotifyResult_dwID_0x_x___dwResult_0x_x__0
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x18
lea ecx, [edi + 0x90]
push 1
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
call sub.MFC42u.DLL_CSingleLock::CSingleLock
lea edx, [esp + 0x1c]
lea eax, [esp + 0x3c]
push edx
lea ecx, [edi + 0x74]
push eax
mov dword [esp + 0x3c], ebp
call fcn.10009920
cmp eax, ebp
je 0x10006a6b
mov esi, dword [eax + 0xc]
cmp esi, ebp
je 0x10006a6b
cmp dword [esi + 0x54], ebp
jne 0x10006a6b
cmp dword [edi + 0xe8], ebp
je 0x10006840
cmp dword [esi + 0x50], ebp
je 0x10006840
mov edi, 1
jmp 0x10006842
xor edi, edi
mov ecx, dword [esi + 0x50]
mov dword [esi + 0x50], ebp
mov dword [esp + 0x18], ecx
mov ecx, esi
call fcn.10008fa0
cmp edi, ebp
jne 0x100068a0
mov edi, dword [esp + 0x10]
mov ecx, edi
call fcn.10005d50
test eax, eax
je 0x100068a0
cmp dword [esi + 0x58], ebp
jle 0x100068a0
mov edx, dword [esi + 0x60]
mov ecx, edi
push edx
call fcn.10006ca0
test eax, eax
jne 0x100068a0
cmp ebx, 0xf000
jne 0x10006898
mov eax, dword [esi + 4]
push ebp
push ebp
push eax
call fcn.10056ed0
add esp, 0xc
test eax, eax
je 0x10006937
mov dword [esp + 0x14], 1
cmp ebx, 0xf000
jne 0x100068b2
cmp dword [esp + 0x14], ebp
je 0x10006937
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [0x10282758], ebp
je 0x100068e2
push eax
mov eax, dword [esi + 4]
push eax
push str.CDecryptProxyHelper::NotifyResult_file__s__delete__lu_
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x18
cmp dword [esp + 0x14], ebp
je 0x10006937
mov eax, dword [esi + 0x44]
xor edi, edi
cmp eax, ebp
jle 0x10006a67
mov ecx, dword [esi + 0x40]
mov eax, dword [ecx + edi*4]
cmp eax, ebp
je 0x10006902
or dword [eax], 2
cmp dword [0x10282758], ebp
je 0x1000692a
mov edx, dword [eax]
mov eax, dword [esi + 4]
push edx
push eax
push str.CDecryptProxyHelper::NotifyResult_will_be_network_sdtran__file__s__SDTranType__lu_
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x18
mov eax, dword [esi + 0x44]
inc edi
cmp edi, eax
jl 0x100068f5
jmp 0x10006a67
mov eax, dword [esi + 0x1c]
xor ebx, ebx
cmp eax, ebp
jle 0x10006995
mov ebp, dword [sym.imp.KERNEL32.dll_SetEvent]
cmp ebx, dword [esi + 0x30]
jge 0x10006993
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx + ebx*4]
test eax, eax
je 0x1000695b
mov edx, dword [esp + 0x40]
mov dword [eax], edx
mov eax, dword [esi + 0x18]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x1000698b
push edi
call ebp
mov eax, dword [0x10282758]
test eax, eax
je 0x1000698b
push edi
push str.CDecryptProxyHelper::NotifyResult_SetEvent__lu_
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x14
mov eax, dword [esi + 0x1c]
inc ebx
cmp ebx, eax
jl 0x10006946
xor ebp, ebp
mov ecx, dword [esp + 0x10]
lea ebx, [ecx + 0x74]
mov ecx, dword [ecx + 0x78]
cmp ecx, ebp
je 0x10006a35
mov edi, dword [esp + 0x3c]
xor edx, edx
mov eax, edi
shr eax, 4
div dword [ebx + 8]
mov eax, dword [ecx + edx*4]
cmp eax, ebp
lea ecx, [ecx + edx*4]
je 0x10006a35
cmp dword [eax + 8], edi
je 0x100069ce
mov ecx, eax
mov eax, dword [eax]
cmp eax, ebp
jne 0x100069bf
jmp 0x10006a35
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [esp + 0x10]
add ecx, 0x74
mov edx, dword [ecx + 0x10]
mov dword [eax], edx
mov dword [ecx + 0x10], eax
mov eax, dword [ecx + 0xc]
dec eax
mov dword [ecx + 0xc], eax
jne 0x10006a35
mov edi, dword [ecx + 4]
cmp edi, ebp
je 0x10006a0e
mov eax, dword [ecx + 8]
cmp eax, ebp
jbe 0x10006a0e
mov ecx, edi
mov edx, eax
mov eax, dword [ecx]
cmp eax, ebp
je 0x10006a08
mov eax, dword [eax]
cmp eax, ebp
jne 0x10006a02
add ecx, 4
dec edx
jne 0x100069fc
push edi
call sub.MFC42u.DLL_operatordelete
mov eax, dword [esp + 0x14]
add esp, 4
mov ecx, dword [eax + 0x88]
lea edi, [eax + 0x74]
mov dword [edi + 4], ebp
mov dword [edi + 0xc], ebp
mov dword [edi + 0x10], ebp
call sub.MFC42u.DLL_CPlex::FreeDataChain
mov dword [edi + 0x14], ebp
mov ecx, esi
call fcn.10008d00
push esi
call sub.MFC42u.DLL_operatordelete
mov eax, dword [0x10282758]
add esp, 4
cmp eax, ebp
je 0x10006a67
push str.CDecryptProxyHelper::NotifyResult_finish
push str.SDTransform
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x10
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 0xffffffff
call sub.MFC42u.DLL_CSingleLock::Unlock
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x10006a90
mov ecx, dword [edi + 0xf0]
push eax
call fcn.1005af40
cmp dword [esp + 0x14], ebp
je 0x10006aa2
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, edi
call fcn.10008370
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8