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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4654bd
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x4814f0]
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 edi, ecx
mov eax, dword [edi + 8]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x423e01
mov eax, dword [edi + 0xc]
cmp dword [eax - 0xc], 0
lea ebx, [edi + 0xc]
je 0x423e01
push eax
mov dword [ebp - 0x26c], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42376b
mov eax, dword [edi + 0x10]
cmp dword [eax - 0xc], 0
je 0x423664
mov ecx, dword [ebx]
push ecx
push eax
call fcn.00419830
add esp, 8
test eax, eax
jne 0x423811
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
nop
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42368b
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 5
jl 0x423670
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42375a
mov eax, dword [ebx]
push 0x2e
push eax
call fcn.00449224
add esp, 8
test eax, eax
jne 0x4236b2
or esi, 0xffffffff
jmp 0x4236b8
sub eax, dword [ebx]
sar eax, 1
mov esi, eax
push esi
lea ecx, [ebp - 0x270]
push ecx
mov ecx, ebx
call fcn.00417ff0
mov edx, dword [ebx]
mov eax, dword [edx - 0xc]
sub eax, esi
push eax
lea eax, [ebp - 0x268]
push eax
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.004223b0
mov esi, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ebp - 0x270]
push esi
push ecx
push edx
push 0x46d4c4
push ebx
mov byte [ebp - 4], 1
call fcn.004182c0
inc dword [ebp - 0x26c]
lea eax, [esi - 0x10]
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423731
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42375a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x423647
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x64], eax
mov eax, dword [edi + 8]
mov ecx, dword [eax - 0xc]
lea esi, [edi + 8]
test ecx, ecx
jl 0x4238de
push 0x46d4b0
push eax
call fcn.00449a50
add esp, 8
test eax, eax
je 0x4238de
sub eax, dword [esi]
sar eax, 1
jne 0x4238de
mov ecx, edi
call fcn.00423220
test eax, eax
je 0x423857
mov eax, dword [ebx]
mov ecx, dword [edi + 0x10]
push eax
push ecx
call fcn.00419830
add esp, 8
test eax, eax
je 0x423857
mov dword [edi + 0x58], 0x6000
mov eax, dword [0x484394]
mov edx, dword [eax + 0xc]
sub esp, 0x10
mov ecx, 0x484394
mov dword [ebp - 0x268], esp
mov esi, esp
call edx
add eax, 0x10
mov dword [esi + 0xc], eax
mov eax, 0x64
mov dword [esi], 0x1004
mov word [esi + 4], ax
mov dword [esi + 8], 0
mov ecx, dword [edi + 0x3c]
push ecx
jmp 0x423e35
mov dword [edi + 0x58], 0x6000
mov dword [edi + 0x60], 1
mov edx, dword [0x484394]
mov eax, dword [edx + 0xc]
sub esp, 0x10
mov ecx, 0x484394
mov dword [ebp - 0x268], esp
mov esi, esp
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
mov dword [esi], 0x1004
mov ecx, 0x64
mov dword [esi + 8], 0
jmp 0x423e2d
push 8
lea edx, [ebp - 0x270]
push edx
mov ecx, esi
call fcn.00422440
push eax
lea eax, [ebp - 0x268]
push 0x46d4a0
push eax
mov dword [ebp - 4], 2
call fcn.0041c530
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0040f840
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4238b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4238de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x4238f4
mov ecx, dword [eax + 4]
push ecx
mov ecx, ebx
call fcn.0040f210
mov eax, dword [esi]
mov edx, dword [ebx]
sub eax, 0x10
cmp dword [eax + 0xc], 1
mov dword [ebp - 0x268], edx
jle 0x423912
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0040f210
mov ecx, dword [esi]
mov dword [ebp - 0x270], ecx
call fcn.00424050
mov edx, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x270]
push edx
mov edx, dword [eax + 0x1c]
push ecx
push 0
call edx
mov dword [edi + 4], eax
mov eax, dword [esi]
mov ecx, dword [eax - 8]
add esp, 0xc
test eax, eax
je 0x423955
push ecx
push eax
call fcn.00449ab1
add esp, 8
test eax, eax
jl 0x423df7
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x423df7
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [ebx]
mov ecx, dword [eax - 8]
test eax, eax
je 0x423986
push ecx
push eax
call fcn.00449ab1
add esp, 8
test eax, eax
jl 0x423df7
mov ecx, dword [ebx]
cmp eax, dword [ecx - 8]
jg 0x423df7
mov dword [ecx - 0xc], eax
mov ecx, dword [ebx]
xor edx, edx
mov word [ecx + eax*2], dx
call fcn.00424050
mov ecx, dword [edi + 4]
mov edx, dword [eax + 0x24]
push ecx
call edx
add esp, 4
mov ecx, 0x484394
test eax, eax
jne 0x4239e9
mov eax, dword [0x484394]
mov edx, dword [eax + 0xc]
sub esp, 0x10
mov dword [ebp - 0x268], esp
mov esi, esp
call edx
add eax, 0x10
mov dword [esi + 0xc], eax
xor eax, eax
mov dword [esi], 0x1000
mov word [esi + 4], ax
mov dword [esi + 8], eax
mov ecx, dword [edi + 0x3c]
push ecx
jmp 0x423e35
mov edx, dword [0x484394]
mov eax, dword [edx + 0xc]
call eax
xor ecx, ecx
add eax, 0x10
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x284], 0x1000
mov word [ebp - 0x280], cx
mov dword [ebp - 0x27c], ecx
mov dword [ebp - 4], 4
cmp dword [edi + 0x5c], ecx
jne 0x423c4f
mov edx, dword [edi + 0x18]
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x423c4f
push 0x254
lea eax, [ebp - 0x264]
push 0
push eax
call fcn.00448540
call fcn.00424050
mov edx, dword [edi + 4]
mov eax, dword [eax + 0x20]
lea ecx, [ebp - 0x264]
push ecx
push edx
call eax
add esp, 0x14
test eax, eax
je 0x423c4f
mov esi, dword [ebp - 0x25c]
mov ecx, esi
or ecx, dword [ebp - 0x258]
je 0x423aad
mov edx, dword [ebp - 0x250]
mov eax, dword [ebp - 0x254]
push 0
push 0x64
push edx
push eax
call fcn.0044c190
mov ecx, dword [ebp - 0x258]
push ecx
push esi
push edx
push eax
call fcn.0044c120
mov word [ebp - 0x280], ax
mov eax, dword [ebp - 0x224]
xor ecx, ecx
mov dword [ebp - 0x274], eax
test eax, eax
jne 0x423b01
test ecx, ecx
jne 0x423b01
mov edx, dword [edi + 0x64]
push edx
call fcn.00416410
mov ecx, dword [ebp - 0x254]
add esp, 4
push 0
mov esi, eax
mov eax, dword [ebp - 0x250]
push 0x3e8
push eax
push ecx
call fcn.0044c190
push 0
push esi
push edx
push eax
call fcn.0044c120
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], edx
mov edx, dword [edi + 0x64]
push edx
mov dword [ebp - 0x27c], eax
call fcn.00416410
add esp, 4
cmp eax, 0x2710
jbe 0x423b46
cmp dword [ebp - 0x258], 0
ja 0x423b30
cmp dword [ebp - 0x25c], 1
jb 0x423c26
cmp dword [ebp - 0x250], 0
ja 0x423b46
cmp dword [ebp - 0x254], 1
jb 0x423c26
mov eax, dword [edi + 0x64]
push eax
call fcn.00416410
mov ecx, dword [edi + 0x20]
mov edx, dword [ebp - 0x25c]
imul ecx, ecx, 0x3e8
add esp, 4
cmp eax, ecx
mov ecx, dword [ebp - 0x258]
jbe 0x423b89
mov eax, dword [ebp - 0x250]
cmp eax, ecx
jb 0x423c45
ja 0x423b89
mov eax, dword [ebp - 0x254]
cmp eax, edx
jb 0x423c45
mov al, byte [ebp - 0x21f]
cmp al, 1
je 0x423c32
cmp al, 3
je 0x423c45
cmp al, 2
je 0x423c4f
cmp al, 4
je 0x423c4f
cmp al, 5
je 0x423c4f
cmp al, 6
je 0x423c4f
test ecx, ecx
ja 0x423bc8
cmp edx, 1
jb 0x423c1a
mov eax, dword [ebp - 0x278]
mov cx, word [ebp - 0x280]
mov edx, dword [ebp - 0x274]
sub esp, 0x10
mov esi, esp
add eax, 0xfffffff0
mov dword [ebp - 0x268], esp
push eax
mov dword [ebp - 0x284], 0x1003
mov dword [esi], 0x1003
mov word [esi + 4], cx
mov dword [esi + 8], edx
call fcn.0040f2a0
add eax, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x3c]
add esp, 4
push eax
mov ecx, edi
call fcn.004227e0
cmp dword [edi + 0x5c], 0
je 0x423a26
jmp 0x423c4f
mov dword [ebp - 0x284], 0x1001
jmp 0x423c4f
mov dword [edi + 0x58], 0x6000
mov dword [ebp - 0x284], 0x1004
jmp 0x423c4f
mov dword [ebp - 0x284], 0x1002
call fcn.00424050
mov ecx, dword [edi + 4]
mov edx, dword [eax + 0x34]
push ecx
call edx
add esp, 4
cmp dword [ebp - 0x284], 0x1001
jne 0x423d8b
mov eax, dword [edi + 8]
lea esi, [edi + 8]
push 0x3b
push eax
call fcn.00449224
add esp, 8
test eax, eax
jne 0x423c91
mov dword [ebp - 0x26c], 0xffffffff
jmp 0x423c9b
sub eax, dword [esi]
sar eax, 1
mov dword [ebp - 0x26c], eax
mov eax, dword [esi]
push 0x7c
push eax
call fcn.00449224
add esp, 8
test eax, eax
jne 0x423cb1
or eax, 0xffffffff
jmp 0x423cb5
sub eax, dword [esi]
sar eax, 1
cmp dword [ebp - 0x26c], 0
jle 0x423ce8
mov eax, dword [ebp - 0x26c]
inc eax
push eax
lea ecx, [ebp - 0x268]
push ecx
mov ecx, esi
call fcn.00422440
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.0040f840
mov eax, dword [ebp - 0x268]
jmp 0x423d12
test eax, eax
jle 0x423d8b
inc eax
push eax
lea ecx, [ebp - 0x26c]
push ecx
mov ecx, esi
call fcn.00422440
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.0040f840
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov byte [ebp - 4], 4
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x423d32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, edi
call fcn.00423220
test eax, eax
je 0x423d8b
mov ebx, dword [ebx]
mov eax, dword [edi + 0x10]
push ebx
push eax
call fcn.00419830
add esp, 8
test eax, eax
je 0x423d8b
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x268], esp
push 0
push 0x64
push 0x1004
mov dword [edi + 0x58], 0x6000
call fcn.004222b0
mov ecx, dword [edi + 0x3c]
push ecx
mov ecx, edi
call fcn.004227e0
lea ecx, [ebp - 0x284]
call fcn.0041edb0
jmp 0x423e3c
mov ebx, dword [ebp - 0x278]
mov edx, dword [ebp - 0x284]
mov ax, word [ebp - 0x280]
mov ecx, dword [ebp - 0x27c]
sub esp, 0x10
mov esi, esp
add ebx, 0xfffffff0
mov dword [ebp - 0x268], esp
push ebx
mov dword [esi], edx
mov word [esi + 4], ax
mov dword [esi + 8], ecx
call fcn.0040f2a0
add eax, 0x10
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0x3c]
add esp, 4
push edx
mov ecx, edi
call fcn.004227e0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423e3c
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
jmp 0x423e3c
push 0x80070057
call fcn.00403dd0
mov edx, dword [0x484394]
mov eax, dword [edx + 0xc]
sub esp, 0x10
mov ecx, 0x484394
mov dword [ebp - 0x268], esp
mov esi, esp
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
xor ecx, ecx
mov dword [esi], 0x1000
mov dword [esi + 8], ecx
mov word [esi + 4], cx
mov edx, dword [edi + 0x3c]
push edx
mov ecx, edi
call fcn.004227e0
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.00447f52
mov esp, ebp
pop ebp
ret