Function at 0x40b880
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x436918
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebp
push esi
lea ecx, [esp + 0x24]
call fcn.00412e3a
mov dword [esp + 0x44], 0
call fcn.00428fe3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov byte [esp + 0x44], 1
call fcn.00428fe3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0xc], ebp
mov eax, dword [0x44914c]
mov ecx, dword [eax + 0x14]
push str.wnime.
add ecx, 4
push ecx
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x50], 2
call fcn.004047c0
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], 3
call fcn.00412ecd
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x44], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b92e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
je 0x40bb28
push ebx
push edi
jmp 0x40b940
lea ecx, [esp + 0x2c]
call fcn.00412c1b
mov dword [esp + 0x28], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
call fcn.004130f5
mov ecx, dword [eax]
mov esi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x4c], 4
je 0x40b9b6
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x40b9a8
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40b9a8
push eax
call fcn.00401de0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40b99f
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x10], ebx
jmp 0x40b9b6
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00402230
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x4c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b9d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x2c]
call fcn.00412e01
test eax, eax
jne 0x40bb1a
mov eax, dword [0x44914c]
mov ecx, dword [eax + 0x14]
push str.wnime_
add ecx, 4
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004047c0
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x58], 5
call fcn.0040b200
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebp - 0x10]
cmp eax, esi
mov byte [esp + 0x4c], 6
je 0x40ba75
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x40ba63
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40ba63
push eax
call fcn.00401de0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40ba5a
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea ebp, [ebx + 0x10]
mov dword [esp + 0x14], ebp
jmp 0x40ba75
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402230
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x4c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ba98
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 + 0x4c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40babb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 2
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402320
mov eax, dword [eax]
push 0x43a4f4
push eax
call fcn.0041b9dd
mov ebx, eax
mov eax, dword [esp + 0x2c]
add esp, 8
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bb01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x40bb1a
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40bb1a
push 5
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x40b940
pop edi
pop ebx
lea eax, [ebp - 0x10]
mov byte [esp + 0x44], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop esi
pop ebp
jg 0x40bb49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bb6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00412e5e
mov ecx, dword [esp + 0x34]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x40
ret