Function at 0x103a6c2
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [0x1075004]
mov edi, 0x1002380
cmp eax, 0x1075004
je 0x103a6f8
test byte [eax + 0x1c], 4
je 0x103a6f8
cmp byte [eax + 0x19], 5
jb 0x103a6f8
push edi
push 0xf7
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
push 0x1077f58
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp + 8]
push ebx
call fcn.010353a9
mov esi, eax
test esi, esi
jne 0x103a750
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x103aaae
test byte [eax + 0x1c], 4
je 0x103aaae
cmp byte [eax + 0x19], 3
jb 0x103aaae
push ebx
push dword [ebx + 0x18]
push edi
push 0xf8
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010148b3
jmp 0x103aaae
mov ecx, dword [esi + 0x24]
test ecx, ecx
jbe 0x103a795
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x103aaae
test byte [eax + 0x1c], 4
je 0x103aaae
cmp byte [eax + 0x19], 3
jb 0x103aaae
push ecx
push dword [esi + 0x18]
push edi
push 0xf9
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010148b3
jmp 0x103aaae
cmp dword [esi + 0x28], 0
jbe 0x103a7a9
push 4
mov ecx, esi
call fcn.010370ab
jmp 0x103aaae
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x103a7d5
test byte [eax + 0x1c], 4
je 0x103a7d5
cmp byte [eax + 0x19], 5
jb 0x103a7d5
push dword [esi + 0x18]
push edi
push 0xfa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
push dword [0x1077f50]
call dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x103a81c
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x103a81c
test byte [eax + 0x1c], 4
je 0x103a81c
cmp byte [eax + 0x19], 2
jb 0x103a81c
call ebx
push eax
mov eax, dword [0x1075004]
push edi
push 0xfb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [eax + 4], ecx
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
cmp dword [ebp + 0xc], eax
je 0x103a89b
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x103a85e
test byte [eax + 0x1c], 4
je 0x103a85e
cmp byte [eax + 0x19], 5
jb 0x103a85e
push dword [esi + 0x18]
push edi
push 0xfc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
push 1
push esi
call fcn.01039768
test eax, eax
jne 0x103a89b
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x103a8a0
test byte [eax + 0x1c], 4
je 0x103a8a0
cmp byte [eax + 0x19], 2
jb 0x103a8a0
call ebx
push eax
mov eax, dword [0x1075004]
push edi
push 0xfd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
mov eax, dword [0x1075004]
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x103a918
cmp eax, 0x1075004
je 0x103a8cf
test byte [eax + 0x1c], 4
je 0x103a8cf
cmp byte [eax + 0x19], 5
jb 0x103a8cf
push ecx
push dword [esi + 0x18]
push edi
push 0xfe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01044210
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x103a913
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x103a918
test byte [eax + 0x1c], 4
je 0x103a918
cmp byte [eax + 0x19], 2
jb 0x103a918
call ebx
push eax
push dword [esi + 0x2c]
mov eax, dword [0x1075004]
push dword [esi + 0x18]
push edi
push 0xff
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01044197
mov eax, dword [0x1075004]
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x103a990
cmp eax, 0x1075004
je 0x103a947
test byte [eax + 0x1c], 4
je 0x103a947
cmp byte [eax + 0x19], 5
jb 0x103a947
push ecx
push dword [esi + 0x18]
push edi
push 0x100
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01044210
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x103a98b
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x103a990
test byte [eax + 0x1c], 4
je 0x103a990
cmp byte [eax + 0x19], 2
jb 0x103a990
call ebx
push eax
push dword [esi + 0x34]
mov eax, dword [0x1075004]
push dword [esi + 0x18]
push edi
push 0x101
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01044197
mov eax, dword [0x1075004]
mov ecx, dword [esi + 0x80]
test ecx, ecx
je 0x103aa15
cmp dword [esi + 0x84], 0
jne 0x103aa15
cmp eax, 0x1075004
je 0x103a9cb
test byte [eax + 0x1c], 4
je 0x103a9cb
cmp byte [eax + 0x19], 5
jb 0x103a9cb
push ecx
push dword [esi + 0x18]
push edi
push 0x102
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01044210
push dword [esi + 0x80]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x103aa15
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x103aa15
test byte [eax + 0x1c], 4
je 0x103aa15
cmp byte [eax + 0x19], 2
jb 0x103aa15
call ebx
push eax
push dword [esi + 0x80]
mov eax, dword [0x1075004]
push dword [esi + 0x18]
push edi
push 0x103
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01044197
push 0x1077f54
call fcn.01034483
cmp dword [ebp + 0x10], 0
je 0x103aa6c
push dword [esi + 0xf8]
push dword [esi + 0x18]
push 0x17
push 0
call fcn.0104e6b1
test eax, eax
jne 0x103aa6c
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x103aa6c
test byte [eax + 0x1c], 4
je 0x103aa6c
cmp byte [eax + 0x19], 2
jb 0x103aa6c
call ebx
push eax
mov eax, dword [0x1075004]
push edi
push 0x104
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
push 1
push esi
call fcn.010393f6
call fcn.01036a95
test eax, eax
jne 0x103aaae
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x103aaae
test byte [eax + 0x1c], 4
je 0x103aaae
cmp byte [eax + 0x19], 2
jb 0x103aaae
call ebx
push eax
mov eax, dword [0x1075004]
push edi
push 0x105
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
push 0x1077f58
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
pop ebp
ret 0xc