Function at 0x4a6740
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595823
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x5f4964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x4a6772
cmp dword [ebp + 0xc], 0
jne 0x4a6779
xor eax, eax
jmp 0x4a6a38
mov ecx, dword [ebp + 0xc]
call fcn.004164d0
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0xc]
call fcn.00416520
mov dword [ebp - 0x1c], eax
push 0x26200a
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00414280
add esp, 0x18
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4a67bc
xor eax, eax
jmp 0x4a6a38
mov dword [ebp - 0x24], 0
jmp 0x4a67ce
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x20]
jg 0x4a691f
mov dword [ebp - 0x28], 0
jmp 0x4a67ec
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x1c]
jg 0x4a691a
push 0
lea ecx, [ebp - 0x30]
call fcn.00415bb0
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00484020
lea ecx, [ebp - 0x30]
call fcn.00482fd0
mov byte [ebp - 0x29], al
movzx ecx, byte [ebp - 0x29]
cmp ecx, 0xff
jne 0x4a685f
push 0
push 0
push 0
push 0
call fcn.00415a30
add esp, 0x10
push eax
lea ecx, [ebp - 0x3c]
call fcn.00415bb0
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00484070
jmp 0x4a6915
movzx edx, byte [ebp - 0x29]
test edx, edx
je 0x4a6915
push 0
lea ecx, [ebp - 0x34]
call fcn.00415bb0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00484020
movzx eax, byte [ebp - 0x29]
mov esi, 0xff
sub esi, eax
lea ecx, [ebp - 0x34]
call fcn.00482fd0
movzx ecx, al
cmp esi, ecx
jge 0x4a68b3
movzx edx, byte [ebp - 0x29]
mov eax, 0xff
sub eax, edx
mov dword [ebp - 0x58], eax
jmp 0x4a68c1
lea ecx, [ebp - 0x34]
call fcn.00482fd0
movzx ecx, al
mov dword [ebp - 0x58], ecx
mov dl, byte [ebp - 0x58]
mov byte [ebp - 0x29], dl
lea ecx, [ebp - 0x34]
call fcn.00415a20
movzx eax, al
push eax
lea ecx, [ebp - 0x34]
call fcn.00415a10
movzx ecx, al
push ecx
lea ecx, [ebp - 0x34]
call fcn.00415a00
movzx edx, al
push edx
movzx eax, byte [ebp - 0x29]
push eax
call fcn.00415a30
add esp, 0x10
push eax
lea ecx, [ebp - 0x40]
call fcn.00415bb0
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00484070
jmp 0x4a67e3
jmp 0x4a67c5
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x10]
push ecx
mov ecx, 0x5f6cac
call fcn.00465400
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0048aab0
movzx edx, al
test edx, edx
je 0x4a69ed
push 0x64
push str.image_png
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.004148c0
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004153a0
movzx edx, al
test edx, edx
jne 0x4a69e1
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.disable_resize
call fcn.0041bfd0
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.00422f30
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push eax
call fcn.0041bfd0
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.00484710
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.004a6b00
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0x38]
call fcn.00422f30
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00423040
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x4c], ecx
cmp dword [ebp - 0x4c], 0
je 0x4a6a12
push 1
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x70], eax
jmp 0x4a6a19
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004744a0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret