Function at 0x4402ec
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
xor edx, edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
mov edx, dword [0x415b7c]
call fcn.00407978
xor eax, eax
push ebp
push 0x440779
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x45a0e4]
mov eax, dword [eax]
mov dl, 1
call fcn.00410130
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
je 0x440733
cmp word [0x46021a], 0
je 0x440368
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, 8
call fcn.00404a8c
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0043f688
mov byte [0x4601f8], 1
xor edx, edx
push ebp
push 0x44072c
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x440794
mov eax, dword [0x45a0e4]
push dword [eax]
push 0x4407a4
push 0x4407e0
push 0x4407f4
push 0x4407e0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [0x459fb4]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0x11
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x440820
call fcn.00410be4
push dword [ebp - 0x28]
push 0x4407e0
lea eax, [ebp - 0x34]
push eax
mov eax, dword [0x4601f4]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x440848
call fcn.00410be4
push dword [ebp - 0x34]
push 0x440870
lea eax, [ebp - 4]
mov edx, 0xa
call fcn.004076b0
mov eax, dword [0x45a21c]
cmp byte [eax], 0
je 0x440425
lea eax, [ebp - 0x38]
call fcn.00439730
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x44041e
sub eax, 4
mov eax, dword [eax]
test eax, eax
setg al
jmp 0x440427
xor eax, eax
test al, al
je 0x440459
call fcn.00439628
test al, al
jne 0x440459
push dword [ebp - 4]
push 0x440898
lea eax, [ebp - 0x40]
call fcn.00439730
push dword [ebp - 0x40]
push 0x440794
lea eax, [ebp - 4]
mov edx, 4
call fcn.004076b0
mov eax, dword [0x45a200]
cmp byte [eax], 0
je 0x44047d
push dword [ebp - 4]
push 0x4407e0
push 0x4408c8
lea eax, [ebp - 4]
mov edx, 3
call fcn.004076b0
mov eax, dword [0x459ffc]
cmp byte [eax], 0
je 0x4404a1
push dword [ebp - 4]
push 0x4407e0
push 0x4408ec
lea eax, [ebp - 4]
mov edx, 3
call fcn.004076b0
mov eax, dword [0x45a124]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4404b7
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x4404e6
push dword [ebp - 4]
push 0x4407e0
push 0x440914
push 0x440940
mov eax, dword [0x45a124]
push dword [eax]
push 0x440794
lea eax, [ebp - 4]
mov edx, 6
call fcn.004076b0
mov eax, dword [0x45a03c]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4404fc
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x44052b
push dword [ebp - 4]
push 0x4407e0
push 0x440954
push 0x440940
mov eax, dword [0x45a03c]
push dword [eax]
push 0x440794
lea eax, [ebp - 4]
mov edx, 6
call fcn.004076b0
mov eax, dword [0x459fec]
cmp byte [eax], 0
jne 0x4405b0
push dword [ebp - 4]
push 0x4407e0
push 0x440978
push 0x4407e0
push 0x440994
push 0x4409b4
lea edx, [ebp - 0x44]
mov eax, dword [0x460214]
call fcn.0040fd80
push dword [ebp - 0x44]
push 0x4409cc
mov eax, dword [0x45a108]
push dword [eax]
lea eax, [ebp - 4]
mov edx, 9
call fcn.004076b0
mov eax, dword [0x45a0a0]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x440590
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x4405b0
push dword [ebp - 4]
push 0x4409e4
mov eax, dword [0x45a0a0]
push dword [eax]
lea eax, [ebp - 4]
mov edx, 3
call fcn.004076b0
mov eax, dword [0x45a0a0]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4405c6
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x4405f5
push dword [ebp - 4]
push 0x4407e0
push 0x4409f4
push 0x440940
mov eax, dword [0x45a0a0]
push dword [eax]
push 0x440794
lea eax, [ebp - 4]
mov edx, 6
call fcn.004076b0
mov eax, dword [0x45a148]
cmp byte [eax], 0
je 0x440619
push dword [ebp - 4]
push 0x4407e0
push 0x440a14
lea eax, [ebp - 4]
mov edx, 3
call fcn.004076b0
mov eax, dword [0x45a140]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x44062f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x44065e
push dword [ebp - 4]
push 0x4407e0
push 0x440a40
push 0x440940
mov eax, dword [0x45a140]
push dword [eax]
push 0x440794
lea eax, [ebp - 4]
mov edx, 6
call fcn.004076b0
mov eax, dword [0x45a14c]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x440674
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x440694
push dword [ebp - 4]
push 0x440a60
mov eax, dword [0x45a14c]
push dword [eax]
lea eax, [ebp - 4]
mov edx, 3
call fcn.004076b0
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00412a28
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
je 0x4406e8
xor eax, eax
push ebp
push 0x4406e1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4406e8
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440733
mov eax, dword [0x45a0e4]
mov eax, dword [eax]
call fcn.004073e4
push eax
call sub.kernel32.dll_DeleteFileW
cmp word [0x46021a], 0
je 0x440724
mov byte [ebp - 0xc], 1
mov byte [ebp - 0xb], 0x64
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0043f688
mov byte [0x4601f8], 0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440780
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00406b84
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00406b84
lea eax, [ebp - 0x28]
call fcn.00406b24
lea eax, [ebp - 0xc]
mov edx, dword [0x415b7c]
call fcn.00407a50
lea eax, [ebp - 4]
call fcn.00406b24
ret