Function at 0x417f80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f730
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x46600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x417fb7
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x417fc9
mov al, 1
jmp 0x418496
cmp dword [ebx + 0x14], 8
mov eax, ebx
mov dword [ebp - 0x30], ebx
jb 0x417fd9
mov eax, dword [ebx]
mov dword [ebp - 0x30], eax
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
call fcn.0043f51e
mov ecx, dword [ebp - 0x14]
add esp, 4
or edx, 0xffffffff
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
cmp eax, ecx
ja 0x41803c
lea esi, [eax + eax]
mov dword [ebp - 0x18], eax
cmp ecx, 8
lea edi, [ebp - 0x28]
push esi
cmovae edi, dword [ebp - 0x28]
push dword [ebp - 0x30]
push edi
call fcn.0043c760
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x418129
cmp eax, 0x7ffffffe
ja 0x4184b2
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x41805b
mov esi, 0x7ffffffe
jmp 0x41807c
mov edx, ecx
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x418071
mov esi, 0x7ffffffe
jmp 0x418079
lea eax, [edx + ecx]
cmp esi, eax
cmovb esi, eax
or edx, 0xffffffff
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x41808e
or ecx, 0xffffffff
jmp 0x418096
cmp ecx, 0x1000
jb 0x4180ba
lea eax, [ecx + 0x23]
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.0043b783
add esp, 4
test eax, eax
je 0x4184b7
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x4180cd
test ecx, ecx
je 0x4180cb
push ecx
call fcn.0043b783
add esp, 4
mov edi, eax
jmp 0x4180cd
xor edi, edi
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
lea esi, [eax + eax]
push esi
push dword [ebp - 0x30]
push edi
call fcn.0043cce0
xor eax, eax
add esp, 0xc
mov word [esi + edi], ax
mov eax, dword [ebp - 0x38]
cmp eax, 8
jb 0x418126
mov ecx, dword [ebp - 0x28]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41811c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4184b7
push edx
push ecx
call fcn.0043b7b3
add esp, 8
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00417810
mov esi, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41817e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418174
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4184bc
push edx
push ecx
call fcn.0043b7b3
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp esi, 0xffffffff
jne 0x41819e
xor al, al
jmp 0x418496
cmp dword [ebx + 0x14], 8
mov eax, ebx
mov dword [ebp - 0x30], ebx
jb 0x4181ae
mov eax, dword [ebx]
mov dword [ebp - 0x30], eax
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
call fcn.0043f51e
mov ecx, dword [ebp - 0x14]
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
cmp eax, ecx
ja 0x41820e
lea esi, [eax + eax]
mov dword [ebp - 0x18], eax
cmp ecx, 8
lea edi, [ebp - 0x28]
push esi
cmovae edi, dword [ebp - 0x28]
push dword [ebp - 0x30]
push edi
call fcn.0043c760
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x4182fc
cmp eax, 0x7ffffffe
ja 0x4184c1
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x41822d
mov esi, 0x7ffffffe
jmp 0x41824a
mov eax, ecx
mov edx, 0x7ffffffe
shr eax, 1
sub edx, eax
cmp ecx, edx
jbe 0x418243
mov esi, 0x7ffffffe
jmp 0x41824a
add eax, ecx
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x41825c
or ecx, 0xffffffff
jmp 0x418264
cmp ecx, 0x1000
jb 0x41828d
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.0043b783
add esp, 4
test eax, eax
je 0x4184b7
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x4182a0
test ecx, ecx
je 0x41829e
push ecx
call fcn.0043b783
add esp, 4
mov edi, eax
jmp 0x4182a0
xor edi, edi
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
lea esi, [eax + eax]
push esi
push dword [ebp - 0x30]
push edi
call fcn.0043cce0
mov edx, dword [ebp - 0x34]
xor eax, eax
add esp, 0xc
mov word [edi + esi], ax
cmp edx, 8
jb 0x4182f9
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4182ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4184c6
push edx
push ecx
call fcn.0043b7b3
add esp, 8
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 1
xor edx, edx
lea ecx, [ebp - 0x28]
call fcn.004176e0
test al, al
sete al
mov byte [ebp - 0x29], al
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x418359
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41834c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4184cb
push edx
push ecx
call fcn.0043b7b3
mov al, byte [ebp - 0x29]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
test al, al
jne 0x418197
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x41837f
mov eax, dword [ebx]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call esi
test eax, eax
jne 0x417fc2
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 2
lea edx, [ebp - 0x28]
mov ecx, ebx
call fcn.00419a90
test al, al
je 0x4183cf
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x4183cf
mov bl, 1
jmp 0x418443
cmp dword [ebx + 0x14], 8
jb 0x4183d7
mov ebx, dword [ebx]
push ebx
lea ecx, [ebp - 0x54]
call fcn.00401fbc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
mov edx, dword [ebp - 0x3c]
call fcn.004176e0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x40]
cmp edx, 8
jb 0x41842d
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418423
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4184d0
push edx
push ecx
call fcn.0043b7b3
add esp, 8
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
xor bl, bl
mov word [ebp - 0x54], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x418480
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418476
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4184d5
push edx
push ecx
call fcn.0043b7b3
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov al, bl
mov dword [ebp - 0x14], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043b572
mov esp, ebp
pop ebp
ret
call fcn.00402330
call fcn.0043f744
call fcn.0043f744
call fcn.00402330
call fcn.0043f744
call fcn.0043f744
call fcn.0043f744
call fcn.0043f744
int3