Function at 0x54a9e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x54a9e8
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x54b0a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x19], 0
mov edx, dword [0x560170]
mov edx, dword [edx]
lea eax, [ebp - 4]
mov ecx, 0x54b0c8
call fcn.00407474
mov eax, dword [ebp - 4]
call fcn.00411ed8
test al, al
jne 0x54aa45
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 4]
mov edx, 0x54b0ec
call fcn.00407474
mov eax, dword [ebp - 0x38]
xor edx, edx
call fcn.00536904
jmp 0x54b017
mov eax, dword [0x560170]
mov eax, dword [eax]
call fcn.0051ea30
test al, al
je 0x54b017
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x444370]
call fcn.00445b3c
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
call fcn.0051a3e0
push 0
mov ecx, 0x54b118
mov edx, 0x54b130
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dword [ebp - 0x24], eax
push 0
lea eax, [ebp - 0x40]
push eax
mov edx, 0x54b130
mov ecx, 0x54b14c
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.00410bfc
mov edx, dword [ebp - 0x3c]
mov eax, 0x54b164
call fcn.00407678
sete byte [ebp - 0x2e]
mov eax, dword [ebp - 0x24]
test eax, eax
jle 0x54afcc
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0
lea edx, [ebp - 0x48]
xor ecx, ecx
mov eax, 0x54b178
call fcn.00412f68
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x54b194
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 4]
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x54b1ac
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 4]
push 0
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x54b1c0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x14]
call fcn.00410bfc
push 0
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x54b1dc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.00410bfc
mov edx, dword [ebp - 0x50]
mov eax, 0x54b164
call fcn.00407678
sete byte [ebp - 0x2d]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x54ab8f
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x54ab8f
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x10]
call fcn.00406368
test eax, eax
je 0x54ab98
sub eax, 4
mov eax, dword [eax]
dec eax
jge 0x54ab9f
mov al, 1
jmp 0x54abb0
mov edx, dword [ebp - 0x18]
mov eax, 0x54b1f0
call fcn.004079f8
dec eax
setne al
test al, al
jne 0x54afc0
mov edx, dword [0x560170]
mov edx, dword [edx]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 0x10]
call fcn.00407474
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0x11
lea edx, [ebp - 0x48]
xor ecx, ecx
mov eax, 0x54b208
call fcn.00412f68
mov eax, dword [ebp - 0x58]
xor edx, edx
call fcn.00536904
mov eax, dword [ebp - 8]
call fcn.00411ed8
test al, al
je 0x54ac94
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 8]
call fcn.004cf1e4
lea eax, [ebp - 0x74]
lea edx, [ebp - 0x64]
call fcn.004cf340
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
call fcn.004071bc
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.00410bfc
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x14]
call fcn.00407678
jne 0x54ac94
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x24]
jne 0x54ac47
mov byte [ebp - 0x19], 1
lea eax, [ebp - 0x78]
mov ecx, dword [ebp - 8]
mov edx, 0x54b22c
call fcn.00407474
mov eax, dword [ebp - 0x78]
xor edx, edx
call fcn.00536904
cmp byte [ebp - 0x2d], 0
je 0x54afc0
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0051a52c
lea eax, [ebp - 0x7c]
mov ecx, dword [ebp - 8]
mov edx, 0x54b268
call fcn.00407474
mov eax, dword [ebp - 0x7c]
xor edx, edx
call fcn.00536904
jmp 0x54afc0
mov dl, 1
mov eax, dword [0x42a114]
call fcn.00404eb4
mov dword [ebp - 0x2c], eax
xor edx, edx
push ebp
push 0x54ae54
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x54adbd
push dword fs:[edx]
mov dword fs:[edx], esp
lea ecx, [ebp - 0x80]
mov dl, 1
mov al, 1
call fcn.00547c6c
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
call fcn.004de8bc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x54acf6
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x54acf6
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x18]
call fcn.00406368
mov ebx, eax
test ebx, ebx
je 0x54ad01
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x88]
push eax
mov edx, ebx
sub edx, 2
mov ecx, 3
mov eax, dword [ebp - 0x18]
call fcn.004076e0
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x84]
call fcn.00410bfc
mov edx, dword [ebp - 0x84]
mov eax, 0x54b288
call fcn.00407678
jne 0x54ada5
mov ecx, 0x54b288
lea eax, [ebp - 0x8c]
mov edx, dword [ebp - 8]
call fcn.00407474
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x2c]
call fcn.00435018
mov ecx, 0x54b288
lea eax, [ebp - 0x90]
mov edx, dword [ebp - 8]
call fcn.00407474
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 8]
call fcn.00533c04
mov ecx, 0x54b288
lea eax, [ebp - 0x94]
mov edx, dword [ebp - 8]
call fcn.00407474
mov eax, dword [ebp - 0x94]
call fcn.0040701c
push eax
call sub.kernel32.dll_DeleteFileW
jmp 0x54adb0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x2c]
call fcn.00435018
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54ae3e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54ae5b
mov eax, dword [ebp - 0x2c]
call fcn.00404ee4
ret
inc dword [ebp - 0x28]
dec dword [ebp - 0x34]
jne 0x54aad6
movzx eax, byte [ebp - 0x19]
and al, byte [ebp - 0x2e]
je 0x54b00f
xor edx, edx
mov eax, 0x54b3ac
call fcn.00536904
mov al, 1
call fcn.0054b450
xor edx, edx
mov eax, 0x54b410
call fcn.00536904
push 0
push 0
push 0x4c8
mov eax, dword [0x560034]
mov eax, dword [eax]
call fcn.004cc8e8
push eax
call sub.user32.dll_SendMessageW
mov eax, dword [ebp - 0x20]
call fcn.00404ee4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54b0ae
lea eax, [ebp - 0xcc]
mov edx, 4
call fcn.00406f88
lea eax, [ebp - 0xbc]
call fcn.0040617c
lea eax, [ebp - 0xb8]
mov edx, 2
call fcn.00406f88
lea eax, [ebp - 0x98]
mov edx, 6
call fcn.00406f88
lea eax, [ebp - 0x80]
call fcn.0040617c
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.00406f88
lea eax, [ebp - 0x64]
call fcn.0040617c
lea eax, [ebp - 0x60]
mov edx, 6
call fcn.00406f88
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00406f88
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00406f88
ret