Function at 0x103a2b5
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 0x103a2eb
test byte [eax + 0x1c], 4
je 0x103a2eb
cmp byte [eax + 0x19], 5
jb 0x103a2eb
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.01034f9c
mov esi, eax
test esi, esi
jne 0x103a343
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x103a6a1
test byte [eax + 0x1c], 4
je 0x103a6a1
cmp byte [eax + 0x19], 3
jb 0x103a6a1
push ebx
push dword [ebx + 0x18]
push edi
push 0xf8
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a693
jmp 0x103a6a1
mov ecx, dword [esi + 0x24]
test ecx, ecx
jbe 0x103a388
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x103a6a1
test byte [eax + 0x1c], 4
je 0x103a6a1
cmp byte [eax + 0x19], 3
jb 0x103a6a1
push ecx
push dword [esi + 0x18]
push edi
push 0xf9
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a693
jmp 0x103a6a1
cmp dword [esi + 0x28], 0
jbe 0x103a39c
push 4
mov ecx, esi
call fcn.01036c9e
jmp 0x103a6a1
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x103a3c8
test byte [eax + 0x1c], 4
je 0x103a3c8
cmp byte [eax + 0x19], 5
jb 0x103a3c8
push dword [esi + 0x18]
push edi
push 0xfa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
push dword [0x1077f50]
call dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x103a40f
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x103a40f
test byte [eax + 0x1c], 4
je 0x103a40f
cmp byte [eax + 0x19], 2
jb 0x103a40f
call ebx
push eax
mov eax, dword [0x1075004]
push edi
push 0xfb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
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 0x103a48e
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x103a451
test byte [eax + 0x1c], 4
je 0x103a451
cmp byte [eax + 0x19], 5
jb 0x103a451
push dword [esi + 0x18]
push edi
push 0xfc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
push 1
push esi
call fcn.0103935b
test eax, eax
jne 0x103a48e
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x103a493
test byte [eax + 0x1c], 4
je 0x103a493
cmp byte [eax + 0x19], 2
jb 0x103a493
call ebx
push eax
mov eax, dword [0x1075004]
push edi
push 0xfd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
mov eax, dword [0x1075004]
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x103a50b
cmp eax, 0x1075004
je 0x103a4c2
test byte [eax + 0x1c], 4
je 0x103a4c2
cmp byte [eax + 0x19], 5
jb 0x103a4c2
push ecx
push dword [esi + 0x18]
push edi
push 0xfe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090eb
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x103a506
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x103a50b
test byte [eax + 0x1c], 4
je 0x103a50b
cmp byte [eax + 0x19], 2
jb 0x103a50b
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.01043dbf
mov eax, dword [0x1075004]
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x103a583
cmp eax, 0x1075004
je 0x103a53a
test byte [eax + 0x1c], 4
je 0x103a53a
cmp byte [eax + 0x19], 5
jb 0x103a53a
push ecx
push dword [esi + 0x18]
push edi
push 0x100
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090eb
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x103a57e
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x103a583
test byte [eax + 0x1c], 4
je 0x103a583
cmp byte [eax + 0x19], 2
jb 0x103a583
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.01043dbf
mov eax, dword [0x1075004]
mov ecx, dword [esi + 0x80]
test ecx, ecx
je 0x103a608
cmp dword [esi + 0x84], 0
jne 0x103a608
cmp eax, 0x1075004
je 0x103a5be
test byte [eax + 0x1c], 4
je 0x103a5be
cmp byte [eax + 0x19], 5
jb 0x103a5be
push ecx
push dword [esi + 0x18]
push edi
push 0x102
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090eb
push dword [esi + 0x80]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x103a608
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x103a608
test byte [eax + 0x1c], 4
je 0x103a608
cmp byte [eax + 0x19], 2
jb 0x103a608
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.01043dbf
push 0x1077f54
call fcn.01034076
cmp dword [ebp + 0x10], 0
je 0x103a65f
push dword [esi + 0xf8]
push dword [esi + 0x18]
push 0x17
push 0
call fcn.0104e1ed
test eax, eax
jne 0x103a65f
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x103a65f
test byte [eax + 0x1c], 4
je 0x103a65f
cmp byte [eax + 0x19], 2
jb 0x103a65f
call ebx
push eax
mov eax, dword [0x1075004]
push edi
push 0x104
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
push 1
push esi
call fcn.01038fe9
call fcn.01036688
test eax, eax
jne 0x103a6a1
mov eax, dword [0x1075004]
cmp eax, 0x1075004
je 0x103a6a1
test byte [eax + 0x1c], 4
je 0x103a6a1
cmp byte [eax + 0x19], 2
jb 0x103a6a1
call ebx
push eax
mov eax, dword [0x1075004]
push edi
push 0x105
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
push 0x1077f58
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
pop ebp
ret 0xc