Function at 0x40b100
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f156
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
xor eax, eax
mov dword [ebp - 0x40], 0
push esi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
call fcn.0041a1f0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x88]
cmp eax, esi
je 0x40b207
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x40b1cf
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b1c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b871
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov dword [ebp - 0x78], 0
xor eax, eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x78], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x40b241
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b237
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b871
push edx
push ecx
call fcn.0041b0e9
add esp, 8
lea eax, [ebp - 0x58]
push eax
call fcn.004100b0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x40b2c2
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40b290
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b286
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b876
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x40b2fc
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b2f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b876
push edx
push ecx
call fcn.0041b0e9
add esp, 8
lea eax, [ebp - 0x58]
push eax
call fcn.004105a0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x40b37d
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40b34b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b341
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b87b
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x40b3b7
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b3ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b87b
push edx
push ecx
call fcn.0041b0e9
add esp, 8
lea eax, [ebp - 0x58]
push eax
call fcn.0040fbc0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x70]
cmp eax, esi
je 0x40b438
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x40b406
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b3fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b880
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov dword [ebp - 0x60], 0
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x40b472
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b468
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b880
push edx
push ecx
call fcn.0041b0e9
add esp, 8
cmp dword [ebp - 0x78], 0
je 0x40b739
cmp dword [ebp - 0x18], 0
je 0x40b739
cmp dword [ebp - 0x60], 0
je 0x40b739
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
push 0
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 4
call fcn.00443e80
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x58]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp - 0xac]
call fcn.00444060
mov edx, dword [ebp - 0x48]
test edx, edx
je 0x40b6fa
cmp dword [ebp - 0x30], 0
je 0x40b519
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
push edx
cmovae ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00433c10
add esp, 0xc
mov eax, 0xf
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0xa0], 0
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 6
je 0x40b597
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00434880
add esp, 8
cmp dword [ebp - 0x18], 0
je 0x40b591
cmp dword [ebp - 0x8c], 0x10
lea ecx, [ebp - 0xa0]
push dword [ebp - 0x90]
cmovae ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00433c10
add esp, 0xc
mov eax, dword [ebp - 0x8c]
mov byte [ebp - 4], 5
cmp eax, 0x10
jb 0x40b5d1
mov ecx, dword [ebp - 0xa0]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b5c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b885
push edx
push ecx
call fcn.0041b0e9
add esp, 8
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
call fcn.00443ed0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x40b62f
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b625
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b885
push edx
push ecx
call fcn.0041b0e9
add esp, 8
cmp dword [ebp - 0x14], 8
jb 0x40b63f
cmp dword [ebp - 0x28], 0
je 0x40b739
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edx, 8
cmovae eax, ecx
cmp word [eax], 0
je 0x40b739
cmp edx, 8
lea eax, [ebp - 0x28]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40b739
lea eax, [ebp - 0x28]
push eax
call fcn.00433ee0
add esp, 4
test al, al
jne 0x40b6a7
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmovae eax, dword [ebp - 0x40]
push eax
call esi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
jmp 0x40b739
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00411000
mov ecx, dword [ebp + 8]
add esp, 8
mov byte [ebp - 0xd], al
test ecx, ecx
je 0x40b6d9
lea eax, [ebp - 0x40]
cmp ecx, eax
je 0x40b6d9
cmp dword [ebp - 0x2c], 8
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00403130
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x40b73d
lea eax, [ebp - 0x70]
cmp ecx, eax
je 0x40b73d
cmp dword [ebp - 0x5c], 8
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.00403130
jmp 0x40b73d
lea ecx, [ebp - 0xac]
call fcn.00443ed0
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x40b739
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b72f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b885
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov byte [ebp - 0xd], 0
mov edx, dword [ebp - 0x74]
pop esi
cmp edx, 8
jb 0x40b77b
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b771
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b88a
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
cmp edx, 8
jb 0x40b7cc
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b7c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b88a
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, 8
jb 0x40b816
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b80c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b88a
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x40b860
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b856
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b88a
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.004491bf
call fcn.004491bf
call fcn.004491bf
call fcn.004491bf
call fcn.004491bf
call fcn.004491bf
int3