Function at 0x40d5d0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4344b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], 0
call fcn.004105ab
mov byte [esp + 0x40], 1
call fcn.004273c8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov byte [esp + 0x40], 2
call fcn.004273c8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0xc], ebx
push 0x438354
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x4c], 3
call fcn.00406000
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 4
call fcn.00410640
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x40], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d67c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
je 0x40d80f
push ebp
push edi
lea ecx, [esp + 0x28]
call fcn.004103e8
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call fcn.0041092d
mov ecx, dword [eax]
mov esi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x48], 5
je 0x40d6fc
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x40d6ee
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40d6ee
push eax
call fcn.00401500
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40d6e5
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebp, 0x10
mov dword [esp + 0x10], ebp
jmp 0x40d6fc
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00401670
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x48], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d71f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x28]
call fcn.0041056e
test eax, eax
jne 0x40d801
push 0x436674
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00406000
lea edx, [esp + 0x10]
push edx
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x54], 6
call fcn.004043f0
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebx - 0x10]
cmp eax, esi
mov byte [esp + 0x48], 7
je 0x40d7b4
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x40d7a2
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40d7a2
push eax
call fcn.00401500
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40d799
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea ebx, [ebp + 0x10]
mov dword [esp + 0x14], ebx
jmp 0x40d7b4
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401670
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x48], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d7d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x48], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d7fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x40d686
pop edi
pop ebp
lea eax, [ebx - 0x10]
mov byte [esp + 0x40], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop esi
pop ebx
jg 0x40d830
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp]
add eax, 0xfffffff0
mov byte [esp + 0x38], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d852
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0
call fcn.004105d1
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d886
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x30]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x3c
ret 4