Function at 0x43f680
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 [0x415458]
call fcn.00407970
xor eax, eax
push ebp
push 0x43fa7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4560bc]
mov eax, dword [eax]
mov dl, 1
call fcn.004100a8
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
je 0x43fa38
cmp word [0x45c21a], 0
je 0x43f6fc
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, 8
call fcn.00404a7c
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0043ea1c
mov byte [0x45c1f4], 1
xor edx, edx
push ebp
push 0x43fa31
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x43fa9c
mov eax, dword [0x4560bc]
push dword [eax]
push 0x43faac
push 0x43fae8
push 0x43fafc
push 0x43fae8
lea eax, [ebp - 0x28]
push eax
mov eax, dword [0x455f8c]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0x11
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x43fb28
call fcn.00410ac0
push dword [ebp - 0x28]
push 0x43fae8
lea eax, [ebp - 0x34]
push eax
mov eax, dword [0x45c1f0]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x43fb50
call fcn.00410ac0
push dword [ebp - 0x34]
lea eax, [ebp - 4]
mov edx, 9
call fcn.004076a8
mov eax, dword [0x4561f0]
cmp byte [eax], 0
je 0x43f7b4
lea eax, [ebp - 0x38]
call fcn.00438e54
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x43f7ad
sub eax, 4
mov eax, dword [eax]
test eax, eax
setg al
jmp 0x43f7b6
xor eax, eax
test al, al
je 0x43f7e8
call fcn.00438d4c
test al, al
jne 0x43f7e8
push dword [ebp - 4]
push 0x43fb78
lea eax, [ebp - 0x40]
call fcn.00438e54
push dword [ebp - 0x40]
push 0x43fa9c
lea eax, [ebp - 4]
mov edx, 4
call fcn.004076a8
mov eax, dword [0x4561d4]
cmp byte [eax], 0
je 0x43f80c
push dword [ebp - 4]
push 0x43fae8
push 0x43fba8
lea eax, [ebp - 4]
mov edx, 3
call fcn.004076a8
mov eax, dword [0x455fd8]
cmp byte [eax], 0
je 0x43f830
push dword [ebp - 4]
push 0x43fae8
push 0x43fbcc
lea eax, [ebp - 4]
mov edx, 3
call fcn.004076a8
mov eax, dword [0x456018]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x43f846
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x43f875
push dword [ebp - 4]
push 0x43fae8
push 0x43fbf4
push 0x43fc18
mov eax, dword [0x456018]
push dword [eax]
push 0x43fa9c
lea eax, [ebp - 4]
mov edx, 6
call fcn.004076a8
mov eax, dword [0x455fc4]
cmp byte [eax], 0
jne 0x43f8fa
push dword [ebp - 4]
push 0x43fae8
push 0x43fc2c
push 0x43fae8
push 0x43fc48
push 0x43fc68
lea edx, [ebp - 0x44]
mov eax, dword [0x45c210]
call fcn.0040fcf8
push dword [ebp - 0x44]
push 0x43fc80
mov eax, dword [0x4560e0]
push dword [eax]
lea eax, [ebp - 4]
mov edx, 9
call fcn.004076a8
mov eax, dword [0x45607c]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x43f8da
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x43f8fa
push dword [ebp - 4]
push 0x43fc98
mov eax, dword [0x45607c]
push dword [eax]
lea eax, [ebp - 4]
mov edx, 3
call fcn.004076a8
mov eax, dword [0x45607c]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x43f910
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x43f93f
push dword [ebp - 4]
push 0x43fae8
push 0x43fca8
push 0x43fc18
mov eax, dword [0x45607c]
push dword [eax]
push 0x43fa9c
lea eax, [ebp - 4]
mov edx, 6
call fcn.004076a8
mov eax, dword [0x456118]
cmp byte [eax], 0
je 0x43f963
push dword [ebp - 4]
push 0x43fae8
push 0x43fcc8
lea eax, [ebp - 4]
mov edx, 3
call fcn.004076a8
mov eax, dword [0x45611c]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x43f979
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x43f999
push dword [ebp - 4]
push 0x43fcf4
mov eax, dword [0x45611c]
push dword [eax]
lea eax, [ebp - 4]
mov edx, 3
call fcn.004076a8
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004128c8
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
je 0x43f9ed
xor eax, eax
push ebp
push 0x43f9e6
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 0x43f9ed
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 0x43fa38
mov eax, dword [0x4560bc]
mov eax, dword [eax]
call fcn.004073dc
push eax
call sub.kernel32.dll_DeleteFileW
cmp word [0x45c21a], 0
je 0x43fa29
mov byte [ebp - 0xc], 1
mov byte [ebp - 0xb], 0x64
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0043ea1c
mov byte [0x45c1f4], 0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fa85
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00406b74
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00406b74
lea eax, [ebp - 0x28]
call fcn.00406b14
lea eax, [ebp - 0xc]
mov edx, dword [0x415458]
call fcn.00407a48
lea eax, [ebp - 4]
call fcn.00406b14
ret