Function at 0x42b480
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x594a6c
mov eax, dword fs:[0]
push eax
sub esp, 0x4a4
mov eax, dword [0x602c90]
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 eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, ecx
lea ecx, [ebp - 0x4b0]
push ecx
mov edi, edx
mov dword [ebp - 0x484], eax
mov byte [ebp - 0x471], 0
call fcn.0043eb70
mov dword [ebp - 4], 0
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00405370
add eax, 0x10
add esp, 4
mov dword [ebp - 0x47c], eax
push 0x2f
push eax
mov byte [ebp - 4], 1
call fcn.00560aaf
add esp, 8
test eax, eax
je 0x42b5db
sub eax, dword [ebp - 0x47c]
sar eax, 1
cmp eax, 0xffffffff
jle 0x42b5db
mov edx, dword [ebp - 0x47c]
mov ecx, dword [edx - 0xc]
sub ecx, eax
dec ecx
push ecx
inc eax
push eax
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x47c]
call fcn.00405020
push eax
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 2
call fcn.00405100
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x478]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b56e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x47c]
push 0x2e
push ecx
call fcn.00560aaf
add esp, 8
test eax, eax
je 0x42b5db
sub eax, dword [ebp - 0x47c]
sar eax, 1
cmp eax, 0xffffffff
jle 0x42b5db
push eax
push 0
lea edx, [ebp - 0x478]
push edx
lea ecx, [ebp - 0x47c]
call fcn.00405020
push eax
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 3
call fcn.00405100
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x478]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b5db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x484]
push ebx
push esi
mov edx, edi
call fcn.0042a250
mov ecx, dword [ebp - 0x484]
mov byte [ebp - 0x485], al
mov eax, dword [ecx]
sub eax, 0x10
push eax
call fcn.00405370
lea edi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x480], edi
push 0x5c
push edi
mov byte [ebp - 4], 4
call fcn.00560aaf
add esp, 8
test eax, eax
je 0x42b674
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
jle 0x42b674
push eax
push 0
lea edx, [ebp - 0x478]
push edx
lea ecx, [ebp - 0x480]
call fcn.00405020
push eax
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 5
call fcn.00405100
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x478]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b674
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x5c20fc
lea ecx, [ebp - 0x480]
push ecx
lea edx, [ebp - 0x48c]
push edx
call fcn.00420dc0
add esp, 0xc
lea ecx, [ebp - 0x47c]
push ecx
push eax
lea edx, [ebp - 0x490]
push edx
mov byte [ebp - 4], 6
call fcn.00420d00
add esp, 0xc
push 0x5c20fc
push eax
lea eax, [ebp - 0x478]
mov bl, 7
push eax
mov byte [ebp - 4], bl
call fcn.00420dc0
add esp, 0xc
push eax
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 8
call fcn.00405100
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x478]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b6f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x490]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b71f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x48c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b745
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0x485], 0
je 0x42bbbe
mov ecx, dword [ebp - 0x484]
mov eax, dword [ecx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x42b76e
call fcn.004022b0
push eax
call fcn.00461640
mov ebx, eax
add esp, 4
mov dword [ebp - 0x494], ebx
mov dword [ebp - 0x470], 0
test ebx, ebx
jne 0x42b799
mov dword [0x60b190], 0x10000
jmp 0x42b7e9
cmp dword [ebx], 1
je 0x42b7aa
mov dword [0x60b190], 0x80000
jmp 0x42b7e9
mov edx, dword [ebp - 0x494]
mov esi, dword [edx + 4]
mov edi, dword [esi]
or ebx, 0xffffffff
cmp dword [edi + 4], ebx
jg 0x42b7c4
mov eax, 0x10000
jmp 0x42b7de
cmp dword [esi + 4], ebx
je 0x42b7ce
call fcn.00460960
mov eax, dword [esi]
mov dword [esi + 4], ebx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x470], ecx
xor eax, eax
mov ebx, dword [ebp - 0x494]
mov dword [0x60b190], eax
cmp dword [ebp - 0x470], 0
mov dword [ebp - 0x490], 0
jle 0x42ba00
mov eax, dword [ebp - 0x480]
add eax, 0xfffffffc
mov dword [ebp - 0x478], eax
nop
xor edi, edi
xor edx, edx
mov dword [ebp - 0x240], edi
mov word [ebp - 0x23c], dx
mov dword [ebp - 0x14], edi
cmp ebx, edi
jne 0x42b834
mov dword [0x60b190], 0x10000
jmp 0x42b85f
cmp dword [ebx], 1
je 0x42b845
mov dword [0x60b190], 0x80000
jmp 0x42b85f
mov eax, dword [ebp - 0x490]
mov ecx, dword [ebx + 4]
push eax
lea edx, [ebp - 0x240]
call fcn.00460b30
mov dword [0x60b190], eax
mov esi, dword [ebp - 0x480]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x478]
cmp dword [ecx], edi
jl 0x42b88e
cmp eax, dword [esi - 0x10]
jne 0x42b88e
lea edi, [esi - 0x10]
mov edx, ecx
mov eax, 1
lock xadd dword [edx], eax
jmp 0x42b8c6
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x42b769
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0055fdb4
add esp, 0x10
add edi, 0x10
mov dword [ebp - 0x48c], edi
lea ecx, [ebp - 0x23c]
push ecx
lea edx, [ebp - 0x48c]
push edx
lea eax, [ebp - 0x498]
push eax
mov byte [ebp - 4], 9
call fcn.00420dc0
add esp, 0xc
mov byte [ebp - 4], 0xa
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x42b957
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x42b941
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42b941
push eax
call fcn.00405370
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x42b930
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea edi, [ebx + 0x10]
mov ebx, dword [ebp - 0x494]
mov dword [ebp - 0x48c], edi
jmp 0x42b957
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x48c]
call fcn.004021a0
mov edi, dword [ebp - 0x48c]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x498]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b97d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi - 0xc]
push eax
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
je 0x42b769
test ebx, ebx
jne 0x42b9a0
mov dword [0x60b190], 0x10000
jmp 0x42b9c7
cmp dword [ebx], 1
je 0x42b9b1
mov dword [0x60b190], 0x80000
jmp 0x42b9c7
mov edx, dword [ebp - 0x490]
mov ecx, dword [ebx + 4]
push edx
mov edx, eax
call fcn.004612a0
mov dword [0x60b190], eax
add edi, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42b9e7
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, dword [ebp - 0x490]
inc eax
mov dword [ebp - 0x490], eax
cmp eax, dword [ebp - 0x470]
jl 0x42b810
test ebx, ebx
jne 0x42ba13
mov dword [0x60b190], 0x10000
jmp 0x42ba9c
cmp dword [ebx], 1
je 0x42ba24
mov dword [0x60b190], 0x80000
jmp 0x42ba9c
mov ecx, dword [ebp - 0x494]
mov esi, dword [ecx + 4]
or ebx, 0xffffffff
cmp dword [esi + 4], ebx
je 0x42ba3c
mov edi, dword [esi]
call fcn.00460960
mov edi, dword [esi]
mov dword [esi + 4], ebx
test edi, edi
je 0x42ba78
cmp dword [edi + 0x7c], 0
je 0x42ba50
call fcn.00460960
mov ebx, dword [edi]
test ebx, ebx
je 0x42ba6f
cmp byte [ebx + 0x10], 0
je 0x42ba66
mov edx, dword [ebx + 4]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
call fcn.004732a6
add esp, 4
push edi
call fcn.00560904
add esp, 4
mov dword [esi], 0
mov dword [0x60b190], 0
call fcn.00461700
mov eax, dword [ebp - 0x494]
push eax
call fcn.004732a6
add esp, 4
mov ecx, dword [ebp - 0x484]
mov eax, dword [ecx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x42bab8
call fcn.004022b0
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov edi, dword [ebp - 0x480]
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [edi - 4], 0
lea ecx, [edi - 4]
jl 0x42baeb
cmp eax, dword [edi - 0x10]
jne 0x42baeb
lea esi, [edi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x42bb24
mov ecx, dword [edi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x42bb04
call fcn.004022b0
mov eax, dword [edi - 0xc]
mov dword [esi + 4], eax
mov eax, dword [edi - 0xc]
lea edx, [eax + eax + 2]
push edx
push edi
lea eax, [eax + eax + 2]
lea ecx, [esi + 0x10]
push eax
push ecx
call fcn.0055fdb4
add esp, 0x10
lea eax, [esi + 0x10]
mov dword [ebp - 0x478], eax
mov ecx, dword [ebp - 0x484]
mov byte [ebp - 4], 0xb
mov edi, dword [ecx]
lea esi, [eax - 0x10]
sub edi, 0x10
cmp esi, edi
je 0x42bb9a
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x42bb8a
mov edx, dword [esi]
cmp edx, dword [edi]
jne 0x42bb8a
push esi
call fcn.00405370
mov dword [ebp - 0x498], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x42bb77
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0x498]
mov edx, dword [ebp - 0x484]
add ecx, 0x10
mov dword [edx], ecx
jmp 0x42bb9a
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, dword [ebp - 0x484]
push eax
call fcn.004021a0
mov byte [ebp - 4], 4
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42bbb7
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [ebp - 0x471], 1
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x480]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bbe4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x47c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bc0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [ebp - 0x4a8]
mov dword [ebp - 4], 0xd
call fcn.00421170
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x4ac]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bc42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4b0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bc6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [ebp - 0x471]
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.0055f89e
mov esp, ebp
pop ebp
ret 8