Function at 0x110a50be
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1118512e
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x111ec774]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov ecx, dword [edi + 0x20]
call fcn.1109f7b0
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x110a56e8
mov ecx, dword [edi + 0x20]
mov edx, dword [ecx + 0x48]
push 0x9c4
push edx
call dword [sym.imp.KeRneL32.DLl_WaitForSingleObject]
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
lea esi, [eax - 1]
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 0x20]
mov ecx, dword [eax + 0x44]
or esi, 1
mov dword [ebp - 0x20], esi
mov byte [ebp - 0xd], 0
call fcn.11110920
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x110a563f
mov eax, dword [ebx]
dec eax
cmp eax, 0xa
ja case.0x110a4f94.8
jmp dword [eax*4 + 0x110a5728]
mov edi, dword [ebp - 0x14]
mov esi, dword [edi + 0xf4]
cmp esi, dword [esi]
je 0x110a4ff3
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
mov eax, dword [eax + 0x158]
mov dword [ebp - 0x24], eax
jmp 0x110a4fc3
mov eax, dword [ebp - 0x24]
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 8]
mov ebx, dword [edx + 0x158]
cmp ebx, eax
je 0x110a500e
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0x30], eax
mov eax, ebx
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [ebp - 0x30]
jl 0x110a5062
mov eax, dword [edi + 0xf4]
mov esi, ecx
cmp esi, dword [eax]
jne 0x110a4fc0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
test ecx, ecx
je case.0x110a4f94.8
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
jmp case.0x110a4f94.8
mov esi, dword [ebp - 0x28]
add esi, 0x48
cmp byte [esi], 0
je 0x110a4ff3
cmp byte [edx + 0x48], 0
mov ecx, 0x11195264
je 0x110a5027
lea ecx, [edx + 0x48]
mov eax, esi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x110a5050
test dl, dl
je 0x110a504c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x110a5050
add eax, 2
add ecx, 2
test dl, dl
jne 0x110a5030
xor eax, eax
jmp 0x110a5055
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x110a4ff3
push esi
call dword [sym.imp.KeRneL32.DLl_DeleteFileA]
jmp 0x110a4ff3
mov eax, dword [ebp - 0x18]
add eax, 4
push eax
push ecx
push esi
lea ecx, [edi + 0xf4]
call fcn.110a1320
mov ecx, dword [edi + 0xf8]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jb 0x110a56fa
inc ecx
mov dword [edi + 0xf8], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov eax, edi
cmp dword [eax + 0x24], 0
jne 0x110a50a9
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x24], ecx
cmp dword [eax + 0x28], 0
jne case.0x110a4f94.8
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x28], edx
jmp case.0x110a4f94.8
mov edi, dword [ebp - 0x14]
mov esi, dword [edi + 0xf4]
mov dword [ebp - 0x30], 0
cmp esi, dword [esi]
je 0x110a5121
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
mov eax, dword [eax + 0x158]
mov dword [ebp - 0x24], eax
jmp 0x110a50e9
mov eax, dword [ebp - 0x24]
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 8]
mov ebx, dword [edx + 0x158]
cmp ebx, eax
je 0x110a521f
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0x3c], eax
mov eax, ebx
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [ebp - 0x3c]
jl 0x110a527c
mov eax, dword [edi + 0xf4]
mov esi, ecx
cmp esi, dword [eax]
jne 0x110a50e6
mov esi, dword [edi + 0xf4]
mov ebx, dword [ebp - 0x18]
mov eax, dword [esi + 4]
add ebx, 4
push ebx
push eax
push esi
lea ecx, [edi + 0xf4]
call fcn.110a1320
mov ecx, dword [edi + 0xf8]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jb 0x110a56fa
inc ecx
cmp dword [ebp - 0x1c], 0
mov dword [edi + 0xf8], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
je 0x110a518b
mov ebx, dword [ebx]
mov edx, dword [ebx]
mov eax, edi
mov eax, dword [eax + 0xf8]
push eax
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
push eax
push 0x111a762c
call fcn.11147060
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
cmp eax, 0xb
jne 0x110a52e4
cmp byte [edi + 0x60], 0
lea esi, [edi + 0x60]
jne 0x110a52fc
cmp byte [edi + 0xe0], 0
jne 0x110a52fc
mov ecx, dword [0x111efb7c]
mov dword [ebp - 0x2c], 0
test ecx, ecx
je 0x110a51d7
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [ebp - 0x2c]
push eax
call edx
push 0x80
push esi
call fcn.111474b0
add esp, 8
test eax, eax
je 0x110a52c3
mov ecx, 0x111a7628
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x110a52ba
test dl, dl
je 0x110a5218
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x110a52ba
add eax, 2
add ecx, 2
test dl, dl
jne 0x110a51f4
xor eax, eax
jmp 0x110a52bf
mov esi, dword [ebp - 0x28]
add esi, 0x48
cmp byte [esi], 0
je 0x110a5270
cmp byte [edx + 0x48], 0
mov ecx, 0x11195264
je 0x110a5238
lea ecx, [edx + 0x48]
mov eax, esi
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x110a5260
test dl, dl
je 0x110a525c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x110a5260
add eax, 2
add ecx, 2
test dl, dl
jne 0x110a5240
xor eax, eax
jmp 0x110a5265
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x110a5270
push esi
call dword [sym.imp.KeRneL32.DLl_DeleteFileA]
mov dword [ebp - 0x30], 1
jmp 0x110a518b
mov eax, dword [ebp - 0x18]
add eax, 4
push eax
push ecx
push esi
lea ecx, [edi + 0xf4]
call fcn.110a1320
mov ecx, dword [edi + 0xf8]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jb 0x110a56fa
inc ecx
mov dword [edi + 0xf8], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
jmp 0x110a518b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x110a52c6
mov byte [esi], 0
mov ecx, dword [0x111efb7c]
test ecx, ecx
je 0x110a52db
mov eax, dword [ecx]
mov edx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x18]
push edx
call eax
mov byte [edi + 0xe0], 1
jmp 0x110a52fc
cmp dword [edi + 0x24], 0
jne 0x110a52f0
mov ecx, dword [ebp - 0x20]
mov dword [edi + 0x24], ecx
cmp dword [edi + 0x28], 0
jne 0x110a52fc
mov edx, dword [ebp - 0x20]
mov dword [edi + 0x28], edx
cmp dword [ebp - 0x30], 0
je case.0x110a4f94.8
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
test ecx, ecx
je case.0x110a4f94.8
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
jmp case.0x110a4f94.8
xor esi, esi
push 0xc
mov dword [ebp - 0x48], esi
call fcn.111101b0
mov edi, eax
add esp, 4
cmp edi, esi
je 0x110a5704
mov dword [edi], edi
mov dword [ebp - 0x4c], edi
mov dword [edi + 4], edi
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax + 0xf4]
mov dword [ebp - 4], esi
cmp ebx, dword [ebx]
je 0x110a5406
mov eax, dword [ebx + 4]
mov esi, dword [eax + 8]
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
cmp eax, 0xb
je 0x110a53f2
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x110a5380
cmp dword [esi + 0x158], eax
jne 0x110a53f2
mov eax, dword [ecx]
cmp eax, 0xa
jne 0x110a5390
cmp dword [esi + 0x158], 0
jl 0x110a539e
cmp eax, 9
jne 0x110a53f2
cmp dword [esi + 0x158], 0
jle 0x110a53f2
mov eax, dword [ebx + 4]
mov ecx, dword [edi + 4]
add eax, 8
push eax
push ecx
push edi
lea ecx, [ebp - 0x4c]
call fcn.110a1320
mov edx, 0x3ffffffe
sub edx, dword [ebp - 0x48]
cmp edx, 1
jb 0x110a56fa
inc dword [ebp - 0x48]
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x24], 0
jne 0x110a53dd
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x24], ecx
cmp dword [eax + 0x28], 0
jne 0x110a53e9
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x40], 0
jne 0x110a5406
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebx + 4]
mov eax, dword [ecx + 0xf4]
cmp ebx, dword [eax]
jne 0x110a5356
mov eax, dword [edi]
mov dword [ebp - 0x28], eax
cmp eax, edi
je 0x110a5483
mov ebx, dword [ebp - 0x14]
jmp 0x110a5417
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
mov eax, dword [ebx + 0xf4]
mov esi, dword [eax]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x3c], eax
cmp esi, eax
je 0x110a545c
lea esp, [esp]
cmp dword [esi + 8], ecx
jne 0x110a5456
mov eax, dword [esi + 4]
push esi
mov esi, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], eax
call fcn.11162777
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
add esp, 4
dec dword [ebx + 0xf8]
jmp 0x110a5458
mov esi, dword [esi]
cmp esi, eax
jne 0x110a5430
cmp byte [ecx + 0x48], 0
lea eax, [ecx + 0x48]
je 0x110a546c
push eax
call dword [sym.imp.KeRneL32.DLl_DeleteFileA]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx]
mov dword [ebp - 0x28], eax
cmp eax, edi
jne 0x110a5414
mov eax, dword [edi]
mov dword [edi], edi
mov dword [edi + 4], edi
mov dword [ebp - 0x48], 0
cmp eax, edi
je 0x110a54a6
mov esi, dword [eax]
push eax
call fcn.11162777
add esp, 4
mov eax, esi
cmp esi, edi
jne 0x110a5495
push edi
call fcn.11162777
add esp, 4
jmp case.0x110a4f94.8
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
add esi, 8
push esi
add ecx, 0x2c
call fcn.110d1640
cmp dword [ebp - 0x1c], 0
je case.0x110a4f94.8
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
test al, al
jne 0x110a54f3
push 0x250
push 0x11195b24
push 0x11195b1c
call fcn.11029a70
add esp, 0xc
mov esi, dword [esi + 0xc]
push esi
push 0x111a7618
call fcn.11147060
add esp, 8
jmp case.0x110a4f94.8
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
lea edi, [ebx + 0x1c]
lea ecx, [esi + 0x3c]
push edi
call fcn.110d1640
lea eax, [ebx + 8]
push eax
lea ecx, [esi + 0x2c]
call fcn.110d1640
cmp dword [ebp - 0x1c], 0
mov byte [esi + 0x60], 0
mov byte [esi + 0xe0], 0
je case.0x110a4f94.8
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
test al, al
jne 0x110a555f
push 0x250
push 0x11195b24
push 0x11195b1c
call fcn.11029a70
add esp, 0xc
mov edi, dword [edi + 0xc]
push edi
push 0x111a7608
call fcn.11147060
add esp, 8
jmp case.0x110a4f94.8
cmp dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 0xd], 1
mov dword [ecx + 0x18], 1
je case.0x110a4f94.8
push 0x111a75f8
call fcn.11147060
add esp, 4
jmp case.0x110a4f94.8
cmp dword [ebp - 0x1c], 0
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x38], 3
je case.0x110a4f94.8
push 3
push 0x111a75d8
call fcn.11147060
add esp, 8
jmp case.0x110a4f94.8
cmp dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x2c]
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x34], eax
je case.0x110a4f94.8
push 0x111a75c4
call fcn.11147060
add esp, 4
jmp case.0x110a4f94.8
cmp dword [ebp - 0x1c], 0
je 0x110a55ef
push 0x111a75b0
call fcn.11147060
add esp, 4
mov ecx, dword [ebp - 0x18]
add ecx, 0x30
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.110a1870
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x3c], esi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 2
call fcn.110d0a10
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 1
call fcn.110d0a10
lea ecx, [esi + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.110d0a10
push esi
call fcn.11162777
mov edi, dword [ebp - 0x14]
mov ebx, esi
mov esi, dword [ebp - 0x20]
add esp, 4
mov edx, dword [edi + 0x20]
cmp byte [edx + 0x54], 0
jne 0x110a569e
mov eax, dword [edi + 0x24]
test eax, eax
je 0x110a569e
cmp byte [ebp - 0xd], 0
jne 0x110a568a
sub esi, eax
cmp esi, 0x2710
jbe 0x110a569e
mov eax, dword [edi + 0x3c]
mov edx, dword [eax]
lea ecx, [edi + 0x3c]
call edx
test al, al
jne 0x110a5684
push 0x252
push 0x11195b24
push 0x11195b1c
call fcn.11029a70
add esp, 0xc
cmp dword [edi + 0x44], 0
je 0x110a569e
push 3
mov ecx, edi
call fcn.110a2d40
test al, al
je 0x110a569e
mov dword [edi + 0x24], 0
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x110a56ac
push eax
call dword [sym.imp.KeRneL32.DLl_SetEvent]
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x110a56bd
push eax
mov ecx, edi
call fcn.110a2440
jmp 0x110a56d5
cmp dword [edi + 0x28], 0
je 0x110a56d5
mov ecx, edi
call fcn.110a2340
test al, al
je 0x110a56d5
mov dword [edi + 0x28], 0
test ebx, ebx
jne 0x110a4f55
mov eax, dword [edi + 0x18]
test eax, eax
je 0x110a4f43
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x1119f890
call fcn.11161299
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x40], esi
call fcn.1116305a
push 0x111cd988
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 0x58], 0x11195404
call fcn.111634b1
mov esi, 0x75110a50
push ebp
or dl, byte [ecx]
mov ah, 0x54
or dl, byte [ecx]
cwde
push ebp
or dl, byte [ecx]
mov edx, 0x9110a55
push ebp
or dl, byte [ecx]
fcom qword [ebp + 0xa]
adc esi, edi
push ebp
or dl, byte [ecx]
and dword [ebx + 0xa], edx
adc dword [ecx], esp
push ebx
or dl, byte [ecx]
wait
dec edi
or dl, byte [ecx]
fcomp qword [ecx - 0x52]
in al, dx
out dx, al
invalid