Function at 0x445340
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45ab08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x4a1668]
push ebx
push esi
push edi
xor edi, edi
push edi
push eax
mov dword [esp + 0x28], ecx
call fcn.0044ea69
mov esi, eax
add esp, 8
cmp esi, edi
je 0x4456cd
push esi
lea ecx, [esp + 0x1c]
call fcn.00406a40
mov edx, dword [0x4a1e24]
mov ecx, 0x4a1e24
mov dword [esp + 0x44], edi
call dword [edx + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x10], ebx
mov eax, dword [0x4a1e24]
mov ecx, 0x4a1e24
mov byte [esp + 0x44], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [esp + 0x18]
push 0x45fb10
push edx
mov byte [esp + 0x50], 2
call fcn.00412d20
push esi
call fcn.0044c8e1
mov eax, 0x45d774
add esp, 0x10
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x18]
cmp eax, edi
mov byte [esp + 0x44], 4
je 0x44545f
lea ecx, [esp + 0x1c]
push ecx
push eax
mov byte [esp + 0x24], 0x77
mov byte [esp + 0x25], 0x74
mov byte [esp + 0x26], 0
call fcn.0044da6f
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x34], edi
je 0x44545f
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x44]
test eax, eax
je 0x445456
lea ecx, [esp + 0x1c]
push ecx
push eax
mov byte [esp + 0x24], 0x72
mov byte [esp + 0x25], 0x74
mov byte [esp + 0x26], 0
call fcn.0044da6f
add esp, 8
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x44548a
push edi
call fcn.0044d9c2
add esp, 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x44], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x445482
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
jmp 0x44568b
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
call fcn.004109d0
cmp eax, 1
jne 0x445633
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
push ecx
push esi
call fcn.0044d528
add esp, 8
test eax, eax
jne 0x4455af
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x2c]
call fcn.004109d0
cmp eax, 1
jne 0x445618
mov esi, dword [esp + 0x10]
push 0x45fb08
push esi
call fcn.0044d528
add esp, 8
test eax, eax
lea ecx, [esp + 0x10]
je 0x445571
push 1
lea eax, [esp + 0x20]
push eax
call fcn.004435b0
mov eax, dword [eax]
push 0x45c51c
push eax
call fcn.0044d528
add esp, 8
test eax, eax
mov eax, dword [esp + 0x1c]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44552f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x445547
push 1
push 0x45c51c
lea ecx, [esp + 0x18]
call fcn.00402e90
mov esi, dword [esp + 0x10]
test esi, esi
je 0x445555
push edi
push esi
call fcn.0044e7e9
add esp, 8
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
call fcn.004109d0
cmp eax, 1
je 0x4454d2
jmp 0x445618
push ecx
lea ecx, [esp + 0x2c]
call fcn.004109d0
cmp eax, 1
jne 0x445618
mov edx, dword [esp + 0x10]
push 0x45fb00
push edx
call fcn.0044d528
add esp, 8
test eax, eax
je 0x445618
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
call fcn.004109d0
cmp eax, 1
je 0x445584
jmp 0x445618
push 1
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x18]
call fcn.004435b0
mov eax, dword [eax]
push 0x45c51c
push eax
call fcn.0044d528
add esp, 8
test eax, eax
mov eax, dword [esp + 0x24]
setne bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4455f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x44560a
push 1
push 0x45c51c
lea ecx, [esp + 0x18]
call fcn.00402e90
mov esi, dword [esp + 0x10]
test esi, esi
je 0x445618
push edi
push esi
call fcn.0044e7e9
add esp, 8
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
call fcn.004109d0
cmp eax, 1
je 0x4454a1
mov esi, dword [esp + 0x20]
push edi
call fcn.0044d9c2
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0044d9c2
mov eax, dword [esi + 0x44]
add esp, 8
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov eax, dword [esi + 0x44]
mov edx, dword [esp + 0x18]
push eax
push edx
call fcn.0044e9f1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0x44], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x445684
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x44], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4456a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4456cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4