Function at 0x431980
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b7233
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x76a02c]
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 esi, ecx
mov dword [ebp - 0x88], esi
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [esi + 0xa4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [edi + 0x20]
sub ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
sub eax, dword [edi + 0x14]
mov edx, dword [edi + 0xc]
push ecx
push eax
push dword [edi + 0x10]
lea ecx, [ebp - 0x84]
call fcn.00452030
add esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x84]
mov ebx, dword [edi + 0x4c]
sub ebx, 0x10
lea edx, [eax - 0x10]
cmp edx, ebx
je 0x431a55
cmp dword [ebx + 0xc], 0
jl 0x431a43
mov ecx, dword [edx]
cmp ecx, dword [ebx]
jne 0x431a43
push edx
call fcn.00428ba0
add esp, 4
mov dword [ebp - 0x8c], eax
or ecx, 0xffffffff
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x431a3b
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x8c]
add eax, 0x10
mov dword [edi + 0x4c], eax
jmp 0x431a4f
push dword [eax - 0xc]
lea ecx, [edi + 0x4c]
push eax
call fcn.00429270
mov eax, dword [ebp - 0x84]
lea edx, [eax - 0x10]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x431a74
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi + 0x50], 1
lea ebx, [esi + 0x5c]
mov dword [edi + 0x68], 1
mov ecx, dword [ebx]
mov eax, dword [esi + 0x60]
cmp ecx, eax
je 0x431ac3
mov edx, dword [edi + 0x40]
mov esi, dword [ebp - 0x88]
mov ebx, dword [edi + 0x44]
nop word [eax + eax]
cmp dword [ecx + 0x40], edx
jne 0x431aaa
cmp dword [ecx + 0x44], ebx
je 0x431ab1
add ecx, 0x70
cmp ecx, eax
jne 0x431aa0
lea ebx, [esi + 0x5c]
cmp ecx, eax
je 0x431ac3
push edi
call fcn.00427280
jmp 0x431bcb
lea ecx, [ebp - 0x80]
call fcn.00451a60
mov eax, dword [ebp - 0x88]
mov dword [ebp - 4], 1
mov esi, dword [ebx]
mov dword [ebp - 0x84], 0
cmp esi, dword [eax + 0x60]
je 0x431b4c
nop dword [eax]
push 0
push esi
mov ecx, edi
call fcn.00451060
test eax, eax
je 0x431b3e
cmp dword [esi + 0x50], 0
je 0x431b3e
mov eax, dword [esi + 0x54]
add dword [ebp - 0x84], eax
cmp dword [ebp - 0x2c], eax
jae 0x431b2b
mov eax, dword [ebp - 0x34]
cmp dword [eax - 0xc], 0
je 0x431b22
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
lea ecx, [ebp - 0x80]
call fcn.00427280
push esi
lea eax, [ebp - 0x8c]
mov ecx, ebx
push eax
call fcn.0042b150
mov esi, dword [eax]
jmp 0x431b41
add esi, 0x70
mov eax, dword [ebp - 0x88]
cmp esi, dword [eax + 0x60]
jne 0x431af0
push dword [edi + 0x4c]
push dword [ebp - 0x34]
call fcn.00541774
mov eax, dword [ebp - 0x84]
add esp, 8
mov dword [edi + 0x54], eax
mov eax, dword [ebx + 4]
push edi
cmp dword [ebx + 8], eax
je 0x431b79
mov ecx, eax
call fcn.00451af0
add dword [ebx + 4], 0x70
jmp 0x431b81
push eax
mov ecx, ebx
call fcn.0042cf00
mov dword [ebp - 4], 0xffffffff
or ebx, 0xffffffff
mov edx, dword [ebp - 0x34]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x431ba5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x431bbd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x80]
call fcn.0042e7a0
mov esi, dword [ebp - 0x88]
mov ecx, esi
call fcn.004301f0
push dword [esi + 0xa4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, 1
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.00468d3e
mov esp, ebp
pop ebp
ret 4